I have gkrellm installed for most of my distros, and use the plugin gkrellmip, which displays the IP address of the machine, (I use static addresses). I've just set the plugin up on Etch, and the IPaddress is showing as 169.254.187.86, but the machine address is 192.168.0.8. I verified this by FTP'ing from the other machine to 192.168.0.8, and get a connection with no problem. /etc/network/interfaces shows the network setup I made when installing Woody, then upgraded to Sarge, while still in testing, and now it's still in the testing repo, but as Etch. 192.168.0.8 is showing as the IP address, and 192.168.0.1 as the gateway, which is correct.
I'm posting this from FC2. And the same IP 169.254.0.0 shows up in FC2's routing table, but not in ifconfig. See below.
[root@localhost djmons]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:50
A:B5:38:49
inet addr:192.168.0.230 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::250:daff:feb5:3849/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:193075 errors:0 dropped:0 overruns:0 frame:0
TX packets:85038 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:75071601 (71.5 Mb) TX bytes:7964896 (7.5 Mb)
Interrupt:10 Base address:0x1000
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:346 errors:0 dropped:0 overruns:0 frame:0
TX packets:346 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:27328 (26.6 Kb) TX bytes:27328 (26.6 Kb)
[root@localhost djmons]# /sbin/route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
I've got Sarge booted up on the other machine at the moment, so will post the output for ifconfig, and route for that, and gkrellm displays the correct IP address. See output below.
Last login: Thu Dec 7 20:38:44 2006
djmons@debian:~$ su
Password:
debian:/home/djmons# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:F4:93:28:F5
inet addr:192.168.0.7 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::240:f4ff:fe93:28f5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:221 errors:0 dropped:0 overruns:0 frame:0
TX packets:251 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:31529 (30.7 KiB) TX bytes:19170 (18.7 KiB)
Interrupt:11 Base address:0xe000
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:129 errors:0 dropped:0 overruns:0 frame:0
TX packets:129 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10429 (10.1 KiB) TX bytes:10429 (10.1 KiB)
debian:/home/djmons# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
Now back to Etch having rebooted into it. I can FTP into it using IP 192.168.0.8 (the correct address), but trying to ssh into it with the same address fails. so I try ssh 169.254.187.86, and it asks if I want to continue, so Yes, and I have a connection. I have tried changing the IP address with ifconfig, but when I reboot it reverts to this 169.254. ....... address. Anyway the output from ifconfig, and route is below, while being ssh'd into Etch with what really is the wrong IP address.
Last login: Thu Dec 7 22:40:47 2006
djmons@debian:~$ su
Password:
debian:/home/djmons# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:F4:93:28:F5
inet addr:169.254.187.86 Bcast:169.254.255.255 Mask:255.255.0.0
inet6 addr: fe80::240:f4ff:fe93:28f5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:153 errors:0 dropped:0 overruns:0 frame:0
TX packets:306 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17509 (17.0 KiB) TX bytes:22579 (22.0 KiB)
Interrupt:11 Base address:0xe000
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:236 errors:0 dropped:0 overruns:0 frame:0
TX packets:236 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19460 (19.0 KiB) TX bytes:19460 (19.0 KiB)
debian:/home/djmons# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
Any suggestions for a fix for this Etch network problem?
the gateway address is correct in "route" , but the 192.168.0.0 network address is missing.
Ifconfig has the wrong IP address for the machine. It's showing as 169.254.187.86, but should be 192.168.0.8
All a bit confusing.
Nigel. aka farpoint.