Problems with wpa_supplicant and rc.inet1 on Slackware x86_64 -current
Hello,
After the last upgrade to -current I noticed that rc.inet1 fails to start my wireless network. My configuration for rc.inet1.conf is: Code:
IFNAME[4]="wlan1" Code:
Starting the network interfaces... Code:
Mar 21 21:33:07 darkstar rc.inet1[14024]: wlan1: configuring interface I'd appreciate any suggestion about this. Thanks! |
after slackpkg upgrade you do
slackpkg new-config ? |
How are you running dhcpcd or dhclient? Are you giving them a timeout option? From what you posted it looks like it is timing out when trying to get a dhcp lease.
I don't think this changed with the update, and the default should be 15 seconds, but maybe it needs more time. I think the default timeout interval for dhcpcd is 30 seconds, and 60 seconds for dhclient. If this doesn't work try setting: DHCP_DEBUG[4]="yes" and maybe DEBUG_ETH_UP="yes" to see if that helps give more information. |
did your /etc/wpa_supplicant.conf get overwritten?
|
Quote:
Code:
/etc/rc.d/rc.inet1 wlan0_restart |
Quote:
Code:
DHCP_TIMEOUT[4]="120" Quote:
Quote:
Quote:
The DHCP_TIMEOUT command I suggested above should help with that. I wouldn't recommend using dhclient as that's not supported by rc.inet1 - dhcpcd is the standard util to configure DHCP on Slackware. |
Quote:
Quote:
Quote:
|
Hello, increasing the timeout of the dhcp as Tadgy suggested seems to have solved the issue. I changed both the WLAN_WPAWAIT[4] and DHCP_TIMEOUT[4] to 60.
Thanks to everyone for their time and support! |
All times are GMT -5. The time now is 01:26 PM. |