wifi on linux?

Discuss anything about technology or computers here, other than programming.

wifi on linux?

Postby bat on Sun Aug 13, 2006 6:58 pm

Hey guys, I am a debian user, and II got me a nice atheros DLink PCMCIA card that was on the madwifi compatibility list so I know it works, but my question is, what is a good app to use if I want to roam and select wifi networks to connect to the way you do in windows? A command line app would be good since I refuse to install a GUI on my comp for obvious reasons Smile Any help would be appreciated.
Failure is not an option, it comes bundled with your microsoft products.
bat
Regular
Regular
 
Posts: 86
Joined: Tue Jul 04, 2006 2:10 am
Location: canada

Postby P1R0 on Sun Aug 13, 2006 7:45 pm

I use for list the networks
iwlist eth1 scan

well if it doesn't work is maybe 'cause your network chip don't work's in scan mode, but any way you can use a a scanner like SWscanner I think it will work
well if you have a debian you can get it with

# apt-get install swscanner


or you can get if from



well that it's only for list the networks up, so when you have the name of the network you can set it with

# iwconfig wlan0 (or eth0)(or eth1) essid (and the name of network)


for example I have mine its name is NetBase and my device is a eth1 so I put:

# iwconfig eth1 essid NetBase


well now you set a network the next step you need to do is restart the network in debian it's:

# /etc/init.d/networking restart


then it must be working, but if you need to use a wep key well read the
man iwconfig


'cause I have to go and eat see U. Shocked

P1R0
Newbie
Newbie
 
Posts: 16
Joined: Fri Aug 11, 2006 6:59 pm
Location: Morelia Michoacan Mexico

Postby ultramancool on Sun Aug 13, 2006 8:26 pm

There are many different wifi apps available for linux, some of which will automate everything, just like the windows one. I'd suggest a google search to start. That should give you some options.
ultramancool
Contributer
Contributer
 
Posts: 27
Joined: Wed Jun 14, 2006 9:47 pm

Postby matthew.daniels on Wed Aug 16, 2006 4:01 am

ultramancool wrote:There are many different wifi apps available for linux, some of which will automate everything, just like the windows one. I'd suggest a google search to start. That should give you some options.


I was actually looking that up myself, lately. If you're using KDE, you may have an app called KWifiManager. If not, you can download it. And like ultracoolman said, there's plenty out there. Check SourceForge.
>There are exactly 10 types of people in the world: those who can su root, and those who can't.
>[email protected]
matthew.daniels
Contributer
Contributer
 
Posts: 30
Joined: Tue Aug 15, 2006 6:37 pm
Location: Charleston, SC USA

Nefarious

Postby gls on Wed Aug 16, 2006 5:34 am

Twisted Evil Why do you want to WARdrive? Or perhaps you are just troubleshooting your own wifi connection...

Of course nobody would ask something like that on an open forum if their intentions were nefarious.... Rolling Eyes
gls
Contributer
Contributer
 
Posts: 28
Joined: Wed Aug 16, 2006 4:30 am
Location: Chicago, IL

...

Postby bat on Wed Aug 16, 2006 9:18 pm

Yes, but from what I've been able to find, there aren't many good wifi apps that work on the command line which is what I use for linux as I am blind and what's the point of wasting system resources on a GUI I can hardly use or appreciate? Smile Anyway, I figured out how to use IWList and config, however now my problem is connecting to WPA-PSK protected networks. I found WPA_Supplicant that will do the job for me, trouble is that the latest version under etch doesn't have any howtos explaining it's use. For example, the program doesn't use a /etc/wpa_supplicant.conf file anymore? Now I'm stumped... Smile any help would be appreciated.
Failure is not an option, it comes bundled with your microsoft products.
bat
Regular
Regular
 
Posts: 86
Joined: Tue Jul 04, 2006 2:10 am
Location: canada

Postby mtance on Sun Aug 20, 2006 3:36 pm

i dont have it sory Sad
mtance
Newbie
Newbie
 
Posts: 14
Joined: Sun Aug 20, 2006 3:29 pm

Re: ...

Postby bugalinux on Sun Aug 20, 2006 8:59 pm

bat wrote:Yes, but from what I've been able to find, there aren't many good wifi apps that work on the command line which is what I use for linux as I am blind and what's the point of wasting system resources on a GUI I can hardly use or appreciate? Smile Anyway, I figured out how to use IWList and config, however now my problem is connecting to WPA-PSK protected networks. I found WPA_Supplicant that will do the job for me, trouble is that the latest version under etch doesn't have any howtos explaining it's use. For example, the program doesn't use a /etc/wpa_supplicant.conf file anymore? Now I'm stumped... Smile any help would be appreciated.


This command :
wpa_supplicant -i<interface> -c<config_file> -B
doesn't works?

example of config file (may be useless?) :
#ctrl_interface=/var/run/wpa_supplicant
network={
ssid="mySSID"
psk="aaffbbaa1122334455aabbeeaa"
key_mgmt=WPA-PSK
proto=WPA
}

Not in direct relation with the subject :
There is a new exploit derived from aircrack based on the fragmentation packets method & using LLC/SNAP headers. It can in theory crack a WEP key in 2 sec (a MTU turn...). The exploit works on atheros chipset cards (i see you have one).
Exploit source code : http://www.cs.ucl.ac.uk/staff/a.bittau/frag-0.1.tgz

