openSUSE Forums > Network/Internet » no Connection to internet

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 23-Apr-2009, 10:39
Puzzled Penguin
 
Join Date: Nov 2008
Location: Hamburg
Posts: 10
Be123 hasn't been rated much yet
Default no Connection to internet

Hello,

installed some yast updates yesterday.
Today I can't access the internet anymore.
The Router with DHCP works fine.

I need your suggestions, how I can find the problem.

Here are some information:

Code:
# sudo /sbin/rcnetwork restart
root's password:
Shutting down network interfaces:
    eth0      device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)                                                    done
Shutting down service network  .  .  .  .  .  .  .  .  .                                                                                                                done
Hint: you may set mandatory devices in /etc/sysconfig/network/config
Setting up network interfaces:
    eth0      device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
    eth0      Starting DHCP4 client. . . .
    eth0      DHCP4 client NOT running
    eth0:Rooter IP address: 192.168.0.1/24                                                                                                                              failed
Setting up service network  .  .  .  .  .  .  .  .  .  .                                                                                                                done
SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
SuSEfirewall2: batch committing...
SuSEfirewall2: Firewall rules successfully set
Code:
# /sbin/route
Kernel IP Routentabelle
Ziel            Router          Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
link-local      *               255.255.0.0     U     0      0        0 eth0
loopback        *               255.0.0.0       U     0      0        0 lo
Code:
#/sbin/ifconfig
eth0      Link encap:Ethernet  Hardware Adresse 00:22:15:D0:A8:1C
          inet6 Adresse: fe80::222:15ff:fed0:a81c/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:123 errors:0 dropped:0 overruns:0 frame:0
          TX packets:333 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 Sendewarteschlangenlänge:1000
          RX bytes:14916 (14.5 Kb)  TX bytes:42619 (41.6 Kb)
          Interrupt:253 Basisadresse:0x6000

eth0:Root Link encap:Ethernet  Hardware Adresse 00:22:15:D0:A8:1C
          inet Adresse:192.168.0.1  Bcast:192.168.0.255  Maske:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:253 Basisadresse:0x6000

lo        Link encap:Lokale Schleife
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6 Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:527 errors:0 dropped:0 overruns:0 frame:0
          TX packets:527 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 Sendewarteschlangenlänge:0
          RX bytes:38080 (37.1 Kb)  TX bytes:38080 (37.1 Kb)
Thanks for any hints!
Reply With Quote
  #2 (permalink)  
Old 23-Apr-2009, 11:10
Wise Penguin
 
Join Date: Sep 2008
Location: Dubai
Posts: 1,027
syampillai is on a distinguished reputation roadsyampillai is on a distinguished reputation road
Default Re: no Connection to internet

The IP address is not obtained via DHCP. Is that your setup?
Also, I don't see the default route set up.
__________________
openSUSE 11.2 (x86_64) with KDE 4.3.1 (Release 6) on MacBook Pro
Reply With Quote
  #3 (permalink)  
Old 23-Apr-2009, 15:40
Puzzled Penguin
 
Join Date: Nov 2008
Location: Hamburg
Posts: 10
Be123 hasn't been rated much yet
Default Re: no Connection to internet

Hi syampillai,

thanks for your reply.
Quote:
Originally Posted by syampillai View Post
The IP address is not obtained via DHCP. Is that your setup?
No! DHCP was (and still is) selected in the network configuration.

Quote:
Originally Posted by syampillai View Post
Also, I don't see the default route set up.
The route setup should be retrieved via DHCP, shouldn't it?

Could there be a link to a missing yast package? I had problems before starting any yast module, what was resolved by an almost complete yast update.

I could ping my router and open it's administration panel after I added it's ip into the configuration of the network controller.
Reply With Quote
  #4 (permalink)  
Old 24-Apr-2009, 02:42
Wise Penguin
 
Join Date: Sep 2008
Location: Dubai
Posts: 1,027
syampillai is on a distinguished reputation roadsyampillai is on a distinguished reputation road
Default Re: no Connection to internet

Can you change the setup to make it IPv4 only by switching off IPv6 and try?. Your router/DHCP setup may not be supporting IPv6.

Also, in order to test, you don't need to restart the network. Just ifup/ifdown the eth0 interface only.
Code:
ifdown eth0
ifup eth0
__________________
openSUSE 11.2 (x86_64) with KDE 4.3.1 (Release 6) on MacBook Pro
Reply With Quote
  #5 (permalink)  
Old 25-Apr-2009, 17:13
Puzzled Penguin
 
Join Date: Nov 2008
Location: Hamburg
Posts: 10
Be123 hasn't been rated much yet
Default Re: no internet connection via router

I tried IPv4 instead of IPv6 before. That did not help.

I'm wondering about this message:
Code:
sudo /sbin/ifup eth0
    eth0      device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
Starting DHCP4 client on eth0. . . .
    eth0      DHCP4 client NOT running
Does this mean, that my Suse 11 is not able anymore to be a DHCP client? Or maybe it could not get access to the DHCP server (router).

I have connected now successfully directly via dsl to the internet. Maybe my router has become old. I am going to try another one next week.
Reply With Quote
  #6 (permalink)  
Old 26-Apr-2009, 00:26
Wise Penguin
 
Join Date: Sep 2008
Location: Dubai
Posts: 1,027
syampillai is on a distinguished reputation roadsyampillai is on a distinguished reputation road
Default Re: no Connection to internet

Yes, the DHCP client is not running. Can you go to Yast and see if the interface is configured for DHCP?

Also, see the output of the following command as root from a terminal window while doing "ifup" from another window.
Code:
tail -f /var/log/messages
__________________
openSUSE 11.2 (x86_64) with KDE 4.3.1 (Release 6) on MacBook Pro
Reply With Quote
  #7 (permalink)  
Old 26-Apr-2009, 08:56
Puzzled Penguin
 
Join Date: Nov 2008
Location: Hamburg
Posts: 10
Be123 hasn't been rated much yet
Default Re: dhcp client was not running

Thank you syampillai for the helpful assistance!

The logging with tail -f /var/log/messages did not give any more information.
Then I tried to activate the debug modus of dhcpcd -d in order to get more messages, what wouldn't work.

Regarding the dhcp client issue I updated dhcpcd, dhcp-client, dhcpv6 and installed libhcp6client-1_0-2, udhcp. I am not sure yet, if this fixed my problem. I activated in yast the eth0 device's control for users.

Finally my dhcp client is running again and I can use my router. For now I am back online!
Reply With Quote
  #8 (permalink)  
Old 26-Apr-2009, 09:59
Puzzled Penguin
 
Join Date: Nov 2008
Location: Hamburg
Posts: 10
Be123 hasn't been rated much yet
Default still working ;-)

In yast I again deactivated the network device's control for users. The internet is still working. I even succeeded in using wlan.

Also I had updated smpppd before.

I believe it was a package conflict.

Thanks for your help!

Regards
Benjamin
Reply With Quote
  #9 (permalink)  
Old 26-Apr-2009, 10:28
Wise Penguin
 
Join Date: Sep 2008
Location: Dubai
Posts: 1,027
syampillai is on a distinguished reputation roadsyampillai is on a distinguished reputation road
Default Re: no Connection to internet

Nice to hear that you were able to resolve the issues.
__________________
openSUSE 11.2 (x86_64) with KDE 4.3.1 (Release 6) on MacBook Pro
Reply With Quote
Reply

Bookmarks

Tags
commection, internet, network


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2