Mailinglist Archive: opensuse (1701 mails)

< Previous Next >
Re: [opensuse] Network setup problem
  • From: Mark Misulich <munguanaweza@xxxxxxxxx>
  • Date: Tue, 29 Sep 2009 23:28:57 -0400
  • Message-id: <1254281337.4279.59.camel@xxxxxxxxxxxxxxx>
On Tue, 2009-09-29 at 21:43 -0400, Mike wrote:
On September 29, 2009, Mike wrote:
On September 29, 2009, Mark Misulich wrote:

With the wrong driver mine appears to work but is unable to receive.
The system tries to load the r8169 driver and I have to force the 8168
instead.


OK it looks like you have the same driver issue I have.

When you reconfigure in Yast do you change the driver fron to 8168 each
time?

Do you have the r8168 module built for your curent kernel?

have you added this to your modprobe.conf?
####################################
#replacement network driver
####################################
alias eth0 r8168

and have you added this to /etc/modprobe.d/blacklist
blacklist r8169

Hi,
no, I think that the previous post that I made was misunderstood. The
8169 kernel module is built in the Linux kernel by default. The readme
file told me to remove it, so I did.

Then I compiled a kernel module for the 8101/8102 pci fast ethernet card
on the motherboard and installed it.

I don't have to change the driver from 8169 to 8101/2 each time I go
into yast, I just have to open up the Network settings, hit Ok when it
displays. It starts network services and I can get on the internet.

Ok, that was how things were, but I just got the problem solved.

I checked lsmod before using yast to start the ehternet card to see what
modules were loaded. Then I checked lsmod after starting the ethernet
card, and I found that the r8169 module was loaded, but not the r8101
module. I removed r8169 yesterday, but it was back again, and r8101 was
gone.

I removed r8169 using rmmod r8169, but it came back shortly afterwards.
So I added the comment

blacklist r8169

to /etc/modprobe.d/blacklist. Then I removed r8169 again using

rmmod r8169

and it went away.


Then, I added the following to /etc/modprobe.conf

###########################################################################################
#replacement network driver
###########################################################################################
alias eth0 r8101

Then,I recompiled the r8101 module per the instructions in the readme
file.

I next made sure that my modifications from yesterday to
the /etc/sysconfig/network/ifcfg-eth0 were still there, and they were.

They read:
DEVICE='eth0'
BOOTPROTO='dhcp'
ONBOOT='yes'

Voila, the network card connects to the internet as soon as the computer
boots up.

Thanks to everyone who has helped me yesterday and today to get to a
solution to this problem.

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References