LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 05-26-2005, 10:21 AM   #1
enigma_0Z
Member
 
Registered: Apr 2005
Distribution: Ubuntu, RHEL, Darwin
Posts: 73

Rep: Reputation: 15
Need to get started with wifi on linux


I have a D Link wifi card that is recognized by cardinfo in ubuntu.

Are there programs and what are they that will do the following:
  • * detect hotspots and alert me of them
    * reconfigure my wifi card based on what I tell it (so I can connect to different wireless networks
    * allow me to access secured wifi networks if I know the password or key or whatever

I'm kinda new to the wifi world (not so much linux as wifi). So some help on the terminology would be nice too (like what is a WEP key, for instance, I believe WEP stands for Wireless Encryption Protocaul).
 
Old 05-26-2005, 11:14 AM   #2
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
you might find what your looking for here. http://www.tldp.org/HOWTO/Wireless-HOWTO.html
 
Old 05-26-2005, 02:45 PM   #3
jonlake
Member
 
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252

Rep: Reputation: 31
To be more specific,

Quote:
detect hotspots and alert me of them
kismet, airsnort are two

Quote:
reconfigure my wifi card based on what I tell it (so I can connect to different wireless networks
iwconfig has a fairly simple syntax the main ones you will need are

iwconfig <interface> essid <ssid_of_AP>
iwconfig <interface> key <wep_key>
iwconfig <interface> mode <mode_of_card>
iwconfig <interface> channel <channel_of_ap>

Quote:
allow me to access secured wifi networks if I know the password or key or whatever
Again, for keys, iwconfig works fine

Hope this helps
 
Old 05-26-2005, 06:11 PM   #4
enigma_0Z
Member
 
Registered: Apr 2005
Distribution: Ubuntu, RHEL, Darwin
Posts: 73

Original Poster
Rep: Reputation: 15
The instructions for the wifi hotspot I'm (going to) try and connect to says that it uses WEP, something called an AGEIS client, and PEAP.

What are these, and can I use them with linux?

I've got a dlink DWL-650 ethernet card


They might also be using 802.11g, is a 802.11b card able to connect to a '.g' network?
 
Old 05-27-2005, 12:23 AM   #5
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,876

Rep: Reputation: 49
PEAP is an authentication method for 802.1x. A simple block diagram of the components: http://open1x.org/

To handle the authentication, the wireless client needs a program called a supplicant. Aegis is a commercial supplicant from Meetingouse Data Systems. There is a Linux version. It's a good piece of code and a very good company in terms of support. http://www.mtghouse.com/products/aeg...nt/index.shtml

XSupplicant is an open source supplicant (available on the Open1X.org site). I'm using it very successfully with EAP-TLS.

WEP is an encryption method for protecting the data stream, independent of authentication. Add dynamic keying for WEP to PEAP and you have WPA.

Unless the G network is configured to allow only G clients, your B card should work.
 
Old 05-27-2005, 01:47 PM   #6
enigma_0Z
Member
 
Registered: Apr 2005
Distribution: Ubuntu, RHEL, Darwin
Posts: 73

Original Poster
Rep: Reputation: 15
OK, so then is there a how-to that can tell me how to set up my SSID1 and EAP Authentication? Perhaps it's on the Open1X.org site?

Oh yeah..


I've got a D-Link DWL-650, do I need to install the wifi-ng module for it? If I do, then how do I do so in ubuntu?

Cardinfo recognized the card before installed the wireless-ng package, but now the name changed, what's up?
 
Old 05-27-2005, 02:02 PM   #7
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,876

Rep: Reputation: 49
There are lots of documents floating around about setting up PEAP. I'm not running, so can't post a sample config file for XSupplicant.

Don't know what chipset the 650 uses. I'd stay away from the wlan-ng stuff, personally. Some folks have great luck. I've not. It breaks wireless tools, etc.

Find out the chipset and use the appropriate driver. Verify operation with an unencrypted hotspot. Then, install XSupplicant (or the Meetinghouse client) and configure PEAP.
 
Old 05-27-2005, 02:37 PM   #8
enigma_0Z
Member
 
Registered: Apr 2005
Distribution: Ubuntu, RHEL, Darwin
Posts: 73

Original Poster
Rep: Reputation: 15
Yeah, I already installed the linux-wlan-ng package and it broke alot of stuff (for instance, the card no longer gets a device node in cardmgr)... how do I get rid of it???

Last edited by enigma_0Z; 05-27-2005 at 03:38 PM.
 
Old 05-27-2005, 05:46 PM   #9
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,876

Rep: Reputation: 49
How did you install it? Your sig indicates Debian (with the Ubuntu theme ;-) )on the laptop, so you should be able to apt-get remove wlan_ng.
 
Old 05-27-2005, 10:27 PM   #10
enigma_0Z
Member
 
Registered: Apr 2005
Distribution: Ubuntu, RHEL, Darwin
Posts: 73

Original Poster
Rep: Reputation: 15
Yeah, that didn't work completely... I had to manually remove the modules & all the associated scripts & config files..

I fixed it however. Is there somewhere I can get a tutorial or startup guide to xsupplicant? I found xsup_pwd and xsup_monitor, but that's it.

I'd imagine that I'd use xsup_pwd to set my username & password, and then use dhclient to get an IP address, right?
 
Old 05-27-2005, 11:54 PM   #11
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
I use wpa_supplicant to connect to 802.1x with peap. Here is my /etc/wpa_supplicant.conf:
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

network={
	ssid="the_essid"
	key_mgmt=IEEE8021X
	eap=PEAP
	identity="username"
	password="password"
	phase1="peaplabel=0"
	phase2="auth=MSCHAPV2"
	eapol_flags=1
}
Then I run "wpa_supplicant -i the_interface -D the_driver", then "dhclient the_interface".
For xsupplicant most of the configuration is in the xsupplicant.conf file, it also explains stuff in there. There are some guides on google, too. I wasn't able to get it to work though (it may have just been the particular version I used). Then you run xsupplicant, then dhclient when it is ready.
 
Old 05-28-2005, 12:07 AM   #12
enigma_0Z
Member
 
Registered: Apr 2005
Distribution: Ubuntu, RHEL, Darwin
Posts: 73

Original Poster
Rep: Reputation: 15
Uhh, the driver is already loaded (I can scan for networks in kwifimanager)... do I still need the -D option for wpa_supplicant?
 
Old 05-31-2005, 07:38 PM   #13
enigma_0Z
Member
 
Registered: Apr 2005
Distribution: Ubuntu, RHEL, Darwin
Posts: 73

Original Poster
Rep: Reputation: 15
I just realized, I need GTC style authentication & server managed certificates.

How could I do that? I tried to set it up with wpa_supplicant, but it tried to do alot of stuff and it said that it wasn't supported... hmmm

I'm not quite sure which driver to specifiy in the command, I seem to have the ornioco module loaded, but I've got a D-link DWL-650. It's nick by default is Prisim I, if that indicates a driver.
 
Old 11-25-2005, 03:40 PM   #14
Ravendark
Member
 
Registered: Feb 2003
Distribution: Slackware 10.2
Posts: 61

Rep: Reputation: 15
Hi,
I am trying to configure my wireless network on linux as well.
The accomodation in the university i study has a wifi network. It has WEP and PEAP.
Though they have given us a certificate to use in windows for the authentication (calcourt.cer) which when installed gives us the option to select a certificate called "citacs". The key is provided automatically.
How can I use this certificate in linux?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Just started using linux... a few questions michael16 Linux - Newbie 1 06-24-2005 07:59 PM
opengl/c++/linux getting started theeil Programming 5 02-01-2005 07:46 PM
Newb trying to get started in Linux Meh987 Linux - Newbie 25 02-10-2004 02:09 PM
Getting started with Linux, what should my first Distro be? Flak Pyro Linux - General 33 07-15-2003 04:18 PM
how to get started with linux security mike@wales Linux - Newbie 6 05-27-2003 06:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration