John
05-12-2004, 11:19 AM
================
Download the Dev88 build from www.locustworld.com. Set up two
PC's and they should mesh.
IF TWO MESH BOXES DON'T MESH:
Do the boxes see each other if you run "sigspy"?
Do the boxes see each other if you run "iwlist wlan0 scan"?
Have they blocked each other (entries in /proc/aodv/blocked)?
==================
vtund #
pingtest #pings all the nodes
speedtest
speeddaemon #open a shell window on router and type speeddaemon use to check mesh or backhaul
iptables -L , #can be used to block meshboxes of the network.
cwradius username password
crontab -e # Issue blocknode command here
crontab -l
minsig # Same as blocknode
radping # Pings radius server
ifconfig #shows the interface configuration, the same as the ethernet/wlan section of 'reporter'
ifconfig , #increase or decrease senoa radio power
ifconfig wlan0 txpower 200mw # should this not be the iwconfig command?
ifconfig wlan0 txpower 50mw
iwconfig #shows the wireless interface configuration - many options available
iwconfig wlan0 txpower auto
iwconfig eth0 essid any
iwconfig eth0 essid "My Network"
iwconfig wlan0 essid off
iwconfig eth0 freq 2.422G
iwconfig eth0 channel 3
See http://leaf.sourceforge.net/devel/jnilo/manpages/iwconfig.html
iwlist - useful stats from wireless interface - more info at leaf.sourceforge
iwlist wlan0 scanning, #far node looks back upstream if there is noise on network
# Shows you everything the node can see
Cat /proc/aodv/monitor # use this with Iwlist wlan0 scanning command
unblock #commnand unblocks a node if wiana blocked it.
reporter #gives status of all meshboxes eth etc.
"speedtest &" on the gateway and "speeddaemon" and
"speeddaemon up" on the repeater nodes.
ssh #secure shell into a meshbox and then issue command like getandverify
ssh <ipadres> # Use for remote control of a meshbox
getandverify test, #tests to see if wiana.org is available, should say WIANA REACHABLE
getandverify tobuild25dev90 , #to upgrade to a specific build
getandverify tobuild25dev87
getandverify tobuild25dev85
checkuplinkvalidity #after you ssh into box, should say OK.
distread #used before a 'remotemanagement' this cleans up some things.
Careful! Its is roughly the same as 'factoryreset' Seems to kill the
dhcpd.leases file (?)
factoryreset #puts meshbox back to original factory state. Will require you to
get a new certificate again from wiana and get the wiana settings again.
remotemanagement #use this to get the Mesh node to connect to Wiana and get the latest settings. The Mesh node should do this automatically every 30mins, but sometimes you just don't want to wait.
sigspy #use to check if your node can see the other nodes. Gives signal strength.
arp -n # Networking command
mmii-tool #allows interrogation of status of ethernet module, and allows you to specify settings or to reset the ethernet
cat /proc/aodv/... #in here you can find files with current details of the meshing and aodv operation.
cat /var/state/dhcp/dhcpd.leases #tells you which DHCP leases have been given out to clients and when they expire.
==============
CONNECT Linksys Access Point to MESH:
Attaching a standard AP to the ethernet port of a repeater node is a
really good way to offer a local channel for wireless users. Use the "wired
captiveportal" option to enable authentication over it and make sure to use a
different channel/essid to your mesh. The AP needs to be operating in
standard transparent bridging mode which is normally the default.
This wont work on a gateway node though and if the "wired captive
portal" option is enabled on a gateway it is likely to try and authenticate the
upstream router resulting in no traffic being allowed to flow.
==============
STATIC IP assignment tutorial vers. 1
Thursday, 13 May 2004
To establish static settings before you can connect to wiana:
Once booted, login on the console as root user (or SSH in as root) and create a file called /etc/STATIC
It is recommended to use the vi editor for this
create the file like so:
1.2.3.4 netmask 255.255.255.0
3.4.5.6
7.8.9.0
Where 1.2.3.4 is the IP address you want for the meshAP device and replace 255.255.255.0 with your local netmask and 3.4.5.6 with your gateway address. 7.8.9.0 is optional address for the static name server.
IMPORTANT - make sure you end the last line with a carriage return.
Once this is done, issue the command "reboot" and the system should come back up with the static address. You'll want to duplicate the same settings on the wiana management page for the meshap once registered. Issue the command "remotemanagement" to force a connection to wiana. Configuring a static connection in wiana Go to bottom right of management page to Core Settings Enter values in the fields for:
static eth addr:
static eth netmask:
static eth gateway:
and optionally
static eth dns:
The values in the Wired local 192.168.: section are overridden by the static settings.
===============
STATIC registration on Wiana tutorial vers. 2
WIANA REGISTRATION tutorial from www.ultramesh.com
wianaregister # ?
Ultramesh MeshAP
UltraMesh Quick Setup
Register at wiana.org to receive an encryption key and management of nodes.
Email Wiana login name to nodes@ultramesh.com.
Node will be transferred to your account.
Nodes are set up for Infrastructure mode with the ESSID of Ultramesh and DHCP client on the Ethernet interface. If your DHCP server does not hand out an address due to an incompatibility, use the following instructions to set a static IP on the box.
Connect wirelessly and obtain an address. From there, using SSH, log into the unit using the gateway address on the laptop you are using. The login username is root and the password terra7. From there, enter the following commands:
vi /etc/STATIC <ENTER>
Then edit the file as follows:
Hit <INS> key and enter
192.x.x.x 255.x.x.x
192.x.x.1
Where the ip address you want on the unit is the first 192.x.x.x, the subnet is the 255.x.x.x and the gateway is 192.x.x.1. Change those values to whatever makes sense for your network.
Then hit <ESC> and then :wq <ENTER>.
Type reboot <ENTER> and start a ping to see if the box is communicating via the Ethernet port.
================
wiana.settings webscript
http://www.melissen.net/cgi-bin/foe
http://www.melissen.net/cgi-bin/foe carries the most recent version of
wiana.settings web script, a script that allows you to quickly edit
wiana.settings and reboot your node, without having to wait for wiana
or having to log in with ssh and manually edit /etc/wiana.settings
The scripts on the web page are for testing. Carefully study the write
script - it does not write /etc/wiana.settings directly. It has a
commented out line for
/tmp/wiana.settings. If you remove the # , a
/tmp/wiana.settings will be created which can be cp'ed to
/etc/wiana.settings during boot,
before /etc/wiana.settings is being parsed by the locust scripts.
These scripts are quick hacks, useful for testing, but don't run them
in production as wiana compatibility has not yet been tested fully.
Advantages:
- bash only, no need for perl, java or anything else
- changes are immediate
- wiana compatibility
- easy to change
FTP files into a meshhbox if you can't attach a CDROM to it(sits on a mountain):
use scp.... its secure copy shell like ssh but for coping... runs like
ftp. you can scp between nodes , or using a windows box, and something like
winscp ( http://winscp.sourceforge.net/eng/ )
http://winscp.sourceforge.net/eng/download.php
================
THERE MUST BE 9DB seperation between signal and noise:
General rule of thumb, look for 9db separation. The value does not
matter, only the difference between the two.
So on your example - level:-25 dBm Noise level:-38 dB - good signal
the rest I would regard as unworkable.
Joe Roper
www.meshworks.ws
Download the Dev88 build from www.locustworld.com. Set up two
PC's and they should mesh.
IF TWO MESH BOXES DON'T MESH:
Do the boxes see each other if you run "sigspy"?
Do the boxes see each other if you run "iwlist wlan0 scan"?
Have they blocked each other (entries in /proc/aodv/blocked)?
==================
vtund #
pingtest #pings all the nodes
speedtest
speeddaemon #open a shell window on router and type speeddaemon use to check mesh or backhaul
iptables -L , #can be used to block meshboxes of the network.
cwradius username password
crontab -e # Issue blocknode command here
crontab -l
minsig # Same as blocknode
radping # Pings radius server
ifconfig #shows the interface configuration, the same as the ethernet/wlan section of 'reporter'
ifconfig , #increase or decrease senoa radio power
ifconfig wlan0 txpower 200mw # should this not be the iwconfig command?
ifconfig wlan0 txpower 50mw
iwconfig #shows the wireless interface configuration - many options available
iwconfig wlan0 txpower auto
iwconfig eth0 essid any
iwconfig eth0 essid "My Network"
iwconfig wlan0 essid off
iwconfig eth0 freq 2.422G
iwconfig eth0 channel 3
See http://leaf.sourceforge.net/devel/jnilo/manpages/iwconfig.html
iwlist - useful stats from wireless interface - more info at leaf.sourceforge
iwlist wlan0 scanning, #far node looks back upstream if there is noise on network
# Shows you everything the node can see
Cat /proc/aodv/monitor # use this with Iwlist wlan0 scanning command
unblock #commnand unblocks a node if wiana blocked it.
reporter #gives status of all meshboxes eth etc.
"speedtest &" on the gateway and "speeddaemon" and
"speeddaemon up" on the repeater nodes.
ssh #secure shell into a meshbox and then issue command like getandverify
ssh <ipadres> # Use for remote control of a meshbox
getandverify test, #tests to see if wiana.org is available, should say WIANA REACHABLE
getandverify tobuild25dev90 , #to upgrade to a specific build
getandverify tobuild25dev87
getandverify tobuild25dev85
checkuplinkvalidity #after you ssh into box, should say OK.
distread #used before a 'remotemanagement' this cleans up some things.
Careful! Its is roughly the same as 'factoryreset' Seems to kill the
dhcpd.leases file (?)
factoryreset #puts meshbox back to original factory state. Will require you to
get a new certificate again from wiana and get the wiana settings again.
remotemanagement #use this to get the Mesh node to connect to Wiana and get the latest settings. The Mesh node should do this automatically every 30mins, but sometimes you just don't want to wait.
sigspy #use to check if your node can see the other nodes. Gives signal strength.
arp -n # Networking command
mmii-tool #allows interrogation of status of ethernet module, and allows you to specify settings or to reset the ethernet
cat /proc/aodv/... #in here you can find files with current details of the meshing and aodv operation.
cat /var/state/dhcp/dhcpd.leases #tells you which DHCP leases have been given out to clients and when they expire.
==============
CONNECT Linksys Access Point to MESH:
Attaching a standard AP to the ethernet port of a repeater node is a
really good way to offer a local channel for wireless users. Use the "wired
captiveportal" option to enable authentication over it and make sure to use a
different channel/essid to your mesh. The AP needs to be operating in
standard transparent bridging mode which is normally the default.
This wont work on a gateway node though and if the "wired captive
portal" option is enabled on a gateway it is likely to try and authenticate the
upstream router resulting in no traffic being allowed to flow.
==============
STATIC IP assignment tutorial vers. 1
Thursday, 13 May 2004
To establish static settings before you can connect to wiana:
Once booted, login on the console as root user (or SSH in as root) and create a file called /etc/STATIC
It is recommended to use the vi editor for this
create the file like so:
1.2.3.4 netmask 255.255.255.0
3.4.5.6
7.8.9.0
Where 1.2.3.4 is the IP address you want for the meshAP device and replace 255.255.255.0 with your local netmask and 3.4.5.6 with your gateway address. 7.8.9.0 is optional address for the static name server.
IMPORTANT - make sure you end the last line with a carriage return.
Once this is done, issue the command "reboot" and the system should come back up with the static address. You'll want to duplicate the same settings on the wiana management page for the meshap once registered. Issue the command "remotemanagement" to force a connection to wiana. Configuring a static connection in wiana Go to bottom right of management page to Core Settings Enter values in the fields for:
static eth addr:
static eth netmask:
static eth gateway:
and optionally
static eth dns:
The values in the Wired local 192.168.: section are overridden by the static settings.
===============
STATIC registration on Wiana tutorial vers. 2
WIANA REGISTRATION tutorial from www.ultramesh.com
wianaregister # ?
Ultramesh MeshAP
UltraMesh Quick Setup
Register at wiana.org to receive an encryption key and management of nodes.
Email Wiana login name to nodes@ultramesh.com.
Node will be transferred to your account.
Nodes are set up for Infrastructure mode with the ESSID of Ultramesh and DHCP client on the Ethernet interface. If your DHCP server does not hand out an address due to an incompatibility, use the following instructions to set a static IP on the box.
Connect wirelessly and obtain an address. From there, using SSH, log into the unit using the gateway address on the laptop you are using. The login username is root and the password terra7. From there, enter the following commands:
vi /etc/STATIC <ENTER>
Then edit the file as follows:
Hit <INS> key and enter
192.x.x.x 255.x.x.x
192.x.x.1
Where the ip address you want on the unit is the first 192.x.x.x, the subnet is the 255.x.x.x and the gateway is 192.x.x.1. Change those values to whatever makes sense for your network.
Then hit <ESC> and then :wq <ENTER>.
Type reboot <ENTER> and start a ping to see if the box is communicating via the Ethernet port.
================
wiana.settings webscript
http://www.melissen.net/cgi-bin/foe
http://www.melissen.net/cgi-bin/foe carries the most recent version of
wiana.settings web script, a script that allows you to quickly edit
wiana.settings and reboot your node, without having to wait for wiana
or having to log in with ssh and manually edit /etc/wiana.settings
The scripts on the web page are for testing. Carefully study the write
script - it does not write /etc/wiana.settings directly. It has a
commented out line for
/tmp/wiana.settings. If you remove the # , a
/tmp/wiana.settings will be created which can be cp'ed to
/etc/wiana.settings during boot,
before /etc/wiana.settings is being parsed by the locust scripts.
These scripts are quick hacks, useful for testing, but don't run them
in production as wiana compatibility has not yet been tested fully.
Advantages:
- bash only, no need for perl, java or anything else
- changes are immediate
- wiana compatibility
- easy to change
FTP files into a meshhbox if you can't attach a CDROM to it(sits on a mountain):
use scp.... its secure copy shell like ssh but for coping... runs like
ftp. you can scp between nodes , or using a windows box, and something like
winscp ( http://winscp.sourceforge.net/eng/ )
http://winscp.sourceforge.net/eng/download.php
================
THERE MUST BE 9DB seperation between signal and noise:
General rule of thumb, look for 9db separation. The value does not
matter, only the difference between the two.
So on your example - level:-25 dBm Noise level:-38 dB - good signal
the rest I would regard as unworkable.
Joe Roper
www.meshworks.ws