You are not logged in.

#1 2008-07-09 02:01:47

astrocrep
Member
Registered: 2006-06-02
Posts: 34

Using wpa_supplicant and iwconfig to setup wifi during boot.

I have my gnome desktop running.  My wireless network at my house is hidden and secured via wpa passkey.

Eitherway, I have two commands that need to be run during boot...

iwconfig eth1 essid xxxxx
wpa_supplicant -Dwext -ieth1 -c/etc/wpa_details.conf

Where would be the best place to stick that?

On the other hand!!!

If there is a better way to do it, please by all means suggest it!

Thanks,
Rich


HP DM1Z-4100 // 11.6" LED 1366x768 // 1.65ghz AMD E-450 // 4gb Ram // 320gb hdd // ATI 6320 // 100% Archlinux

Offline

#2 2008-07-09 07:57:12

figue
Member
Registered: 2007-12-16
Posts: 59

Re: Using wpa_supplicant and iwconfig to setup wifi during boot.

Hi, I have in /etc/rc.local
Anyway, I am sure there are better elsewhere, but that is where the best management I

greetings

Last edited by figue (2008-07-09 07:57:51)

Offline

#3 2008-07-09 10:10:42

robmaloy
Member
From: Germany
Registered: 2008-05-14
Posts: 263

Re: Using wpa_supplicant and iwconfig to setup wifi during boot.

/etc/rc.local
should be the best place


☃ Snowman ☃

Offline

#4 2008-07-09 11:27:07

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

Re: Using wpa_supplicant and iwconfig to setup wifi during boot.

pacman -S netcfg and you can use either the wpa-config or wpa options for security. Take a look at the provided examples, and the wiki

http://wiki.archlinux.org/index.php/Network_profiles

Offline

#5 2008-07-09 15:03:00

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

Re: Using wpa_supplicant and iwconfig to setup wifi during boot.

Netcfg2 +1.


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

Offline

#6 2008-07-09 18:24:35

astrocrep
Member
Registered: 2006-06-02
Posts: 34

Re: Using wpa_supplicant and iwconfig to setup wifi during boot.

Wow thats sweet!

Netcfg worked like a flipping charm!

Thanks,
Rich


HP DM1Z-4100 // 11.6" LED 1366x768 // 1.65ghz AMD E-450 // 4gb Ram // 320gb hdd // ATI 6320 // 100% Archlinux

Offline

Board footer

Powered by FluxBB