-
Senior Member
registered user
Finding a place in an internet crowd.
.
I know the 2.4 GHz wifi band has eleven channels, but I think it has been shown
that it is better to be on channel 1, 6 or 11 and not somewhere in-between.
I assume it then is better to be on one of these three where your signal is
better than other competing users on that channel. Better is a smaller negative
dBm number. -35 is 'much better' than -80, for example.
Knoppix's NetworkManagerApplet gives visual indications of competing user's
signal strength, but does not help show who's on which channel. In my neighborhood,
there are currently twenty-two internet subscribers. They have independently
chosen to align themselves almost uniformly in only the three channels 1, 6 and 11.
I found it handy to have a small alias program channel_1, to help me decide which
channel to select for myself. As root, I put this in /etc/profile:
Code:
alias channel_1="sudo iwlist wlan0 scan | grep -e Freq -A 3 > text; less text | grep '(Channel 1)' -A 3 | grep -v key"
Then, as knoppix when I enter channel_1, I get something like:
Code:
knoppix@Microknoppix:~$ channel_1
Frequency:2.412 GHz (Channel 1)
Quality=45/70 Signal level=-65 dBm
ESSID:"belkin.594"
--
Frequency:2.412 GHz (Channel 1)
Quality=21/70 Signal level=-89 dBm
ESSID:"K7964"
--
Frequency:2.412 GHz (Channel 1)
Quality=29/70 Signal level=-81 dBm
ESSID:"HP-Print-57-Officejet Pro 8600"
--
Frequency:2.412 GHz (Channel 1)
Quality=23/70 Signal level=-87 dBm
ESSID:"E5JA2"
--
Frequency:2.412 GHz (Channel 1)
Quality=23/70 Signal level=-87 dBm
ESSID:""
Obviously one may easily coopt 'channel_1' into 'channel_6' or 'channel_11' easily enough
not to require anything more elegant or comprehensive.
In this example, Channel 1 looks like a good choice for my Belkin router.
-
Senior Member
registered user
A fast upgrade:
.
Here's a modest refinement which works for 'all wifi channels', although
in the US there's just 1 thru 11, and in my neighborhood, only 1, 6 & 11
are used. I've replaced the former alias statement in /etc/profile with
a similar, more general function definition. The function Channel is
defined as follows:
Code:
Channel() { # Summarize current state of a wifi channel.
sudo iwlist wlan0 scan | grep -e Freq -A 3 | grep '(Channel '$1')' -A 3 |
grep -v key | grep -v Freq
}
When I enter Channel 1, for example, I get the following, now:
Code:
knoppix@Microknoppix:~$ Channel 1
Quality=61/70 Signal level=-49 dBm
ESSID:"belkin.594"
--
Quality=26/70 Signal level=-84 dBm
ESSID:"Amped_SR"
--
Quality=24/70 Signal level=-86 dBm
ESSID:"HP-Print-57-Officejet Pro 8600"
--
Quality=23/70 Signal level=-87 dBm
ESSID:""
--
Quality=22/70 Signal level=-88 dBm
ESSID:""
--
Quality=22/70 Signal level=-88 dBm
ESSID:"E5JA2"
--
Quality=23/70 Signal level=-87 dBm
ESSID:""
Last edited by utu; 01-26-2013 at 10:09 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports picture](/store/img/g/fxsAAOSwZD5l6PSG/s-l225/1U-BareMetal-pfsense-opnsense-Router-Firewall-DNS-.jpg)
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
![POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives picture](/store/img/g/87EAAOSwtM5jMyRz/s-l225/POGO-Linux-WEBWARE-1150-Rack-Mount-Server-Pentium-.jpg)
POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives
$152.99
![VPS Windows / Linux Server - 12GB RAM, 4 Core, 1 TB HD, Unltd. bandwidth 1 Year picture](/store/img/g/BvgAAOSwxVReHqHl/s-l225/VPS-Windows-Linux-Server-12GB-RAM-4-Core-1-TB-HD-U.jpg)
VPS Windows / Linux Server - 12GB RAM, 4 Core, 1 TB HD, Unltd. bandwidth 1 Year
$278.84
![SQL Server 2019 Standard (10 CAL) - Windows and Linux, Physical License picture](/store/img/g/ArsAAOSwK8hmckYN/s-l225/SQL-Server-2019-Standard-10-CAL-Windows-and-Linux-.jpg)
SQL Server 2019 Standard (10 CAL) - Windows and Linux, Physical License
$249.00
![Globalscale Technologies DreamPlug AppNeta M22 Linux Server Dual GB Ethernet picture](/store/img/g/Xs4AAOSwjrlkdWYQ/s-l225/Globalscale-Technologies-DreamPlug-AppNeta-M22-Lin.jpg)
Globalscale Technologies DreamPlug AppNeta M22 Linux Server Dual GB Ethernet
$24.99
![Dell PowerEdge R210 II Rackmount Server Xeon E31220L 16Gb 1TB + 500GB LINUX 6.6 picture](/store/img/g/v-EAAOSwjuZmMTyR/s-l225/Dell-PowerEdge-R210-II-Rackmount-Server-Xeon-E3122.jpg)
Dell PowerEdge R210 II Rackmount Server Xeon E31220L 16Gb 1TB + 500GB LINUX 6.6
$129.00
![6x Fedora Linux Computer Sticker Decals Desktop Laptop Server Badge Decal Vinyl picture](/store/img/g/G40AAOSwF8xl3jgT/s-l225/6x-Fedora-Linux-Computer-Sticker-Decals-Desktop-La.jpg)
6x Fedora Linux Computer Sticker Decals Desktop Laptop Server Badge Decal Vinyl
$2.99
![PFSENSE 15](/store/img/g/uCMAAOSw3xhj3a06/s-l225/PFSENSE-15-Depth-Server-Supermicro-X11SSH-F-E3-124.jpg)
PFSENSE 15" Depth Server Supermicro X11SSH-F E3-1240 V5 V6 - 128GB NVME 32GB RAM
$359.00
![VPS Windows / Linux Server 8GB RAM + 1TB HDD + Unlimited Bandwidth [ 1 Year ] picture](/store/img/g/MkQAAOSwzfFeL8Me/s-l225/VPS-Windows-Linux-Server-8GB-RAM-1TB-HDD-Unlimited.jpg)
VPS Windows / Linux Server 8GB RAM + 1TB HDD + Unlimited Bandwidth [ 1 Year ]
$278.83
![1U Supermicro Server 10 Bay 2x Intel Xeon 3.2Ghz Total 16 Cores 64GB DDR4 2x 10 picture](/store/img/g/IxIAAOSwL5NjRJXz/s-l225/1U-Supermicro-Server-10-Bay-2x-Intel-Xeon-3-2Ghz-T.jpg)
1U Supermicro Server 10 Bay 2x Intel Xeon 3.2Ghz Total 16 Cores 64GB DDR4 2x 10
$377.00