You are not logged in.

#1 2007-08-10 16:46:54

Darkwind
Member
Registered: 2007-05-06
Posts: 58

failed to connect to wpa_supplicant [solved]

Hi
I'm somewhat new to linux and decided to install the 64-bit version of Arch on my laptop.
I had a working 32-bit install on it and backed up what I thought were all the important config files.
After the installation, I tried to set up my wireless network as it was before and have copied the network profiles etc to their respective locations.
however, now, when I try to start the wireless by typing "netcfg home" (the name of the profile) I get told

 : : Starting network profile: home
Failed to connect to wpa_supplicant - wpa_ctrl_open : no such file or directory

which the repeats ad infinitum or until I hit ctrl+s

I am using the madwifi drivers and wpa_supplicant (obvously) and have not had a problem before.

my network profile looks like this:

#
# Network Profiles
#

Description="Home"

# Network Settings
INTERFACE=ath0
HOSTNAME=localhost

# Interface Settings
IFOPTS="dhcp"

# Wireless Settings
ESSID="HomeNetwork"
IWOPTS"mode managed essid $ESSID"

WIFI_WAIT=5
USEWPA="yes"
WPAOPTS="-Dmadwifi -i$interface -c/etc/wpa_supplicant_home.conf"

and wpa_supplicant_home.conf looks like

#/etc/wpa_supplicant.conf
 ctrl_interface=/var/run/wpa_supplicant

 network={
            ssid="HomeNetwork"
            psk="*******************"
            priority=5
 }

any help or advice would be greatly appreciated.
Caillin

:update:
I have also tried using autowpa but also to no effect

in the end, I copied my old profiles from the where I backed them up and now they work.

Last edited by Darkwind (2007-08-14 10:38:44)

Offline

#2 2007-08-22 15:33:24

tacita
Member
Registered: 2007-08-22
Posts: 8

Re: failed to connect to wpa_supplicant [solved]

I have the same problem. Could you please paste the profiles that worked?. Thank you.

Offline

#3 2007-09-12 14:22:38

Janax
Member
From: Iowa
Registered: 2007-05-21
Posts: 86

Re: failed to connect to wpa_supplicant [solved]

This may be a bit late, but I was looking for something to explain the strange "AUTOWPA" parameter and found your post here.  I'm just taking a stab at it, but it looks like the "$interface" variable should be capitalized.  So it would look like this:

WPAOPTS="-Dmadwifi -i$INTERFACE -c/etc/wpa_supplicant_home.conf"

That way it'll match with the variable declaration up above.

Hope this helps, even if it's over a month later!

Offline

Board footer

Powered by FluxBB