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
    # Libre Router and the COWs # Meeting with Nico and Sarbani 16th June 2021 nico: pirania dev notes (not public) https://hackmd.io/@P73CMg6lQ_6xtcFTdQnxDQ/ryrqgQGVd / https://hackmd.io/2SUbUbu4Rwi3y_g4EUJSDA / angie now working on this https://blog.freifunk.net/?s=portal / if we are not interested in mesh solns, available captive portals are many eg., nodogsplash but they likely need an ip that is mesh visible to access the server 1. Pirania only add voucher works. everything else such as edit, delete seems to be not working. #issues After enabling pirania * ssh was throwing broken pipe error even with the active session. Mosh command didn't give any error. * video calls would break. The sesssions would just drop. Tested with zoom, jitsi, google meet. * mcast increase to fix above issues was not tried * one node we disabled pirania to test and the ssh issue vanished. Other 3 nodes dhalli, Thalli and crafterspace has still pirania running. * The captive portal redirection works on phones. Not on laptops (ubuntu - firefox and chromium). https://foro.librerouter.org/t/pirania-observations/234 Features we need * Tracking/logging bandwidth usage per user * Voucher should be active for a duration of say 30mins after the first entry of the voucher by the user * Limiting bandwitdth/speed per voucher * GUI interface to generate vouchers (not released but seems to be in development) * Apply MAC ID exceptions to certain devices to bypass Pirania (for admins in the network) * Block Pirania based users access to root@thisnode.info * Many commercial routers have a hotspot point where the users cannot access the router page 2. We have put up parabolic antenna(23db) instead of the sector antenna to boost up the signal strength. changed from -65:-75 to -45:-57 db #observations ![](https://i.imgur.com/6JaaWAM.jpg) 3. Maximum power consumption - Now we enabled TZ. What is allowed in India. #issues 4. Wlan1 and Wlan2 issue fixed in v1.3 - wlan1 was pairing wlan2. Randomly channels were assigned. After the upgrade the channels were fixed. #observations 5. No Labelling of Wlan1 and Wlan2 on the LR box 7. No Labelling of POE LAN and WAN 8. Openwrt support - Need to try https://foro.librerouter.org/t/can-i-put-my-own-firmware-on-it/34 9. How other communities are using libre router. Use cases. 10. DC powered POE adaptor like the one below. We will need this when our routers are powered using only Solar. https://mikrotik.com/product/RBGPOE 11. LR boards. status. 12. Alternative to RPI board ### Password on Lime node or Lime community New nodes will pull from Lime community Individually it will apply to local DDhills lime node Durgadahalli is lime community stop pirania on kotemane change mcast rate to high on kotemane and ddhills # aside Check readme at cowdenet > needforspeed for the speedtest fix ``` udpair=$(speedtext -csv | cut -d "," -f 7,8) Upld=$(echo $udpair | cut -d "," -f 1) upld=$(echo ${upld%.*}) dnld=$(echo $udpair | cut -d -f 2) dnld=$(echo ${dnld%.*}) ``` # cowmesh-broken-pipe May2,2021 Msg to coolab group Hi all. Our netspeed is generally showing 5 to 25 Mbps. But ssh to an outside computer breaks in a minute with message "broken pipe". Any insights? Thanks nico: And you have pirania installed? Or plain librerouteros? luandro: are you getting lots of duplicate packets? I believe it could be related to mcast_rate or wifi distance option right nico: hmmm... Loks like @spiccinini (San?) mentioned something in this (spanish) post in the forum about mcast_rate, but not sure if it relates to what you are saying @luandro : https://foro.librerouter.org/t/cual-seria-la-manera-de-cambiar-el-canal-wifi-de-una-o-ambas-radios-de-5ghz/139/2 https://wirelesslywired.com/2019/05/02/multicast-over-wireless/ Emery: I recommend using [Mosh](https://mosh.org/) rather than SSH in this situation. SSH uses TCP, and if the TCP connection times-out because of a drop in the connection, the session will die. Mosh uses UDP so the session can persist if the connection drops. --- (thanks Nico) Wlan1 vs Wlan2 fixed in 1.4 (ref discussion Sk and San) Pirania vouchers (ref chat with Nico and Luandro - march 22nd 2021) Pirania git hub link: https://github.com/libremesh/lime-packages/tree/cli-readme/packages/pirania Luandro, [23.03.21 00:36] add_voucher creates a voucher, you then give the secret to whose gonna be using it to authenticate with their device Luandro, [23.03.21 00:36] add_voucher creates a voucher, you then give the secret to whose gonna be using it to authenticate with their device Luandro, [23.03.21 00:38] no need to use auth_voucher only if the device doesnt have a screen (like a headless Raspberry or smart tv) Luandro, [23.03.21 00:36] add_voucher creates a voucher, you then give the secret to whose gonna be using it to authenticate with their device Luandro, [23.03.21 00:38] no need to use auth_voucher only if the device doesnt have a screen (like a headless Raspberry or smart tv) What's the top right button next to pirania logo for? Luandro, [23.03.21 01:08] for authenticating another device, but I think there was a bug with it Luandro, [23.03.21 01:18] oh, and having the db on /etc may hurt the routers I never totally understood this, but saving things to /etc slowly eats up the routers memory (not sure which one) Luandro, [23.03.21 01:18] it's good practice to move to /tmp Luandro, [23.03.21 01:18] but in /tmp it gets erased after reboot Luandro, [23.03.21 01:18] if there are more then one node, other nodes will re-populate the db through shared-state Luandro, [23.03.21 01:19] but if all nodes are shutdown at the same time (power outage to exampe) then db is lost Luandro, [23.03.21 01:19] you can format a usb drive to FAT32 and stick in the router, pirania will then automatically save the db to the usb stick Luandro, [23.03.21 01:20] having at least one node in the mesh with a usb drive guarantees that the db will be safe, even if all others have it on /tmp Luandro, [25.03.21 00:01] in /etc/config/pirania there's a list whitelist_ipv4 option Luandro, [25.03.21 00:01] in /etc/config/pirania there's a list whitelist_ipv4 option Luandro, [25.03.21 00:01] in /etc/config/pirania there's a list whitelist_ipv4 option Luandro, [25.03.21 00:01] in /etc/config/pirania there's a list whitelist_ipv4 option ================================================================= https://foro.librerouter.org/t/cual-seria-la-manera-de-cambiar-el-canal-wifi-de-una-o-ambas-radios-de-5ghz/139/2 Translation to the above link To change the channel of the radios is done with the config lime.wifi.channel_5ghz. For example you can change the configuration of the wiffi section in the node's lime configuration file (/ etc / config / lime-node) the following: config lime 'wifi' list channel_5ghz '36' list channel_5ghz '157' That sets radio1 to 36 and radio 2 to 157 (default is 48 and 157) And then run lime-config and reboot (although in this particular case if you do lime-apply it should work without rebooting). Regarding whether there is a better way, I think it depends a lot on the network and the dedication time of the people who can help solve technical problems (for example, a neighbor who wants to join the network does not work because he is not using the default channels, etc). Another way to avoid bad connections is to increase the minimum operating speed (to decide whether or not a link is working). Quoting Nicolás Echaniz: The routing protocols that we use (batman-adv), to choose paths, send multicast packets (“to many”) and measure how many packets are lost. But the speed that the network uses for these packets is not the same as for unicast (single destination). That makes the packets to be measured arrive (slow) without getting lost. But when you want to use the link at a higher speed, it doesn't work well, that's why we raise that value, which is called mcast_rate. That makes the bad links unviable for routing and chooses the others. The downside is that if a node has only bad links, it is isolated. in my experience that is convenient and you have to ensure that the links are good This is also done in the wifi section of the node with the option ieee80211s_mcast_rate_5ghz (by default it is 6000): config lime 'wifi' list channel_5ghz '36' list channel_5ghz '157' option ieee80211s_mcast_rate_5ghz '24000' Chat Session during the 16Jun2021 meeting > **Sarbani Belur** Congratulations What will you name her? We can suggest an Indian name **dinesh** https://hackmd.io/Vz9bI_HaTi21ybxLi46zGQ?view **nicopace** https://blog.freifunk.net/2021/06/10/libremesh-pirania-ui-an-overview/ https://blog.freifunk.net/author/angieog/ pirania hacking group hackmd: https://hackmd.io/2SUbUbu4Rwi3y_g4EUJSDA https://hackmd.io/@P73CMg6lQ_6xtcFTdQnxDQ/ryrqgQGVd https://translate.google.com/translate?sl=pt&tl=en&u=https://hackmd.io/@P73CMg6lQ_6xtcFTdQnxDQ/ryrqgQGVd **dinesh** web session read only: https://tmate.io/t/ro-H3VVHS6JrP8UjaL56TebkWDTD ssh session read only: ssh ro-H3VVHS6JrP8UjaL56TebkWDTD@nyc1.tmate.io web session: https://tmate.io/t/bPUQNgzKE8dq82CSKnvFjZ4EM ssh session: ssh bPUQNgzKE8dq82CSKnvFjZ4EM@nyc1.tmate.io **Sarbani Belur** I have another meeting. I will leave now Bye **dinesh** pi shortcomings https://blog.janastu.org/the-pi4-debacles/ **nicopace** https://sbcfinder.com/home https://www.armbian.com/download/ https://www.olimex.com/

    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