Link to home
Start Free TrialLog in
Avatar of bryanchellen
bryanchellen

asked on

WPA Supplicant

Hi i have madriva 2006 installed

I am getting wireless to work on and off

i can get it to work if i run

wpa_supplicant -Dwext -ieth2 -c/etc/wpa_supplicant.conf -dd

and leave the terminal window open!

if i close it the connection dies, why is this

is there any way to get this to work all the time?

Thanks
Avatar of bryanchellen
bryanchellen

ASKER

it runs for ages and ages!

How should i run WPA supplicant properly?

"if i close it the connection dies, why is this?"
You're starting your wireless connection via command typed in terminal windows ( console) so once you close initial terminal windows you're killing all processes kalled by root process.

Do this instead :
Click on Mandrivas Start button and try an option "Run Program". Type :
wpa_supplicant -Dwext -ieth2 -c/etc/wpa_supplicant.conf -dd
and press Enter or click OK button.

Other than that you might wish to do is make a simbolic link to the script :
wpa_supplicant -Dwext -ieth2 -c/etc/wpa_supplicant.conf -dd

nedvis

hi thanks how do i make a symbolic link please im new to linux
OK this would be a procedure for creating desktop icon ( launcher) with the pointer to an executable file ( shell script) for your Wi-Fi connection.
Open your text editor ( preferably pico, nano or emacs ) from terminal console window .
Copy  ( or  type if  you want )  what is between star-lines ( donot copy star-lines) and paste it
in your text editor :
***********************************************************************************

#!/bin/bash
clear
wpa_supplicant -Dwext -ieth2 -c/etc/wpa_supplicant.conf -dd

***********************************************************************************
Close editor by saving file as   wpa   (for instance) . Do not save file as TXT file!
You script is allmost ready. To make the script EXECUTABLE type in console :

chmod   755   wpa    

and press <enter> key.
 
Your script is ready now.

You can run the script either by typing :

./wpa

or by creating link and placing the link to your Desktop ( or include it in panel as an launcher/applet).
 Open your file manager and right click on wpa ssh script and select menu option "Make link"
(  Nautilus in Gnome, Konqueror in KDE  or in console window just type :    ln wpa   to create hard link ).
Drag and drop newly created link to you desktop.
Double-click on desktop icon wpa should execute your command.


good luck
nedvis







ASKER CERTIFIED SOLUTION
Avatar of nedvis
nedvis
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial