Showing posts with label wireless. Show all posts
Showing posts with label wireless. Show all posts

2012-01-07

WNDR3800 wireless performance

After looking at wired performance, I've got a spin at wireless:
Test conditions were as follows:

Router Firmware Version: V1.0.0.24
PC 1: notebook with Intel PRO/Wireless 4965 AG
PC 2: desktop with nVidia Corporation CK804 Ethernet (Gigabit speed)
PC 1 was within one meter from the router

On PC 1:
# dd if=/dev/zero bs=4096 count=102400 | nc 192.168.1.31 1999

On PC 2:
# nc -l 1999 | dd of=/dev/null

Speed reported is from dd output on PC 1:


Speed MB/s
2.4Ghz@54Mbs  2.6
2.4Ghz@130Mbs8.1
2.4Ghz@300Mbs9.3
5Ghz@300Mbs9.0



2012-01-01

WiFi toggle on Asus WL-550gE


I don't feel confortable sleeping with my wifi on, so here is a script to turn it off at night:

First I created 2 scripts, one to turn it off:

# vi /root/wifi-off

#!/bin/sh
 
uci set wireless.@wifi-device[0].disabled=1
wifi
echo wifi disabled

And one to turn it back on:

# vi /root/wifi-on

#!/bin/sh
 
uci set wireless.@wifi-device[0].disabled=0
wifi
echo wifi enabled


Then I started up wifi at boot

# vi /etc/rc.local

# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.

/root/wifi-on

exit 0


Crontab:

# crontab -e

 0  7 * * * /root/wifi-on
59 23 * * * /root/wifi-off


The cron service is not enabled by default in OpenWRT:

# /etc/init.d/cron enable
# /etc/init.d/cron start

Good night...