Project

General

Profile

Actions

Feature #7467

closed

Add iPhone/Android/Generic USB tethering support

Added by Ivor Kreso over 4 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Category:
Hardware / Drivers
Target version:
Start date:
04/12/2017
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:

Actions #2

Updated by Jessica Porter over 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.

Actions #3

Updated by Kill Bill over 4 years ago

Jessica Porter wrote:

The urndis driver would be nice as well.

There's already #6293 for that. (See https://redmine.pfsense.org/issues/7468#note-1 for general notes about "usability" of these things.)

Actions #4

Updated by Renato Botelho about 4 years ago

  • Target version changed from 2.4.0 to 2.4.1

We need to make tests and it's too late for 2.4.0

Actions #5

Updated by Renato Botelho about 4 years ago

  • Subject changed from Add iPhone tethering support - add ipheth driver to Add iPhone/Android/Generic USB tethering support
  • Assignee set to Renato Botelho

Generalize the topic to be able to close older tickets

Actions #6

Updated by Jim Pingle almost 4 years ago

  • Target version changed from 2.4.1 to 2.4.2

Moving target to 2.4.2 as we need 2.4.1 sooner than anticipated.

Actions #7

Updated by Jim Pingle almost 4 years ago

  • Target version changed from 2.4.2 to 2.4.3
Actions #8

Updated by Jim Pingle over 3 years ago

  • Target version changed from 2.4.3 to 2.4.4
Actions #9

Updated by Steve Beaver about 3 years ago

  • Target version changed from 2.4.4 to 48
Actions #10

Updated by Jim Pingle over 2 years ago

  • Target version changed from 48 to 2.5.0
Actions #11

Updated by Jim Pingle about 2 years ago

  • Category set to Hardware / Drivers
Actions #12

Updated by Chris Collins almost 2 years 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.

https://forum.netgate.com/topic/117929/how-to-usb-tether-on-pfsense-2-4-as-router

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. :)

Actions #13

Updated by Renato Botelho over 1 year ago

  • Status changed from New to In Progress

I've added if_urndis, if_cdce and if_ipheth modules to the build. They will be available on next 2.5.0 snapshots and will need to be loaded manually for now

Actions #14

Updated by Renato Botelho over 1 year ago

I've also added the modules to 2.4.5

Actions #15

Updated by Renato Botelho about 1 year ago

  • Status changed from In Progress to Feedback
Actions #16

Updated by Steve Beaver 12 months ago

  • Status changed from Feedback to Resolved
Actions #17

Updated by Oleg Tyaglo 11 months ago

I am on the 2.4.5-RELEASE-p1 (arm64), SG-1100

The if_ipheth kernel module is missing:

kldload: can't load if_ipheth: No such file or directory

Actions #18

Updated by Renato Botelho 11 months ago

  • Status changed from Resolved to Feedback

I've enabled it to build on armv7 and arm64 on 2.5.0. Please check next round of snapshots

Actions #19

Updated by Jordan Greene 9 months ago

I was able to get my iphone6s+ on ios13.5 to tether to
SG-3100
2.5.0-DEVELOPMENT (arm)
built on Tue Dec 15 02:56:11 EST 2020
FreeBSD 12.2-STABLE

will test with android and report back

Actions #20

Updated by Viktor Gurov 8 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

pfSense 2.5.0.a.20210114.2350

Actions

Also available in: Atom PDF