MeshNetworking

Got to http://scratchpad.wikia.com/wiki/Sasecurity for frontpage

Meshing of two boxes
A meshbox is either a Gateway (GatewayNotes) or a RepeaterNode. Plug one box via it's ethernet cable into an Internet connection. This box is the gateway and can be assigned a StaTicIp if the host PC with the Internet signal does not hand out a DhCp lease. From the gateway make certain you can surf the web. Issue GetAndVerify or "leachtest" command. The second box is the repeater. Allow 5min for the repeater to mesh, it will check into WiaNa etc.. See IpaddressToMeshbox,  GetNodeWorkingAgain and LocustTipsPage. WhatMeshDoes

* See HardWare and EmbeddedPc Wi-fi cards, Mini-Itx, and AnteNnas * Do the boxes see each other if you run SigSpy? SigSpy will report the signal strength between boxes. * Must be larger Than 7db. See SignalToNoise * Do the boxes see each other if you run IwList wlan0 scan * Does NetStumbler report on any other wi-fi about? * Have they blocked each other entries in /proc/aodv/blocked ? * RePorter command reports on the Channel and Frequency settings. * (Doesn't work yet with Atheros chipset only Senao) * What does cat /proc/aodv/monitor say? * Have you set both boxes to DefaultSettings? * All nodes on same mesh must be on same ["ESSID"] For example channel 1 and ssid = LocustWorld * Then wait for boxes to mesh. * After they mesh edit the wiana.settings file and change the settings to channel6 and to your chosen SSID. * Boxes that mesh can be controled via RemoteManagement. * Wired CaptivePortal on the gateway node: Disabled * A node must give out a subnet address of 255.255.255.0 * See SubnetMask. And see WiaNa - Portmap settings * Router board accepts clients but wont pass trafic: PrimaryCellAndDhcp * Check the boot message of the meshbox if it FoundTheCard * StaticIp * IpTables -L             #shows all current rules for the FireWall. * TUNNELTYPE:PPP #There are two options PPP or IP. * Change the PPP in gateway type to IP - this will help if you're behind an ICMP firewall. * See WiaNa * Register node at http://www.wiana.org Wireless IP number assignment authority. * CheckUplinkValidity, GetAndVerify * Ad-hoc and InfraStructure explained on this page and 2 cards in one PC. * Strip of copper between two cards in one pc to cancel RF interference. See HardWare * See DefaultSettings. * Ticket, CaptivePortal, FactoryReset - GetNodeWorkingAgain * Mikrotik, NAT - MeshNat,ad-hoc,adhoc * Mesh uses multiple layers of NAT and has traffic shaping replacing the need for MikroTik. * See "NAT" - MeshNat for how Mikrotik blocks StaticIp] assignment to clients. * Mesh uses multiple layers NAT. * Back-to-back meshboxes chokes traffic and wired clients - UnknownTrafficShaping * Same node clients firewalled" to "No" on the node in WiaNa * /etc/hosts,  /etc/wiana.settings * Disable failed upstream   * Enable pcmcia in WiaNa. See FoundTheCard * Enable cross mesh networking. See HostMapping. * Blocing an IP with users sharing same MAC. IpTables * ClaimOrphanNode

Notes 1
* AdvertorialCpe, AoDv ,ActiVx, ArPing, AnteNnas * BuilD107,BlockNode * BroadcastStorm, BlockingAndUnblockingAnode , BlockingUsers , BlockP2p * BridGing, BackHaul, CaptivePortal, CellId , ContActs , CronJob, * ConnectAptomesh, ["DNS"]-DNS,DnsMesh [:Detecting Viruses], DhcpServices ,DhCp, DualRadios * /etc file structure, EthernetPort, ErroRs, FireWall,FileShareing, GateWayNotes * FileShareing, FreezeBox, FlashHdd, * GaMing, GetNodeWorkingAgain, GrubAndLilo, * HardWare, HostMapping, InstallMesh * InterFerence, IpAdressmeshbox, InfrastructureAdhoc, KernelPanic * IpaddressTomeshbox, IpHandout , *?InternalIpaddressGivenToMeshboxByRouter * LeaChe, LocktoGatewayAndpreferedGateway, LoginToExternalSites

Notes 2
* LinksysWrt54g, LocustOfficialwiki, * MessageToMesh, MailArchive, MeshWebLinks, MultipleIp, MandrakeNotes * ?MAC, MacMesh, NAT,MeshNat, Mhz900Mesh, ?MakeChangesOnReboot, ?MeshEmail , MarginalLinks

Notes 3
* MikroTik, MandrakeNotes, MeshCommands * NodeBlocking, NodeLogin, NodeWontmesh, NumberOfNodes, NodeSpacing * NodeRootremote, NodeMax, NaGios * OpenBsd, [:No Mesh nodes detected]

Notes 4
* PortMapping, PullOneip, PrivateIpblocks, PingMesh, PeerToPeerp2p, PpTp

Notes 5
* RaDius, RepeaterNode, RouTing, RogueNodes, ReBooting,RebootingRepeaters * SameNodeclients, SamBa, SateLites, ScripTs, StaticIp, SplashScreen, SoeKris * SysLog * StormWarnings, SignalToNoise, SubNet, ["SSH"],SshMesh, SwMan, TrafFicshaping,TicKet, * SsidIssues

Notes 6
* TicKets, TunnelGoesUupAndDown, TrafficShaping, TowerConstruction * UserNameAndPassword,UsbCards, UnknownTrafficShaping * ViEditor, ViRus, VoIp, VirtualPn, ViRus, WDS

Notes 6
* WalledGarden, WebCam, WiaNa, WianaRegister, WikiLocustWorld, WormHole, WinScp * WiredClientAndRealmManager, WontMesh, WatchDog * WrapAndPoe, [:802.11g vs. 802.11b], [:802.11a]

10.X.X.X
From EthernetPort: BR 1. Mesh AP is plugged into a 10.X.X.X network, the mesh AP can only see the gateway. 2. Connect wired router between Mesh and PC, with PC used as primary backhaul. 3. OPENBSD packet filter on PcEngines http://www.openbsd.org/faq/pf/index.html

Other commands
* DHCP, HostMapping, PortMapping, RaDius, Subnet * ShellCommands, VoIp, WiaNa