LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 09-08-2006, 09:09 AM   #1
freelancer42
LQ Newbie
 
Registered: Sep 2006
Posts: 17

Rep: Reputation: 0
hostapd and madwifi not working


I have successfully installed madwifi 0.9.2 on my slackware 10.1 computer. I've tested it and it works fine. I do however want encryption, which is why I downloaded hostapd. The problem is, whenever I try to start it, it give me this output:
-----
root@Athena:/files/temp/hostapd-0.4.9# hostapd /etc/hostapd.conf
Configuration file: /etc/hostapd.conf
ioctl[SIOCSIWMODE]: Invalid argument
Could not set interface to master mode!
madwifi driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
-----

I've tried several configurations, including ones found on the net which the posters claim should work. The latest one I tried is this:
-----
interface=ath0
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=Wireless
macaddr_acl=1
accept_mac_file=/etc/hostapd.accept
auth_algs=3
eapol_key_index_workaround=0
eap_server=0
wpa=3
wpa_psk_file=/etc/hostapd.wpa_psk
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP
-----
The hostapd.accept and hostapd.wpa_psk files exist and use the correct syntax.

I've googled a lot about this, but I haven't found anything useful. I apprieciate any help you can give me.


*edit* I solved it. I forgot to set the vap to master mode.

Last edited by freelancer42; 09-08-2006 at 10:32 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
uncooperative hostapd causes mental insanity cabe Linux - Networking 1 09-02-2006 10:17 PM
Madwifi not working on Slackware 10.2 EsotericMatt Linux - Wireless Networking 4 05-18-2006 04:32 PM
madwifi-ng & wpa_supplicant or madiwifi & hostapd? powadha Debian 1 04-17-2006 06:28 AM
Help, ... hostapd Access point stop ... ERBRMN Linux - Networking 0 02-17-2006 12:10 AM
Madwifi is it working??? Atrocity Linux - Wireless Networking 5 05-03-2005 01:00 PM


All times are GMT -5. The time now is 12:09 PM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration