You are not logged in.

#1 2009-08-13 19:08:31

mongoose088
Member
Registered: 2008-09-14
Posts: 32

Issues with wireless internet through /etc/rc.conf [SOLVED]

Hello all, the title states my problem pretty clearly. I can connect to the internet manually with these 2 commands:

sudo iwconfig wlan0 essid "name" key 123
sudo dhcpcd wlan0

Where of course, name is the name of my network and my key is a WEP key.

The error I receieve on start up is that the computer couldn't "associate wlan0" and that I should increase my timeout and ensure the connection is WEP.  I don't know how to increase the timeout, but I doubt that's what's wrong with it. Here's the relavant portion of  /etc/rc.conf


#Static IP example
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
eth0="dhcp"
wlan0="dhcp"
wlan_wlan0="wlan0 essid name key 1234"
INTERFACES=(wlan0 eth0)

----

DAEMONS=(syslog-ng network netfs crond alsa dbus hal)


-----

Is there some error with my syntax? I followed the wikipage on setting up wireless, but I still seem to get the same issue. I wonder if configuring /etc/conf.d/wireless is more effective, (I have no idea how to set it up though) or through some other approaches?

Thanks for your help.

Thanks for your help.

Last edited by mongoose088 (2009-08-13 21:14:23)

Offline

#2 2009-08-13 19:28:28

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: Issues with wireless internet through /etc/rc.conf [SOLVED]

Sounds like your dhcpcd is just not playing nice. I would try using wicd instead of the network script and rc.conf.
Instructions for wicd are in the wiki.
Alternatively, you may try netcfg, or substitute dhclient for dhcpcd.

Offline

#3 2009-08-13 21:13:42

mongoose088
Member
Registered: 2008-09-14
Posts: 32

Re: Issues with wireless internet through /etc/rc.conf [SOLVED]

Thanks for the suggestions Misfit. After playing around with wicd and networkmanager, I was only able to get netcfg to work correctly. Too bad it adds a few seconds to the bootup time, though.

I'll mark this one as solved. Thanks again!

Offline

Board footer

Powered by FluxBB