-
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
![Genuine Apple OEM 60W Magsafe Charger / AC Adapter for A1278 MacBook Pro Air picture](/store/img/g/SkAAAOSwbbFmMWbp/s-l225/Genuine-Apple-OEM-60W-Magsafe-Charger-AC-Adapter-f.jpg)
Genuine Apple OEM 60W Magsafe Charger / AC Adapter for A1278 MacBook Pro Air
$7.99
![Apple OEM QHD IPS LCD Screen Assembly for 16](/store/img/g/dFkAAOSw1D9jLPM1/s-l225/Apple-OEM-QHD-IPS-LCD-Screen-Assembly-for-16-MacBo.jpg)
Apple OEM QHD IPS LCD Screen Assembly for 16" MacBook Pro A2141 2019/20 Display
$299.99
![Genuine OEM Apple USB-C type c to MagSafe 3 Cable 2 M- MLYV3AM/A picture](/store/img/g/N6EAAOSwWOFk3cj-/s-l225/Genuine-OEM-Apple-USB-C-type-c-to-MagSafe-3-Cable-.jpg)
Genuine OEM Apple USB-C type c to MagSafe 3 Cable 2 M- MLYV3AM/A
$22.95
![Genuine OEM Apple 30W USB-C Power Adapter Charger 2m Cable iPhone 15, iPad Pro picture](/store/img/g/P-sAAOSwCF5mYd-Y/s-l225/Genuine-OEM-Apple-30W-USB-C-Power-Adapter-Charger-.jpg)
Genuine OEM Apple 30W USB-C Power Adapter Charger 2m Cable iPhone 15, iPad Pro
$27.00
![Genuine Original OEM APPLE Thunderbolt Cable 2M MC913ZM/A MD861LL/A White 6.5ft picture](/store/img/g/gNQAAOSw01djniha/s-l225/Genuine-Original-OEM-APPLE-Thunderbolt-Cable-2M-MC.jpg)
Genuine Original OEM APPLE Thunderbolt Cable 2M MC913ZM/A MD861LL/A White 6.5ft
$18.50
![Genuine Apple OEM 12W USB Wall Charger & Cable for iPad Pro, Air, and Mini picture](/store/img/g/EDYAAOSwLtFmY2jv/s-l225/Genuine-Apple-OEM-12W-USB-Wall-Charger-Cable-for-i.jpg)
Genuine Apple OEM 12W USB Wall Charger & Cable for iPad Pro, Air, and Mini
$14.99
![Genuine Apple A1882 30W USB-C Power Adapter Apple OEM CHARGER picture](/store/img/g/BC0AAOSwILlmHZ7j/s-l225/Genuine-Apple-A1882-30W-USB-C-Power-Adapter-Apple-.jpg)
Genuine Apple A1882 30W USB-C Power Adapter Apple OEM CHARGER
$22.89
![Apple 45W MagSafe 2 Power Adapter A1436 MacBook Laptop Charger OEM Genuine picture](/store/img/g/TwAAAOSwq7tmNAfA/s-l225/Apple-45W-MagSafe-2-Power-Adapter-A1436-MacBook-La.jpg)
Apple 45W MagSafe 2 Power Adapter A1436 MacBook Laptop Charger OEM Genuine
$6.95
![OEM MagSafe 2 Apple Charger For MacBook Pro Air 13 15 2014 2015 AC Power 85W picture](/store/img/g/6N8AAOSw9HlmcfkD/s-l225/OEM-MagSafe-2-Apple-Charger-For-MacBook-Pro-Air-13.jpg)
OEM MagSafe 2 Apple Charger For MacBook Pro Air 13 15 2014 2015 AC Power 85W
$17.95
![Genuine OEM A1322 Battery For Apple MacBook Pro 13](/store/img/g/SDgAAOSwkKdmc~Xs/s-l225/Genuine-OEM-A1322-Battery-For-Apple-MacBook-Pro-13.jpg)
Genuine OEM A1322 Battery For Apple MacBook Pro 13"A1278 Mid 2009 2010 2011 2012
$25.89