DHCP doesn't work on slackware13.0
After upgrading to 13.0 from 12.2 following the instructions in UPGRADE.txt, everything worked fine except the DHCP.
I ran netconfig again, and specify the DHCP server address, didn't work. I modified /etc/rc.d/rc.inet1, changing the time-out time to 30, didn't work. Then I did a clean installation of slackware 13.0, still didn't work. Then I ran netconfig again, and using static ip (the last ip I got from the dhcp server), it is working now. But I still want the DHCP to work. Any hints? Thanks! |
Hello,
please post the eth0-part of your /etc/rc.d/rc.inet1.conf. (if you use a wired network). Markus |
Before I changed to static ip, it looked like:
# Config information for eth0: IPADDR[0]="" NETMASK[0]="" USE_DHCP[0]="yes" DHCP_HOSTNAME[0]="" Now I am using static ip, so its different. |
Quote:
My rc.inet1.conf (create for command netconfig): # Config information for eth0: IPADDR[0]="" NETMASK[0]="" USE_DHCP[0]="yes" DHCP_HOSTNAME[0]="" . . . # Default gateway IP address: GATEWAY="" |
Hmm. Interesting. I have a similar problem where DHCP fails to obtain an IP address. I thought it was probably the network I was trying to connect to that was causing problems (in 12.2 there were no problems... but who knows.)
I've tried wicd as well with similar timeout issues. I'm connecting with my wireless card (wlan0). The rc.inet1.conf file looks like this: IFNAME[4]="wlan0" IPADDR[4]="" USE_DHCP[4]="yes" DHCP_TIMEOUT[4]=30 WLAN_ESSID[4]=ResNet-Open WLAN_MODE[4]=Managed WLAN_CHANNEL[4]="auto" I've tried increasing the timeout to 120 seconds without luck. The network requires no authentication. Coto |
Don't happen to have any stray .new files hanging around after the upgrade?
|
Personally I just did a fresh install.
|
I installed from DVD. Not upgrade.
Running command "dhclient eth0": . . . No DHCPOFFERS received. No working leases in persistent database - sleeping. Is It a bug? |
Quote:
There is also the chance that some just grab the configs from the previous version and replace them wholesale. Quote:
So probably be nice to find something in common for the people having the issue. dhcpcd gives a lot of info if you set Code:
DHCP_DEBUG[0]="yes" Might give a clue as to what is happening. |
DHCP working just fine here on Slackware 13.0.
|
I think that really is a bug. I tried other alternatives like running the command "/sbin/dhcpcd -d -T -noipv4ll eth0" and did not work.
The slackware version is x64 13.0 |
Hi, I have the same problem on 13.0 32 bits.
several reinstall and changing to loopback did not help anything |
There's a known bug in dhcpcd-3.x that very few people ran across during hte -current cycle, but it was too late to consider an upgrade to dhcpcd-5.0.x. You might consider trying to build and install it instead, but probably it's easier to just try dhclient instead.
|
Quote:
Sorry for my english - I from Ukraine, and my explaine - I new in Linux and network system. |
I updated the dhcpcd to version 5.0.7 and also tried to use dhclient command. In both cases did not work.
Sorry for my English. I'm Brazilian. Thanks Lamosa |
All times are GMT -5. The time now is 01:52 AM. |