Then on the command line did this:
Code: Select all
root@sg30:/home/raymond# ls
lcd-2.2 lcd-2.2.1.tar
root@sg30:/home/raymond# cd lcd-2.2/
root@sg30:/home/raymond/lcd-2.2# ls
firewall-off.sh ipaddr lcd-2.2 lcd.c lcd.init README
firewall.sh lcd lcd-2.2.c lcd.c~ Makefile
root@sg30:/home/raymond/lcd-2.2# make
make: 'lcd' is up to date.
root@sg30:/home/raymond/lcd-2.2# make install
cp lcd /usr/sbin
cp lcd.init /etc/init.d/lcd
root@sg30:/home/raymond/lcd-2.2# lcd start
Usage: lcd [-f] <command> [...]
<command> can be server, write, read, fans
server run in server mode taking over LCD, buttons and fans
write writes next two parameters to display
read reads LCD buttons with optional timeout
fans turn fans on or off
Use the -f option to display temperatures in Fahrenheit.
root@sg30:/home/raymond/lcd-2.2# lcd server
sh: 1: /usr/local/sbin/ipaddr: not found
sh: 1: /usr/local/sbin/ipaddr: not found
Device "eth0" does not exist.
Use of uninitialized value $1 in print at /usr/local/sbin/ipaddr line 11.
Device "eth1" does not exist.
Use of uninitialized value $1 in print at /usr/local/sbin/ipaddr line 11.
It's a bin file don't know how to edit it.
So can I make a symbolic line from:
Code: Select all
root@sg30:~# ifconfig
enp0s8: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.86.105 netmask 255.255.255.0 broadcast 192.168.86.255
inet6 fe80::210:c6ff:fe1f:5ab3 prefixlen 64 scopeid 0x20<link>
ether 00:10:c6:1f:5a:b3 txqueuelen 1000 (Ethernet)
RX packets 94444 bytes 12609409 (12.0 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5501 bytes 1525192 (1.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp0s9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.86.100 netmask 255.255.255.0 broadcast 192.168.86.255
inet6 fe80::210:c6ff:fe1f:5ab2 prefixlen 64 scopeid 0x20<link>
ether 00:10:c6:1f:5a:b2 txqueuelen 1000 (Ethernet)
RX packets 90433 bytes 12394484 (11.8 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1075 bytes 89716 (87.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1368 bytes 137213 (133.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1368 bytes 137213 (133.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@sg30:~#
I don't know where they are if they are in a folder.
Did find this link:
sys/class/net/devices/pci0000:00/0000:00:08.0/net/enp0s8
So can I do this command:
ln -s /sys/class/net/devices/pci0000:00/0000:00:08.0/net/enp0s8 /sys/class/net/devices/pci0000:00/0000:00:08.0/net/eth0
Then reboot I guess and would that work? I have not tried it yet, not sure if that is the right way to do it.
This is a server not a desktop. Not scream on it just that little LCD in the front that looks like it's working now. But not all working yet. But most looks like.
-Raymond Day