NetStumbler.org Forums

Go Back   NetStumbler.org Forums > Software > Unix/Linux
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 12-21-2003   #1 (permalink)
CrackerStealth
Registered Member
 
Join Date: Feb 2003
Posts: 23
Orinoco Linux Connection

How do I setup my Orinoco card to access the internet through my AP with WEP enabled and using DHCP? I have Slackware Linux 9.1 installed and I already have the card installed and it works fine with Kismet as my Wardriving prog, but hell if I can figure out the command lines to connect to my AP and "dhclient" doesn't appear to recognise any card installed.

Last edited by CrackerStealth : 12-21-2003 at 07:27 PM.
CrackerStealth is offline   Reply With Quote
Old 12-21-2003   #2 (permalink)
Thorn
Did you do the math?
 
Thorn's Avatar
 
Join Date: Apr 2002
Location: Villa Straylight
Posts: 10,098
Take a look at this thread and see if it helps:
http://forums.netstumbler.com/showth...&threadid=8700
__________________
Thorn
"I'm The Doctor. I'm a Time Lord. I am from the planet Gallifrey in the constellation Kasterborous. I'm 903 years old and I am the man who is going to save your lives and all 6 billion people on the planet below... You got a problem with that?"
Thorn is offline   Reply With Quote
Old 12-21-2003   #3 (permalink)
CrackerStealth
Registered Member
 
Join Date: Feb 2003
Posts: 23
Thats helpful, but is there a way to setup from the command line without changing configuration files or making settings permanent? I have three WEP encrypted AP's I connect to on a daily if not semi-daily basis through the Windows install on my laptop, but I would prefer to use linux.

Last edited by CrackerStealth : 12-21-2003 at 08:35 PM.
CrackerStealth is offline   Reply With Quote
Old 12-21-2003   #4 (permalink)
Chris
Bad as Can
 
Chris's Avatar
 
Join Date: Jul 2002
Posts: 1,141
Just make 3 copies of this section in wireless.opts:

*,*,*,00:02:2D:*)
INFO="home AP"
ESSID="wireless"
MODE="Managed"
# CHANNEL="11"
# RATE="auto"
KEY="01234567890123456789ABCDEF"
;;


One for each AP you connect to. Comment two of them out. Then, when you want to change, comment/uncomment as appropriate and restart pcmcia services.
__________________
perl -e 'print pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10)'
Chris is offline   Reply With Quote
Old 12-21-2003   #5 (permalink)
TheSovereign
Master of the universe
 
TheSovereign's Avatar
 
Join Date: Jun 2002
Location: chicago
Posts: 658
ifconfig eth0 up
iwconfig eth0 essid YOURSSID enc YOURCRYOTOHEX
dhcpcd eth0


for example:

ifconfig eth0 up
iwconfig eth0 essid wavelan enc 0101010032
dhcpcd eth0
__________________
SO SAYS TheSovereign
TheSovereign is offline   Reply With Quote
Old 12-21-2003   #6 (permalink)
CrackerStealth
Registered Member
 
Join Date: Feb 2003
Posts: 23
"dhcpcd eth0" justs sits their for about a minute and a half, then puts me back to the command line. It also causes the lights on my orinoco card to go out as if I did "ifconfig eth0 down" with no errors printed to screen. I even tried without WEP enabled with no success.
CrackerStealth is offline   Reply With Quote
Old 12-21-2003   #7 (permalink)
TheSovereign
Master of the universe
 
TheSovereign's Avatar
 
Join Date: Jun 2002
Location: chicago
Posts: 658
if it shuts down the orinoco card one of your iwconfig settings is wrong or u are out of range

remember with orinoco's u can pick up MUCH farther than u can communicate with
__________________
SO SAYS TheSovereign
TheSovereign is offline   Reply With Quote
Old 12-21-2003   #8 (permalink)
CrackerStealth
Registered Member
 
Join Date: Feb 2003
Posts: 23
Well, I turned WEP off on my AP, restarted my laptop and did:

ifconfig eth0 up
iwconfig essid WIFINAME
dhcpcd eth0

Successfully I can connect to the internet through my laptop now with Linux. I guess this means my WEP key configuration is wrong.

My AP currently has 4 128-bit WEP keys (eg):
1A1A1A1A1A1A1A1A1A1A1A1A1A
2B2B2B2B2B2B2B2B2B2B2B2B2B
3C3C3C3C3C3C3C3C3C3C3C3C3C
4D4D4D4D4D4D4D4D4D4D4D4D4D

Now when you say:
iwconfig eth0 essid YOURSSID enc YOURCRYOTOHEX

Do I assume since for example I'm using Key 2 as Default that I need to enter this:
iwconfig eth0 essid WIFINAME enc 2B2B2B2B2B2B2B2B2B2B2B2B2B

Or do I need to setup all four WEP Keys and set 2 as default?
CrackerStealth is offline   Reply With Quote
Old 12-21-2003   #9 (permalink)
CrackerStealth
Registered Member
 
Join Date: Feb 2003
Posts: 23
Alright, this is what I do and it works. Thanks alot for the help everyone.

ifconfig eth0 up
iwconfig eth0 essid WIFINAME
iwconfig eth0 key [1] 1A1A1A1A1A1A1A1A1A1A1A1A1A
iwconfig eth0 key [2] 2B2B2B2B2B2B2B2B2B2B2B2B2B
iwconfig eth0 key [3] 3C3C3C3C3C3C3C3C3C3C3C3C3C
iwconfig eth0 key [4] 4D4D4D4D4D4D4D4D4D4D4D4D4D
iwconfig eth0 key [3] restricted
dhcpdcd eth0
CrackerStealth is offline   Reply With Quote
Old 12-22-2003   #10 (permalink)
trunx
Registered Member
 
trunx's Avatar
 
Join Date: Jan 2003
Posts: 15
Quote:
Originally posted by CrackerStealth
iwconfig eth0 key [3] restricted
Just curious, what does this line accomplish?
trunx is offline   Reply With Quote
Old 12-22-2003   #11 (permalink)
CrackerStealth
Registered Member
 
Join Date: Feb 2003
Posts: 23
Its means set key 3 as the default key and "restricted" means ignore all unencrypted data.
CrackerStealth is offline   Reply With Quote
Old 12-22-2003   #12 (permalink)
trunx
Registered Member
 
trunx's Avatar
 
Join Date: Jan 2003
Posts: 15
Quote:
Originally posted by CrackerStealth
Its means set key 3 as the default key and "restricted" means ignore all unencrypted data.
Thanks man. Your instructions worked perfectly.
trunx is offline   Reply With Quote
Old 12-22-2003   #13 (permalink)
CrackerStealth
Registered Member
 
Join Date: Feb 2003
Posts: 23
TheSovereign gave me a place to start, so my thanks goes out to him. The rest was random trial and error.
CrackerStealth is offline   Reply With Quote
Old 12-23-2003   #14 (permalink)
trunx
Registered Member
 
trunx's Avatar
 
Join Date: Jan 2003
Posts: 15
Many thanks to Chris as well on editing the wireless.opt file. It bombed the first go around but that was of course operator error via not paying attention to detail.

edit: Also, anyone running Slackware with an Orinoco card should check out Blackwave's work here => http://www.securitytribe.com/.

Last edited by trunx : 12-23-2003 at 09:03 AM.
trunx is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 10:43 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.