LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-24-2017, 07:33 AM   #1
lfslfs
LQ Newbie
 
Registered: Dec 2015
Posts: 28

Rep: Reputation: Disabled
use iwconfig try to connect with the wlan, then there's no /proc/net/wireless


I am trying to connect to wifi with a minimum system

at first I loaded the module:

modprobe wl18xx
modprobe wlcore_spi

It shows wlcore: loaded.

Then if I type "ifconfig -a". It shows the wlan0 is there. Then "ifconfig wlan0 up" , it shows:

ifwlcore: PHY firmware version: Rev 8.2.0.0.236
wlcore: firmware booted(Rev 8.9.0.0.69)
IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

But when I type "ifconfig", the wlan0 will be shown on the list.

If I type 'iwconfig wlan0', it shows

wlan0 no wireless extension

If I type 'iwconfig wlan0 essid mywlan', it shows

cannot read /proc/net/wireless
Error for wireless request "set essid"
set failed on device wlan0; invalid argument

which step is wrong?

more weird is, when I try to use hostapd to make this wlan0 as an access point. It worked...

Last edited by lfslfs; 11-24-2017 at 07:36 AM.
 
Old 11-25-2017, 05:35 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 6,997
Blog Entries: 4

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
you forgot to tell us some general system info both hardware and os.
your username suggests LFS?

you loaded a kernel module, but is it the correct one?
does wifi work now (before trying to connect)?
the output of 'ip link' could shed some light. or 'lspci -k' or lsusb...
 
Old 11-25-2017, 06:12 AM   #3
lfslfs
LQ Newbie
 
Registered: Dec 2015
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
you forgot to tell us some general system info both hardware and os.
your username suggests LFS?

you loaded a kernel module, but is it the correct one?
does wifi work now (before trying to connect)?
the output of 'ip link' could shed some light. or 'lspci -k' or lsusb...
Hi. yes, after I loaded the wifi module, the wifi works. Cause I tried to make it a wifi access point with hostapd and it worked.

for the 'ip link' or 'lspci -k', I haven't tried yet. Thnx for the advice
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a /proc/net/... file for IPv6 similar to /proc/net/arp for mac addresses? systemlordanubis Linux - Networking 1 03-02-2012 07:36 PM
Connect to wireless using iwconfig ahoeffner Linux - Newbie 8 09-02-2011 11:03 AM
Possible to connect to WPA2 secured WLAN w/ only ifconfig & iwconfig? gmic Linux - Newbie 3 07-15-2011 04:35 PM
proc/net/wireless please HELP plugo Linux - Kernel 6 06-09-2009 07:01 PM
Relationship between the signal level get from iwconfig and /proc/net/wireless? christyyim Linux - Wireless Networking 0 12-19-2008 12:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration