YankeyMCC
(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?
|
bemildred
(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.
|
YankeyMCC
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Jan-19-06 07:00 AM
Response to Reply #1 |
|
I actually got it figured out I did leave something out "ath_rate_sample"
Now I just have to figure out the ifconfig command ;)
|
bemildred
(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:
|
DU
AdBot (1000+ posts) |
Sat May 04th 2024, 06:53 AM
Response to Original message |