Add iPhone/Android/Generic USB tethering support
iPhone tethering driver is present in FreeBSD https://www.freebsd.org/doc/handbook/network-usb-tethering.html
#1 Updated by Ivor Kreso almost 4 years ago
#2 Updated by Jessica Porter almost 4 years ago
The urndis driver would be nice as well. It would actually be nice if all USB modules were loadable kernel modules instead of being built in, to make it easier to pass parameters to the drivers for adding support for generic class devices to specific implementations.
#12 Updated by Chris Collins over 1 year ago
Not sure why you keep pushing back the target, its 2 mins to add a few words to the kernel module build command and then you have the modules built.
Just the two modules I put in this post.
Now there is issues with the DHCP not auto reacquiring if the phone has to cycle its mobile data, and that ue0 will disappear if the tethering is disconnected so would need reassigning after, but those are outside of the scope of this issue, which is just to provide the modules in the pfsense kernel build. :)
#20 Updated by Viktor Gurov 3 months ago
- Status changed from Feedback to Resolved
works as expected with Android:
# usbconfig ... ugen5.2: <Xiaomi SDM660-MTP SN:XXXXXX> at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) # dmesg ... urndis0 on uhub5 urndis0: <RNDIS Communications Control> on usbus5 ue0: <USB Ethernet> on urndis0 ue0: Ethernet address: 0e:16:b1:aa:aa:aa