Not able to configure network openSUSE on 11.2

Hi,

I tried to configure network in openSUSE 11.2. But I cant get on to internet. Here is some information about it. I tried installing appropriate drivers also for my network card.

I am not ale to connect to the network using my DSL cable connection.
Here is the /var/log/messages output (Using “Tradational method with ifup”):

 
Apr 18 00:49:46 linux-nspa ifup: Interface up is not available                                                                                                   
Apr 18 00:49:53 linux-nspa ifup: Interface down is not available                                                                                                 
Apr 18 00:50:07 linux-nspa ifup:     eth0      device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)            
Apr 18 00:50:07 linux-nspa kernel:    89.295518] r8168: eth0: link down                                                                                         
Apr 18 00:50:07 linux-nspa kernel:    89.295732] ADDRCONF(NETDEV_UP): eth0: link is not ready                                                                   
Apr 18 00:50:07 linux-nspa ifup-dhcp: Starting DHCP4 client on eth0                                                                                              
Apr 18 00:50:07 linux-nspa dhcpcd[2800]: eth0: dhcpcd 3.2.3 starting                                                                                             
Apr 18 00:50:07 linux-nspa dhcpcd[2800]: eth0: hardware address = 00:1c:c0:6b:df:e9                                                                              
Apr 18 00:50:07 linux-nspa kernel:    89.364934] NET: Registered protocol family 17                                                                             
Apr 18 00:50:07 linux-nspa dhcpcd[2800]: eth0: broadcasting for a lease                                                                                          
Apr 18 00:50:08 linux-nspa ifup-dhcp: .                                                                                                                          
Apr 18 00:50:10 linux-nspa ifup-dhcp: .                                                                                                                          
Apr 18 00:50:13 linux-nspa ifup-dhcp: .                                                                                                                          
Apr 18 00:50:15 linux-nspa ifup-dhcp: .                                                                                                                          
Apr 18 00:50:17 linux-nspa ifup-dhcp: .                                                                                                                          
Apr 18 00:50:19 linux-nspa ifup-dhcp: .                                                                                                                          
Apr 18 00:50:22 linux-nspa ifup-dhcp: .                                                                                                                          
Apr 18 00:50:24 linux-nspa ifup-dhcp: .                                                                                                                          
Apr 18 00:50:25 linux-nspa ifup-dhcp:                                                                                                                            
Apr 18 00:50:25 linux-nspa ifup-dhcp:     eth0      DHCP4 continues in background                                                                                
Apr 18 00:50:27 linux-nspa dhcpcd[2800]: eth0: timed out                                                                                                         
Apr 18 00:50:27 linux-nspa dhcpcd[2800]: eth0: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-eth0.info'                                                     
Apr 18 00:50:27 linux-nspa dhcpcd[2800]: eth0: broadcasting for a lease
Apr 18 00:50:31 linux-nspa ifup:     eth0      device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
Apr 18 00:50:31 linux-nspa ifup:     eth0      Startmode is 'manual'
Apr 18 00:50:31 linux-nspa SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ...
Apr 18 00:50:31 linux-nspa SuSEfirewall2: batch committing...
Apr 18 00:50:31 linux-nspa SuSEfirewall2: Firewall rules successfully set
Apr 18 00:50:47 linux-nspa dhcpcd[2800]: eth0: timed out
Apr 18 00:50:47 linux-nspa dhcpcd[2800]: eth0: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-eth0.info'
Apr 18 00:50:47 linux-nspa dhcpcd[2800]: eth0: broadcasting for a lease
Apr 18 00:51:07 linux-nspa dhcpcd[2800]: eth0: timed out
Apr 18 00:51:07 linux-nspa dhcpcd[2800]: eth0: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-eth0.info'
Apr 18 00:51:07 linux-nspa dhcpcd[2800]: eth0: broadcasting for a lease
Apr 18 00:51:27 linux-nspa dhcpcd[2800]: eth0: timed out
Apr 18 00:51:27 linux-nspa dhcpcd[2800]: eth0: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-eth0.info'
Apr 18 00:51:27 linux-nspa dhcpcd[2800]: eth0: broadcasting for a lease
Apr 18 00:51:47 linux-nspa dhcpcd[2800]: eth0: timed out
Apr 18 00:51:47 linux-nspa dhcpcd[2800]: eth0: trying to use old lease in `/var/lib/dhcpcd/dhcpcd-eth0.info'
Apr 18 00:51:47 linux-nspa dhcpcd[2800]: eth0: broadcasting for a lease

The output of ifcongig:


linux-nspa:/home/omkar # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:1C:C0:6B:DF:E9
          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:27 Base address:0x4000

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:60 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3736 (3.6 Kb)  TX bytes:3736 (3.6 Kb)

The network card is Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller. Kernel had r8169 driver by default, I removed that and installed r8168. The above output is for r8168.


linux-nspa:/home/omkar # lsmod | grep 8168
r8168                 102580  0

Even after changing the network driver I am not able to connect to the network. I tried Networkmanager controlled as well as “Tradational method with ifup” but nothing is working.
Can anyone let me know what am I missing here. Let me know if more information is needed from me.
Any kind of help or pointers will be deeply appreciated… :slight_smile:

Thanks in advance,
Omkar

Welcome to the forums !!!

There’s one thing I see right now: eth0 is set to “manual”. That should be ‘At boottime’. Change this in Yast - Networksettings.
You’re talking about a DSL cable connection. Is it DSL or Cable? If DSL, are you connecting to the modem directly or do you have a router inbetween?

It is DSL broadband connection actually. There is no router in between. I have a LAN cable which is connected to some switch of the ISP nearby. I tried to make it boottime also but it doesnt help. It is not showing the list of connections at the bottom right side also.

Thanks,
Omkar

Since you have a LAN cable, the only thing you need to do is to connect that cable and it should get an IP address via DHCP. From the log, it looks like you are not getting it. You may contact the ISP and tell them this.
Are you able to check the Internet connection through any other means?

And additional, you said you tried to configure. How? There are several ways to do this. When with YaST, you can also post the contents of /etc/sysconfig/network/ifcfg-eth0.

if you have only a lan connected directly to the isp,then all you have to do is configure the ethernet card,DNS and default routes,no matter if there is a DHCP server

give it a try,I had the same problem,and I’m online now

On Sun, 18 Apr 2010 12:26:02 +0000, ogcl1234 wrote for a reply:

> It is DSL broadband connection actually. There is no router in between.
> I have a LAN cable which is connected to some switch of the ISP nearby.
> I tried to make it boottime also but it doesnt help. It is not showing
> the list of connections at the bottom right side also.
>
> Thanks,
> Omkar

You’re not getting a DHCP address from your DSL Modem and ISP. Ifup is
trying but it failed for IPv4 and IPv6.

Your eth0 card is directly connected to your DSL modem through a ethernet
cat-5 line? And the DSL modem is connected to your telephone line
correct?

You need to set up your DSL modem to connect to the ISP, regarding
password, etc. after that you should be connected.


Chill@opensuse.forum

On Sun, 18 Apr 2010 22:07:58 +0000, Chill Out wrote for a reply:

> On Sun, 18 Apr 2010 12:26:02 +0000, ogcl1234 wrote for a reply:
>
>> It is DSL broadband connection actually. There is no router in between.
>> I have a LAN cable which is connected to some switch of the ISP nearby.
>> I tried to make it boottime also but it doesnt help. It is not showing
>> the list of connections at the bottom right side also.
>>
>> Thanks,
>> Omkar
>
> You’re not getting a DHCP address from your DSL Modem and ISP. Ifup is
> trying but it failed for IPv4 and IPv6.
>
> Your eth0 card is directly connected to your DSL modem through a
> ethernet cat-5 line? And the DSL modem is connected to your telephone
> line correct?
>
> You need to set up your DSL modem to connect to the ISP, regarding
> password, etc. after that you should be connected.

Sorry, that should be set eth0 ifup to log into your ISP network with
password, etc. Smart money is do it through Network Connections, or the
KDE equivalent. Depending on your DSL modem you can (hard way) brute
strength by following the the instructions for setting up PPP or PPtP.

Good luck.


Chill@opensuse.forum

This is why I loathe any sort of xDSL, regardless of client, and I thank Ghu that I have never been inflicted with it (the horrors of PPPoE/PPPoA and xLIP). Fortunately, most of the larger xDSL providers (residential, that is) in the US are shifting (rapidly!) to straight DHCP or DHCP-alike configuration (even the residential WesTell and 2Wire residential xDSL modems of today present a DHCP face to the customer).

I’ve been DOCSIS since 2000, and have had my own residential LAN since 2003 (which moved to wired/wireless in 2005 when I bought a then-new Linksys WRT54GS v2). While DOCSIS is currently slower than fiber, it did avoid making configuration (especially a shared configuration) unnecessarily painful.