-
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
Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig Copper UPOE Network Switch
$499.00
Cisco Catalyst C9300-24UX-A 24 Port 10G/mGig UPOE Network Switch, no module
$279.97
Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack
$140.00
Cisco Nexus N9K-C93108TC-EX 48-Port 10G RJ-45 6x100G QSFP Network Switch W/Ears
$499.99
Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850
$30.99
Cisco SFP-10G-SR 10-2415-03 10 Gigabit Transceiver LOT OF 10 @ C
$39.99
Cisco C3850-NM-4-10G 4 Port Network Exp.Module for 3850
$124.90
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
Cisco AIR-CT3504-K9 Wireless Controller No AC Adapter 15-4
$299.99
Cisco Nexus N9K-C9372TX 48P 10G Gigabit Ethernet 6x QSFP+ 40G Switch 2x650W PSU
$199.99