LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-21-2014, 03:39 PM   #1
Rockitglider7
Member
 
Registered: Nov 2013
Location: South Florida
Distribution: Slackware 14 on a Dell Inspiron 1420
Posts: 30

Rep: Reputation: Disabled
Network interface not active after install of 14.1


Hello,

I just finished installing slackware 64 bit on an old box with a new asus motherboard in it, with all new hardware as well, I have been trying to figure out how to get the network interface to startup. I would post some results of some commands likr lsmod but I can't get them online to paste them in here. but at the bottom of the results is
"ADDRCONF (NETDEV_UP):eth0 :link is not ready"
r8l69 0000:03:00.0:eth0:link down
I'm not sure if I need to install a driver or not, but I sure could use some help. I have a disk that came with the motherboard that has a Linux folder on it with drivers inside, the file is r8l68-8.026.00.tar.bz2 and I'm not sure what to do with that file. I'm not very good with Linux and am just starting out, this is my 3rd install the other 2 went fairly well. thanks for any help you can give me,

Sincerely, Kit
 
Old 12-21-2014, 04:04 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
This is most likely a missing driver, which in turn is most likely a kernel issue. The (now slightly old) kernel shipped with Slackware 14.1 may not support the revision of the RealTek 8168/8169 chip on your brand new motherboard.

If you run the following command:
Code:
lspci -vn | grep 03:00\.0
...it should return a single line of text containing the PCI vendor and device IDs. Could you post that information here?

The .tar.bz2 package on the driver disk could be the source code for an updated version of the driver. If you installed the development tools from the "D" series and the kernel source code, you could try compiling the driver:
Code:
root@slackware:~# cd /usr/src
root@slackware:/usr/src# tar -xjf /mnt/path/to/driver/r8l68-8.026.00.tar.bz2
root@slackware:/usr/src# cd r8l68-8.026.00
root@slackware:/usr/src/r8l68-8.026.00# make
The exact directory name in that last cd command is just an (un)educated guess on my part. The point is, the tar command should unpack a number of files, creating a subdirectory in the process. That's the directory you need to cd into.

If this works, make install should install the newly compiled driver. Please do post the results in this thread regardless of what they might be.
 
Old 12-21-2014, 04:26 PM   #3
Rockitglider7
Member
 
Registered: Nov 2013
Location: South Florida
Distribution: Slackware 14 on a Dell Inspiron 1420
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ser Olmy View Post
This is most likely a missing driver, which in turn is most likely a kernel issue. The (now slightly old) kernel shipped with Slackware 14.1 may not support the revision of the RealTek 8168/8169 chip on your brand new motherboard.

If you run the following command:
Code:
lspci -vn | grep 03:00\.0
...it should return a single line of text containing the PCI vendor and device IDs. Could you post that information here?

The .tar.bz2 package on the driver disk could be the source code for an updated version of the driver. If you installed the development tools from the "D" series and the kernel source code, you could try compiling the driver:
Code:
root@slackware:~# cd /usr/src
root@slackware:/usr/src# tar -xjf /mnt/path/to/driver/r8l68-8.026.00.tar.bz2
root@slackware:/usr/src# cd r8l68-8.026.00
root@slackware:/usr/src/r8l68-8.026.00# make
The exact directory name in that last cd command is just an (un)educated guess on my part. The point is, the tar command should unpack a number of files, creating a subdirectory in the process. That's the directory you need to cd into.

If this works, make install should install the newly compiled driver. Please do post the results in this thread regardless of what they might be.
Hello,
I didn't install anything other than the operating system, I don't know how to install the tools and source code, but I do have the dvd for it I think, I created it from the iso file. I also already extracted the file to a folder of the same name in /tmp/LinuxDrivers/LAN/r8l68-8.026.00 and there is several files in there. So I'm guessing I need to install a few things from the source dvd and try to run the command to compile the drivers? Let me know if that's correct and I will try it tomorrow when I go to work. Thanks again,

Kit
 
Old 12-21-2014, 04:46 PM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
If you performed a full/complete installation, then you already have everything you need.

If not, the development tools are in the "slackware/d" subdiractory on the DVD (or "slackware64/d" for 64-bit Slackware). The kernel source is in the "slackware[64]/k" subdirectory.
 
Old 12-21-2014, 05:02 PM   #5
Rockitglider7
Member
 
Registered: Nov 2013
Location: South Florida
Distribution: Slackware 14 on a Dell Inspiron 1420
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ser Olmy View Post
If you performed a full/complete installation, then you already have everything you need.

If not, the development tools are in the "slackware/d" subdiractory on the DVD (or "slackware64/d" for 64-bit Slackware). The kernel source is in the "slackware[64]/k" subdirectory.

OK great, I just came across this post while searching and it looks like the exact same problem I'm having. check it out

http://www.linuxquestions.org/questi...ed-fyi-928824/

Kit
 
Old 12-21-2014, 05:07 PM   #6
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
Yes, that looks like exactly the same issue. If you follow those instructions, you should be up and running in just a few minutes.
 
Old 12-21-2014, 05:13 PM   #7
Rockitglider7
Member
 
Registered: Nov 2013
Location: South Florida
Distribution: Slackware 14 on a Dell Inspiron 1420
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rockitglider7 View Post
OK great, I just came across this post while searching and it looks like the exact same problem I'm having. check it out

http://www.linuxquestions.org/questi...ed-fyi-928824/

Kit
I did do some checking on the device earlier and the info that came back was
RTL 8111/8168 PCI Express Gigabit Ethernet Controller (Rev. 0c)
I/O Ports at e000 IRQ42
Kernel driver in use r8169
Modules = r8169

I guess all I need to do is blacklist the r8169 driver so it will use the correct one as I already ran the file from the asus disk, I ran the autorun.sh file in the r8l68-8.026.00.tar.bz2 extracted file I created earlier. Is this correct? Thanks again,

Kit
 
Old 12-21-2014, 05:16 PM   #8
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,348

Rep: Reputation: Disabled
Yes, that sounds 100% correct.
 
Old 12-21-2014, 05:22 PM   #9
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660Reputation: 6660
I ran into an issue with this driver with my freshly upgraded 3.18 kernel. I kept having dropouts, where I didn't have them on the stock Slackware kernel. I ended up downloading the latest driver directly from realtek and built that. It will back up the original driver and then install the new one in its place so no blacklisting is needed. You could just download it with another computer and then copy it with a thumbdrive. It's the LINUX driver for kernel 3.x and 2.6.x and 2.4.x download. Just untar it and then run the autorun.sh script.

Realtek 8168 driver page

EDIT: The previous driver was called r8169 and the new one is r8168.

Last edited by bassmadrigal; 12-21-2014 at 05:24 PM.
 
Old 12-27-2014, 01:04 PM   #10
Rockitglider7
Member
 
Registered: Nov 2013
Location: South Florida
Distribution: Slackware 14 on a Dell Inspiron 1420
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ser Olmy View Post
Yes, that sounds 100% correct.

Hello,

I loaded the drivers as shown on the tread that I linked to and the link is up, but I can't browse the internet with firefox, it says no connection, if I ping the gateway it comes back as if it's connected. Thanks for your help so far.

Sincerely, Kit O.
 
Old 12-27-2014, 01:26 PM   #11
Rockitglider7
Member
 
Registered: Nov 2013
Location: South Florida
Distribution: Slackware 14 on a Dell Inspiron 1420
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Rockitglider7 View Post
Hello,

I loaded the drivers as shown on the tread that I linked to and the link is up, but I can't browse the internet with firefox, it says no connection, if I ping the gateway it comes back as if it's connected. Thanks for your help so far.

Sincerely, Kit O.
Hello again,

Actually I have it working now, seems like all is good, thanks very much,

Kit O.
 
Old 12-27-2014, 03:41 PM   #12
Rockitglider7
Member
 
Registered: Nov 2013
Location: South Florida
Distribution: Slackware 14 on a Dell Inspiron 1420
Posts: 30

Original Poster
Rep: Reputation: Disabled
Hello again,

I guess I have the issue that I've been reading about where the card works sometimes and sometimes it doesn't. I had it working and then it just stopped working. I've tried all the things I know how to do, but some of the fixes I don't know how to complete, like making it so it chooses an certain irq on startup, or at least I think that's what they are trying to do. Here is a couple of links to some fixes:

http://adam.rosi-kessel.org/weblog/2...k-down-problem

http://www.linuxquestions.org/questi...2/#post5094796

http://www.linuxquestions.org/questi...ed-fyi-928824/

Thanks for ant help you can provide. When it connects I can get a clean ping of the gateway, when it doesn't I get "RX packets sent=0" returned from the ifconfig.

Kit O.
 
Old 12-28-2014, 09:37 AM   #13
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 364

Rep: Reputation: 67
I realize that this may be off the track, but have the udev rules has been set for the network interfaces?
The fact that the issue is on-again / off-again seems to point to missing udev rules: /etc/udev/rules/70-persistent-net.rules.
It can be set using the script /lib/udev/write_net_rules, like this (change INTERFACE and MATCH values):
Code:
INTERFACE=eth0 MATCHADDR="00:11:22:33:44:55" /lib/udev/write_net_rules
There are also options to match on different values: MATCHDRV, MATCHDEVID, MATCHID, MATCHIFTYPE.
Take a look inside the write_net_rules script for better understanding. The data used by the MATCH variables should
be available under the /sys/class/net/${INTERFACE}/ directory.
This can be done for each network interface.

My apologies in advance if this is not the issue or this is too much stating the obvious.

Last edited by j_v; 12-28-2014 at 09:38 AM.
 
Old 12-28-2014, 05:02 PM   #14
Rockitglider7
Member
 
Registered: Nov 2013
Location: South Florida
Distribution: Slackware 14 on a Dell Inspiron 1420
Posts: 30

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by j_v View Post
I realize that this may be off the track, but have the udev rules has been set for the network interfaces?
The fact that the issue is on-again / off-again seems to point to missing udev rules: /etc/udev/rules/70-persistent-net.rules.
It can be set using the script /lib/udev/write_net_rules, like this (change INTERFACE and MATCH values):
Code:
INTERFACE=eth0 MATCHADDR="00:11:22:33:44:55" /lib/udev/write_net_rules
There are also options to match on different values: MATCHDRV, MATCHDEVID, MATCHID, MATCHIFTYPE.
Take a look inside the write_net_rules script for better understanding. The data used by the MATCH variables should
be available under the /sys/class/net/${INTERFACE}/ directory.
This can be done for each network interface.

My apologies in advance if this is not the issue or this is too much stating the obvious.
Hello, no, any help is appreciated. I will have a look at that. Thanks for the help

Kit O.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Network Interface not active on boot time jitenderana Linux - Networking 1 09-05-2011 09:31 AM
[SOLVED] no network interface detected on ubuntu server install cycocool Linux - Newbie 9 08-18-2011 07:35 AM
Need help to install network interface on Ubuntu Server snowweb Linux - Newbie 15 09-10-2009 04:08 AM
how to install a new network interface car driver? hongxing SUSE / openSUSE 6 12-01-2005 05:58 PM
no active interface (yet?)...no network... breezewax Linux - Networking 17 09-16-2004 09:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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