Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Posting via Broadband Hamnet

  1. #1
    Orca Whisperer
    Join Date
    Oct 2009
    Location
    Buffalo, NY
    Posts
    22,593

    Posting via Broadband Hamnet

    Just dropping a line... Posting via a small broadband-hamnet mesh, running HSMM-Pi.

    This is working quite nicely. Only two nodes thus far, but working on more, now that I've spec'd out hardware and the install procedure.
    Big Giant Meteor 2020 - We need to make Earth Great Again

    http://www.coreyreichle.com

  2. #2
    Pope Carlo l NQ6U's Avatar
    Join Date
    Jun 2010
    Location
    Maritime Mobile
    Posts
    30,074
    Cool! I've been interested in playing with that.
    All the world’s a stage, but obviously the play is unrehearsed and everybody is ad-libbing his lines. Maybe that’s why it’s hard to tell if we’re living in a tragedy or a farce.

  3. #3
    Orca Whisperer
    Join Date
    Oct 2009
    Location
    Buffalo, NY
    Posts
    22,593
    Quote Originally Posted by KJ6BSO View Post
    Cool! I've been interested in playing with that.
    If you have a Pi that you're interested in installing it on, I'm going to post a base image with all the work done, and an install script that puts all the pieces together for one of the ralink USB dongles. I'll put a link up here when I get them together.
    Big Giant Meteor 2020 - We need to make Earth Great Again

    http://www.coreyreichle.com

  4. #4
    La Rata Del Desierto K7SGJ's Avatar
    Join Date
    Feb 2010
    Location
    The Desert
    Posts
    16,791
    Quote Originally Posted by KJ6BSO View Post
    Cool! I've been interested in playing with that.
    Well........that might just be the impetus required to make you quit playing with yourself, eh?

    Actually, with the price of a PI these days, that could be a lot of fun to experiment with.
    Last edited by K7SGJ; 08-20-2014 at 02:29 PM.
    A clear conscience is usually a sign of a bad memory

    RIP ALBI-W3MIV RIP RUSS-W5RB RIP BOB-VK3ZL





  5. #5
    Orca Whisperer
    Join Date
    Oct 2009
    Location
    Buffalo, NY
    Posts
    22,593
    Duplicating the efforts via scripting is turning out to be a large pain in the ass. I had this working (When I posted this), but now trying to script this out, it's turning royally painful.

    Namely, it took me two days to get two working nodes. So, I decided to re-do one of the nodes, so I can contribute the work back (As an install image, or scripts). Turns out I'd need three scripts: The ralink driver builds require 3 reboots, I've learned, or rather re-learned.

    The hsmm-pi portion isn't difficult (A git pull, and install), but the driver needs to be rebuilt. And, for unit testing, I need to go to a clean slate, to test. The kernel source clone takes forevveeeeeeeer to do. The whole driver build process is about 2 hours long (Oh, how I wish I knew how to do cross-compiles).
    Big Giant Meteor 2020 - We need to make Earth Great Again

    http://www.coreyreichle.com

  6. #6
    Orca Whisperer
    Join Date
    Oct 2009
    Location
    Buffalo, NY
    Posts
    22,593
    Ok, boils and ghouls... I'm grabbing an updated, clean HSMM Pi image as we speak. I forgot to change the SSID back to what it's default, so you'll want to change that (It's currently "KAISERTOWN", default is "HSSM-MESH"). Passwords are are defaults (Web interface is "admin" and "changeme", SSH is "pi" and "raspberry").

    It's configured as a Inet gateway, with an Node address of 10.0.0.1/8 (This allows you do bump all of the octets shy of the first for your mesh, giving you a HUUUGE number of networks). It's eth interface with get a DHCP address from your router once you plugin.

    I'll be posting the link for the image shortly.
    Last edited by KC2UGV; 08-21-2014 at 07:54 AM.
    Big Giant Meteor 2020 - We need to make Earth Great Again

    http://www.coreyreichle.com

  7. #7
    Orca Whisperer
    Join Date
    Oct 2009
    Location
    Buffalo, NY
    Posts
    22,593
    So, while the image is uploading, here's a quick how to, and shopping list for a single HSMM Pi node.

    (Image should finish uploading in about 90 minutes, and will be located here: http://bit.ly/1kZa6id)

    Shopping List (Amazon Links included):

    * Raspberry Pi Kit - Pi board, case, and power supply (http://www.amazon.com/CanaKit-Raspbe...ower+Supply%29)
    * MediaTek 7160 (http://www.amazon.com/150Mbps-Wirele...s=qibox+ralink)
    * 8GB SD Card (http://www.amazon.com/PNY-Optima-Cla...ds=8GB+SD+Card)

    Shortcut:
    Use Win32DiskImager (https://wiki.ubuntu.com/Win32DiskImager) to burn the above image to your SD card. It'll work out of the box: Connect it to your router, connect to it with a web browser, configure, and reboot.

    The below has shamelessly cribbed from the following:
    http://va3paw.com/2014/03/16/hsmm-mesh-on-raspberry-pi/
    https://github.com/urlgrey/hsmm-pi

    Long steps:
    - For ralink USB cards (mediatek 7601):
    * Execute the following:
    Code:
    sudo bash
    apt-get update
    apt-get upgrade
    reboot
    Code:
    rpi-update
    reboot
    Code:
    cd /usr/src
    git clone https://github.com/raspberrypi/linux.git
    sudo ln -s /usr/src/linux /lib/modules/`uname -r`/build
    cd linux
    make mrproper
    zcat /proc/config.gz > .config
    cp .config .config.org
    sed -i 's/^CONFIG_CROSS_COMPILE.*/CONFIG_CROSS_COMPILE=""/' .config
    make modules_prepare
    wget https://raw.github.com/raspberrypi/firmware/master/extra/Module.symvers
    cd /usr/src
    wget "http://www.mediatek.com/AmazonS3/Downloads/linux/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2"
    tar -xvjpf DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2 
    cd /usr/src/DPO*
    sed -i "s/ULONG RTDebugLevel = RT_DEBUG_TRACE\;/ULONG RTDebugLevel = 0\;/" os/linux/rt_linux.c
    make
    make install
    exit
    * This part is needed for any wireless card, even if it already works for the Pi out of the box. This installs the HSMM Pi software.

    Code:
    cd ~
    git clone https://github.com/urlgrey/hsmm-pi.git
    cd hsmm-pi
    git checkout tags/v0.4.0
    sh install.sh
    Now, go and configure your node by connecting to it via port 80. IMPORTANT!!! Do not reboot the pi until you've configured the node. Otherwise, it will not bring up any of it's interfaces, and you'll need console mode to bring up an IP.

    If this node will be connected to your router, in order to supply internet access to the mesh, leave it as a WAN device. If you will have clients connected (Via it's eth interface) configure it as a "LAN" node. The pi has a neat feature where the ethernet connection doesn't require a crossover cable, it will autonegotiate the connection even with a straight cable. So, connect it to your laptop :)
    Last edited by KC2UGV; 08-21-2014 at 07:04 PM. Reason: Added sourcing, fixed code blocks
    Big Giant Meteor 2020 - We need to make Earth Great Again

    http://www.coreyreichle.com

  8. #8
    Master Navigator KU0DM's Avatar
    Join Date
    Jul 2008
    Location
    Lawrence, Kansas
    Posts
    1,729
    This sounds awesome. I would love to experiment with setting this up at the ham shack on campus and using it to get free internet. Give us the details on the network capabilities; range, speed, etc...

  9. #9
    Orca Whisperer
    Join Date
    Oct 2009
    Location
    Buffalo, NY
    Posts
    22,593
    Quote Originally Posted by KU0DM View Post
    This sounds awesome. I would love to experiment with setting this up at the ham shack on campus and using it to get free internet. Give us the details on the network capabilities; range, speed, etc...
    Range and speeds are all dependent on Line-of-sight, antenna, and distance. Clear LOS, you can get 5 miles easily at 11mb/s using directional antennas.

    For the USB dongle I have been testing in the links, I get about 70 feet, with clear LOS, and about 30 ft with obstructions (Such as homes). Of course, that's all Part 15. Under Part 97, I could use up to 1500W (Don't suggest more than 1 or 2W, however).
    Big Giant Meteor 2020 - We need to make Earth Great Again

    http://www.coreyreichle.com

  10. #10
    Orca Whisperer
    Join Date
    Oct 2009
    Location
    Buffalo, NY
    Posts
    22,593
    They don't make xfering a 1.9GB file easy these days... Trying again.
    Big Giant Meteor 2020 - We need to make Earth Great Again

    http://www.coreyreichle.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •