Discussion:
ad-hoc to JoikuSpot
(too old to reply)
David Brownlee
2008-08-18 15:57:32 UTC
Permalink
JoikuSpot is software which lets a Symbian S60 3rd Edition
share its internet connection via ad-hoc Wi-Fi.

http://www.joikuspot.com/

I can happily connect via a WindowsXP box, but I'm not
having any luck connecting via a NetBSD (This is the first
time I've tried using ad-hoc 802.11 networking, so its
quite possible I'm missing something basic).

I've tried on two NetBSD 4.0/i386 boxes, one with a wpi and
the other an ath wireless chipset.

# wlanctl -a reports:
[...]
wpi0: mac 00:1a:89:f3:7b:62 bss aa:c1:e7:7f:b2:16
node flags 0004<scan>
ess <abs-e90>
chan 1 freq 2412MHz flags 04e0<cck,ofdm,2.4GHz,dynamic cck-ofdm>
capabilities 0022<ibss,short preamble>
beacon-interval 100 TU tsft 24273818250 us
rates *1.0 *2.0 5.5 6.0 9.0 11.0 12.0 18.0 24.0 36.0 48.0 [54.0]
assoc-id 0 assoc-failed 0 inactivity 300s
rssi 31 txseq 0 rxseq 0

# ifconfig wpi0 ssid abs-e90 bssid aa:c1:e7:7f:b2:16

# ifconfig wpi0
wpi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ssid abs-e90
powersave off
bssid aa:c1:e7:7f:b2:16
address: 00:19:d2:77:72:d9
media: IEEE802.11 autoselect (DS1)
status: no network
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255

Adding 'chan 1' to the initial ifconfig line doesn't seem
to affect matters

Anyone have any thoughts as to what I'm missing?

Thanks

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
David Young
2008-08-18 16:04:39 UTC
Permalink
Post by David Brownlee
# ifconfig wpi0 ssid abs-e90 bssid aa:c1:e7:7f:b2:16
Anyone have any thoughts as to what I'm missing?
It shouldn't be necessary to specify the BSSID. The BSSID can actually
change over time. Specifying the channel is helpful.

Are you sure that ad hoc mode is supported on wpi(4)? Also, do you have
to load a special firmware before you can use ad hoc mode?

ath(4) supports ad hoc mode very well. I am curious how it failed.

Dave
--
David Young OJC Technologies
***@ojctech.com Urbana, IL * (217) 278-3933 ext 24

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Quentin Garnier
2008-08-18 16:08:05 UTC
Permalink
On Mon, Aug 18, 2008 at 04:57:32PM +0100, David Brownlee wrote:
[...]
Post by David Brownlee
Anyone have any thoughts as to what I'm missing?
mediaopt adhoc? I would have thought it was implied by your post, but
I don't see it in the ifconfig output you pasted.
--
Quentin Garnier - ***@cubidou.net - ***@NetBSD.org
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
David Brownlee
2008-08-30 11:07:15 UTC
Permalink
Post by Quentin Garnier
[...]
Post by David Brownlee
Anyone have any thoughts as to what I'm missing?
mediaopt adhoc? I would have thought it was implied by your post, but
I don't see it in the ifconfig output you pasted.
That would be it - thanks!

Amusingly enough the word 'adhoc' does not appear anywhere
in ifconfig(8) and only in an caveat in ath(4) (At least
in NetBSD 4). NetBSD may be setting the bar a little high
for someone setting up an adhoc connection here :)
Post by Quentin Garnier
Post by David Brownlee
# ifconfig wpi0 ssid abs-e90 bssid aa:c1:e7:7f:b2:16
Anyone have any thoughts as to what I'm missing?
It shouldn't be necessary to specify the BSSID. The BSSID can actually
change over time. Specifying the channel is helpful.
Are you sure that ad hoc mode is supported on wpi(4)? Also, do you have
to load a special firmware before you can use ad hoc mode?
ath(4) supports ad hoc mode very well. I am curious how it failed.
I ot it to work on ath(4) - after adding adhoc (ahem). Unable
to get it to work on iwi(4) or wpi(4). Unfortunately the
laptop I want to use has a wpi built in. I'll check if its
a mini pic and can be swapped for the ath(4), but does anyone
have suggestions for usb wifi cards which work with with adhoc
under NetBSD?

Thanks again!
--
David/absolute -- www.NetBSD.org: No hype required --

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-***@muc.de
Loading...