Jump to content

network bridge: ethernet to wifi (not a wifi hotspot)


Recommended Posts

Posted

my box is a H96 pro plus TV box, installed Armbian 23.08.0-trunk Lunar.

was working well stand alone, had ethernet and wifi, I decided make use of this box as a network-bridge

I wanted to connect a 3d printer that only has ethernet to wifi, just to transfer files.

 

so finding instructions on this (reverse network bridge?)  was difficult, some say's it can't be done, found one person said he just did it but was for a rpi I think using dhcpcd. 

but anyways when I installed dhcpcd it removed nmcli and now my wifi is disconnected and ethernet is no longer listed.

still messing with it to see if I can get it back, but I attached the script he gave me that supposedly worked for dhcpcd, if anyone wants to check it out.

is there a way to do it with  nmcli? (network-manager)

has anyone done a network bridge to connect a ethernet device to wifi? 

bridge.sh

Posted

So you want to link your box to the printer with ethernet and give the printer wifi? This is easy with a wifi-repeater-bridge but you want your box to do that.

 

If you can give the printer an static IP and gateway I think you can do. Just asiggn static IPs to all the adapters within your router's IP. For exemple:

 

Router IP 192.168.1.1

Printer IP 192.168.1.50

Printer Gateway 192.168.1.52

Box IP 192.168.1.51

Box Gateway 192.168.1.52

Wifi IP 192.168.1.52

 

Also you can bridge adapters like this https://www.baeldung.com/linux/bridging-network-interfaces

 

 

Posted

glad to hear it is simple.  

right now I have to figure out how to get nmcli back on ,   dhcpcd removed it and does not have internet connection, it is connected and has a IP address on both wlan0 and eth0 but no internet to install network-manager.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines