LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 04-17-2017, 02:04 PM   #1
kudsu
Member
 
Registered: Apr 2017
Location: from LA
Distribution: Slackware and anything
Posts: 50

Rep: Reputation: Disabled
Dumb WiFi question?


Wlan0 scan | grep essid

Shouldn't this show all the access points within range. When will it not if everything is working?
 
Old 04-17-2017, 02:55 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
NO!

when you do not include the pkg to find ESSID's and use root permissions.
try this
Code:
sudo iwlist wlan0 scan | grep ESSID

Last edited by BW-userx; 04-17-2017 at 02:56 PM.
 
Old 04-18-2017, 04:27 PM   #3
kudsu
Member
 
Registered: Apr 2017
Location: from LA
Distribution: Slackware and anything
Posts: 50

Original Poster
Rep: Reputation: Disabled
OK my point was not root or sudo I know I have to use them. My tripup was using grep for essids and not finding the access point on my machine. It was present in the whole house but not visible to my machine.
 
Old 04-18-2017, 04:34 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by kudsu View Post
OK my point was not root or sudo I know I have to use them. My tripup was using grep for essids and not finding the access point on my machine. It was present in the whole house but not visible to my machine.
pls make your example more true so others including me will understand you better then.

because as you wrote it. that will never work. as you presented your question with an example that'd never work .. their lays your mistake.

you usage for grep is case sensitive because of the way you wrote it. That too is your slip up.

had you ran the proper command properly using root it would have reviled that eesid is spelled EESID maybe then you'd of tried that instead. I do not know.

whatever the case maybe

case insensitive would be to just add the -i to your grep command.
 
Old 04-18-2017, 05:10 PM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
$ sudo iwlist wlan0 scanning

$ sudo iw dev wlan0 scan

Various ways to scan the area.
 
1 members found this post helpful.
Old 04-19-2017, 05:41 AM   #6
kudsu
Member
 
Registered: Apr 2017
Location: from LA
Distribution: Slackware and anything
Posts: 50

Original Poster
Rep: Reputation: Disabled
Forgive and be my friends. I will be on my best behavior from now on.

There is an internet symbol on the task bar before I went to the command line I checked it for signal normally it would show all access points in the area. It showed none. I am running Mint 17.3. Funny if my WiFi was not working why did it not show other access points that were up.This is a problem any ideas?
 
Old 04-19-2017, 07:09 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,681

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
That internet symbol which shows a not connected, wireless or wired icon is the NetworkManager applet. When using a wireless adapter it periodically scans for access points and will automatically find and connect to the AP with the strongest signal.

If the applet AP list is empty it could be just desktop / NetworkManager / d-bus communication glitch. The quick check would be to restart the computer. If you run the iwlist scan command more then once and it does not show your AP (and your within its range) then you might have a hardware/driver problem. I assume that all other wireless devices are working correctly.
 
1 members found this post helpful.
Old 04-19-2017, 07:51 AM   #8
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
Sometimes I need to bring up the interface (load driver and power up) before I can scan. Once it's up I don't need to do that step again (until reboot).

$ sudo ifconfig wlan0 up
$ sudo iwlist wlan0 scanning

$ sudo ip link dev wlan0 up
$ sudo iw dev wlan0 scan
 
1 members found this post helpful.
  


Reply



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
Another Dumb Question ?? xedios Linux - Software 2 09-01-2004 06:03 PM
Just a dumb question melinda_sayang General 11 04-27-2004 06:09 AM
dumb question! Athlon_Jedi Linux - Newbie 6 05-20-2003 12:51 PM
Dumb Question spuppett Linux - Software 8 02-13-2003 12:56 AM
Really Dumb question ddrackham Linux - General 3 02-06-2003 02:02 AM

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

All times are GMT -5. The time now is 10:54 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
Open Source Consulting | Domain Registration