(New page: ===Linux at the RCOA=== I had a bit of problem gettting my linux laptop to associate with the RCOA WPA-d network. eth1 is my wireless card. wpa_supplicant -ieth1 -c/etc/wpa_supplicant/...)
 
No edit summary
Line 33: Line 33:
dhcpcd_eth1="-t 45 -N"
dhcpcd_eth1="-t 45 -N"
essid_eth1=( "rcoa" )
essid_eth1=( "rcoa" )
</pre>
and then start the dhcpcd client
<pre>
dhcpcd eth1
</pre>
</pre>

Revision as of 22:27, 7 December 2007

Linux at the RCOA

I had a bit of problem gettting my linux laptop to associate with the RCOA WPA-d network.

eth1 is my wireless card.

wpa_supplicant -ieth1  -c/etc/wpa_supplicant/wpa_supplicant.conf -dd -Dwext

is the command line to watch the card try and connect


Ive got my network cards waiting for 20 seconds to get a DHCP address. Your wpa network needs longer than this . With a short association time in the cafe it picks up one of the neighbouring unsecured networks. set at 45 seconds, it was OK

my /etc/wpa_supplicant/wpa_supplicant.conf file was like this

ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
network={
  ssid="rcoa"
  psk="xxxxxx"
  priority=1
 proto=WPA
  key_mgmt=WPA-PSK
  pairwise=TKIP
  group=CCMP TKIP WEP104 WEP40
}

although I had told it to associate with rcoa network, ap_scan=o failed to connect and it needed ap_scan=1

the relevant bits of the interfaces config file ended up as

modules_eth1=( "wpa_supplicant" )
wpa_supplicant_eth1=( "-Dwext" )
dhcpcd_eth1="-t 45 -N"
essid_eth1=( "rcoa" )


and then start the dhcpcd client

dhcpcd eth1