configuring wireless connection - beginner

Jouni Malinen jkmaline at cc.hut.fi
Sun Jun 26 22:42:14 EDT 2005


On Sun, Jun 26, 2005 at 08:46:27PM -0500, Jay Strauss wrote:

> hydrogen:~# wpa_supplicant -d -Dhostap -ieth0 -c/etc/wpa_supplicant.conf

> ctrl_interface='/usr/sbin/wpa_supplicant'

This is not a very good idea.. ctrl_interface is supposed to be a path
for a directory whereas this looks more like the path to the binary..
Normally, this should be /var/run/wpa_supplicant.

> Using existing control interface directory.
> bind(PF_UNIX): Not a directory
> ctrl_iface exists, but does not allow connections - assuming it was 
> leftover from forced program termination
> unlink[ctrl_iface]: Not a directory
> Could not unlink existing ctrl_iface socket '/usr/sbin/wpa_supplicant/eth0'
> Failed to initialize control interface '/usr/sbin/wpa_supplicant'.

This is caused by the invalid ctrl_interface configuration.

> hydrogen:~# iwconfig
> lo        no wireless extensions.
> 
> eth0      IEEE 802.11-DS  ESSID:"strausshouse"  Nickname:"Prism  I"
>            Mode:Managed  Frequency:2.457 GHz  Access Point: 

Hmm.. Are you sure this is using Host AP driver? This "IEEE 802.11-DS"
string would normally be "IEEE 802.11b" with Host AP driver.. Which
wireless LAN card are using? What does 'dmesg' show after the card has
been initialized?

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the HostAP mailing list