HackMD
  • Beta
    Beta  Get a sneak peek of HackMD’s new design
    Turn on the feature preview and give us feedback.
    Go → Got it
      • Create new note
      • Create a note from template
    • Beta  Get a sneak peek of HackMD’s new design
      Beta  Get a sneak peek of HackMD’s new design
      Turn on the feature preview and give us feedback.
      Go → Got it
      • Sharing Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • More (Comment, Invitee)
      • Publishing
        Please check the box to agree to the Community Guidelines.
        Everyone on the web can find and read all notes of this public team.
        After the note is published, everyone on the web can find and read this note.
        See all published notes on profile page.
      • Commenting Enable
        Disabled Forbidden Owners Signed-in users Everyone
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Invitee
      • No invitee
      • Options
      • Versions and GitHub Sync
      • Transfer ownership
      • Delete this note
      • Template
      • Save as template
      • Insert from template
      • Export
      • Dropbox
      • Google Drive Export to Google Drive
      • Gist
      • Import
      • Dropbox
      • Google Drive Import from Google Drive
      • Gist
      • Clipboard
      • Download
      • Markdown
      • HTML
      • Raw HTML
    Menu Sharing Create Help
    Create Create new note Create a note from template
    Menu
    Options
    Versions and GitHub Sync Transfer ownership Delete this note
    Export
    Dropbox Google Drive Export to Google Drive Gist
    Import
    Dropbox Google Drive Import from Google Drive Gist Clipboard
    Download
    Markdown HTML Raw HTML
    Back
    Sharing
    Sharing Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Note Permission
    Read
    Only me
    • Only me
    • Signed-in users
    • Everyone
    Only me Signed-in users Everyone
    Write
    Only me
    • Only me
    • Signed-in users
    • Everyone
    Only me Signed-in users Everyone
    More (Comment, Invitee)
    Publishing
    Please check the box to agree to the Community Guidelines.
    Everyone on the web can find and read all notes of this public team.
    After the note is published, everyone on the web can find and read this note.
    See all published notes on profile page.
    More (Comment, Invitee)
    Commenting Enable
    Disabled Forbidden Owners Signed-in users Everyone
    Permission
    Owners
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Invitee
    No invitee
       owned this note    owned this note      
    Published Linked with GitHub
    Like BookmarkBookmarked
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    Co-planning pad for cowmesh.net <-> tomesh.net ============================================== This started off from an email conversation to share knowledge between the two mesh networks, with a additional objective to gather ideas about the appropriate hardware for cowmesh to purchase in the near future. Reference image: [uploading is not working - so this doc]: j.mp/cowplansaux # Summary ## cowmesh - TP-Link WDR 4300 routers (no longer able to purchase locally) - Raspberry Pi (runs Community Radio + other local services) - TP-Link signal booster - Ubiquiti rocket (can only flash older models) - solar charge setup - [Commotion mesh tool](https://commotionwireless.net) - >Our earlier setup had 6 node points covering upto 3km radius. TP-Link had a good coverage upto 200mts radius. With gradual usage some of the routers and PIs became non functional/bricked due to many technical challenges. Now we are left with 2 routers and also support to commotion stopped. - Internet access point is far away but not a priority for the network, local services is the goal - Target 10 km links as Community Radio programs are run from far apart villages ## tomesh Familiarity with: - Raspberry Pi, Espressobin, and other single-boards (see [prototype](https://github.com/tomeshnet/prototype-cjdns-pi)) - [HPM5G LibreRouter radio](https://github.com/tomeshnet/documents/blob/master/technical/20180530_hpm5g-radio-tests.md) (on Espressobin) - [Meraki MR16](https://www.ebay.ca/itm/Meraki-MR16-Wireless-Access-Point-Unclaimed-Lot-of-10/153596331181) - LibreRouter - General openWRT concepts and setup and hardware - MikroTik devices running stock from [meshnet @ DWeb Camp](https://github.com/dweb-camp-2019/meshnet/blob/master/HARDWARE.md) - cjdns, yggdrasil, babeld, batman-adv - ipfs, dat, ssb - no production mesh network in the city # Some recommendations received - >Xiaomi Mi WiFi 3G https://openwrt.org/toh/xiaomi/mir3g https://openwrt.org/toh/hwdata/xiaomi/xiaomi_miwifi_3g one possibility for buying: https://aliexpress.com/item/32880787371.html - >YouHua WR1200JS (which should be the same as WR330 MTK) https://openwrt.org/toh/hwdata/youhua/youhua_wr1200js one possibility for buying: https://aliexpress.com/item/32272246018.html - [Airfiber](https://www.ui.com/airfiber/airfiber/), 1.2 Gbps at over 100 km+ but at a price - [LBE-5AC-23](https://github.com/tomeshnet/documents/blob/master/technical/20171216_ubiquiti-winter-test.md), 3 km # Possible approaches 1. Openwrt routers, use any proprietary point-to-point radio in bridge mode for mesh links (this is what ben did at dweb camp, an espressobin was used as the router but we should not use it for a production network due to SD corruption risk on power cycles) 2. Plan for LibreRouter, because this is a path to: - Reliable supply chain of hackable hardware (commercial hardware seems generally less available in project region) - Big global community with shared goals behind project - Internationalization efforts could help with more community participation - Compatible with other hardware as well This means near-term choices should be compatible with LibreMesh on LibreRouter. 3. Make Raspberry Pi routers too and use its Ethernet port to wire up any appropriate radio in bridge mode (or more than one radio through a simple vlan-tagging switch), experimental with SD corruption risk but potentially very self-configuring and integrated # Possible device configurations - [Meraki MR16](https://www.ebay.ca/itm/Meraki-MR16-Wireless-Access-Point-Unclaimed-Lot-of-10/153596331181), market is flooded with used $6 devices, make good dual-band access points or openwrt mesh router in the future. - Retail for $400+ - Used pricepoint very low due to cost prohibitive licensing model - Initial flashing requires the devices to to opened - Becomes openwrt device - Detailed instructions avaialble - Make it into a openwrt device - Todo: - [ ] it seems to run LibreMesh, Yurko can validate? - [ ] can it be purchased at $6 at cowmesh? - [ ] Avaialblity in India - [ ] Shipping to india - [ ] May require relay via North America Raspberry Pi + Meraki MR16 running LibreMesh (2.4G radio as access point, 5G radio as mesh link) - 5G radio would need to use a directional antenna via uFL connector for distance - range won't be great. - itial flashing requires knowledge - devices need a power source - 12V DC or - standard POE Injector (approach #2) - Raspberry Pi + [vlan switch](https://www.amazon.com/dp/B07PJ7XZ7X/) + [MikroTik sxtsq_5_ac](https://mikrotik.com/product/sxtsq_5_ac) as in (approach #3) # Q & A >So If I understand correctly from what you mentioned is, you have installed Toronto Mesh on espressobin board and created a mesh setup. It works but that is not a typical setup. Toronto Mesh isn't any particular setup, we have a bunch of tools, one that can be installed on espressobin is called prototype. >a. do you see anything we need to worry wrt to these n0-n1-n3- radios as a mesh layer The range and hardware availability Backhaul bandwith - make sure you have enough. When you "run out" n2 may need to be a seperat radio for each leg of the link. >b. do you see anything we need to watch out for when we assume we can hang the p1,p2,.. to the mesh DHCP and moving nodes -> changing IPs, longer discussion, but I think Yggdrasil would be useful here for stable IP assignments When dealing "short distance" mesh (especailly omni directional) you have to be carefull with saturating the wireless spectrum. When possible try to keep neighbouring or overlapping wireless signals on differnt frequencies. >c. do you know anyone who has been deploying services on a mesh, where an internet DNS cannot be assumed - and do you see how we can manage discovery of nodes and services Toronto Mesh deals with this a lot, we have no DNS. Currently working on some ideas/theories on how to propegate announcements. >d. is it advisable to run DNS or distributed DNS - what are the best practices (although we do have a low-literacy context here) Depends on mesh protocol (Layer 2 vs. Layer 3 mesh, can we automate DNS configuring). How many nodes do we expect? >e. do we know of off-the-shelf tools that will help us with these, including the captive portal needs. Yes I believe so

    Import from clipboard

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lost their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template is not available.


    Upgrade

    All
    • All
    • Team
    No template found.

    Create custom template


    Upgrade

    Delete template

    Do you really want to delete this template?

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Tutorials

    Book Mode Tutorial

    Slide Mode Tutorial

    YAML Metadata

    Contacts

    Facebook

    Twitter

    Feedback

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions

    Versions and GitHub Sync

    Sign in to link this note to GitHub Learn more
    This note is not linked with GitHub Learn more
     
    Add badge Pull Push GitHub Link Settings
    Upgrade now

    Version named by    

    More Less
    • Edit
    • Delete

    Note content is identical to the latest version.
    Compare with
      Choose a version
      No search result
      Version not found

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub

        Please sign in to GitHub and install the HackMD app on your GitHub repo. Learn more

         Sign in to GitHub

        HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Available push count

        Upgrade

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Upgrade

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully