On 24/07/10 00:08, Dan McGhee wrote:
> stuff about wireless
> I sure would appreciate any comments, evaluations, suggestions or other
> options.
I've no idea how to get wireless to work with the LFS bootscripts. I
would recommend that you install wpa_supplicant and configure it to
connect to all the wireless networks you know about. It's a one time job
to set up /etc/wpa_supplicant.conf with all the passwords, then I can
connect to any network I have the password to (if its in range) with:
ip addr add 192.168.1.2 dev wlan0
ip link set wlan0 up
wpa_supplicant -B -c/etc/wpa_supplicant.conf -iwlan0 -Dwext
ip route add 192.168.1.1 dev wlan0
ip route add default via 192.168.1.1 dev wlan0
I recommend using encryption to keep your network secure. WEP is not
good enough (in my opinion). wpa_supplicant makes it all easy
/etc/wpa_supplicant.conf looks something like this:
network={
ssid="message_to_the_neighbours"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk=$PRIVATE-PASSWORD
}
network={
ssid="another_witty_message"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk=$ANOTHER-PRIVATE-PASSWORD
}
network={
ssid="roamnet"
key_mgmt=NONE
}
As you can see, if the access point is a public one that doesn't use
encryption, set its key_mgmt to NONE and you're good to go. The README
in the wpa_supplicant source is where I learnt about all this.
Andy
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page