DHCP not working :-(
I can't get my DHCP working. I tried every thing but to no avail. Who can help me?
|
Quote:
Did you try the command "dhcpcd eth0" (if eth0 is your NIC)? Check for the packages with "ls -l /var/log/packages | grep -i dhcp" Check your NIC is recognised with "ifconfig -a" |
dhcpcd eth0 Didn't do anything.
ls -l /var/log/packages | grep -i dhcpgives me: -rw-r--r-- 1 root root 1809 2006-03-24 20:42 dhcp-3.0.3-i486-1 -rw-r--r-- 1 root root 1500 2006-03-24 20:42 dhcpcd-1.3.22pl4-i486-2 ifconfig -a gives me: lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:80 errors:0 dropped:0 overruns:0 frame:0 TX packets:80 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6952 (6.7 Kb) TX bytes:6952 (6.7 Kb) Hope this helps! |
What NIC do you have? It may be that the kernel module (driver) isn't loaded.
|
as root type '/etc/rc.d/rc.inet1 start' and see if that will start it up
|
/etc/rc.d/rc.inet1 start Doesn't work
I have a Marvel Yukon ethernetcard. |
|
First make sure the driver is loaded by your system
dmesg | grep eth0 and lsmod | grep sk98lin (the name of the driver) should give you the necessary info. How did you configure your network ? Did use use netconfig or are trying to configure it manually ?. The second requires you edit your /etc/rc.d/rc.inet1.conf. Ciao |
D'oh, forgot about sk98lin.
If it doesn't show up in lsmod, add it with "modprobe sk98lin". |
Code:
ifconfig -a |
Quote:
P.S. Thanks for all the tips! |
Quote:
Have you tried running Code:
modprobe sk98lin Code:
ifconfig -a Running netconfig and setting up eth0 does not mean that eth0 is thereby ready to go. Configured yes, but loading the driver is either the task of the hotplug subsystem, or you add a "modprobe" command in the file /etc/rc.d/rc.netdevice yourself if hotplug does not recognize the card for whatever reason. That file "rc.netdevice" may not yet exist by the way. If the Slackware installer had recognized your card it would have setup that file for you. So, let's do it now: Code:
vi /etc/rc.d/rc.netdevice Code:
/sbin/modprobe sk98lin Code:
chmod +x /etc/rc.d/rc.netdevice Eric |
Quote:
|
All times are GMT -5. The time now is 11:53 PM. |