You are not logged in.

#1 2008-07-12 18:58:14

vjoe
Member
From: Milton Keynes
Registered: 2008-06-14
Posts: 72

Wireless settings aren't saved

Hello,

When I installed Archlinux for the first time yesterday, I did this in order to connect to my wireless router and thus, connect to the internet.
After that, I did this in order to save my settings.

However, I have always do the "first step" after booting the system, because the settings I put in the rc.conf file apparently don't work. In fact, during the boot, the system tries to "set up network interface" (I think that's how the step is called) for a while but always fails.

My current rc.conf file has the following:

eth0="dhcp"
wlan0="dhcp"
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
wlan_wlan0="wlan0 essid <ssid> key <key>"
INTERFACES=(eth0 wlan0)

What is wrong?

Offline

#2 2008-07-13 03:54:16

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Wireless settings aren't saved

Try using netcfg2 instead. It's a bit more robust, and actually gives useful error messages.

Offline

#3 2008-07-13 06:39:56

floke
Member
Registered: 2007-09-04
Posts: 266

Re: Wireless settings aren't saved

Mine looks different to yours:

eth1="dhcp"
wlan_eth1="eth1 essid <essid>"
wlan_eth1="eth1 essid <essid> key <key>"
WLAN_INTERFACES=(eth1)
INTERFACES=(lo eth1)

You could try changing some of the settings - wlan_ethX instead of wlan_wlan for instance?

** EDIT: /etc/rc.d/network restart to restart the network (just in case you didn't know) **

Last edited by floke (2008-07-13 06:44:13)

Offline

#4 2008-07-13 08:52:40

vjoe
Member
From: Milton Keynes
Registered: 2008-06-14
Posts: 72

Re: Wireless settings aren't saved

floke wrote:

Mine looks different to yours:

eth1="dhcp"
wlan_eth1="eth1 essid <essid>"
wlan_eth1="eth1 essid <essid> key <key>"
WLAN_INTERFACES=(eth1)
INTERFACES=(lo eth1)

You could try changing some of the settings - wlan_ethX instead of wlan_wlan for instance?

** EDIT: /etc/rc.d/network restart to restart the network (just in case you didn't know) **

My card is identified as wlan0, so I have to use wlan0.

I talked to the guys yesterday in the irc channel, and tried to use netcfg2. However it didn't work because I was using a WEP key (because of my DS). I then decided to change to a WPA key and now it's working. smile

Last edited by vjoe (2008-07-13 08:53:04)

Offline

#5 2008-07-13 10:28:40

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Wireless settings aren't saved

vjoe wrote:

..... was using a WEP key (because of my DS)......

Tell me about it, it's such a pain! Even then the wireless is touch and go, I setup a separate WEP wireless network for my brother's DS and it simply refused to connect. They could have at least included basic WPA support.

Offline

Board footer

Powered by FluxBB