No Wired Network connection on Slackware 13.1 new install [SOLVED]
I am not new to Linux (Old Gentoo User) but new to Slackware. I have installed 13.1, the network card is found, the dhcp seems to work on bootup giving the correct address to eth0, but the address is not shown in the route, and there is no connection to the network.
Here is some info: ifconfig -a Code:
eth0 Link encap:Ethernet HWaddr 00:19:db:6c:c8:3e lspci Code:
00:00.0 Host bridge: Intel Corporation 82975X Memory Controller Hub (rev c0) Code:
evdev 9114 3 route Code:
Kernel IP routing table Code:
e1000e: Intel(R) PRO/1000 Network Driver - 1.2.10-NAPI Code:
Aug 16 17:59:17 scorpio dhcpcd: eth0: leased 192.168.0.3 for 86400 seconds /etc/resolv.conf - nothing in there I even installed the latest e1000e linux driver from Intel. I have tried DHCP, Fixed IP adressing, and even dhclinet and installed wicd and used that! All failed! I have looked at all of the Slackware manuals, and FAQs and Troubleshooting, as well as trawling the forums. I have not added anything to Slack, just got it running on a fresh install. I thought I should have a go with Slackware, and see how I got on, but you cannot do anything without a functioning network. Any ideas? Thanks |
Well, did you turn on debug in /etc/rc.d/rc.inet1.conf?
DEBUG_ETH_UP="YES" Is there anything in /etc/dhcpc/ ? |
Hi,
Welcome to LQ & Slackware! Configuring your network in Slackware should provide the means to configure the network. Just a few more useful links; SlackwareŽ Essentials SlackwareŽ Basics Linux Documentation Project Rute Tutorial & Exposition Linux Command Guide Bash Reference Manual Advanced Bash-Scripting Guide Linux Newbie Admin Guide LinuxSelfHelp Getting Started with Linux The above links and others can be found at 'Slackware-Links' . More than just SlackwareŽ links! |
Code:
Well, did you turn on debug in /etc/rc.d/rc.inet1.conf? Code:
Is there anything in /etc/dhcpc/ ? |
Quote:
Take a look at "man dhcpcd-run-hooks". You may want to set up your own /etc/dhcpcd.enter-hook script and dump out further debugging info for the TEST, NOCARRIER, INFORM, and CARRIER reasons. (That MTU change is weird.) There might be some artifacts coming and going in various /var/run/dhcpcd subdirectories. |
Code:
Hmm. Had you done that prior to collecting the logs that you posted earlier? I have had a llook at the man pages you suggest, but quite honestly I have no idea how to use these hooks, can you suggest how I might use them? I have tried setting /etc/resolv.conf manually, but that makes no difference. I have even tried disabling the onboard lan and putting a different ethernet card in the machine, but the problem remains the same. Thanks |
Network Problem Solved
After alot more fiddling about I found that on installing 32bit Slackware 12.2 the network functioned normally.
I reinstalled 13.1 and then came across this post so by clearing the entries in /etc/rc.d/rc.inet1.conf and running dhclient eth0 the card was properly configured, and the network woke up! I have added this line to /etc/rc.d/rc.local and all is well. Thanks for the input. |
The problem with putting that in rc.local, in general, is that network daemons have already been started because rc.local is run at the end of the boot process. Knowing that people may have complex networking setups for which rc.inet1 may fall short, and that dhcpcd does not always work with every router out there (this is one of those cases), I would like to propose the following change in rc.M to the Slackware team:
Code:
--- rc.M 2010-08-18 20:36:15.081228275 +0200 It's executed after rc.inet1 and not instead of rc.inet1. rc.inet1 brings up the lo interface, so it's better to let it do that work first or everyone would have to set up the lo interface if they write a rc.inet1.local script. Second, it's not sourced but simply executed. This gives more flexibility and, even if they write it as a shell script in most cases, protects the rest of rc.M if the user wants to write a complex script that runs "exit" at some points. With that addition, the OP would only need to create /etc/rc.d/rc.inet1.local with the following contents: Code:
#!/bin/sh My two cents. |
Umm, if "dhclient eth0" works with no other configuration, then I do not see why dhcpcd won't work.
|
Me neither. I only know DHCP from the user level, but it's not the first and won't be the last time someone faces a problem with dhcpcd not working, and dhclient working, or vice-versa. I see that from time to time in the IRC channel too.
Edit: also, this applies to different versions of dhcpcd as well (dhcpcd A.B not working and dhcpcd C.D working). |
Quote:
Code:
#! /bin/bash Code:
Not dumping for reason PREINIT |
All times are GMT -5. The time now is 03:11 PM. |