I would like to share 4g(iphone usb) over the Ethernet port.

now i got it working with these commands

 sudo brctl addbr usb2eth
 sudo brctl addif usb2eth eth0
 sudo brctl addif usb2eth usb0
 sudo brctl stp usb2eth on
 sudo ifconfig usb2eth up

that works perfectly! When I take the USB cable out and put it back in it doesn't work anymore. then i have to restart all commands(restart pi because all those commands start when i turn on the pi)

is there a solution for this?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.