Re: Hi all.. Novice user having woes getting Atheros card up in FreeBSD 6.0

2006-02-01 Thread Paulo Fragoso
There is a problem with country code in DWL-AG530, you can solve setting 
country code, we can find instructions for this in:


http://madwifi.org/wiki/Compatibility

Our newest DWL-AG530 are working now on FreeBSD 5.4 and FreeBSD 6.0:

FreeBSD 5.4 before load contry code:
Jan  4 19:39:04 dl2 kernel: ath0: Atheros 5212 mem 
0xee00-0xee00 irq 10 at device 8.0 on pci0

Jan  4 19:39:04 dl2 kernel: ath0: mac 5.9 phy 4.3 5ghz radio 3.6
Jan  4 19:39:04 dl2 kernel: ath0: unable to collect channel list from hal
Jan  4 19:39:04 dl2 kernel: device_attach: ath0 attach returned 22

After set country code:
Jan 11 15:10:19 dl2 kernel: ath0: Atheros 5212 mem 
0xee00-0xee00 irq 10 at device 8.0 on pci0

Jan 11 15:10:19 dl2 kernel: ath0: mac 5.9 phy 4.3 5ghz radio 3.6
Jan 11 15:10:19 dl2 kernel: ath0: Ethernet address: 00:13:46:9a:29:18
Jan 11 15:10:19 dl2 kernel: ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 
24Mbps 36Mbps 48Mbps 54Mbps

Jan 11 15:10:19 dl2 kernel: ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
Jan 11 15:10:19 dl2 kernel: ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 
6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Jan 11 15:10:19 dl2 kernel: ath0: turbo rates: 6Mbps 9Mbps 12Mbps 18Mbps 
24Mbps 36Mbps 48Mbps 54Mbps


Paulo Fragoso.


Derek Evans wrote:

I think the newest D-link DWL-AG530 must use the AR5213 chipset too. 
Before I got it I had done some checking and read somewhere that it 
used the AR5212, so I thought I'd be ok.


When I tried it recently I got:

FreeBSD rock 6.0-STABLE FreeBSD 6.0-STABLE #1: Sun Jan 22 10:45:11 EST 
2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/ROCK  i386

...
ath0: Atheros 5212 mem 0xea00-0xea00 irq 11 at device 17.0 
on pci0
ath0: unable to collect channel list from hal; regdomain likely 18 
country code 0

device_attach: ath0 attach returned 22

I haven't tried Sam's patches yet.  I'm assuming they're still current 
though.


I have instructions for getting the patches, applying the patches, 
and testing them.  I'll send them to you via BSDForums (since that's 
where they're saved).



Can you point me to these instructions as well please?  Yes, I already 
looked. :)


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


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


Re: Hi all.. Novice user having woes getting Atheros card up in FreeBSD 6.0

