LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices



Reply
 
Search this Thread
Old 11-07-2003, 02:53 PM   #1
eviltangerine
LQ Newbie
 
Registered: Nov 2003
Location: Bellevue, WA
Distribution: slack, freebsd, gentoo
Posts: 9

Rep: Reputation: 0
Connecting to an Access Point Manually


I am currently using Slackware 9.1 on a Compaq Armada 3500 laptop (366mhz) and have a Compaq PCMCIA 802.11b wireless adaptor working with the orinoco_cs driver, patched and all that good stuff.

When I run kismet or airsnort, it works perfectly monitoring the various networks that I "stumble" upon. When I remove it and put it back it, it's out of monitoring mode and connects to a network if there's one that's strong enough nearby.

But now, how can I manually connect to an AP of my choosing? Yesterday I was at school and we setup a WAP to see how long it'd take to crack wep, and then there's also the school's own wireless network. Just for fun, I was going to try to connect to that WAP's network, but when I removed my card and reinserted it, the software/card defaulted to the school's network, which is fine and dandy, 'cept I wanted to be on the test WAP's network!

So how can I go about manually assigning a network for the WNIC to connect to?

I searched the forums but have only found posts about drivers and trying to get a certain card to work, or how to setup a linux-based AP.


Also, is there an X tool that shows the available networks and then allows you to select one and it'll automatically connect you to it?? (it's a stretch, I know)



Thanks

Robert
 
Old 11-07-2003, 11:15 PM   #2
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
Does this card respond to iwconfig commands at the console? If so, then that is your tool as that is where any gui tool is eventually going to send it's stuff anyway. A "man iwconfig" will show you all the options. If the card uses some other program to get it setup, then disregard.
 
Old 11-08-2003, 12:58 AM   #3
eviltangerine
LQ Newbie
 
Registered: Nov 2003
Location: Bellevue, WA
Distribution: slack, freebsd, gentoo
Posts: 9

Original Poster
Rep: Reputation: 0
it does respond to some of the iwconfig settings, but which ones should I be setting to assign myself to an ap?

I'm fairly new to wireless and changing the ESSID didn't seem to do much...or maybe I didn't give it time to react ?


So I guess my question is then: If I can search out a network using kismet, how would I go about connecting to it?
 
Old 11-08-2003, 03:54 PM   #4
akaBeaVis
Guru
 
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
I'm not familiar with kismet, but at the very least it seems to me a tool like that would return a channel/frequency and an essid name, so to connect using just that info the command would look like this: iwconfig wlan0 channel x (or freq x.xxxg) essid essid_name, if the name contains whitespace then wrap in quotes. wlan0 is the device name of your wireless device, could be also eth0 or eth1 etc. To be associated with a particular access point does not necessarily give you a valid ip address on that network, you would assign that using ifconfig, something like ifconfig wlan0 xxx.xxx.xxx.xxx, or use a dhcp client, for instance: dhcpcd wlan0, of course for those to work you would need to see info returned by iwconfig indicating that you're associated with the access point, your log would most likely show the association process and it's eventual success/failure as well.
 
Old 11-08-2003, 08:30 PM   #5
eviltangerine
LQ Newbie
 
Registered: Nov 2003
Location: Bellevue, WA
Distribution: slack, freebsd, gentoo
Posts: 9

Original Poster
Rep: Reputation: 0
ahhh thank you aKaBeaVis :P

so mainly, just setting the channel, essid, and then establishing an ip.


Thanks!
 
  


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
Asus WL-330g access point vs other access points dimgr Linux - Wireless Networking 3 09-20-2006 06:29 AM
Connecting to a wireless access point automatically on startup timelord726 Suse/Novell 2 09-30-2005 08:52 PM
Help connecting to wireless access point djh00ligan Linux - Wireless Networking 1 08-18-2005 03:08 PM
Wireless card not connecting to Access Point looks configured though embalmedlenin Linux - Wireless Networking 6 08-13-2005 08:23 AM
Connection to access point OK, but cannot access the network/internet Nymphetamine Linux - Wireless Networking 29 01-13-2005 03:59 PM


All times are GMT -5. The time now is 06:01 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration