DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th February 2015
ramib ramib is offline
Real Name: Rami
Port Guard
 
Join Date: Feb 2015
Location: Israel
Posts: 15
Default FreeBSD 11 Current Wifi iwn

I have centrino 135 working in every UNIX like I tried (OpenBSD/Linux) except in FreeBSD

dmesg

iwn0: <Intel Centrino Wireless-N 135>

ifconfig iwn0

iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 0c:d2:92:83:93:de
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng
status: associated


on the man page for this release it written as supported

https://www.freebsd.org/cgi/man.cgi?...lt&format=html


sudo /etc/rc.d/netif restart iwn0
Stopping Network: iwn0.
iwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 0c:d2:92:83:93:de
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
Starting wpa_supplicant.
Starting Network: iwn0.
iwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 0c:d2:92:83:93:de
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier


Loader.conf

if_iwn_load="YES"
device iwn135fw
iwn135fw_load="YES"


rc.conf
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"

Last edited by ramib; 18th February 2015 at 04:50 PM.
Reply With Quote
  #2   (View Single Post)  
Old 14th February 2015
bsd-keith bsd-keith is online now
Real Name: Keith
Open Source Software user
 
Join Date: Jun 2014
Location: Surrey/Hants Border, England
Posts: 344
Default

Missing firmware?
Quote:
iwn%d: could not load firmware image '%s' The driver failed to load the
firmware image using the firmware(9) subsystem. Verify the iwnfw(4)
firmware module is present.
__________________
Linux since 1999, & also a BSD user.
Reply With Quote
  #3   (View Single Post)  
Old 17th February 2015
blackhole's Avatar
blackhole blackhole is offline
Spam Deminer
 
Join Date: Mar 2014
Posts: 316
Default

I don't think complaining about the FreeBSD forum here is going to solve your issue. FreeBSD is not the forum. I use FreeBSD and have never joined nor used the forum, and I doubt I'm alone in that - it's irrelevant.

To address your problem, it seems to me that you're attempting to configure the wrong device.

Post the contents of your /etc/rc.conf or better yet read the freely available documentation: https://www.freebsd.org/doc/handbook...-wireless.html
Reply With Quote
  #4   (View Single Post)  
Old 18th February 2015
ramib ramib is offline
Real Name: Rami
Port Guard
 
Join Date: Feb 2015
Location: Israel
Posts: 15
Default

Some of the post is missing but this is the right driver.

If this will not be the the right driver:

1. ifconfig will not show the adapter
2. ifconfig will show associated
3. ifconfig scan will not show wireless networks

The Error here is the "status: no carrier" and this look like a driver issue or interoperability with my Wireless router. The right way to understand it is to run tcpdump and see why I get no carrier.
Any way, I use OpenBSD 5.5 that have better support for my hardware than FreeBSD 11 CURRENT,
And regardless of the hw support I really enjoying it for many other reasons.

Last edited by ramib; 18th February 2015 at 07:40 AM.
Reply With Quote
  #5   (View Single Post)  
Old 18th February 2015
bsd-keith bsd-keith is online now
Real Name: Keith
Open Source Software user
 
Join Date: Jun 2014
Location: Surrey/Hants Border, England
Posts: 344
Default

Did you set up wpa_supplicant?
__________________
Linux since 1999, & also a BSD user.
Reply With Quote
  #6   (View Single Post)  
Old 18th February 2015
ramib ramib is offline
Real Name: Rami
Port Guard
 
Join Date: Feb 2015
Location: Israel
Posts: 15
Default

Yes I did

sudo /etc/rc.d/netif restart iwn0
Stopping Network: iwn0.
iwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 0c:d2:92:83:93:de
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
Starting wpa_supplicant.
Starting Network: iwn0.
iwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 0c:d2:92:83:93:de
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
Reply With Quote
  #7   (View Single Post)  
Old 18th February 2015
ramib ramib is offline
Real Name: Rami
Port Guard
 
Join Date: Feb 2015
Location: Israel
Posts: 15
Default

Just was reading that the intel driver requires to accept the license agreement
And this might be the problem.

legal.intel_iwn.license_ack=1 # loader.conf

This is not documented on the man page, I Will check it once I have the chance

Last edited by ramib; 18th February 2015 at 08:51 AM.
Reply With Quote
  #8   (View Single Post)  
Old 18th February 2015
blackhole's Avatar
blackhole blackhole is offline
Spam Deminer
 
Join Date: Mar 2014
Posts: 316
Default

Quote:
Originally Posted by ramib View Post
Some of the post is missing but this is the right driver.
Of course it's the right driver, but you are not configuring the correct device/interface.

One of us needs to read the manual and it's not me.

Quote:
Originally Posted by ramib View Post
Any way, I use OpenBSD 5.5 that have better support for my hardware than FreeBSD 11 CURRENT,
And regardless of the hw support I really enjoying it for many other reasons.
I use OpenBSD as my primary OS and if you've no interest in reading documentation, you won't do well there either.
Reply With Quote
  #9   (View Single Post)  
Old 18th February 2015
ramib ramib is offline
Real Name: Rami
Port Guard
 
Join Date: Feb 2015
Location: Israel
Posts: 15
Default

what ?!! :-)

where did you read that I am not interest in reading documentation ?
where did I said that ?
Reply With Quote
Old 18th February 2015
blackhole's Avatar
blackhole blackhole is offline
Spam Deminer
 
Join Date: Mar 2014
Posts: 316
Default

Did you read the the handbook page in the link I posted above?
Reply With Quote
Old 18th February 2015
ramib ramib is offline
Real Name: Rami
Port Guard
 
Join Date: Feb 2015
Location: Israel
Posts: 15
Default

Sorry to disappoint you but it appears that you are not really a FreeBSD user, You can understand much just from the ifconfig command output what was loaded and not loaded.
but yet you are sending me to the documentation and ask me questions that the ifconfig output answer them already.
If you never tried working with this specific device its not a shame not to comment on other member questions.(I think and I believe doesn't help here)
If you care please read slowly from the beginning of this thread and try to understand what is the issue here. Im using FreeBSD in a daily basis for over 10Y
you can be sure that I know how to configure even complex networking in FreeBSD.
Any way there is no point like I said before everything is working for me in OpenBSD (including the iwn) and I don't care about running FreeBSD on my laptop no more.
but thanks any way
Reply With Quote
Old 18th February 2015
blackhole's Avatar
blackhole blackhole is offline
Spam Deminer
 
Join Date: Mar 2014
Posts: 316
Default

If you'd been running FreeBSD for 10 years, you'd see the obvious error you've made, and if you'd been running FreeBSD for 10 years you would not come complaining here about the FreeBSD forums and blaming others for your own mistakes, nor complaining about -CURRENT. So I find that hard to believe.

If there's "no point", then just use OpenBSD, but don't blame FreeBSD, it's forums or it's users for your own errors and apparent inability to read basic documentation.

If you'd read the handbook, this thread would end fast and your wifi would be working in FreeBSD.

//edit:: and now after making all of those edits (yes they're all recorded) to your first post (assuming the FreeBSD system is still installed?) you should try rebooting and see if the wlan0 interface you've now set up in loader.conf comes up and associates on boot? (assuming wpa_supplicant is configured correctly...). If it doesn't you might want to trying using ifconfig with the wlan0 interface rather than iwn0 to troubleshoot it...

//edit: and by the way, that's not how the firmware is loaded. The "device" line is for kernel config.

Last edited by blackhole; 18th February 2015 at 05:13 PM.
Reply With Quote
Old 2nd April 2015
aht0 aht0 is offline
Port Guard
 
Join Date: Nov 2014
Posts: 18
Default

get another wlan card from eBay and case solved. There are tons of Atheros cards and for the most part, dirt cheap. Atheros AR9280/928X/9287 are working with FreeBSD just fine. With careful EEPROM patching you can even make them 5Ghz HOSTAP capable or modify their regdomain to suit your needs.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
wifi performance (rum) mickywicky OpenBSD General 11 25th October 2013 03:08 PM
FreeBSD Current on thumb drives Oliver_H FreeBSD Installation and Upgrading 1 9th July 2009 07:53 PM
Anyone Using FreeBSD-8-Current? MetalHead FreeBSD General 3 31st March 2009 06:50 PM
FreeBSD 8.0-CURRENT (amd64 & i386) VMware Virtual Appliances Available glarkin_at_FreeBSD FreeBSD Installation and Upgrading 1 3rd December 2008 08:49 AM
Two FW + WiFi AP Inquiry revzalot OpenBSD Security 4 14th July 2008 11:24 PM


All times are GMT. The time now is 06:44 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick