-
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
![USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT picture](/store/img/g/EI0AAOSwsBpju-XZ/s-l225/USB-Flash-Drive-Memory-Stick-Pendrive-Thumb-Drive-.jpg)
USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT
$336.27
![1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture](/store/img/g/PDMAAOSwlhdmFJ5R/s-l225/1TB-2TB-USB-3-0-Flash-Drive-Thumb-U-Disk-Memory-St.jpg)
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$80.39
![Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot picture](/store/img/g/oroAAOSwsJNmFPcr/s-l225/Type-C-USB-3-0-Flash-Drive-Thumb-Drive-Memory-Stic.jpg)
Type C USB 3.0 Flash Drive Thumb Drive Memory Stick for PC Laptop 1TB 2TB lot
$73.29
![Lot SanDisk USB Flash Drive Cruzer Blade Glade Force Ultra Flair Luxe 3.0 3.1 picture](/store/img/g/oQUAAOSwxwNj1Sfz/s-l225/Lot-SanDisk-USB-Flash-Drive-Cruzer-Blade-Glade-For.jpg)
Lot SanDisk USB Flash Drive Cruzer Blade Glade Force Ultra Flair Luxe 3.0 3.1
$149.99
![1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture](/store/img/g/E40AAOSwNztmc~a7/s-l225/1TB-2TB-USB-3-0-Flash-Drive-Thumb-U-Disk-Memory-St.jpg)
1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot
$7.99
![64GB USB 3.0 Flash Drive USB Memory Stick High Speed Retractable USB Thumb Drive picture](/store/img/g/1Q4AAOSwDeRivXJz/s-l225/64GB-USB-3-0-Flash-Drive-USB-Memory-Stick-High-Spe.jpg)
64GB USB 3.0 Flash Drive USB Memory Stick High Speed Retractable USB Thumb Drive
$6.99
![Lenovo Flash Drives 2TB Usb 3.0 Mini High Speed Metal Pendrive. picture](/store/img/g/g-MAAOSwXOtmZxRL/s-l225/Lenovo-Flash-Drives-2TB-Usb-3-0-Mini-High-Speed-Me.jpg)
Lenovo Flash Drives 2TB Usb 3.0 Mini High Speed Metal Pendrive.
$9.99
![2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 4 IN1 picture](/store/img/g/FU0AAOSwMdFmC8uX/s-l225/2TB-USB-3-0-Flash-Drive-Memory-Photo-Stick-for-iPh.jpg)
2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 4 IN1
$11.38
![USB Flash Drive Thumb Drive Memory Stick Pendrive 4GB, 8GB, 32GB, 64GB 128GB LOT picture](/store/img/g/F24AAOSw8TNj9zeD/s-l225/USB-Flash-Drive-Thumb-Drive-Memory-Stick-Pendrive-.jpg)
USB Flash Drive Thumb Drive Memory Stick Pendrive 4GB, 8GB, 32GB, 64GB 128GB LOT
$308.13
![SanDisk Cruzer Glide USB 3.0 16GB 32GB 64GB 128GB 256GB Flash Drive Memory Lot picture](/store/img/g/9aAAAOSwBrNii2iZ/s-l225/SanDisk-Cruzer-Glide-USB-3-0-16GB-32GB-64GB-128GB-.jpg)
SanDisk Cruzer Glide USB 3.0 16GB 32GB 64GB 128GB 256GB Flash Drive Memory Lot
$239.99