giplet showing IP to wrong lan cards
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
giplet (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: giplet
giplet is showing the IP received on eth0 as 59.95.28.106 and if I change it to eth1 it shows as 192.168.1.3
Now the problem is how they are connected.
eth0 doesn't work at all.
$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:07:95:44:10:db
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth1 Link encap:Ethernet HWaddr 00:08:a1:92:56:33
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::208:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:45710 errors:0 dropped:0 overruns:0 frame:0
TX packets:56321 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:15112093 (15.1 MB) TX bytes:39643696 (39.6 MB)
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:126 errors:0 dropped:0 overruns:0 frame:0
TX packets:126 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:6908 (6.9 KB) TX bytes:6908 (6.9 KB)
That's my ifconfig. Please lemme know if anything else is needed.
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: giplet 0.1.8-2
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_IN
SourcePackage: giplet
Uname: Linux 2.6.28-4-generic i686
Hi
Note, that in the default giplet has configuration line for interfaces to be "eth0 www.getmyip.org". If eth0 is not configured, then the second interface value "is checked". So if you have something like "eth0 www.getmyip.org" and eth0 is not configured, it will show the external ip which is get from www.getmyip.org.
Does this somehow helps on your problem? If you want to show the external ip, simply left www.getmyip.org. If you want to have the IP of a specific interface, make an entry of only that interface. if the interface does not have curently an IP, then giplet will show the text "Giplet".