| Nodes Available | Node Map | Ip Allocation | Node One | ||
| Node One Geo | Node One Woolly | Node One Frisbee | Node One Happy | Node One Shoe | NodeOneFengshui? |
woolly.nodeone.juneau
Node One Woolly is a laptop I picked up at state surplus, it is running Debian with a Pentium 2 266 512K w/ ~143MB of ram. It has about a 4GB harddrive a 3Com PCMCIA card and it runs all the time in the attic. The screen is kind of screwed up but since I only need to use it very rarely it does not cause me a problem. Wireless access is provided by the famous uber SenaoCard? running the development version of hostap 0.2.3.
woolly runs NoCat? which hooks up to vpn.juneauwireless.net in order to authenticate and provide network access.
woolly also has squid running with adzapper and squid-prefetcher, this also has a ICP connection to Node One Geo to share some of the cache.
woolly will auto-add and bridge WDS peers!! If you want to peer and not bridge please let me know and we can setup a routed connection instead.
Here is woolly's wireless start script:
#!/bin/sh echo 1> /proc/sys/net/ipv4/ip_forward killall hostapd killall hostapd ifconfig br0 down iwconfig wifi0 down iwconfig wifi0 up iwconfig wifi0 essid juneauwireless iwpriv wlan0 wds_del 00:0F:66:D0:E0:30 iwpriv wlan0 wds_del 00:0F:3D:AA:34:94 iwpriv wlan0 wds_del 00:12:17:D1:6C:43 /etc/init.d/networking restart /usr/sbin/hostapd -B /etc/hostapd/hostapd.conf #marc's house /sbin/iwpriv wlan0 wds_add 00:0F:3D:AA:34:94 #harris boat harbor /sbin/iwpriv wlan0 wds_add 00:12:17:D1:6C:43 #kevins house /sbin/iwpriv wlan0 wds_add 00:13:10:00:3E:AB #echo done adding WDS sleep 1 /sbin/ifconfig wlan0 0.0.0.0 up /sbin/iwconfig wifi0 channel 1 /sbin/iwconfig wlan0 channel 1 #wds 4-frame (not 3) #let's try setting it to 0 /usr/sbin/prism2_param wlan0 wds_type 4 #do NOT auto-add other APs /usr/sbin/prism2_param wlan0 autom_ap_wds 1 #other_ap_policy: # 0 = skip all beacons # 1 = accept beacons with our SSID # 2 = accept beacons from all APs # 3 = accept all beacons (even from IBSS) /usr/sbin/prism2_param wlan0 other_ap_policy 1 # ap_bridge_packets: # 0 = do not bridge packets between associated stations, i.e., # just pass them to upper layers for handling # 1 = bridge packets directly between associated stations, i.e., # upper layers do not even see these packets /usr/sbin/prism2_param wlan0 ap_bridge_packets 0 # ap_auth_algs: allowed authentication algorithms # 0 = none (no authentication will succeed) # 1 = only open # 2 = only shared key # 3 = open or shared key (default) /usr/sbin/prism2_param wlan0 ap_auth_algs 3 #increase bandwidth! decrease beacons from 10 times a second to once a second #eep put it out at 2 times a second now /usr/sbin/prism2_param wlan0 beacon_int 100 sleep 1 /sbin/ifconfig wlan0 10.121.0.2 up /sbin/ifconfig wlan0wds0 0.0.0.0 up /sbin/ifconfig wlan0wds1 0.0.0.0 up #node high tide ifconfig wlan0wds1 10.121.4.14 netmask 255.255.255.252 broadcast 10.121.4.15 up ifconfig wlan0wds2 10.121.4.22 netmask 255.255.255.252 broadcast 10.121.4.23 up #route add -net 10.121.6.0 netmask 255.255.255.0 gw 10.121.4.13 /usr/sbin/brctl addbr br0 /usr/sbin/brctl addif br0 eth0 /usr/sbin/brctl addif br0 wlan0 /usr/sbin/brctl addif br0 wlan0wds0 /sbin/ifconfig eth0 0.0.0.0 up /sbin/ifconfig wlan0 0.0.0.0 up /sbin/ifconfig wlan0wds0 0.0.0.0 up /sbin/ifconfig br0 10.121.0.2 netmask 255.255.255.0 up route add -host 66.79.185.80 gw 10.121.0.1 route add 10.121.0.1 br0 route add 10.121.0.8 br0 brctl stp br0 on /etc/init.d/dhcp restart route add 66.79.185.80 gw 10.121.0.1 route add 10.121.4.10 gw 10.121.0.8 route add default gw 10.121.0.1
added ospf now to woolly here are the config files:
Added OSPF to geo:
config files as follows in case people are interested
/etc/quagga/daemons
zebra=yes bgpd=no ospfd=yes ospf6d=no ripd=no ripngd=no
/etc/quagga/zebra.conf
hostname woolly interface lo description Loopback interface br0 multicast bandwidth 100000 description wireless network interface wlan0wds1 multicast bandwidth 11000 description connection to NodeHighTide interface wlan0wds2 multicast bandwidth 11000 description connection to Kevin log file /var/log/quagga/zebra.log
/etc/quagga/ospfd.conf
! -*- ospf -*-
!
! OSPFd sample configuration file
!
!
hostname woolly
!password zebra
!enable password please-set-at-here
!
!router ospf
! network 192.168.1.0/24 area 0
interface lo
interface br0
description ethernet<->wireless bridge
ip ospf cost 3
ip ospf priority 2
interface wlan0wds1
description wds bridge to nodehightide
ip ospf cost 21
ip ospf priority 0
interface wlan0wds2
description wds bridge to kevin
ip ospf cost 21
ip ospf priority 0
router ospf
redistribute kernel
redistribute connected
redistribute static
network 10.0.0.0/8 area 0
network 192.168.0.0/16 area 0
!log stdout
log file /var/log/quagga/ospfd.log
and that's it now dynamic routing :)
Host AP driver diagnostics information for 'wifi0'
NICID: id=0x800c v1.0.0 (PRISM II (2.5) PCMCIA (SST parallel flash))
PRIID: id=0x0015 v1.1.0
STAID: id=0x001f v1.8.0 (station firmware)
hostap 0.2.5
/etc/hostap/hostapd.conf
interface=wlan0 logger_syslog=-1 logger_syslog_level=2 logger_stdout=-1 logger_stdout_level=2 debug=2 dump_file=/tmp/hostapd.dump daemonize=1 ssid=juneauwireless macaddr_acl=0 auth_algs=3 ieee8021x=0 minimal_eap=0 eap_message=juneauwireless eapol_key_index_workaround=0 own_ip_addr=10.121.0.2