Wireless NICs on 7.2

2009-07-01 Thread Robert Hall
I've been trying to get a Linksys WMP54G v. 4.1 to work on FBSD 7.2.
It sort of works with the ral driver; I can set the ssid and inet and
other values, but it won't associate with the access point or
establish a useful connection.

I've tried compiling ndis drivers for both the Linksys and a Belkin
F5D7000 v. 7032 that I bought for my XP box. Both drivers crash the
system when they load, leading to a reboot. Groveling through vmcore
doesn't give me any clues about why the Belkin ndis crashes. The
Linksys crash sends a message that it can't open
/compat/ndis/rt2561s.bin. I googled for the firmware files and put
them in /compat/ndis, but ndis still crashes. Both cards work fine on
the XP box.

Has anyone gotten either card to work on 7.2, either by using the ral
driver or by compiling an ndis driver?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Wireless NICs on 7.2

2009-07-01 Thread Paul B. Mahol
On 7/1/09, Robert Hall  wrote:
> I've been trying to get a Linksys WMP54G v. 4.1 to work on FBSD 7.2.
> It sort of works with the ral driver; I can set the ssid and inet and
> other values, but it won't associate with the access point or
> establish a useful connection.

Does it get any scan results?
What kind of AP setup: NONE, WEP, WPA, WPA2 ... ?

>
> I've tried compiling ndis drivers for both the Linksys and a Belkin
> F5D7000 v. 7032 that I bought for my XP box. Both drivers crash the
> system when they load, leading to a reboot. Groveling through vmcore
> doesn't give me any clues about why the Belkin ndis crashes. The
> Linksys crash sends a message that it can't open
> /compat/ndis/rt2561s.bin. I googled for the firmware files and put
> them in /compat/ndis, but ndis still crashes. Both cards work fine on
> the XP box.

You are using i386 FreeBSD, right?

> Has anyone gotten either card to work on 7.2, either by using the ral
> driver or by compiling an ndis driver?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>


-- 
Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Wireless NICs on 7.2

2009-07-01 Thread Robert Hall
On Wed, Jul 1, 2009 at 1:55 PM, Paul B. Mahol wrote:
> On 7/1/09, Robert Hall  wrote:
>> I've been trying to get a Linksys WMP54G v. 4.1 to work on FBSD 7.2.
>> It sort of works with the ral driver; I can set the ssid and inet and
>> other values, but it won't associate with the access point or
>> establish a useful connection.
>
> Does it get any scan results?

Yes. Scanning seems to work fine.

> What kind of AP setup: NONE, WEP, WPA, WPA2 ... ?

No security.

>> I've tried compiling ndis drivers for both the Linksys and a Belkin
>> F5D7000 v. 7032 that I bought for my XP box. Both drivers crash the
>> system when they load, leading to a reboot. Groveling through vmcore
>> doesn't give me any clues about why the Belkin ndis crashes. The
>> Linksys crash sends a message that it can't open
>> /compat/ndis/rt2561s.bin. I googled for the firmware files and put
>> them in /compat/ndis, but ndis still crashes. Both cards work fine on
>> the XP box.

BTW, I'm not getting the open file failed message any longer, but the
ndis driver still crashes the system.

> You are using i386 FreeBSD, right?

I should have posted this originally:
$ uname -a
FreeBSD stamfordbru.krig.net 7.2-RELEASE FreeBSD 7.2-RELEASE #3: Wed
Jul  1 11:40:35 EDT 2009
r...@stamfordbru.krig.net:/usr/obj/usr/src/sys/STAMFORDBRU0  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Wireless NICs on 7.2

2009-07-01 Thread Paul B. Mahol
On 7/1/09, Robert Hall  wrote:
> On Wed, Jul 1, 2009 at 1:55 PM, Paul B. Mahol wrote:
>> On 7/1/09, Robert Hall  wrote:
>>> I've been trying to get a Linksys WMP54G v. 4.1 to work on FBSD 7.2.
>>> It sort of works with the ral driver; I can set the ssid and inet and
>>> other values, but it won't associate with the access point or
>>> establish a useful connection.
>>
>> Does it get any scan results?
>
> Yes. Scanning seems to work fine.

And what about TX/RX signal?

>> What kind of AP setup: NONE, WEP, WPA, WPA2 ... ?
>
> No security.
>
>>> I've tried compiling ndis drivers for both the Linksys and a Belkin
>>> F5D7000 v. 7032 that I bought for my XP box. Both drivers crash the
>>> system when they load, leading to a reboot. Groveling through vmcore
>>> doesn't give me any clues about why the Belkin ndis crashes. The
>>> Linksys crash sends a message that it can't open
>>> /compat/ndis/rt2561s.bin. I googled for the firmware files and put
>>> them in /compat/ndis, but ndis still crashes. Both cards work fine on
>>> the XP box.
>
> BTW, I'm not getting the open file failed message any longer, but the
> ndis driver still crashes the system.

Could you put backtrace somewhere?
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html


>> You are using i386 FreeBSD, right?
>
> I should have posted this originally:
> $ uname -a
> FreeBSD stamfordbru.krig.net 7.2-RELEASE FreeBSD 7.2-RELEASE #3: Wed
> Jul  1 11:40:35 EDT 2009
> r...@stamfordbru.krig.net:/usr/obj/usr/src/sys/STAMFORDBRU0  i386
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>


-- 
Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Wireless NICs on 7.2

2009-07-01 Thread Robert Hall
> And what about TX/RX signal?

I don't know where to look for that. :)

> Could you put backtrace somewhere?
> http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html

Backtrace from crashing with a Belkin ndis:
(kgdb) backtrace
#0  doadump () at pcpu.h:196
#1  0xc055bcc3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc055bece in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc079041c in trap_fatal (frame=0xd5f9571c, eva=0) at
/usr/src/sys/i386/i386/trap.c:939
#4  0xc0790680 in trap_pfault (frame=0xd5f9571c, usermode=0, eva=0) at
/usr/src/sys/i386/i386/trap.c:852
#5  0xc0790fd9 in trap (frame=0xd5f9571c) at /usr/src/sys/i386/i386/trap.c:530
#6  0xc077dbbb in calltrap () at /usr/src/sys/i386/i386/exception.s:159
#7  0xc32b5239 in BLKWGDv7_sys_drv_data_start () from
/boot/modules/BLKWGDv7_sys.ko
Previous frame inner to this frame (corrupt stack?)

And from a Linksys crash
(kgdb) backtrace
#0  doadump () at pcpu.h:196
#1  0xc055bcc3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc055bece in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc079041c in trap_fatal (frame=0xd600cb98, eva=382216) at
/usr/src/sys/i386/i386/trap.c:939
#4  0xc0790680 in trap_pfault (frame=0xd600cb98, usermode=0,
eva=382216) at /usr/src/sys/i386/i386/trap.c:852
#5  0xc0790fd9 in trap (frame=0xd600cb98) at /usr/src/sys/i386/i386/trap.c:530
#6  0xc077dbbb in calltrap () at /usr/src/sys/i386/i386/exception.s:159
#7  0xc329dde6 in rt61_sys_drv_data_start () from /boot/modules/./rt61_sys.ko
Previous frame inner to this frame (corrupt stack?)

I hope this is what you were asking for. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Wireless NICs on 7.2

2009-07-02 Thread Paul B. Mahol
On 7/2/09, Robert Hall  wrote:
>> And what about TX/RX signal?
>
> I don't know where to look for that. :)

It is part of scan output.

