Re: USB wireless AP?

2008-04-23 Thread Ivan Voras
2008/4/23 Martes G Wigglesworth [EMAIL PROTECTED]:

  Is there a particular reason that the USB adapter concept is needed for
  your application?

Yes - there are no other ports to extend the (small, embedded) computer with.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB wireless AP?

2008-04-23 Thread Sepherosa Ziehau
On Wed, Apr 23, 2008 at 4:18 AM, Ivan Voras [EMAIL PROTECTED] wrote:
 Boris Kochergin wrote:

  Do you know about http://ralink.rapla.net/? The RT2500-based cards listed
 there are supported by the ural(4) driver. There's a discouraging comment
 about using them for access points in the man page, though:
 
  CAVEATS
 The ural driver does not support automatic adaptation of the transmit
 speed in IBSS and HostAP operating modes.

In HOSTAP mode, you can have one roaming STA, or you can have several
STAs if they stay in almost same TX/RX condition.  This limitation is
primarily due to ural (same applies to rum) hardware does not have
per-packet (or at least per-peer) TX try/fail counters.  This can't be
fixd by driver.

Best Regards,
sephe

-- 
Live Free or Die
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB wireless AP?

2008-04-23 Thread Ivan Voras
I've found a perfect match for my needs: D-Link DWL-G122, with the rum 
driver. Not a single problem so far, everything works as documented. 
Truly a plug and play experience.


I'm just curious about one more thing: I wish to set up a b/g network, 
so both b and g devices can connect. Apparently this is set up via the 
mode argument to ifconfig, which accepts 11g and 11b but not the 
obvious 11bg. Any pointers on this?




signature.asc
Description: OpenPGP digital signature


Re: USB wireless AP?

2008-04-23 Thread John Nielsen
On Wednesday 23 April 2008 11:57:28 am Ivan Voras wrote:
 I've found a perfect match for my needs: D-Link DWL-G122, with the
 rum driver. Not a single problem so far, everything works as
 documented. Truly a plug and play experience.

 I'm just curious about one more thing: I wish to set up a b/g
 network, so both b and g devices can connect. Apparently this is set up
 via the mode argument to ifconfig, which accepts 11g and 11b but
 not the obvious 11bg. Any pointers on this?

You can either omit the mode argument altogether and get both supported 
by default, or just specify 11g, which will also support both. I 
typically omit the mode unless I want to limit things to only 11b.

JN


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rum driver panic [ was: Re: USB wireless AP? ]

2008-04-23 Thread Ivan Voras

John Nielsen wrote:

On Wednesday 23 April 2008 11:57:28 am Ivan Voras wrote:

I've found a perfect match for my needs: D-Link DWL-G122, with the
rum driver. Not a single problem so far, everything works as
documented. Truly a plug and play experience.

I'm just curious about one more thing: I wish to set up a b/g
network, so both b and g devices can connect. Apparently this is set up
via the mode argument to ifconfig, which accepts 11g and 11b but
not the obvious 11bg. Any pointers on this?


You can either omit the mode argument altogether and get both supported 
by default, or just specify 11g, which will also support both. I 
typically omit the mode unless I want to limit things to only 11b.


Thanks, I'll try that tomorrow. For now, it looks like my fun won't last 
long:


Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x12
fault code  = supervisor read, page not present
instruction pointer = 0x20:0xc053fd4a
stack pointer   = 0x28:0xcc218be8
frame pointer   = 0x28:0xcc218c00
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 25 (irq11: ohci0)
trap number = 12
panic: page fault
Uptime: 38m49s
Physical memory: 241 MB
Dumping 36 MB: 21 5

#0  doadump () at pcpu.h:195
195 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:195
#1  0xc05d0f53 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc05d114f in panic (fmt=Variable fmt is not available.
) at /usr/src/sys/kern/kern_shutdown.c:572
#3  0xc07cf4fc in trap_fatal (frame=0xcc218ba8, eva=18) at 
/usr/src/sys/i386/i386/trap.c:899
#4  0xc07cf780 in trap_pfault (frame=0xcc218ba8, usermode=0, eva=18) at 
/usr/src/sys/i386/i386/trap.c:812
#5  0xc07d00d9 in trap (frame=0xcc218ba8) at 
/usr/src/sys/i386/i386/trap.c:490

