Tiny Core Linux WiFi
#1
Posted 23 February 2010 - 10:57 PM
Installed wicd along with its dependencies (wireless-tools, wpa_supplicant, etc) and the rt2860 module (Ralink)
Everything seems to go fine, wicd gui see's my essid, but when I attempt to connect I error out (Connection Failed. Bad Password). The password I am entering is correct; I have 3 other laptops connecting to this AP, wireless works fine on them.
Encryption used is WPA2 PSK.
I am wondering if anyone else has seen this, or have some ideas how to get around this.
thanks
m
#2
Posted 24 February 2010 - 12:19 AM
#3
Posted 26 February 2010 - 11:39 AM
I also think (i can't check as i don't have my eee on me) that wicd uses it's own wpa_config tucked away in it's own settings directory, not the one in /etc/.
it may well be that you have to put your password through wpa_passphrase and then enter that instead of the plain text one.
#4
Posted 26 February 2010 - 04:09 PM
There's possibly a wpa_supplicant log file somewhere that you can look at.
I agree with aj123 that if Wicd is failing, it's likely easier to configure wpa_supplicant yourself than to figure out what's going on inside the black box.
#5
Posted 26 February 2010 - 04:25 PM
Wpa_supplicant can even connect to WEP and open networks. It supports automatic network roaming and saves your network profiles. Wicd (and network manager) is just a pretty frontend.
The only thing that wpa_gui won't handle for you is DHCP. So you'll need write a script to start a dhcp client (dhcpcd works automatically with wpa_supplicant and detects network changes automatically).
Edited by jemimah, 26 February 2010 - 04:26 PM.
#6
Posted 26 February 2010 - 04:47 PM
Quote
I honestly think it's just a case of entering the password derived from wpa_passphrase.
Quote
#7
Posted 26 February 2010 - 05:20 PM
Quote
#8
Posted 26 February 2010 - 08:12 PM
Quote
Quote
I honestly think it's just a case of entering the password derived from wpa_passphrase.
Quote
http://distro.ibibli...rt2860.tcz.info
#9
Posted 26 February 2010 - 09:29 PM
#10
Posted 02 March 2010 - 04:08 PM
wicd uninstalled. wireless-2.6.29.1, wireless_tools, wpa_gui, wpa_supplicant installed.
These instructions with rt2860 module, placed in bootlocal.sh
After booting, you should see a network interface "raN"
with N being 0 in most cases: ra0. To associate with a
wireless access point, you can set up a simple script like
the following:
#!/bin/sh
# commands to associate with wireless access point
/sbin/ifconfig ra0 up
/usr/local/sbin/iwconfig ra0 essid "{{{YOUR ESSID HERE}}}" key restricted "{{{encrypted passphrase}}}"
sleep 2
/sbin/udhcpc -i ra0
Created and saved this file in /opt/bootlocal.sh, now on to wpa_supplicant:
Created a wpa_supplicant file, referencing http://wiki.tinycore...Setting+up+Wifi
ctrl_interface=/var/run/wpa_supplicant
network={
ssid=*"mynetwork"*
proto=WPA2
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk=*encrypted passphrase*
}
I should mention here that I started out with WPA-PSK [TKIP] + WPA2-PSK [AES], but have since backed the encryption off to WPA2-PSK [AES] in the hopes that it would make this process somewhat easier.
Next step of TC "Setting up WiFi WIKI:
to connect to the access point, run in the console:
wpa_supplicant -i*interface* -c/opt/wpa_configure.conf &
"Trying to associate with **:**:**:**:**:** (SSID='my network'
Authentication timed out
wpa_gui: "Could not get status from wpa_supplicant"
Not sure where to go from here...
#11
Posted 02 March 2010 - 04:41 PM
Here's how I got it to sort of work on Puppeee before I upgraded the kernel:
First I built the driver without native wpa_supplicant support
Added ap_scan=2 to the wpa_supplicant.conf
Start wpa_supplicant with -Dralink flag
If it gets stuck while authenticating: 'wpa_cli -i ra0 reassociate'
Edited by jemimah, 02 March 2010 - 04:43 PM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


This topic is locked









