Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wpa_supplicant and AirPort
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Sun Sep 03, 2006 1:49 pm    Post subject: wpa_supplicant and AirPort Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sun Sep 03, 2006 1:53 pm    Post subject: Reply with quote

You forgot the closing } on your network block
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
playahater
Guru
Guru


Joined: 02 Jul 2005
Posts: 382
Location: Serbia

PostPosted: Sun Sep 03, 2006 2:48 pm    Post subject: Reply with quote

UberLord wrote:
You forgot the closing } on your network block


oops :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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Sun Sep 03, 2006 4:24 pm    Post subject: Reply with quote

playahater wrote:
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?


No idea - I only use no auth, WEP or WPA which don't require usernam fields.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum