Return to site

Sharing wifi via cmd

broken image

Or here, they suggest to install ebtables. I don't understand what that is? The MAC address of my network card for wlan1?Īnd how should I then create my bridge? The following is not working: sudo brctl addbr br0 Where $ADDR is 'WDS device address configured in the router'. In 2, the solution says to do this iw dev wlan0 interface add wds.wlan0 type managed 4addr on I lose the wifi connection! I saw this is also a common issue :( Indeed, I can then add wlan1 to the bridge, but. I saw that one needs to enable 4addr: iw dev wlan1 set 4addr on The problem is that I am unable to bridge wlan1 and eth0.

broken image
broken image

As this is somehow a temporary solution, I want this to be done by a script, so that I do not touch the network configuration files of my host (i.e I'll run this script after each reboot if I want to). I have a wlan1 connection that I want to share to other computers on my LAN (via Ethernet - eth0).