You are not logged in.

#1 2007-12-03 14:15:04

semperfiguy
Member
Registered: 2007-12-03
Posts: 224

[Solved] WPA encryption..

Ok, I just installed arch last night and I love it so far.  I got X configured no problem, alsa was a little trickier but I got it this morning, not too much work.   right now I am just connected to an unencrypted network because I couldn't get WPA to work.  In ubuntu I ran the commands:

ifdown eth1
ifconfig eth1
dhclient -r
wpa_supplicant -B -w -D wext -i eth1 -c /etc/wpa_supplicant.conf 
ifconfig eth1 up
ifup eth1

and my network would work fine.  But now I have no ifdown and ifup commands and when I try to run the previous commands minus those two, I get network unreachable from ping google.com.

My /etc/wpa_supplicant.conf file looks like this:

ctrl_interface=/var/run/wpa_supplicant

network={
        ssid="MYNETWORKNAME"
        psk="MYPASSWORD"
        key_mgmt=WPA-PSK
        proto=WPA
        pairwise=TKIP
}

Last edited by semperfiguy (2007-12-28 14:55:51)

Offline

#2 2007-12-03 15:56:34

WhiteMagic
Member
Registered: 2007-03-01
Posts: 85

Re: [Solved] WPA encryption..

You may want to give the new netcfg scripts a try. They should take care of setting your cards options as well as the wpa settings. The thread about the script can be found here: http://bbs.archlinux.org/viewtopic.php?id=39505.

Offline

#3 2007-12-03 16:56:58

semperfiguy
Member
Registered: 2007-12-03
Posts: 224

Re: [Solved] WPA encryption..

Thank you, that worked following the wiki instructions.
It hung a little longer in the networking section on bootup, but it works and I don't think theres a way to streamline it anymore.  Thank you for your help.  I am using ndiswrapper with wpa, so I guess i should add that to the wiki testing section?

Offline

#4 2007-12-03 19:39:49

sjb933
Member
Registered: 2007-01-18
Posts: 113

Re: [Solved] WPA encryption..

You can also use

ifconfig eth1 down

or

ifconfig eth1 up

Those accomplish the same thing.

-Shane

Offline

#5 2007-12-04 08:09:32

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

Re: [Solved] WPA encryption..

semperfiguy wrote:

Thank you, that worked following the wiki instructions.
It hung a little longer in the networking section on bootup, but it works and I don't think theres a way to streamline it anymore.  Thank you for your help.  I am using ndiswrapper with wpa, so I guess i should add that to the wiki testing section?

To speed up the time, try enabling SCAN="yes" or dropping TIMEOUT=

You could also background net-profiles with "@net-profiles" -- however be careful if you have network dependent services starting after it.

Feel free to add to the wiki, the more positive reports the better.

Offline

Board footer

Powered by FluxBB