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 03-16-2002   #1 (permalink)
 
Posts: n/a
OpenBSD in ad-hoc mode

Good morning all. I'm hoping someone may be able to point me in the right direction.

I'm trying to get an OpenBSD 3.0-stable laptop to work in ad-hoc (peer to peer) mode with an Orinoco card.

Settings:

# ifconfig wi0 10.0.0.10 up
# wicontrol -p 3 -f 6 -n peer_test

Firing up netstumbler it fails to pick this up and I cant ping
any other device in peer mode however if I do:

# wicontrol -p 1

Netstumbler imediately picks the device up.

Any one have any pointers?
  Reply With Quote
Old 03-18-2002   #2 (permalink)
 
Posts: n/a
OpenBSD does not send out the SSID in its beacons therefore NetStumbler will not find it. I don't know why this is but I am glad it is.
  Reply With Quote
Old 03-19-2002   #3 (permalink)
 
Posts: n/a
any idea why I cant ping other devices in the peer to peer
network. Looking at the client manager on my ipaq it cant find a peer to talk to
  Reply With Quote
Old 03-19-2002   #4 (permalink)
 
Posts: n/a
OpenBSD in Ad-Hoc is anti-social

Discussing this at the last 2621, we came to the consensus that OpenBSD in the Ad-Hoc mode is bigoted, and will only communicate with other OpenBSD nodes.

It is not clear whether this is a 'bug' or a 'feature', but I have not found any other O.S. that will see an OpenBSD Ad-Hoc device except for another OpenBSD machine...
  Reply With Quote
Old 04-17-2002   #5 (permalink)
h1kari
Registered Member
 
h1kari's Avatar
 
Join Date: Apr 2002
Location: San Diego, CA
Posts: 2
When you set a card into port type 3 mode (peer to peer adhoc) it will not send/receive any management packets to negotiate associations and such. This is a standard mode for orinoco/prism2 based cards but it isn't commonly used. The mode that most windows machines use that is referred to as adhoc is actually the ibss mode on the card (port type 4).

This mode is now documented in openbsd-3.1 and you should be able to make use if it. In this mode it isn't real peer-to-peer since you have to have an ibss/adhoc master that sends out the beacon packets and such to advertise the network and then others that sort of "connect" to it. Basically what it boils down to is port type 3 doesn't send out beacon packets (and therefore is very difficult to detect), and port type 4 sends out beacon packets (and is easy to detect).

-h1kari
__________________
David Hulton <h1kari@dachb0den.com>
Senior Researcher, Dachb0den Labs
http://www.dachb0den.com
h1kari 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 11:09 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.