ross's blog

Stumble

Guess the trees across the road that sit between my antenna and Skye have grown - my connectivity is not getting better :-(
Site stumbled just now, but only Skye shows up (well Air-Stream AP's that is).

Kismet does not work with my USB wifi dongle, so I used the following bit of bash script:


while true
do
#reset
iwlist wlan1 scanning >> scan_2_nov_2011_1
sleep 1
tail -n 50 scan_2_nov_2011_1
ls -lh scan_2_nov_2011_1
#reset
done

Then

cat scan_2_nov_2011_1 | grep ESSID | awk '{print($1)}' | awk '! a[$0]++'

to pull out unique ESSIDs... which gave

ESSID:"BigPondDA93E3"
ESSID:"BigPond9A29F9"
ESSID:"wireless"
ESSID:"aitel-adeltwr-norwood"
ESSID:"BigPond1C28"
ESSID:"betsuin_home"
ESSID:"WLAN"
ESSID:"IndianSpiceCentre"


R100 Wifi WebCam

Have wanted to set up my R100 as a webcam server and finally gave it a go when a mate wanted to use his to monitor his business premises.
OpenWRT runs great on them but apparently the 2.6 kernel is broken on the units with regard to wifi but if you want to use a webcam the 2.6 kernel is a must.

Anyway I found forum reports in which people reckoned it was working and long story short me too...

Install OpenWRT to your R100:

• Pull the power plug, press and hold the reset button, plug power to the device and wait until the PWR LED starts flashing slowly (almost immediately). Now release the reset button and upload the firmware by TFTP using the following commands
sudo arp -s 192.168.1.1 xx:xx:xx:xx:xx:xx


New WebCam

Just setup a friend's R100 as a remote unit for a webcam, figured it would also be a good solution for my wifi box and I also have a UVC webcam and mjpg_streamer compiled fine on my Debian box...

http://10.122.128.66:8080/?action=stream

- Enjoy!


WebCam

Night time webcam is now working @ http://10.122.128.66/webcam/webcam.html
Daytime is still whiteout as auto white balance is unsupported for zc0301,gspca - should look at that...

I could put my 3 x sunglasses lenses back on to get daytime img but the nighttime "as is" is rather nice.

Pointed at Semaphore - NewYears' Hanabi!

http://10.122.128.66/webcam/webcam.html


USB BiQuad

ebayed a usb 802.11 b/g/n adapter and married it to my biquad
runs fine on my machines but the device doe not work yet with kismet - no moniter mode - so much for my eeepc happy little ubuntu boxen it is. tried to get a usb xp running for it (netstumbler works great with the device) without success - the i5 desktop boots fine into xp though from usb stick. guess I might have to try the xp to internal ssd then dd to an sd card, kind of makes me unhappy having to wipe ubuntu for xp though ;-)


Router Board Snaps

Just a couple of snaps of my RouterBoard being mounted into its box...

Enjoy!


New IP for Services

Betsuin Air-Stream WAN services can now be found at 10.122.128.66
Enjoy!


RB on the Roof

The unit is on the roof and pinging Air-Stream-Skye:

[admin@433AH] > ping 10.122.128.1
10.122.128.1 64 byte ping: ttl=64 time=12 ms
10.122.128.1 64 byte ping: ttl=64 time=11 ms
10.122.128.1 64 byte ping: ttl=64 time=11 ms
10.122.128.1 64 byte ping: ttl=64 time=12 ms
10.122.128.1 64 byte ping: ttl=64 time=55 ms
10.122.128.1 64 byte ping: ttl=64 time=11 ms
10.122.128.1 64 byte ping: ttl=64 time=11 ms
10.122.128.1 64 byte ping: ttl=64 time=11 ms
8 packets transmitted, 8 packets received, 0% packet loss
round-trip min/avg/max = 11/16.7/55 ms
[admin@433AH] >


RouterBoard

At last upgrading my node to an RB422AH with an R52Hn radio - not on the roof yet but at least in it's box.


Biggest AS

Playing around with nagios configuration again and have mapped the greatest number of pingable IPs on Air-Stream to date:

route -n | awk '{print($1" " $3)}' | awk '!a[$0]++' | awk '{print("ipcalc "$1"/"$2)}' | sh | awk '{if ($1 == "Network:") print($2)}' | awk '{print("nmap -sP -n "$0)}' | sh | awk 'BEGIN {a=0} {if ($6 == "up.") a++} END {print(a)}'

a = 439

I can successfully tcptraceroute to 339 via scripts - have yet to implement "ping -R" which seems to work when tcptraceroute/traceroute fails. Of course "ping -R" won't reach right across the Air-Stream network due to limited hop buffering... hmm

Anyways for now nagios is mapping 339 Air-Stream IPs!

Hit betsuin.skye.wan/nagios/ if you are on Air-Stream
guest/guest