Giter VIP home page Giter VIP logo

Comments (6)

SummerSeaSun avatar SummerSeaSun commented on August 31, 2024

Hi,
I'm interested to an example would be great. Or at least the list of steps to make this work.
1 - set ip address on the machines:
sudo ifconfig eth0 "sender" netmask 255.255.255.0 up
sudo ifconfig eth0 "receiver" netmask 255.255.255.0 up
2 - where you specify sender and receiver addresses in config?
Thanks,
BR

from wfb-ng.

Mysnomer0 avatar Mysnomer0 commented on August 31, 2024

Hi BR,

I'm sorry, I'm confused by your comment. Are you also wanting the answer to my question, or are you trying to answer it yourself?

Thanks,

Milan

from wfb-ng.

svpcom avatar svpcom commented on August 31, 2024

For IPoverWB (IPv4 over Wifibroadcast tunnel) you need only tun/tap kernel driver (tun.ko). Tunnel will be configured and work out of box. Drone side will have 10.5.0.2/24 address and GS - 10.5.0.1/24.
So you need:

  1. Install .deb package on the both machines
  2. Edit /etc/default/wifibroadcast and set WFB_NICS="wlanXXX"
  3. Run sudo systemctl restart wifibroadcast@gs on the first and sudo systemctl restart wifibroadcast@drone on the second
  4. Use ifconfig or ip link ls to check tunnel interface

from wfb-ng.

svpcom avatar svpcom commented on August 31, 2024

Builtin config file with all default values: /usr/lib/python2.7/dist-packages/telemetry/conf/master.cfg
Create /etc/wifibroadcast.cfg if you need to override some of them

from wfb-ng.

appetito avatar appetito commented on August 31, 2024

Hello! I have tunel iface up but cant ssh from gs to drone:

gs-wfb: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1446
inet 10.5.0.1 netmask 255.255.255.0 destination 10.5.0.1
inet6 fe80::6c97:523c:6ac3:fef8 prefixlen 64 scopeid 0x20
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC)
RX packets 1 bytes 48 (48.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 27 bytes 1704 (1.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

drone-wfb: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1446
inet 10.5.0.2 netmask 255.255.255.0 destination 10.5.0.2
inet6 fe80::c585:5208:8af4:6068 prefixlen 64 scopeid 0x20
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9 bytes 432 (432.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

┌──[tunnel]────────────────────────────────────────────────────────────────────────────────────────────────────┐
│TX ANT 00** │
│RX PKT: recv 2568 d_ok 2568 fec_r 280 lost 835 d_err 0 bad 0 │
│RX PKT/s: recv 2 d_ok 2 fec_r 1 lost 1 d_err 0 bad 0 │
│ │
│0001: 2 pkt/s, rssi -3 < -3 < -3

from wfb-ng.

Mysnomer0 avatar Mysnomer0 commented on August 31, 2024

@svpcom Thanks a ton for your input, I'm sorry I didn't get back to you. I'll try out your suggestions as soon as I can.

from wfb-ng.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.