LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-27-2008, 02:52 PM   #16
jio23
LQ Newbie
 
Registered: Jan 2008
Posts: 5

Original Poster
Rep: Reputation: 0

Editing done. Glad to help where I can.
 
Old 04-18-2008, 08:52 AM   #17
htnakirs
Member
 
Registered: Mar 2007
Posts: 239

Rep: Reputation: 34
Quote:
Originally Posted by jio23 View Post
Hi,

Some good progress has been made. I have the old realtek motherboard mounted NIC running with an older driver. To do this i had to go back to Ubuntu 7.04, which recognised the new DLink PCI NIC i had installed. Then I could find a driver that compiled, installed, and worked!

Now both cards work, and i can swap between them on the fly.

The steps i took were:

1 - Downloaded r8168-8.004.00 driver from :
http://wiki.centos.org/HardwareList/RealTekRTL8111b
2 - $ tar jxvf r8168-8.005.00.tar.bz2 # i unpacked this on the desktop
3 - $ sudo mv r8168-8.004.00 /usr/src # move the driver directory from desktop to /usr/src
4 - $ cd /usr/src/r8168-8.004.00
5 - $ sudo make clean modules
6 - $ sudo make install
7 - $ sudo depmod -a
8 - $ sudo insmod ./src/r8168.ko
9 - $ lsmod -a | grep 8186 #just to check it was there
10 - $ cd /etc/modprobe.d
11 - $ sudo touch blacklist-network
12 - $ vi blacklist-network # add r1869 to black list
13 - $ sudo update-initramfs -u #to make the change permanent
14 - reboot
15 - ethtool -i eth0 #to see new driver assigned

After this i could do everything else with using Network and Network Tools apps.

Next step is to get this working with Ubuntu 7.10.

John
I have followed this to the T (accommodating for the repeatedly changing driver versions ) except step 13 where I get a command not found error. I am on Opensuse 10.3. I am using the 005 file (though 004 is also mentioned in the steps) which I got from the Realtek site. All responses to different commands seem to indicate everything is in order. The response to step 15 is
driver : r8168
version: 8.005.00-NAPI
firmware-version:
bus-info: 0000:03:00.0

How can I get the update-initramfs command working? It tried the application manager, and a search comes up without results.. IS this step critical? In the Network manager, the Lan card shows 8169 module as one of the options, though 8168 is selected.

Any suggestions to get the connection on?
 
Old 04-18-2008, 09:29 AM   #18
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
step 13...a lot of people use sudo, I don't I like su

sudo is a package that needs to be installed if you do not have already.

so either try
su
update-initramfs -u

or install sudo and retry ?

2) that command is only good if you are using an initrd process are you? You seem to be on a Mdv.....have you tried mdv 2008.1?
 
Old 04-19-2008, 12:15 AM   #19
htnakirs
Member
 
Registered: Mar 2007
Posts: 239

Rep: Reputation: 34
Quote:
Originally Posted by aus9 View Post
step 13...a lot of people use sudo, I don't I like su

sudo is a package that needs to be installed if you do not have already.

so either try
su
update-initramfs -u

or install sudo and retry ?

2) that command is only good if you are using an initrd process are you? You seem to be on a Mdv.....have you tried mdv 2008.1?
I am using the root account, so I do not enter sudo. The command not found refers to update-initramfs

2. How do I check if initrd is being used? I am on Opensuse 10.3

Is that step critical? Will not the changes be permanent if the command is not given? ARe there other ways to make the changes permanent?
 
Old 04-19-2008, 01:04 AM   #20
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
well I do not use suse but it appears they may use mkinitrd command
" Some versions of mkinitrd may require other options to specify the location of the new kernel. On SuSe 9.0, for example, the following syntax is required: $ mkinitrd -k vmlinux-VERSION -i initrd-VERSION "

from http://www.digitalhermit.com/linux/K...ild-HOWTO.html


how to tell?
look into /boot/grub/menu.lst
title your suse
kernel blah blah blah
initrd.....if this line exists you are using an initial ram disk image...most distro do.

2) but that is only actioned on boot up....so you can still test by modprobing your new module checking its running and then running ethtool
 
Old 04-20-2008, 12:48 AM   #21
htnakirs
Member
 
Registered: Mar 2007
Posts: 239

Rep: Reputation: 34
Yes the initrd line exists. I can see the driver in the modprobe results. When I redid the steps, the insmod failed probably because the module was already installed. In ethtool, the IRQ is shown as 255, which is highly suspicious.

By the way, I gave up. Started using a discrete LAN card. Thanks
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Realtek 8111/8168 LAN Driver will not install on RHEL4.5 Astol Linux - Networking 6 05-08-2008 11:36 AM
How to install the RTL 8168/8111 driver? blueskyhff Linux - Networking 2 12-18-2007 12:24 PM
Realtek 8168(AS) driver? blueskyhff Linux - Networking 2 03-01-2007 06:42 AM
Realtek 8168/8111 hang on high load ari197 Linux - Laptop and Netbook 1 12-29-2006 03:42 AM
realtek 8168/8111 hangs on high load ari197 Linux - Hardware 3 12-07-2006 02:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration