You are not logged in.

#1 2008-05-12 01:08:37

TigerBenedict
Member
Registered: 2008-03-23
Posts: 9

Trouble automating wireless

Hello,

After some headache, I've successfully gotten wireless to work in Arch Linux, and learned something(s) in the process, too. However, for some reason, it only works when I configure it manually. I've probably exhausted the possibilities for parameter variations in rc.conf, conf.d/wireless, wlan/wlan.conf, resolve.conf, etc., but fruitlessly. I was just wondering if anyone had any tips to help me get this automated.

Here's what I do to get it working every time I load up Arch:
iwconfig wlan0 essid <name of an essid I know exists>
dhcpcd wlan0 -k
dhcpcd wlan0

If I don't do the -k line, I get an error saying that dhcpcd is already running on such and such pid.

Here are the relevant excerpts from my configuration files:
rc.conf:
MOD_AUTOLOAD="yes"
wlan0="dhcp"
INTERFACES=(lo wlan0)
ROUTES=()

conf.d/wireless:
wlan_wlan0="wlan0 mode managed essid myESSID"
WLAN_INTERFACES=(wlan0)

On bootup--with these parameters--DHCP will invariably timeout and use the default DHCP configuration file for wlan0. Substituting myESSID in conf.d/wireless with other possibilities (such as off, any, default) all result in the same behavior.

Thanks for the help.

Offline

#2 2008-05-12 01:45:17

Theoden
Member
Registered: 2005-03-03
Posts: 240

Re: Trouble automating wireless


"If builders built buildings the way programmers write programs,
the first woodpecker that came along would destroy civilization."

Offline

#3 2008-05-12 06:16:47

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Trouble automating wireless

Offline

#4 2008-05-13 00:25:23

TigerBenedict
Member
Registered: 2008-03-23
Posts: 9

Re: Trouble automating wireless

Thanks. I should have clarified--I am interested in learning how to set this up without resorting to external network management tools. Call it masochism, or curiosity. Anyone know what I could be doing wrong with my default configuration files?

Offline

Board footer

Powered by FluxBB