You are not logged in.
Today I decided to pacman -Syu and all seemed to be fine except that netcfg no longer works.
It fails when called from rc.conf, and running
# netcfg my-wireless
(where "my-wireless" is the name of my netcfg profile conf) results in the error message:
wpa_supplicant: invalid option -- 'w'
Then it displays the output you would get from running "wpa_supplicant --help"
However, my configs seem to be correct, because I can run
# wpa_supplicant -B -Dwext -i eth0 -c /etc/wpa_supplicant/conf ; dhcpcd eth0
and the connection goes as planned.
It's a minor but annoying problem. If it's all my fault, I'd be happy if someone could show me the errors of my ways.
Offline
This is also happening for me in conjuction with wpa_supplicant. netcfg fails to start the profile and gives invalid option -- 'w'.
This only happens in wpa_supplicant-0.6.9-1 and is fine with wpa_supplicant 0.5.11-1. I downgraded the package on noticing it didn't work.
Offline
Looks like netcfg needs an update for the new wpa_supplicant. It no longer supports the "-w" flag (wait for interface to be added, if needed). Someone that actually uses netcfg should file a bug on it. (I don't use it, so I wouldn't be able to test any fix.)
The flag is set on line 91 of /usr/lib/network/wireless.subr . Until it's fixed, you can try removing it from the command there.
Offline
Offline
An updated netcfg was supposed to be moved with the wpa_supplicant updated but was missed. Should be making its way to mirrors now.
Offline
same issues here, tried commenting/removing the line on 91, but that didn't solve my problem, instead of that long error string i get "wpa_supplicant config error" instead. I've tried using netcfg from the testing branch but im recieving lots of errors "package not found" etc, I guess it's still being uploading?
Thank You
Last edited by greenfish (2009-04-05 13:16:04)
ARCH64 archSKYNET server AMD Phenom(tm) II X2 550 HDD 6TB Ram 8GB
Hobbies: Running, Pistol Marksmanship, Classic Music
Offline
You are not supposed to kill the entire line; instead, you have to change it to have it look like this:
wpa_supplicant -B -P/var/run/wpa_supplicant_${INTERFACE}.pid -i${INTERFACE} -c $WPA_CONF $WPA_OPTS
Notice that wpa-supplicant is called with 'wpa_supplicant -B' instead of 'wpa_supplicant -wB' as it was before.
Offline
The package update is now appearing by the way, so this should be resolved.
Offline
You are not supposed to kill the entire line; instead, you have to change it to have it look like this:
wpa_supplicant -B -P/var/run/wpa_supplicant_${INTERFACE}.pid -i${INTERFACE} -c $WPA_CONF $WPA_OPTS
Notice that wpa-supplicant is called with 'wpa_supplicant -B' instead of 'wpa_supplicant -wB' as it was before.
cheers that did the trick
ARCH64 archSKYNET server AMD Phenom(tm) II X2 550 HDD 6TB Ram 8GB
Hobbies: Running, Pistol Marksmanship, Classic Music
Offline
Awesome, that got it working again. Thanks, I knew it should have been something simple like that
Offline