Another big hole for WEP encryption. WEP encryption is useless, forget it... And don't speak me about MAC address filtering (ifconfig <interface> hw ether <new_mac_address>)...
Image
bugalinux
Contributer
Contributer
 
Posts: 52
Joined: Sat Aug 20, 2005 1:44 pm
Location: Paris

Re: ...

Postby bat on Mon Aug 21, 2006 4:34 pm

bugalinux wrote:
bat wrote:Yes, but from what I've been able to find, there aren't many good wifi apps that work on the command line which is what I use for linux as I am blind and what's the point of wasting system resources on a GUI I can hardly use or appreciate? Smile Anyway, I figured out how to use IWList and config, however now my problem is connecting to WPA-PSK protected networks. I found WPA_Supplicant that will do the job for me, trouble is that the latest version under etch doesn't have any howtos explaining it's use. For example, the program doesn't use a /etc/wpa_supplicant.conf file anymore? Now I'm stumped... Smile any help would be appreciated.


This command :
wpa_supplicant -i<interface> -c<config_file> -B
doesn't works?

example of config file (may be useless?) :
#ctrl_interface=/var/run/wpa_supplicant
network={
ssid="mySSID"
psk="aaffbbaa1122334455aabbeeaa"
key_mgmt=WPA-PSK
proto=WPA
}

Not in direct relation with the subject :
There is a new exploit derived from aircrack based on the fragmentation packets method & using LLC/SNAP headers. It can in theory crack a WEP key in 2 sec (a MTU turn...). The exploit works on atheros chipset cards (i see you have one).
Exploit source code : http://www.cs.ucl.ac.uk/staff/a.bittau/frag-0.1.tgz

Another big hole for WEP encryption. WEP encryption is useless, forget it... And don't speak me about MAC address filtering (ifconfig <interface> hw ether <new_mac_address>)...


OOO, nice exploit... very nifty, thanks for that. As for WPA_supplicant, after spending 20 odd hours on google and irc, I found out that the new version takes it's config info streight from /etc/network/interfaces. Now, this is quite alot more convenient than having everything in a seperate config file, only problem is that it's impossible to select from multiple ssids you have programmed in without either deleting your config and inputing the info for just the network you want to access at any given time, or, using a mapping script that will load up any ssid you choose. In any case, thanks for your help and I hope that some noob in the future will find this thread useful Smile
Failure is not an option, it comes bundled with your microsoft products.
bat
Regular
Regular
 
Posts: 86
Joined: Tue Jul 04, 2006 2:10 am
Location: canada

Postby hrf on Tue Aug 22, 2006 10:16 am

You can use the command

apt-cache search wireless


to see what packages are available and to see the information for a particular package use

apt-cache show <package-name>


Hope this is helpful.
hrf
Newbie
Newbie
 
Posts: 1
Joined: Tue Aug 22, 2006 9:49 am

Postby bbadwolf on Mon Aug 28, 2006 12:31 am

I can understand why you wouldn't want to use Windows, but why are you against Xwin (ie, GUI) apps?
bbadwolf
Newbie
Newbie
 
Posts: 15
Joined: Sun Aug 27, 2006 11:29 pm

...

Postby bat on Thu Aug 31, 2006 1:00 pm

bbadwolf wrote:I can understand why you wouldn't want to use Windows, but why are you against Xwin (ie, GUI) apps?


How's a blind guy supposed to use those? Gnopernicus isn't that good yet so I am left with no good usable GUI under linux.
Failure is not an option, it comes bundled with your microsoft products.
bat
Regular
Regular
 
Posts: 86
Joined: Tue Jul 04, 2006 2:10 am
Location: canada

Re: ...

Postby edsfunsite on Sun Sep 03, 2006 7:47 am

bugalinux wrote:Not in direct relation with the subject :
There is a new exploit derived from aircrack based on the fragmentation packets method & using LLC/SNAP headers. It can in theory crack a WEP key in 2 sec (a MTU turn...). The exploit works on atheros chipset cards (i see you have one).
Exploit source code : http://www.cs.ucl.ac.uk/staff/a.bittau/frag-0.1.tgz

Another big hole for WEP encryption. WEP encryption is useless, forget it... And don't speak me about MAC address filtering (ifconfig <interface> hw ether <new_mac_address>)...


I <3 U Very Happy
edsfunsite
Newbie
Newbie
 
Posts: 15
Joined: Sun Sep 03, 2006 4:05 am
Location: In Your Computer

Postby lukem_95 on Tue Sep 05, 2006 1:48 pm

iv never understood people that dont like GUI's, the dumbie windows point-n-click method has always been my preference.
lukem_95
Newbie
Newbie
 
Posts: 15
Joined: Tue Sep 05, 2006 1:18 pm

Re: wifi on linux?

Postby hellchi on Tue Sep 05, 2006 4:07 pm

bat wrote:Hey guys, I am a debian user, and II got me a nice atheros DLink PCMCIA card that was on the madwifi compatibility list so I know it works, but my question is, what is a good app to use if I want to roam and select wifi networks to connect to the way you do in windows? A command line app would be good since I refuse to install a GUI on my comp for obvious reasons :) Any help would be appreciated.

Google for Kismet and look it up. You are sure to like it.
Hellchi is the name.
hellchi
Contributer
Contributer
 
Posts: 31
Joined: Sat Aug 19, 2006 12:10 am

Next

Return to Technology

Who is online

Users browsing this forum: No registered users and 2 guests

cron