>> Could you put backtrace somewhere?
>> http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html
>
> Backtrace from crashing with a Belkin ndis:
> (kgdb) backtrace
> #0  doadump () at pcpu.h:196
> #1  0xc055bcc3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
> #2  0xc055bece in panic (fmt=Variable "fmt" is not available.
> ) at /usr/src/sys/kern/kern_shutdown.c:574
> #3  0xc079041c in trap_fatal (frame=0xd5f9571c, eva=0) at
> /usr/src/sys/i386/i386/trap.c:939
> #4  0xc0790680 in trap_pfault (frame=0xd5f9571c, usermode=0, eva=0) at
> /usr/src/sys/i386/i386/trap.c:852
> #5  0xc0790fd9 in trap (frame=0xd5f9571c) at
> /usr/src/sys/i386/i386/trap.c:530
> #6  0xc077dbbb in calltrap () at /usr/src/sys/i386/i386/exception.s:159
> #7  0xc32b5239 in BLKWGDv7_sys_drv_data_start () from
> /boot/modules/BLKWGDv7_sys.ko
> Previous frame inner to this frame (corrupt stack?)
>
> And from a Linksys crash
> (kgdb) backtrace
> #0  doadump () at pcpu.h:196
> #1  0xc055bcc3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
> #2  0xc055bece in panic (fmt=Variable "fmt" is not available.
> ) at /usr/src/sys/kern/kern_shutdown.c:574
> #3  0xc079041c in trap_fatal (frame=0xd600cb98, eva=382216) at
> /usr/src/sys/i386/i386/trap.c:939
> #4  0xc0790680 in trap_pfault (frame=0xd600cb98, usermode=0,
> eva=382216) at /usr/src/sys/i386/i386/trap.c:852
> #5  0xc0790fd9 in trap (frame=0xd600cb98) at
> /usr/src/sys/i386/i386/trap.c:530
> #6  0xc077dbbb in calltrap () at /usr/src/sys/i386/i386/exception.s:159
> #7  0xc329dde6 in rt61_sys_drv_data_start () from
> /boot/modules/./rt61_sys.ko
> Previous frame inner to this frame (corrupt stack?)
>
> I hope this is what you were asking for. :)
>

Does crash happens if you load them after boot?

-- 
Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Wireless NICs on 7.2

2009-07-02 Thread Robert Hall
On Thu, Jul 2, 2009 at 6:04 AM, Paul B. Mahol wrote:
> On 7/2/09, Robert Hall  wrote:
>>> And what about TX/RX signal?
>>
>> I don't know where to look for that. :)
>
> It is part of scan output.

I don't remember seeing that in the output. I'll put the Linksys back
in the FBSD box and look for it. Does it have another name? I can't
find it on the ifconfig man page.

On the XP box, the Linksys utility says that the transmit rate is 12
Mbps and the receive rate is 5.5 Mbps.

When I move the Linksys NIC to the FBSD box, I get:
$ ifconfig ral0 list scan
SSIDBSSID  CHAN RATE   S:N INT CAPS
livingroom  00:13:10:b9:e7:d66   54M -93:-95  100 E

I think the "54M" is what you're asking for? I looked in man ifconfig
and couldn't find TX or RX so I'm guessing that you're asking about
the rate at which data is passed.

Thanks for your help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Wireless NICs on 7.2

2009-07-02 Thread Paul B. Mahol
On 7/2/09, Robert Hall  wrote:
> On Thu, Jul 2, 2009 at 6:04 AM, Paul B. Mahol wrote:
>> On 7/2/09, Robert Hall  wrote:
 And what about TX/RX signal?
>>>
>>> I don't know where to look for that. :)
>>
>> It is part of scan output.
>
> I don't remember seeing that in the output. I'll put the Linksys back
> in the FBSD box and look for it. Does it have another name? I can't
> find it on the ifconfig man page.
>
> On the XP box, the Linksys utility says that the transmit rate is 12
> Mbps and the receive rate is 5.5 Mbps.
>
> When I move the Linksys NIC to the FBSD box, I get:
> $ ifconfig ral0 list scan
> SSIDBSSID  CHAN RATE   S:N INT CAPS
> livingroom  00:13:10:b9:e7:d66   54M -93:-95  100 E

93 is too low.
>
> I think the "54M" is what you're asking for? I looked in man ifconfig
> and couldn't find TX or RX so I'm guessing that you're asking about
> the rate at which data is passed.
>
> Thanks for your help.
>


-- 
Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Wireless NICs on 7.2

2009-07-02 Thread Robert Hall
On Thu, Jul 2, 2009 at 4:14 PM, Paul B. Mahol wrote:
>> $ ifconfig ral0 list scan
>> SSID            BSSID              CHAN RATE   S:N     INT CAPS
>> livingroom      00:13:10:b9:e7:d6    6   54M -93:-95  100 E
>
> 93 is too low.

Paul, I really appreciate your help. I'm obviously not an expert on
either wireless networks or radio communication in general. But I
doubt the accuracy of the scan. First of all, there's an XP box less
than a foot away getting a "very good" signal (according to both the
MS and the Belkin utilities), and successfully communicating with the
wireless network. When I move the FBSD box and put the XP box in it's
place, the XP box continues to report a good signal and continues to
communicate with the network.  While the XP box is reporting
variations in rate and signal, the FBSD box reports no change.
Secondly, when I run "ifconfig ral0 up scan", the scan hangs. It never
completes or reports results. According to the man page, it's supposed
to complete the scan, report the results, and exit. I have to Ctrl-C
and run "ifconfig ral0 list scan" to get the results. So I know that
at least part of the scan function doesn't work and I know that it's
not detecting changes in rate and signal that are being reported by
the XP box.

1) The XP box works fine with the Linksys NIC in it.
2) Both the XP and FBSD boxes are Dell Optiplex GX270, so they have
identical hardware aside from the wireless NICs.
3) The md5 checksum for the install CD is correct, so I should have a
good installation of 7.2
4) I seem to be getting a good signal, good enough to communicate with
the network.
5) Both the Belkin and the Linksys work fine in the XP box.
6) The FBSD box always reports the same data, regardless of changes in
conditions.
7) If I move the boxes and test them in the same physical location,
oriented in the same direction, the XP box works and the FBSD box
doesn't.

So my guess is that output from a scan is the result of a problem in
the driver, and not the result of actual conditions. If I thought I
could solve this with a high gain antenna, I'd buy one in a second.
But at the moment I have pretty good reason to believe that the
problem isn't signal strength. I'd still like to compile a working
ndis driver for either the Belkin F5D7000 v.7032 or the Linksys WMP54G
v.4.1, if that is possible, or get the ral driver to work with the
Linksys. I'd be willing to move from 7.2 to 6.4 if anyone has had
success with that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Wireless NICs on 7.2

2009-07-03 Thread Paul B. Mahol
On 7/3/09, Robert Hall  wrote:
> On Thu, Jul 2, 2009 at 4:14 PM, Paul B. Mahol wrote:
>>> $ ifconfig ral0 list scan
>>> SSIDBSSID  CHAN RATE   S:N INT CAPS
>>> livingroom  00:13:10:b9:e7:d66   54M -93:-95  100 E
>>
>> 93 is too low.
>
> Paul, I really appreciate your help. I'm obviously not an expert on
> either wireless networks or radio communication in general. But I
> doubt the accuracy of the scan. First of all, there's an XP box less
> than a foot away getting a "very good" signal (according to both the
> MS and the Belkin utilities), and successfully communicating with the
> wireless network. When I move the FBSD box and put the XP box in it's
> place, the XP box continues to report a good signal and continues to
> communicate with the network.  While the XP box is reporting
> variations in rate and signal, the FBSD box reports no change.
> Secondly, when I run "ifconfig ral0 up scan", the scan hangs. It never
> completes or reports results. According to the man page, it's supposed
> to complete the scan, report the results, and exit. I have to Ctrl-C
> and run "ifconfig ral0 list scan" to get the results. So I know that
> at least part of the scan function doesn't work and I know that it's
> not detecting changes in rate and signal that are being reported by
> the XP box.

That have sense only if station is associated. Reported driver signal
is to low to be usefull.

> 1) The XP box works fine with the Linksys NIC in it.
> 2) Both the XP and FBSD boxes are Dell Optiplex GX270, so they have
> identical hardware aside from the wireless NICs.
> 3) The md5 checksum for the install CD is correct, so I should have a
> good installation of 7.2
> 4) I seem to be getting a good signal, good enough to communicate with
> the network.
> 5) Both the Belkin and the Linksys work fine in the XP box.
> 6) The FBSD box always reports the same data, regardless of changes in
> conditions.
> 7) If I move the boxes and test them in the same physical location,
> oriented in the same direction, the XP box works and the FBSD box
> doesn't.
>
> So my guess is that output from a scan is the result of a problem in
> the driver, and not the result of actual conditions. If I thought I
> could solve this with a high gain antenna, I'd buy one in a second.
> But at the moment I have pretty good reason to believe that the
> problem isn't signal strength. I'd still like to compile a working
> ndis driver for either the Belkin F5D7000 v.7032 or the Linksys WMP54G
> v.4.1, if that is possible, or get the ral driver to work with the
> Linksys. I'd be willing to move from 7.2 to 6.4 if anyone has had
> success with that.

I'm aware of similar problems with rum(4) driver - signal is too low
comparing to linux rt73 and ndisulator. I don't have ral(4) card
so I can not comment on that.

Alternative approach would be to explore AP settings.

-- 
Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"