View previous topic :: View next topic |
Author |
Message |
playahater Guru
Joined: 02 Jul 2005 Posts: 382 Location: Serbia
|
Posted: Sun Sep 03, 2006 1:49 pm Post subject: wpa_supplicant and AirPort |
|
|
i`m i trying to set up airport card on my ibook to connect wifi network using wpa_supplicant package and no luck
when i try to start net.eth1 i get:
Code: |
* Starting eth1
* Starting wpa_supplicant on eth1 ...
Line 703: network block was not terminated properly
Line 703: failed to parse network block
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant'.
|
/etc/wpa_supplicant/wpa_supplicant.conf
Code: |
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
#ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
# Simple case: WPA-PSK, PSK as an ASCII passphrase, allow all valid ciphers
#network={
# ssid="NETGEAR"
# psk="blablabla"
# priority=1
#}
network={
ssid="NETGEAR"
scan_ssid=1
mode=0
key_mgmt=NONE
# priority=1
|
/etc/conf.d/net
Code: |
config_eth0=( "dhcp" )
dhcpcd_eth0="-t 1"
dhcp_eth0="-N nodns nontp nonis"
modules=( "wpa_supplicant" )
wpa_timeout_eth1=60
config_eth1=( "dhcp" "wpa_supplicant" )
dhcpcd_eth1="-t 1"
dhcp_eth1="-N nodns nontp nonis"
|
how to connect to my router? ..
there is no security option enabled on the router .. now keys .. no encryption .. and i cannot connect
any hint?
10x in advance
Cheers _________________ http://droopia.net |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
playahater Guru
Joined: 02 Jul 2005 Posts: 382 Location: Serbia
|
Posted: Sun Sep 03, 2006 2:48 pm Post subject: |
|
|
UberLord wrote: | You forgot the closing } on your network block |
oops
yup ... that did the trick ..
one more question .. when i want to connect to a WAP, which has a username and password as method of authentication .. I only add a username and pass lines in wpa_supplicant.conf and i should connect to that network, right?
10x in advance
Cheers _________________ http://droopia.net |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
|