Newbie wants to connect laptop to internet with wireless router... how?

Dan Nicholson dbn.lists at gmail.com
Sun Oct 5 08:25:34 PDT 2008


On Sun, Oct 5, 2008 at 4:23 AM, Lauri Kasanen <curaga at operamail.com> 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



More information about the blfs-support mailing list