FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

LinkBack Thread Tools
Old 04-20-2010, 02:33 AM
"Walter Dnes"
Default Wifi connectivity redux

It's so easy once you know how. I did some web surfing yesterday on
my netbook at the Toronto Public Library (North York Centre). The main
problem turned out to be that I had to drop my firewall for a few
seconds during authentication, then I could bring it back up. There is
an initial redirect to a EULA webpage of sorts, in the 10.x.x.x range,
which I have blocked.

Anyhow, for the benefit of anyone else trying to do the same, here is
my successful setup. I have an ath5k-driven Wifi chip, and ath5k is
built as a module. It is *NOT* loaded at bootup. wpa_supplicant is the
client software I use (command-line only).

config_eth0=" broadcast netmask mtu 1452"
"default via metric 2"
" via metric 0"
modules=( "wpa_supplicant" )
config_wlan0=( "null" )

I do *NOT* have /etc/wpa_supplicant.conf This causes wpa_supplicant
to *NOT* load. This is deliberate. /etc/wpa_supplicant.conf.open is
the file name I use for open access points...


# Connect to an open AP
ssid="Toronto Public Library"


And finally, a script ~/bin/wi_open that ties it all together.
Remember to put appropriate lines in /etc/sudoers

sudo /sbin/modprobe ath5k
sudo /etc/init.d/net.wlan0 restart
sudo /sbin/ifconfig wlan0 up
sudo /sbin/iwconfig wlan0 essid any channel auto
sudo /usr/sbin/wpa_supplicant -B -iwlan0 -c/etc/wpa_supplicant.conf.open
sudo /sbin/dhcpcd wlan0

If you have a different chip, you'll need a different module. Having
gotten that to work, my next adventure will be getting the netbook to
work with a wireless router in WPA mode.

Walter Dnes <waltdnes@waltdnes.org>

Thread Tools

All times are GMT. The time now is 10:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org