Re: Solved - Re: F21 Xfce on Asus ee900 not seeing wireless adapter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 12/25/2014 11:54 AM, Garry T. Williams wrote:
On 12-25-14 11:20:01 Robert Moskowitz wrote:
information.  Try it when there are a few APs around, then try and pick
out the couple of lines each per AP you want.  I suppose I could pipe
the output into something that would look for like Channel, ESSID, and
Quality, but I am not good at writing regular expressions to put into
grep, say.
Aw, it's not that hard.  You just want to pick out any line with one
of several words in it.  Good old grep(1) will do it no problem.  I
suppressed stderr from the iwlist(8) command so the error message
about interface lo doesn't show up.  Also, the original grep(1)
command doesn't allow for alternation (|), so I use grep -E or egrep:

     $ iwlist scan 2>/dev/null|egrep 'Channel|Quality|ESSID|Cell'

Why, thank you! I forgot all about egrep over grep. I will make general note of this for future use.

	      Cell 01 - Address: 00:30:BD:93:E9:2C
			Channel:4
			Frequency:2.427 GHz (Channel 4)
			Quality=53/70  Signal level=-57 dBm
			ESSID:"vfr"
	      Cell 02 - Address: EC:1A:59:07:3D:46
			Channel:11
			Frequency:2.462 GHz (Channel 11)
			Quality=32/70  Signal level=-78 dBm
			ESSID:"belkin.d46"
     $

It looks like substituting "Frequency" for "Channel" will eliminate a
line of output without losing what you say you want on each AP.


--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux