LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 12-15-2012, 05:06 PM   #1
LiquidCougar
LQ Newbie
 
Registered: May 2008
Distribution: Slackware 12
Posts: 3

Rep: Reputation: 0
Ethernet will not work... Have tried everything. I am officially stumped.


Alright, this is my last resort. I almost always run into ethernet problems on my installs (usually due to a minor oversight), but this one has got me beat.

Brand new Slackware 14 x86_64 install. Got the NIC drivers from Realtek, installed okay and the system sees it correctly. (RTL8111E PCIe onboard NIC) I have tried several online setup guides. I tried netconfig with a static IP address, and with DHCP. dhclient gets me nowhere, and neither does Network Manager. My route table is currently empty, it doesn't seem to hold the entries I put into it for some reason.

Any help here is appreciated. From my system as it sits now:
dhcpd:
Code:
Polling for DHCP server on interface eth0:
dhcpcd[2709]: version 5.5.6 starting
dhcpcd[2709]: eth0: not configured to accept IPv6 RAs
dhcpcd[2709]: eth0: broadcasting for a lease
dhcpcd[2709]: timed out
dhcpcd[2709]: allowing 8 seconds for IPv4LL timeout
dhcpcd[2709]: eth0: probing for an IPv4LL address
dhcpcd[2709]: eth0: checking for 169.254.67.144
dhcpcd[2709]: received SIGTERM, stopping
dhcpcd[2709]: eth0: removing interface
Although upon startup, it says it acquires and then loses a carrier before timing out and going to that IPv4LL timeout.

ifconfig:
Code:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::52e5:49ff:fec9:603a  prefixlen 64  scopeid 0x20<link>
        ether 50:e5:49:c9:60:3a  txqueuelen 1000  (Ethernet)
        RX packets 12  bytes 903 (903.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 194  bytes 34758 (33.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 43  base 0x8000  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 16436
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 8  bytes 520 (520.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8  bytes 520 (520.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
At one point I did get ifconfig to read that it took a static IP.. That was the furthest I've gotten.

rc.inet1.conf:
Code:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

# Config information for eth1:
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]=""
DHCP_HOSTNAME[1]=""

# Config information for eth2:
IPADDR[2]=""
NETMASK[2]=""  
USE_DHCP[2]=""
DHCP_HOSTNAME[2]=""

# Config information for eth3:
IPADDR[3]=""
NETMASK[3]="" 
USE_DHCP[3]=""
DHCP_HOSTNAME[3]=""

# Default gateway IP address:
GATEWAY="192.168.0.1"
And I checked /var/log/messages.. it was full of this over and over again:
Code:
Dec 15 16:49:05 rustbucket dhcpcd[2574]: eth0: sending IPv6 Router Solicitation
Dec 15 16:49:05 rustbucket dhcpcd[2574]: eth0: broadcasting for a lease
Dec 15 16:49:09 rustbucket dhcpcd[2574]: eth0: sending IPv6 Router Solicitation
Dec 15 16:49:17 rustbucket last message repeated 2 times
Dec 15 16:49:17 rustbucket dhcpcd[2574]: eth0: no IPv6 Routers available
Dec 15 16:49:25 rustbucket NetworkManager[2044]: <info> (eth0): IP6 addrconf timed out or failed.
Dec 15 16:49:25 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Dec 15 16:49:25 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) started...
Dec 15 16:49:25 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) complete.
Dec 15 16:49:35 rustbucket NetworkManager[2044]: <info> (eth0): DHCPv4 client pid 2574 exited with status 1
Dec 15 16:49:35 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
Dec 15 16:49:35 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) started...
Dec 15 16:49:35 rustbucket NetworkManager[2044]: <info> (eth0): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Dec 15 16:49:35 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 4 of 5 (IPv4 Configure Timeout) complete.
Dec 15 16:49:35 rustbucket NetworkManager[2044]: <info> (eth0): device state change: failed -> disconnected (reason 'none') [120 30 0]
Dec 15 16:49:35 rustbucket NetworkManager[2044]: <info> (eth0): deactivating device (reason 'none') [0]
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> Auto-activating connection 'Wired connection 1'.
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> Activation (eth0) starting connection 'Wired connection 1'
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> (eth0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> (eth0): device state change: prepare -> config (reason 'none') [40 50 0]
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> (eth0): device state change: config -> ip-config (reason 'none') [50 70 0]
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> Activation (eth0) Beginning DHCPv4 transaction (timeout in 45 seconds)
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> dhcpcd started with pid 2577
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> Activation (eth0) Beginning IP6 addrconf.
Dec 15 16:49:38 rustbucket dhcpcd[2577]: version 5.5.6 starting
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Dec 15 16:49:38 rustbucket NetworkManager[2044]: <info> (eth0): DHCPv4 state changed nbi -> preinit
Dec 15 16:49:38 rustbucket dhcpcd[2577]: eth0: sending IPv6 Router Solicitation
Dec 15 16:49:38 rustbucket dhcpcd[2577]: eth0: broadcasting for a lease
Guys, I am completely out of ideas. I've NEVER had this kind of trouble setting up ethernet on Slackware. The closest I've gotten is a Network Unreachable message when I try to ping my router.

I think I'm going to try the Static IP again, and see where that gets me.. I'm open to any suggestions. And let me know if there's anything else you need to know.
 
Old 12-15-2012, 05:43 PM   #2
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,398

Rep: Reputation: 131Reputation: 131
I had to modify the length of the DHCP timeout in /etc/rc.d/rc.inet
Code:
# 10 seconds should be a reasonable default DHCP timeout.  30 was too much.
        echo "/etc/rc.d/rc.inet1:  /sbin/dhcpcd -t ${DHCP_TIMEOUT[$i]:-15} ${DHCP_OPTIONS} ${1}" | $LOGGER
        /sbin/dhcpcd -t ${DHCP_TIMEOUT[$i]:-15} ${DHCP_OPTIONS} ${1}
This was to ensure my ZyXEL broadband modem was fully detected.

samac
 
Old 12-15-2012, 05:59 PM   #3
larrybpsu
LQ Newbie
 
Registered: Oct 2005
Location: Uniontown PA, USA
Distribution: Slackware
Posts: 25

Rep: Reputation: 7
Is this running as a Gig interface? It may be a cable issue. Remember, that Gig requires all 8 wires in a cable. When I run into some network problem...I start looking at cables. That usually solves the problem. If you have some spares, try them.
 
Old 12-15-2012, 06:04 PM   #4
LiquidCougar
LQ Newbie
 
Registered: May 2008
Distribution: Slackware 12
Posts: 3

Original Poster
Rep: Reputation: 0
You guys are not going to believe this, but...

I COMPLETELY FORGOT I HAVE MAC FILTERING TURNED ON IN MY ROUTER !!

As I said, I ALWAYS forget some tiny detail somewhere every time I do this!

I kill myself sometimes..

Thanks anyway!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ethernet does't work raul666 Red Hat 16 03-24-2010 08:02 PM
can't make ethernet on laptop work, wireless and usb work fine ubuntu 8.10 rz1988 Linux - Newbie 10 01-13-2009 02:21 PM
Help me, Ethernet does not work in Linux subhashini.s Linux - Embedded & Single-board computer 6 11-14-2008 09:29 PM
my NIC died , cant get new ones to work. stumped. modprobe Red Hat 7 07-23-2008 01:19 AM
Tripped over ethernet cord, ethernet doesn't work anymore 1veedo Linux - General 2 10-20-2007 11:02 PM


All times are GMT -5. The time now is 01:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration