You are not logged in.

#1 2007-07-07 23:05:50

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Strange problem with (gnome) networkmanager

I am trying to use gnome network manager to control my network, but there is a problem. I use adsl to connect to internet, after turning to network manager, I can't browse the web and emule (with wine) shows internet connection is down but pppoe-status and ifconfig shows completely OK. I can see two netcards being recognized correctly, and ppp0 is also OK to me.  Could you someone give me a hint?
I am using IBM R40 (centrino)

Offline

#2 2007-07-08 01:46:17

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: Strange problem with (gnome) networkmanager

More details:
1. pppoe-status shows right:

[gl@Duke ~]$ pppoe-status
pppoe-status: Link is up and running on interface ppp0
ppp0      Link encap:Point-to-Point Protocol 
          inet addr:58.83.32.26  P-t-P:10.13.10.254  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1033 (1.0 Kb)  TX bytes:697 (697.0 b)

2. ifconfig shows right:

gl@Duke ~]$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:06:1B:D3:B6:F4 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:34 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3648 (3.5 Kb)  TX bytes:2742 (2.6 Kb)

eth1      Link encap:Ethernet  HWaddr 00:04:23:64:2E:A4 
          UP BROADCAST 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:11 Memory:c0204000-c0204fff

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  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:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

ppp0      Link encap:Point-to-Point Protocol 
          inet addr:58.83.32.26  P-t-P:10.13.10.254  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:16 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1033 (1.0 Kb)  TX bytes:697 (697.0 b)

3. netstat -tunpav shows internet connections has been established.

[gl@Duke ~]$ netstat -tunpav
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name

4. but I can't go to net :

[gl@Duke ~]$ ping www.sina.com.cn
ping: unknown host www.sina.com.cn

5.. my resolve.conf is empty, and pppoe.conf is like:

# Obtain DNS server addresses from the peer (recent versions of pppd only)
# In old config files, this used to be called USEPEERDNS.  Changed to
# PEERDNS for better Red Hat compatibility
PEERDNS=no

DNS1=211.92.8.161
DNS2=211.92.8.165

6. pppoe-stop, and pppoe-start, everything is OK then.

Offline

#3 2007-07-08 01:47:42

ganlu
Member
From: ChongQing, China
Registered: 2004-01-04
Posts: 360

Re: Strange problem with (gnome) networkmanager

My rc.conf:

DAEMONS=(syslog-ng laptop-mode dbus hal dhcdbd networkmanager !network @netfs @crond alsa gdm @adsl)

lo="lo 127.0.0.1"
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
#eth0=dhcp
#eth1=dhcp
INTERFACES=(lo !eth0 !eth1)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
#gateway="default gw 192.168.0.1"
#ROUTES=(!gateway)

Offline

Board footer

Powered by FluxBB