Configuring wireless in FreeBSD 5.4

The wireless card appears to be picking up an ssid, however, it's not the correct one.





# cd /usr/src/sys/i386/conf
# mkdir /root/kernels
# cp GENERIC /root/kernels/MYKERNEL  
# ln -s /root/kernels/MYKERNEL

1. Change to the /usr/src directory:

      # cd /usr/src

2.  Compile the kernel:

      # make buildkernel KERNCONF=MYKERNEL

3. Install the new kernel:

      # make installkernel KERNCONF=MYKERNEL


device wlan              # 802.11 support
device ath               # Atheros pci/cardbus NIC's
device ath_hal           # pci/cardbus chip support
options AH_SUPPORT_AR5212 # enable AR5416 tx/rx descriptors

DHCP Configuration (This works but not the right AP):


I tried but no luck?

ifconfig_wlan0="ssid your_ssid_here bssid xx:xx:xx:xx:xx:xx DHCP"
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Config appears to be for an Atheros card?
try using the sysinstall command to redo the wireless config,
majc79Author Commented:

I'm not sure if you're referring to my # Atheros pci/cardbus NIC's comment?  Its an error and should be Linksys PCI card which supports both A and G standards.  According to FreeBSD documentation device ath is the syntax that is used for that particular card.  Do you think it can be an issue with the version of BSD that I'm using FreeBSD 5.4?


device wlan              # 802.11 support
device ath               # Atheros pci/cardbus NIC's
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

majc79Author Commented:

If I remember correctly the sysintall option will bring me back to a bunch of menu options which will allow me to add/modify pre-existing settings.  What option were you thinking? Is affiliated with the network portion?
does it work with generic kernel?
scanpci or lspci to list exact make and model of your wireless card would be nice to see
majc79Author Commented:
I'll get back to you on this one...thxs for your response.
majc79Author Commented:
gheist my network card is a Linksys WMPAG card
My dear, i need PCI ID of the device.

WMPAG or WMPBG tells nothing of what i need.
Try FreeBSD 8.2 CD1 recorded on RW blank at low speed....

I know how to but I will not assist in backporting driver to outdated release.
majc79Author Commented:
My dear:

ath0@pci5:4:0: class=0x020000 card=0x00261737 chip=0x0013168c rev=0x01 hdr=0x00

does this help?
168c:0013 AR5212/AR5213 Multiprotocol MAC/baseband processor

AR5212 was just starting in FreeBSD 5.4 so expect some problems (like ones you see) with more recent adapters)

If you insist on running 5.x get it to at least 5-stable level. then it will be clear if problem is correctable staying with old software or you need to get to a SUPPORTEDVERSION

majc79Author Commented:
I guess I would be more than willing to go to a more updated version.  The last time I tried to get an updated version of FreeBSD from I had nothing but problems.  If I recall correctly I went to a suggested FTP site downloaded FreeBSD 8.2 to my desktop first then tried to create an ISO.  I got nothing but errors garbage.

Would you happen to have a direct URL you can send me or processes you've followed for a FreeBSD  boot disk, based on successful installs?  I'll definitely try again with an updated version.

Thank you!
You download ISO file from there.




depending on your hardware

make sure you burn it to blank CD-R / CD-RW at lowest speed possible.
(infrarecorder on Windows is good at that)

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
majc79Author Commented:
thanks for the assistance
Your card should work with included "ath" driver in B mode, if you get firmware (named ath hal) you can get -G and -N if card supports.

(99% of people encountering "hardware problem" with FreeBSD used bad installation media or overclocked)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.