2006-01-27 Thread Peter Jeremy
On Thu, 2006-Jan-26 20:10:56 -0800, resonant evil wrote:
Hi there..  So I can't use this wireless card at all right now?  Damn why
did I buy this thing then.. People from the mailing list showed me this one
so I ordered it :-(

That exact card, or that model number?  One major problem with PC
hardware is that vendors regularly update the electronics without
changing the model designations.  This doesn't affect Windoze users
because they provide updated drivers to match.

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


Re: Hi all.. Novice user having woes getting Atheros card up in FreeBSD 6.0

2006-01-27 Thread Freddie Cash
On Thursday 26 January 2006 08:10 pm, resonant evil wrote:
 Hi there..  So I can't use this wireless card at all right now?  Damn
 why did I buy this thing then.. People from the mailing list showed me
 this one so I ordered it :-(

All the posts on BSDForums.org list that the ath(4) driver in FreeBSD 6.0 
only supports the AR5210, AR5211, and AR5212 chipset.  It does not 
support the AR5213 which a lot of the newest Atheros-based cards are 
using.  A quick search of the forums would have shown that.  :)

Similarly, the man page for ath(4) shows the three chipsets it supports.

When buying wireless cards, the chipset is the only thing that matters.  
The name, model are irrelevent and often misleading.  You have to search 
through the support/docs area of the manufacturer's website to find out 
exactly which chipset the card uses.

 This is horrible, I just spent a hundred bucks on something I can't
 even use? :(

Update your system to RELENG_6 (6-STABLE) and apply the patches that Sam 
Leffler posts to http://people.freebsd.org/~sam  That will allow you to 
use AR5213-based wireless NICs.  I tested the patches on my laptop and 
they apply cleanly.  I don't have any AR5213-based NICs to test with, 
though (all AR5212 at my house).

I have instructions for getting the patches, applying the patches, and 
testing them.  I'll send them to you via BSDForums (since that's where 
they're saved).

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


Re: Hi all.. Novice user having woes getting Atheros card up in FreeBSD 6.0

2006-01-27 Thread resonant evil
Yeah, someone told me about this exact card, I guess he figured it used
Atheros so that meant it would work.. I wish I was so lucky.

A nice fellow from Germany sent me an e-mail with a link to patching a file
in the kernel, but I'm not sure how to do it.. But I guess I'll give it a
try

Does anyone else have any other advice for me here? Is there anything I can
do or did I just purchase an absolute waste of money?

Thanks guys


On 1/27/06, Peter Jeremy [EMAIL PROTECTED] wrote:

 On Thu, 2006-Jan-26 20:10:56 -0800, resonant evil wrote:
 Hi there..  So I can't use this wireless card at all right now?  Damn why
 did I buy this thing then.. People from the mailing list showed me this
 one
 so I ordered it :-(

 That exact card, or that model number?  One major problem with PC
 hardware is that vendors regularly update the electronics without
 changing the model designations.  This doesn't affect Windoze users
 because they provide updated drivers to match.

 --
 Peter Jeremy

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


Re: Hi all.. Novice user having woes getting Atheros card up in FreeBSD 6.0

2006-01-27 Thread resonant evil
Hi guys

Here is where I am at now.

Before we start, heres a DETAILED link to my exact wireless card:
http://www.netgate.com/product_info.php?products_id=279

A nice guy named Eric from Germany e-mailed me with some information,
saying to check out this website:

http://lists.freebsd.org/pipermail/freebsd-mobile/2005-October/007243.html

He thought that maybe the fix for his card might work for mine, but it
doesn't appear to have.. Here is exactly what I did

I copied that source code from
http://sourceforge.net/mailarchive/message.php?msg_id=8966525 for the
'ar5k.c' file and compiled it.
I then went to /usr/src/sys/dev/dev/ath and edited the 'if_ath.c'
file.  Correct me if I'm wrong but I was just supposed to change that
one line of 'return EINVAL' to 'return 0' right?
So I did that, saved it, and re-compiled the kernel fully, installed
it, and rebooted, but I don't see even the slightest bit of info about
the card still when the system boots up, and I definitely don't have
an ath0 device still.  Is there something like an 'lspci' command in
Linux where I can get all the information from the card by probing it
or whatever?  FreeBSD can't detect this thing for the life of it :(

Did I do anything wrong in those instructions?
Is there anything I can do?

Thanks :(

On 1/27/06, resonant evil [EMAIL PROTECTED] wrote:
 Yeah, someone told me about this exact card, I guess he figured it used
 Atheros so that meant it would work.. I wish I was so lucky.

 A nice fellow from Germany sent me an e-mail with a link to patching a file
 in the kernel, but I'm not sure how to do it.. But I guess I'll give it a
 try

 Does anyone else have any other advice for me here? Is there anything I can
 do or did I just purchase an absolute waste of money?

 Thanks guys


 On 1/27/06, Peter Jeremy [EMAIL PROTECTED] wrote:
 
  On Thu, 2006-Jan-26 20:10:56 -0800, resonant evil wrote:
  Hi there..  So I can't use this wireless card at all right now?  Damn
 why
  did I buy this thing then.. People from the mailing list showed me this
  one
  so I ordered it :-(
 
  That exact card, or that model number?  One major problem with PC
  hardware is that vendors regularly update the electronics without
  changing the model designations.  This doesn't affect Windoze users
  because they provide updated drivers to match.
 
  --
  Peter Jeremy
 


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


Re: Hi all.. Novice user having woes getting Atheros card up in FreeBSD 6.0

2006-01-27 Thread Derek Evans
I think the newest D-link DWL-AG530 must use the AR5213 chipset too. 
Before I got it I had done some checking and read somewhere that it used 
the AR5212, so I thought I'd be ok.


When I tried it recently I got:

FreeBSD rock 6.0-STABLE FreeBSD 6.0-STABLE #1: Sun Jan 22 10:45:11 EST 
2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/ROCK  i386

...
ath0: Atheros 5212 mem 0xea00-0xea00 irq 11 at device 17.0 on pci0
ath0: unable to collect channel list from hal; regdomain likely 18 
country code 0

device_attach: ath0 attach returned 22

I haven't tried Sam's patches yet.  I'm assuming they're still current 
though.


I have instructions for getting the patches, applying the patches, and 
testing them.  I'll send them to you via BSDForums (since that's where 
they're saved).


Can you point me to these instructions as well please?  Yes, I already 
looked. :)


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


Hi all.. Novice user having woes getting Atheros card up in FreeBSD 6.0

2006-01-26 Thread resonant evil
Hi guys.. I made a post at bsdforums.org about a problem I am having
getting my Atheros card working, but not too many people frequent that
forum..  Instead of rehashing everything I have done I guess I will
link to the topic:

http://www.bsdforums.org/forums/showthread.php?t=38562

The LINK to my exact wireless card is in the first post of that
topic.. It is a Senao NMP-8602 a/b/g Atheros card..  I have it working
no problems on Windows (blech), and my network at home is running
WPA2+AES.

What I have done so far:

Followed the handbook through installing the system to configuring the kernel

I copied the GENERIC file to a MYKERNEL file.  (The kernel config
file) I edited it, and added

device ath
device ath_hal
device ath_rate_sample
device wlan_wep
device wlan_ccmp
device wlan_tkip

to the file.  I then proceeded to /usr/sbin/config MYKERNEL, and 'cd
../compile/MYKERNEL'.  I did a 'make depend' , 'make' , 'make install'
all without a hitch, no compiling problems.. and before rebooting into
the new kernel I tweaked my /boot/loader.conf file:

su-2.05b# cat loader.conf
agp_load=YES
ntfs_load=YES
sound_load=YES
snd_driver_load=YES
wlan_wep_load=YES
wlan_tkip_load=YES
wlan_ccmp_load=YES


So I rebooted, and the new kernel booted no problem.  However when the
system was starting up and all of the text was flashing by I still saw
no sign of an ath0 device.. So I logged in and tried doing a 'kldload
if_ath' and it said File already exists so I thought that meant it
was loaded.. Just for fun I tried a 'ifconfig ath0 up' but that just
spit out ifconfig: interface ath0 does not exist and now I'm really
starting to get nervous :(

One of the replies I got a guy told me to edit a
/etc/wpa_supplicant.conf file to input all the information from my
home network like WPA key and stuff, but that file doesn't exist on my
system!  (wpa_supplicant is installed though) ..  Here were his exact
directions

Quote: Edit /etc/wpa_supplicant.conf to include all the wireless
details of your network (SSID, use WPA, WPA passphrase, etc).

 Edit /etc/rc.conf to add ifconfig_ath0=WPA DHCP
 Edit /etc/rc.conf to add wpa_supplicant_enable=YES

 Run /etc/rc.d/netif ath0 start to bring up the ath0 interface, start
wpa_supplicant, establish the link to the access point, and grab the
IP info via DHCP. This step will be done automatically at boot based
on the above rc.conf entries.

But will that really bring up the ath0 device even though 'ifconfig
ath0 up' yielded a 'interface ath0 does not exist' ?

And I have no /etc/wpa_supplicant.conf file for some reason, and no
clue how to create one from scratch, what should I do?  I need to do
WPA2+AES for my network

Thank you so much guys, I'm at a brick wall and appreciate help ASAP
These mailing lists is all a novice user like me can count on because
theres no way to be this detailed on IRC

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


Re: Hi all.. Novice user having woes getting Atheros card up in FreeBSD 6.0

2006-01-26 Thread Jung-uk Kim
On Thursday 26 January 2006 07:53 pm, resonant evil wrote:
 So I rebooted, and the new kernel booted no problem.  However when
 the system was starting up and all of the text was flashing by I
 still saw no sign of an ath0 device.. So I logged in and tried
 doing a 'kldload if_ath' and it said File already exists so I
 thought that meant it was loaded.. Just for fun I tried a 'ifconfig
 ath0 up' but that just spit out ifconfig: interface ath0 does not
 exist and now I'm really starting to get nervous :(

This card seems to have newer chipset and I heard the following patch 
supports newer chipsets:

http://docs.freebsd.org/cgi/mid.cgi?439E1030.1080304

However, I don't think this patch applies to 6.X.

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


Re: Hi all.. Novice user having woes getting Atheros card up in FreeBSD 6.0

2006-01-26 Thread Sam Leffler

Jung-uk Kim wrote:

On Thursday 26 January 2006 07:53 pm, resonant evil wrote:

So I rebooted, and the new kernel booted no problem.  However when
the system was starting up and all of the text was flashing by I
still saw no sign of an ath0 device.. So I logged in and tried
doing a 'kldload if_ath' and it said File already exists so I
thought that meant it was loaded.. Just for fun I tried a 'ifconfig
ath0 up' but that just spit out ifconfig: interface ath0 does not
exist and now I'm really starting to get nervous :(


This card seems to have newer chipset and I heard the following patch 
supports newer chipsets:


http://docs.freebsd.org/cgi/mid.cgi?439E1030.1080304

However, I don't think this patch applies to 6.X.


Correct.  The hal in cvs doesn't support the chip; only the one out for 
test.  I've merged all the net80211-related changes but the ath patch is 
now out of date.  I'll regenerate it and post a note when it's ready.


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


Re: Hi all.. Novice user having woes getting Atheros card up in FreeBSD 6.0

2006-01-26 Thread resonant evil
Hi there..  So I can't use this wireless card at all right now?  Damn why
did I buy this thing then.. People from the mailing list showed me this one
so I ordered it :-(

This is horrible, I just spent a hundred bucks on something I can't even
use? :(

Do these new patches fix this?

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