You are not logged in.
Hi,
I managed to configure my wireless adapter to connect to my network using netcfg fine. However, everytime I boot up I see this:
/etc/wpa_supplicant.conf: line 7: syntax error near unexpected token `}'
/etc/wpa_supplicant.conf: line 7: `}'
/etc/wpa_supplicant.conf: line 7: syntax error near unexpected token `}'
/etc/wpa_supplicant.conf: line 7: `}'
I guess it's not really an issue, but for me it is a minor annoyance and an indicator that I should fix it before something goes wrong later down the line.
The following is my wpa_supplicant.conf file... I can't find anything wrong with it. I do want to mention though that I did set this file's permission to 775, so I don't know if that has an effect on it.
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
network={
ssid="WRT54GL"
#psk="9999999999"
psk=236e45f2wer6c1a3d604dasee342cc742c42346f125603e7658973523753q3e3b3
}
Any help is appreciated. Thanks.
Last edited by samsilla (2009-08-30 14:30:24)
Offline
bumping. someone please halp
Offline
I really don't see a problem with it. Maybe it's your netcfg config? or a bug in netcfg...
archlinux x86_64 user || My PKGBUILDs
Offline
Erase it all and type it all manually. Sometimes when copy-pasting, invalid (invisible) characters get added. That should fix it. Also, there are 66 characters in your WPA key, which makes it invalid.
Offline
I really don't see a problem with it. Maybe it's your netcfg config? or a bug in netcfg...
thanks! i'll check the config file!
Erase it all and type it all manually. Sometimes when copy-pasting, invalid (invisible) characters get added. That should fix it. Also, there are 66 characters in your WPA key, which makes it invalid.
thanks! this makes sense to me i'll do what you say.. also i changed the WPA key here (adding in my own numbers/letters).
thanks again guys for the help. will let you know how it works out
Last edited by samsilla (2009-08-29 01:12:22)
Offline
yeah, I get this same error too when using netcfg with wireless-wpa-config
But doing the normal wpa_supplicant + dhcpcd method works, so theres a problem with netcfg imo.
Offline
There is unclosed quote in wireless-wpa-config, just put another into the end of the string.
Offline
Okay I found out the problem.. turns out this was all caused by a simple space
Before:
WPA_CONF= "/etc/wpa_supplicant.conf"
After:
WPA_CONF="/etc/wpa_supplicant.conf"
Thanks again for the help guys.
Offline