Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

FreeBSD 6.0 and Wireless card

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
Home » Discuss » DU Groups » Computers & Internet » Open Source and Free Software Group Donate to DU
 
YankeyMCC Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Jan-18-06 04:32 PM
Original message
FreeBSD 6.0 and Wireless card
Hello all, I've not posted in this group before but I'm faced with a little problem and I noticed this group and perhaps someone here can help.

I'm still pretty much a novice with FreeBSD but I've successfully installed 6.0 on a T22 IBM Laptop. But the problem I'm facing is this:

I have a DWL-G650 (hw ver B) D-Link wireless NIC. I tried rebuilding a Kernel with the ath device included. I followed the "traditional" proceedure and when did a "make" I got the following error:

if_ath.o(.text+0x504d): In function `ath_tx_processq':
../../../dev/ath/if_ath.c:3679: undefined reference to
`ath_rate_tx_complete'
if_ath.o(.text+0x5ab3): In function `ath_newstate':
../../../dev/ath/if_ath.c:4111: undefined reference to
`ath_rate_newstate'
if_ath.o(.text+0x5bcb):../../../dev/ath/if_ath.c:4141:
undefined reference to `ath_rate_newstate'
if_ath.o(.text+0x5de9): In function `ath_newassoc':
../../../dev/ath/if_ath.c:4259: undefined reference to
`ath_rate_newassoc'
*** Error code 1

Stop in /usr/src/sys/i386/compile/BEAGLEJAN06.
================

So my my question is two fold:
1st - Any suggestions on how to resolve that error?
2nd - Any suggestions on a wireless card that (PCMCIA) that works well with FreeBSD 6.0?
Refresh | 0 Recommendations Printer Friendly | Permalink | Reply | Top
bemildred Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Jan-18-06 11:12 PM
Response to Original message
1. I don't have 6.0 yet, but as a shot in the dark ...
Running a kernel make looks like this:

1. Edit the config file (say its name is "NEWKERNEL").
These live in /usr/src/sys/i386/conf, assuming you are on intel i386 hardware.

2. "config NEWKERNEL"
3. "cd ../compile/NEWKERNEL"
4. "make clean"
5. "make depend"
6. "make"
7. "make install"

The reason I bring this all up is because it seems to me you may have left out #5.

I do not use wireless presently, but I do make kernels a lot, currently 5.3 and 5.4, so feel free to continue this dialog. The GENERIC config file I have has a section for Wireless NICs, that would be where I would look for ideas on supported hardware.

The NOTES file for 5.3 has the following comments:

# ath: Atheros a/b/g WiFi adapters (requires ath_hal and wlan)
device ath
device ath_hal # Atheros HAL (includes binary component)
#device wlan # 802.11 layer

So it would appear that you need:

device ath
device ath_hal
device wlan

It seems to me that it may be one of those that you left out, also.

But it may be different in 6.0. OTOH, it would appear support has been around for a while, and there are no comments about it being broken, so it should work.
Printer Friendly | Permalink | Reply | Top
 
YankeyMCC Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Jan-19-06 07:00 AM
Response to Reply #1
2. Thanks
I actually got it figured out I did leave something out "ath_rate_sample"

Now I just have to figure out the ifconfig command ;)
Printer Friendly | Permalink | Reply | Top
 
bemildred Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Jan-19-06 08:45 AM
Response to Reply #2
3. DHCP works nice (instead of ifconfig) if you have a cable modem or router
that supports it.

In any case you want an entry in /etc/rc.conf.
It would look something like ifconfig_ath0="DHCP"
or like ifconfig_ath0="inet nnn.nnn.nnn.nnn netmask nnn.nnn.nnn.nnn"

You can look in /etc/defaults/rc.conf for the defaults, and edit to suit when you figure out what you want.
:hi:
Printer Friendly | Permalink | Reply | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Sat May 04th 2024, 06:53 AM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » DU Groups » Computers & Internet » Open Source and Free Software Group Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC