giplet showing IP to wrong lan cards

Bug #315234 reported by Shirish Agarwal
2
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
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
          Interrupt:18 Base address:0xc800

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:a1ff:fe92:5633/64 Scope:Link
          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
          collisions:0 txqueuelen:1000
          RX bytes:15112093 (15.1 MB) TX bytes:39643696 (39.6 MB)
          Interrupt:22 Base address:0xcc00

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
          collisions:0 txqueuelen: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
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_IN
SourcePackage: giplet
Uname: Linux 2.6.28-4-generic i686

Tags: apport-bug
Revision history for this message
Shirish Agarwal (shirishag75) wrote :
Revision history for this message
Salvatore Bonaccorso (carnil) wrote :

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".

Revision history for this message
d4v1dv00 (davidvoo) wrote :

what if http://getmyip.org is down? does Gplet support other server address?

Revision history for this message
Salvatore Bonaccorso (carnil) wrote : Re: [Bug 315234] Re: giplet showing IP to wrong lan cards

Hi

On Wed, Jan 21, 2009 at 02:53:28PM -0000, d4v1dv00 wrote:
> what if http://getmyip.org is down? does Gplet support other server
> address?

Yes this should be possible. E.g. Add as Interfaces line instead of
only "www.getmyip.org" the following
 "www.getmyip.org www.whatismyip.org"

If now www.getmyip.org is down, it will probe for www.whatismyip.org,
since giplet can retrive the information also from this second site,
it should display the external ip.

Does this solve your question?

Kind regards
Salvatore

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.