On Sun, Oct 5, 2008 at 4:23 AM, Lauri Kasanen <[EMAIL PROTECTED]> wrote:
>
> If your wlan router uses WPA encryption instead of WEP, you'll also need 
> wpasupplicant. For WEP your steps are fine.
>
> After connecting like that, you just need to enter your IP, and the router's:
> ip addr add 192.168.1.56/24 dev wlan0
> ip route add default 192.168.1.56/24 via 192.168.1.1 dev wlan0
> echo "nameserver 192.168.1.1" > /etc/resolv.conf

It's very likely that your router is setup as a DHCP server, so you
can just use a DHCP client to handle these details. There are two dhcp
clients in BLFS:

http://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcpcd.html
http://www.linuxfromscratch.org/blfs/view/svn/basicnet/dhcpclient.html

This has a summary of the wireless side:

http://wiki.linuxfromscratch.org/blfs/wiki/WirelessTools

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to