DHCP and reboot

Hi everybody!

I installed openSuse 11.0 on my laptop (Dell Inspiron 6400, intel core duo 1.8Ghz, 1Gb Ram).
My internet connection is DHCP-type. The connection (via KnetworkManager) works very well when I turn on my computer.
After a simple reboot, the internet connection is not there anymore (KnetworkManager doesn’t detect any connection).

What can I do?

thanks in advance for the answers,

Peter

Hi,
Why don’t you use the YAST network settings instead of KNetworkManager?

As a start please post the output of;

/sbin/ifconfig

cat /etc/resolv.conf

route -n

This should give some more info on what state the network settings are in.

Thanks,
Wj

IF this is a wireless conenction, knetwork manager is very handy.

ta
J

Hi!

Nice to see your answers… Nevertheless, I’d like to use Knetworkmanager as network interface because I sometimes use a wireless connection. So, these are the outputs of the commands asked by Magic31 :

/sbin/ifconfig :
eth0      Link encap:Ethernet  HWaddr 00:15:C5:11:76:12
          inet adr:139.165.199.142  Bcast:139.165.199.255  Masque:255.255.255.128
          adr inet6: fe80::215:c5ff:fe11:7612/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:56560 errors:12 dropped:0 overruns:0 frame:12
          TX packets:45259 errors:0 dropped:0 overruns:0 carrier:0
          collisions:27 lg file transmission:1000
          RX bytes:77336237 (73.7 Mb)  TX bytes:3768064 (3.5 Mb)
          Interruption:17

lo        Link encap:Boucle locale
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:226 errors:0 dropped:0 overruns:0 frame:0
          TX packets:226 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          RX bytes:12348 (12.0 Kb)  TX bytes:12348 (12.0 Kb)

wlan0     Link encap:Ethernet  HWaddr 00:13:02:37:F5:9D
          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 lg file transmission:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

wmaster0  Link encap:UNSPEC  HWaddr 00-13-02-37-F5-9D-00-00-00-00-00-00-00-00-00-00
          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 lg file transmission:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
cat /etc/resolv.conf :

# generated by NetworkManager, do not edit!

domain cm.ulg.ac.be

search cm.ulg.ac.be

nameserver 139.165.32.13
nameserver 139.165.40.1
nameserver 139.165.12.5


/sbin/route -n :
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic Metric Ref    Use Iface
139.165.199.128 0.0.0.0         255.255.255.128 U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         139.165.199.129 0.0.0.0         UG    0      0        0 eth0

I hope that it can help you!

thx a lot,

Peter

Hi Peter,

Sorry for the late get-back-to-you.

With what you’ve posted networking seems to be working fine.

The output tells us you have a connection on your wired network card, ip 139.165.199.142, dns/nameservers 139.165.32.13, 139.165.40.1 & 139.165.12.5, and your gateway is set to 139.165.199.129.

Are those the correct settings for your network?

If it’s only the wireless bit you are having issues with, as a first you could try to delete the wireless configuration by going to YaST > Network Settings, select the wireless nic and then delete.
Save this with the Finish button and then reconfigure the wireless settings again using Network Settings.

This can often set things straight again.

I’m not to familiar with KDE’s knetworkmanager as I’m mainly a GNOME user. Are you using KDE 4.0 or 3.5? There could be a difference there… others here might be able to confirm that.

Cheers,
Wj