HowTos: Difference between revisions
m (→Hardware:) |
|||
Line 5: | Line 5: | ||
'''Node:''' PC, [[Wireless Router]], [[SBC]] Single Board Computer | '''Node:''' PC, [[Wireless Router]], [[SBC]] Single Board Computer | ||
'''Antennae:'''Buy or make your own (see [[Home-Brew Antennae]]). | '''Antennae:''' Buy or make your own (see [[Home-Brew Antennae]]). | ||
'''Other:''' | '''Other:''' |
Revision as of 15:58, 21 November 2005
What do I need to connect to PTA mesh?
You will need the following:
Hardware:
Node: PC, Wireless Router, SBC Single Board Computer
Antennae: Buy or make your own (see Home-Brew Antennae).
Other: 1.) Cables: Rf and UTP cable 2.) POE convertors, Buy or make your own (see Home-Brew POE) 3.) Pole and brackets
Firmware
Your wireless router may require firmware updates that will be made available here.
Software
Routing
If you are using a PC, you may need to install an OLSR client.
VPN
If you want to be part of a Virtual Private Network, you will require VPN software on your client.
Settings
IP Allocation
192.***.***.***/**
OLSR Settings
HNA:
How do I build my own mesh node?
How to create an ipk package
TOOLS
Get the script rightfully called ipkg-build at, among other places, ftp://ftp.handhelds.org/packages/ipkg-utils, or http://www.mizi.com/download/mz20/ipkg-build.
CREATING THE PACKAGE STRUCTURE
Say you wanna create a package called MyPackage; you further wanna package the project called MyProject. Then do the following:
1. Create a directory called MyPackage. 2. Inside directory MyPackage, create a directory called CONTROL. 3. Copy your project (MyProject) to the MyPackage directory. 4. Inside directory CONTORL creating a file called control.
NOTE:
When the package is installed on the target, the MyPAckage directory will be created with respect to root. So if you wanted your files to be installed in /usr/bin on the target system, then our project would in this case be “/usr/bin”. That is you create inside directory MyPackage a directory called /usr/bin.
FORMAT AND CONTENTS OF /CONTROL/control
Package: MyPackage
Priority: optional // default
Version: 1.0 //package version
Architecture: mipsel
Maintainer: I_maintain@you.com
Source: ftp:ftp:122.122.122.122 //See Note below
Section: misc //See Note below
Description: This is an attempt to create ipkg.
NOTE:
The fields Section and Source seem rather useless to me in this example and I initially left them out; however the ipkg-build script complained requiring them, so I just put them in as a workaround without knowing/”caring” of their need. There are other fields not included here which you might need for your purposes, check the web for more.
Further the comments are mine for this documentation purposes only and the script MIGHT NOT permit comments.
RUNNING THE ipkg-build SCRIPT
Now simply run (of course being outside of the directory MyPackage):
“./ipkg-build –c –o root –g root MyPackage” // as root or non-root, or
“./ipkg-build –c MyPackage” //as root
IF all’s well, a package on the current directory will be created.
NOTE:
Without the “-c” option, I could not get the package installed successfully, you can try with or without and see for yourself.