LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 03-13-2008, 09:55 AM   #16
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346
Thanked: 0

[Log in to get rid of this advertisement]
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)

iwl4965+linksys wrt54gl
pdw_hu is offline     Reply With Quote
Old 03-13-2008, 12:36 PM   #17
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 2,867
Thanked: 228
So tell us how you configured it in rc.inet1.conf ...

Eric
Alien Bob is offline     Reply With Quote
Old 03-14-2008, 07:18 AM   #18
DonnieP
LQ Newbie
 
Registered: Jan 2008
Location: Nashville, TN USA
Distribution: Ubuntu
Posts: 27
Thanked: 0
Quote:
Originally Posted by pdw_hu View Post
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.
DonnieP is offline     Reply With Quote
Old 03-14-2008, 09:45 AM   #19
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346
Thanked: 0
Quote:
Originally Posted by Alien Bob View Post
So tell us how you configured it in rc.inet1.conf ...

Eric

IFNAME[4]="wlan0"
USE_DHCP[4]="yes"
WLAN_ESSID[4]="my_id"

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...)
pdw_hu is offline     Reply With Quote
Old 03-14-2008, 09:47 AM   #20
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346
Thanked: 0
Quote:
Originally Posted by DonnieP View Post
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.

Last edited by pdw_hu; 03-14-2008 at 11:07 AM..
pdw_hu is offline     Reply With Quote
Old 03-16-2008, 06:49 AM   #21
tomtomjkw
Member
 
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 53
Thanked: 2
pdw_hu ->

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 ?
tomtomjkw is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
wine probs on slack... roAder Linux - Software 6 04-13-2006 04:56 PM
Slack 10.2 install probs. Please help captain chaos Slackware 16 02-09-2006 11:39 AM
Setting up my wireless LAN internet on my slack laptop :D Belize Linux - Wireless Networking 17 10-04-2003 02:15 PM
Having probs with ac97 and slack 9 Veonik Slackware 15 09-02-2003 11:38 AM
slack probs, and mandy spork545 Slackware 7 08-09-2003 10:12 AM


All times are GMT -5. The time now is 10:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration