Solved

WPA Supplicant

Posted on 2006-06-09
5
496 Views
Last Modified: 2006-11-18
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
0
Comment
Question by:bryanchellen
  • 3
  • 2
5 Comments
 

Author Comment

by:bryanchellen
ID: 16873916
it runs for ages and ages!

How should i run WPA supplicant properly?

0
 
LVL 20

Expert Comment

by:nedvis
ID: 16875359
"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

0
 

Author Comment

by:bryanchellen
ID: 16880147
hi thanks how do i make a symbolic link please im new to linux
0
 
LVL 20

Expert Comment

by:nedvis
ID: 16881088
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







0
 
LVL 20

Accepted Solution

by:
nedvis earned 500 total points
ID: 16881163
Sorry, I gave you instruction to create a hard-link instead of symbolic link  (  ln wpa )

To create symbolic link to your executable shell script  wpa type this :

ln -s  wpa  wireless

( this command will create symbolic link with the name "wireless"  that you can copy and paste or move enywhere within your file system including Desktop where it can reside as an desktop icon to which you can assign any of icons from icon libraries that came with Mandriva 2006. You can select an icon for wireless device from Devices icon set for example ).

nedvis  
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
cannot rename datastore 3 93
rsyslog raw message 4 35
sed/awk/tail: how to read 3'de last line 4 39
Enable SPF on IMSVA 6 13
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Fine Tune your automatic Updates for Ubuntu / Debian
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question