You are not logged in.

#1 2010-06-06 08:48:12

ancestralelf
Member
Registered: 2010-06-05
Posts: 12

[SOLVED]WIFI WPA on boot

Hi guys, on my new arch installation I got a problem with wireless. Initially I ran these commands in order to enable my wifi connection

ifconfig wlan0 up
wpa_passphrase Tiscali "hugostiglitz" > /etc/wpa_supplicant.conf 
wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf 
dhcpcd

After gnome installation I tried to use the network manager but it does not support WPA encryption!
So I have to run those commands every time I start the system up, and it's a bit boring.
I have made also a script and put it in start up applications but it doesnt seem to be loaded.
Here it is

#!/bin/bash
sleep 5
ifconfig wlan0 up
wpa_passphrase Tiscali "hugostiglitz" > /etc/wpa_supplicant.conf 
wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf 
dhcpcd

And this is the rc.conf network section

CONNECTION="wireless"
INTERFACES="wlan0"
SECURITY="wpa"
ESSID="Tiscali"
KEY="hugostiglitz"
wlan0="dhcp"

Thanks
Federico

Last edited by ancestralelf (2010-06-06 20:58:35)

Offline

#2 2010-06-06 16:06:06

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED]WIFI WPA on boot

I am not sure what to think of the rc.conf network section, since Arch has the netcfg utility for network connectivity. All you do now in rc.conf is specify the interfaces to be brought up etc.

Since you know how to set up WiFi manually, it should be a breeze to configure netcfg to do that for you. I am pretty sure networkmanager does support WPA(2) though, so that's maybe something you should look into...


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2010-06-06 19:04:45

a_priori_mouse
Member
Registered: 2010-05-16
Posts: 38

Re: [SOLVED]WIFI WPA on boot

I don't use network manager but it is strange if it does not support WPA
In any case, you can choose a way to automatically connect wifi here:
http://wiki.archlinux.org/index.php/Wif … nt_methods

Netcfg is good variant, you will  manual for it there also .

Last edited by a_priori_mouse (2010-06-06 21:26:08)

Offline

#4 2010-06-06 20:08:49

ancestralelf
Member
Registered: 2010-06-05
Posts: 12

Re: [SOLVED]WIFI WPA on boot

a_priori_mouse wrote:

I don't use network manager but it is strange if it does not support WPA
In any case, you can choose a way to automatically connect wifi here:
http://wiki.archlinux.org/index.php/Wif … nt_methods

Netcfg is good variant, i will also find manual for it there.

Thank you very much it works fine now!
Federico

ps: netcfg ignored my wpa.. even if I followed literally the wiki

Offline

#5 2010-06-06 21:50:20

BKLive
Member
From: Georgia
Registered: 2008-01-28
Posts: 125

Re: [SOLVED]WIFI WPA on boot

on a security-related note, I wouldn't put my WPA passphrase in the rc.conf file. wicd will do WPA with wpa_supplicant which I'm saying with about 70% confidence. also, nm-applet does WPA but I'm not sure if it'll store passwords or not (since I stopped using both nm-applet and wireless in the last eight months).

Original statement: Wouldn't put intended-to-be-private information on non-secure systems. Which is to say, I wouldn't put information you don't want people to know on ANY system.


Main Arch Setup: HP Pavillion p7-1209, Quad-Core i3-2120 3.3Ghz, 8GB RAM, 1TB HDD, Intel Graphics
Laptop Arch Setup: Gateway lt3103u Netbook, AMD Athlon64 1.2Ghz, 2GB RAM, 250GB HDD, ATI X1270 R600

Offline

#6 2010-06-07 06:45:30

ancestralelf
Member
Registered: 2010-06-05
Posts: 12

Re: [SOLVED]WIFI WPA on boot

I'm actually using nm-applet without any kind of issue and it automatically manage wpa connection to be started on system boot.

Offline

Board footer

Powered by FluxBB