LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2011, 04:29 PM   #16
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168

The module should be available in your new kernel version, but if for some reason you can't locate it Realtek has drivers available.

http://www.realtek.com/downloads/dow...Downloads=true

Good luck. ;-)
 
Old 07-23-2011, 05:18 AM   #17
madsovenielsen
Member
 
Registered: Aug 2009
Posts: 183

Original Poster
Rep: Reputation: 15
When i rerun make menuconfig

I don't have the option to select specific hardware drivers anywhere.

Under "networking" i can select IPv6 and so on. but not my NIC.

And i can't select the r8169 module. It is nowhere to be found.
 
Old 07-23-2011, 07:05 AM   #18
madsovenielsen
Member
 
Registered: Aug 2009
Posts: 183

Original Poster
Rep: Reputation: 15
I have tried to install the driver from realtek.

this is what i get:

Code:
root@vectra:/usr/src/r8169-6.015.00# make clean modules
make -C src/ clean
make[1]: Entering directory `/usr/src/r8169-6.015.00/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers rset modules.order Module.markers
make[1]: Leaving directory `/usr/src/r8169-6.015.00/src'
make -C src/ modules
make[1]: Entering directory `/usr/src/r8169-6.015.00/src'
make -C /lib/modules/2.6.39.3-smp/build SUBDIRS=/usr/src/r8169-6.015.00/src modules
make[2]: Entering directory `/usr/src/linux-2.6.39.3'
  CC [M]  /usr/src/r8169-6.015.00/src/r8169_n.o
/usr/src/r8169-6.015.00/src/r8169_n.c: In function 'rtl8169_get_ethtool_stats':
/usr/src/r8169-6.015.00/src/r8169_n.c:1061: warning: 'DMA_nnBIT_MASK' is deprecated
/usr/src/r8169-6.015.00/src/r8169_n.c: In function 'rtl8169_init_one':
/usr/src/r8169-6.015.00/src/r8169_n.c:2583: warning: 'DMA_nnBIT_MASK' is deprecated
/usr/src/r8169-6.015.00/src/r8169_n.c:2587: warning: 'DMA_nnBIT_MASK' is deprecated
/usr/src/r8169-6.015.00/src/r8169_n.c: In function 'rtl8169_hw_start':
/usr/src/r8169-6.015.00/src/r8169_n.c:2895: warning: 'DMA_nnBIT_MASK' is deprecated
/usr/src/r8169-6.015.00/src/r8169_n.c:2896: warning: 'DMA_nnBIT_MASK' is deprecated
  LD [M]  /usr/src/r8169-6.015.00/src/r8169.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /usr/src/r8169-6.015.00/src/r8169.mod.o
  LD [M]  /usr/src/r8169-6.015.00/src/r8169.ko
make[2]: Leaving directory `/usr/src/linux-2.6.39.3'
strip --strip-debug r8169.ko
make[1]: Leaving directory `/usr/src/r8169-6.015.00/src'
root@vectra:/usr/src/r8169-6.015.00#
Code:
root@vectra:/usr/src/r8169-6.015.00# make install
make -C src/ install
make[1]: Entering directory `/usr/src/r8169-6.015.00/src'
install -m 744 -c r8169.ko /lib/modules/2.6.39.3-smp/kernel/drivers/net/
install: target `/lib/modules/2.6.39.3-smp/kernel/drivers/net/' is not a directory: No such file or directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/src/r8169-6.015.00/src'
make: *** [install] Error 2
I am following the instructions from the Realtek README file.

Any suggestions ?
 
Old 07-23-2011, 07:18 AM   #19
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,346

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
The path to the r8169 module in the menuconfig is
Quote:
Device Drivers/Network device support/Ethernet (1000 Mbit)/Realtek 8169 gigabit ethernet support
 
Old 07-23-2011, 10:00 AM   #20
madsovenielsen
Member
 
Registered: Aug 2009
Posts: 183

Original Poster
Rep: Reputation: 15
Ahh.

I found it now. It was selected as a module. I am trying now to compile the driver into the kernel.
 
Old 07-23-2011, 06:25 PM   #21
sysfce2
Member
 
Registered: Jul 2009
Distribution: Slackware
Posts: 116

Rep: Reputation: 50
How are you getting your IP address?
If you are using DHCP you will have to upgrade it to work with the latest kernel. Make sure you are using dhcpcd 5.2.7 or later.
 
Old 07-23-2011, 07:08 PM   #22
madsovenielsen
Member
 
Registered: Aug 2009
Posts: 183

Original Poster
Rep: Reputation: 15
Done.

After 9 hours its done.

I installed Slackware 12.2 again from scratch. Saved a copy of the lsmod output

Followed the kernel update guide again, but this time selected the r8169 to be "built into" the kernel.

Now everything works and i have all the right modules loaded.

Thanks for all your great help.
 
  


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
[SOLVED] Please help me decide about "upgrading" Slackware 12.2 linuxpokernut Slackware 17 09-30-2009 01:55 PM
Upgrading to "slackware-current" phys Slackware 5 03-14-2009 07:57 PM
"Slackware Essentials" or "Slackware Linux Basics" ? alMubarmij Slackware 3 03-14-2009 07:51 PM
[Slackware 10.2] "Upgrading" packages gtk+, glib, atk, pango stevesk Linux - Newbie 9 07-02-2006 06:09 PM
So what ethernet card is supported "as standard" by 2.2.19 kernel?... Simon W Linux - Networking 2 02-14-2002 01:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:32 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