#6  0xc07b926b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc053fd4a in rum_txeof (xfer=0xc1fcb000, priv=0xc20b7498, 
status=USBD_NORMAL_COMPLETION) at /usr/src/sys/dev/usb/if_rum.c:843
#8  0xc0559745 in usb_transfer_complete (xfer=0xc1fcb000) at 
/usr/src/sys/dev/usb/usbdi.c:977
#9  0xc0542d79 in ohci_softintr (v=0xc1d37000) at 
/usr/src/sys/dev/usb/ohci.c:1436
#10 0xc05552e2 in usb_schedsoftintr (bus=0xc1d37000) at 
/usr/src/sys/dev/usb/usb.c:844
#11 0xc0544698 in ohci_intr1 (sc=0xc1d37000) at 
/usr/src/sys/dev/usb/ohci.c:1194
#12 0xc0544e61 in ohci_intr (p=0xc1d37000) at 
/usr/src/sys/dev/usb/ohci.c:1123
#13 0xc05b300b in ithread_loop (arg=0xc1d39220) at 
/usr/src/sys/kern/kern_intr.c:1036
#14 0xc05afeb6 in fork_exit (callout=0xc05b2e60 ithread_loop, 
arg=0xc1d39220, frame=0xcc218d38) at /usr/src/sys/kern/kern_fork.c:783
#15 0xc07b92e0 in fork_trampoline () at 
/usr/src/sys/i386/i386/exception.s:205




signature.asc
Description: OpenPGP digital signature


Re: USB wireless AP?

2008-04-22 Thread Boris Kochergin
Do you know about http://ralink.rapla.net/? The RT2500-based cards 
listed there are supported by the ural(4) driver. There's a discouraging 
comment about using them for access points in the man page, though:


CAVEATS
The ural driver does not support automatic adaptation of the transmit
speed in IBSS and HostAP operating modes.

-Boris

Ivan Voras wrote:

Hi,

I'm planning to set up an AP by adding an USB wifi card to a 
7.0-RELEASE machine, and I'm interested in a couple of things:


- First, hardware compatibility - AFAIK only some cards support AP 
mode? Can anyone recommend such USB wireless hardware, preferably in 
terms of product names instead of chip names? I see the following 
cards in a local store: BANDRIDGE CWN4002G, CANYON WF-518D, CANYON 
WF-518, LINKSYS WUSB54GC.


- Are there any tips  tricks additional to the instructions on 
http://www.freebsd.org/doc/en/books/handbook/network-wireless.html ?



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB wireless AP?

2008-04-22 Thread Boris Kochergin

Ivan Voras wrote:

Boris Kochergin wrote:
Do you know about http://ralink.rapla.net/? The RT2500-based cards 
listed there are supported by the ural(4) driver. There's a 
discouraging comment about using them for access points in the man 
page, though:


CAVEATS
The ural driver does not support automatic adaptation of the 
transmit

speed in IBSS and HostAP operating modes.


That's too bad - it seems the Linsys' card is supported by ural. I 
looked around for Linux information on the same topic, and given the 
problems they have, I think I'll even settle for IBSS. Are there any 
practical differences between HOSTAP and IBSS when used by a very 
small number of users?



I've never used IBSS, but I have enough spare 802.11 hardware to try it 
out. I'll let you know.


-Boris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: USB wireless AP?

2008-04-22 Thread Martes G Wigglesworth
I would reference the link that I am about to list.

I would also reference googling the topic, since there are quite a few
USB wifi adapters that work, however, it seems a bit more difficult to
find people who are using them as AP media.

The atheros reference pdfs reference a different chipset than what we
usually deal with on BSD ath driver. (5512, or some such.)

I forgot about the prism based cards, which the following link is in
references.

http://osdir.com/ml/os.freebsd.devel.hardware/2006-06/msg00034.html

The SWEEX model LW053 is also compatible, however, it uses the rawlink
RT2500USB chipset, so I am not sure how the access point functionality
will work, since it may be suceptible to the previously referenced
warnings within the driver manpage.  

Is there a particular reason that the USB adapter concept is needed for
your application?

On Wed, 2008-04-23 at 00:37 +0200, Ivan Voras wrote:
 2008/4/22 Martes G Wigglesworth [EMAIL PROTECTED]:
  I always atheros-based cards/interfaces.  ath driver seems to be the
   defacto homegrown AP medium.
 
 Thanks, can you recommend an ath-based USB card?
 
   On Tue, 2008-04-22 at 22:18 +0200, Ivan Voras wrote:
 
   Boris Kochergin wrote:
 Do you know about http://ralink.rapla.net/? The RT2500-based cards
 listed there are supported by the ural(4) driver. There's a 
  discouraging
 comment about using them for access points in the man page, though:

 CAVEATS
 The ural driver does not support automatic adaptation of the 
  transmit
 speed in IBSS and HostAP operating modes.
   
That's too bad - it seems the Linsys' card is supported by ural. I
looked around for Linux information on the same topic, and given the
problems they have, I think I'll even settle for IBSS. Are there any
practical differences between HOSTAP and IBSS when used by a very small
number of users?
   
   
 
 
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]