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
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
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
"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
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
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
nedvis
ASKER
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
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
**************************
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
How should i run WPA supplicant properly?