Results 1 to 3 of 3
Hi All,
I want Linux commands to identify following things :
- WiFi adapter
- To connect to WiFi adapter
- To disable the WiFi adapter
- To identify the ...
- 06-12-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 3
Need of Linux commands to identify WiFi adapter & WiFi connection related properties
Hi All,
I want Linux commands to identify following things :
- WiFi adapter
- To connect to WiFi adapter
- To disable the WiFi adapter
- To identify the Access points for WiFi connection
Please help me, What Commands shall I use to identify above all.
How to use the output of linux commands in C++ application.
Regards,
Kamakshi
- 06-12-2009 #2
This can be achieved with standard Linux commands. Read through the post linked to below, for more info on that.
Wireless Setup - Start Here
Using standard Linux network commands ifup and ifdown will accomplish this.- To connect to WiFi adapter
- To disable the WiFi adapter
You should install the wireless-tools package (if it wasn't installed by default). It contains these commands:- To identify the Access points for WiFi connection
- iwconfig manipulate the basic wireless parameters
- iwlist allow to initiate scanning and list frequencies, bit-rates, encryption keys...
- iwspy allow to get per node link quality
- iwpriv allow to manipulate the Wireless Extensions specific to a driver (private)
- ifrename allow to name interfaces based on various static criteria
To scan for available networks use the iwlist command.
Code:iwlist wlan0 scan
I'm not a code monkey, so I can't help you with that.How to use the output of linux commands in C++ application.Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 06-13-2009 #3Linux User
- Join Date
- May 2009
- Location
- Big River, Sask, Canada
- Posts
- 342
I haven't coded for a long time, but a simple subroutine to issue the command and put the results into a variable you can use later should do it.
Registered Linux User #420832


Reply With Quote

