Ubuntu 12.04 using the LXDE desktop. We have a mixed wired and wireless network here, and I prefer to give wired devices fixed IP addresses. Most of the machines are Windows and assigning fixed IP addresses on them is easy, but I've run into trouble doing so on this 12.04 box.
I edited /etc/network/interfaces to read:
Code:
auto loiface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.1.110
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 8.8.8.8 192.168.1.1
And rebooted the machine. The edit seems to have performed the desired function: the IP address is now 192.168.1.110. Ifconfig returns:
Code:
admin@CCD6:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:13:20:c5:eb:0e
inet addr:192.168.1.110 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::213:20ff:fec5:eb0e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4548 errors:0 dropped:0 overruns:0 frame:0
TX packets:2818 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3462392 (3.4 MB) TX bytes:419965 (419.9 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:720 (720.0 B) TX bytes:720 (720.0 B)
But there used to be a little icon on the toolbar in the lower right corner, showing a plugged-in Ethernet connection, it's now gone. Network Connections doesn't show anything under the "Wired" tab. And right-clicking where the little icon used to be brings up:
[x] Enable Network
Connection Information
Edit Connections
"Connection Information" says "no valid active connections found"
AND YET I am presently connected to the Internet else I could not send this.
So clearly I've done a Bad Thing. Thoughts?
Bookmarks