Internet problem when connection ethernet cable

hampus_b

Registered
Hi everyone...

I got a kind of strange error... When i connect the network cable to my g4-ti, I lose the modem connection to internet. I soon as I disconnect the cable, the connection starts working again. It seams like the computer is trying to route all trafic via ethernet when connected. No router / gateway / dns is defined in the network preferences. The ip-number of the computer is 192.168.0.222

Anyone got a clue?
(look below for netstat-info from the different states...)
Code:
>>> Netstat -r when connected via modem:

[localhost:/usr/local/bin] root# netstat -r
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            dup-chs-sancristob UGSc        1       25     ppp0
localhost          localhost          UH         11     5857      lo0
dup-chs-sancristob dup-200-64-21-124. UH          3        0     ppp0

>>> i now connect the ethernet-cable:

[localhost:/usr/local/bin] root# netstat -r
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            dup-chs-sancristob UGSc        2       25     ppp0
localhost          localhost          UH         13     5930      lo0
148.235.159.53     200.64.21.124      UH          0        0     ppp0
192.168            link#2             UC          0        0      en0
192.168.0.222      localhost          UHS         0        0      lo0

[localhost:/usr/local/bin] root# ping [url]www.sunet.se[/url]
ping: unknown host [url]www.sunet.se[/url]

[localhost:/usr/local/bin] root# ping 212.75.86.5
PING 212.75.86.5 (212.75.86.5): 56 data bytes
ping: sendto: Host is down
ping: wrote 212.75.86.5 64 chars, ret=-1
ping: sendto: Host is down
ping: wrote 212.75.86.5 64 chars, ret=-1
 
As far as I know, the only reason I can think of is that You ere getting an IP address from a remote server, Dynamicly. So your PB thinks it has an ethernet connection on is ethernet port. therefor it switches to ethernet instead of modemport.
Because I'm not an expert ;-), I can't tell you that there is 'nt a better solution but you could make different locations and switch off the ethernetport on your modemlocation. If you need your ethernet you will just have to switch locations in the apple menu - locations (you will lose the modemconnection !!!). later you can switch back. This would enable you to let the cable be connected at all times.


I hope this is the answer you were looking for.

Greetings, Bo
 
Perhaps in the 'active network ports' tab
on the Network setup page you have
Ethernet ABOVE modem?

You could do somthing like a ifconfig en0 down
also
 
Hmm,

seems to be working (with moving the enet below the other connections). What exactly does the order mean?

Wired.

//Hampus
 
Back
Top