SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I also have problems with wireless & slack-current.
For some reason the rc.inet1 script can't make the wireless work, it just goes: wpa_ctrl_open: No such file or directory
The link itself does work with running wpa_supplicant by hand (-Dwext -iwlan0 -c/etc/wpa_supplicant.conf) and dhcpcd-ing.
I've set WLAN_WPA, WLAN_WPACONF and WLAN_DRIVER in inet1.conf
I've also played around with rc.wireless (and .conf) but afai(g)uess it doesn't get initialized when wpa is used.
(needless (?) to mention it doesn't work without wpa so far)
I also have problems with wireless & slack-current.
For some reason the rc.inet1 script can't make the wireless work, it just goes: wpa_ctrl_open: No such file or directory
The link itself does work with running wpa_supplicant by hand (-Dwext -iwlan0 -c/etc/wpa_supplicant.conf) and dhcpcd-ing.
FWIW the only way I got wpa_supplicant working properly (not just by hand) was to comment out the line in rc.wireless that loads rc.wireless.conf. Otherwise, it kept connecting to the first insecure network it could find (there's lots nearby) and never would connect using my wpa settings.
I've tried setting WLAN_KEY[4] to my key also WLAN_IWPRIV[4] to EncrypType=AES (as i've set that in the router) and supply WPAPSK in it with my key also. I've tried them separate and at once too to no avail.
When I tried the WLAN_WPA* options i commented the WLAN_KEY and WLAN_IWPRIV out.
I've also tried putting the relevant values in /etc/rc.d/rc.wireless.conf in many combinations (eg. having them set in both places, commenting out in rc.inet1.conf but having it in wireless.conf and vice-versa...)
FWIW the only way I got wpa_supplicant working properly (not just by hand) was to comment out the line in rc.wireless that loads rc.wireless.conf. Otherwise, it kept connecting to the first insecure network it could find (there's lots nearby) and never would connect using my wpa settings.
I've tried that, it still doesn't work. Dhcpcd just times out. I'll try increasing it's timeout value in a sec but when I do these manually i instantly get connected so I don't think this is the case.
Edit: after a bit further trying/tweaking. wpa_cli wlan0 status says CONNECTED, so wpa should be okay then. I still can't get an ip with dhcpcd. Tbh, i did get an IP once out of 15 dhcpcd runs so I am really puzzled about what's going on... I googled for this issue, and it doesn't seem unique, but i couldn't find any useful info yet.
if running wpa_supplicant by hand works indeed, why don't you comment everything about wlan0 in rc.inet1.conf out except IFNAME[4]=wlan0 and put wpa_supplicant command followed by "dhcpcd wlan0" into your rc.local ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.