iPhone tethering
-
Yup you need to add a usb quirk against the vid/pid: https://man.freebsd.org/cgi/man.cgi?query=usb_quirk#LOADER_TUNABLE
-
I did a (see below) to get the vid/pid
[2.8.1-RELEASE][root@pfSense.localdomain]/root: usbconfig -d 0.2 dump_device_desc ugen0.2: <iPhone 5/5C/5S/6/SE/7/8/X/XR Apple, Inc.> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 <Probed by interface class> bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x05ac idProduct = 0x12a8 bcdDevice = 0x1502 iManufacturer = 0x0001 <Apple Inc.> iProduct = 0x0002 <iPhone> iSerialNumber = 0x0003 <000081200011685234EB401E> bNumConfigurations = 0x0004 [2.8.1-RELEASE][root@pfSense.localdomain]/root:
I can't seem to find the LowRevision HighRevision? So should I make them 0x0000 0xffff?
If so, then below I think is what I should enter in loader.conf or in should it be in
/boot/loader.conf.local?usb_quirk_load="YES" hw.usb.quirk.0="0x05ac 0x12a8 0x0000 0xffff UQ_CFG_INDEX_3"
-
Yup exactly that. And, yes, just set all revisions like that.
-
Just one final question, should I place these 2 lines in loader.conf or create a loader.conf.local and place it there?
sb_quirk_load="YES" hw.usb.quirk.0="0x05ac 0x12a8 0x0000 0xffff UQ_CFG_INDEX_3"
-
@Qinn said in iPhone tethering:
loader.conf
afaik :
Can get rewritten (modified) by pfSense.
loader.conf.local isn't touched by pfSense.edit : and both are used/read by the kernel.
-
@Gertjan A bit confused, so I should create a loader.conf.local and save these 2 lines there?
-
Yes, create loader.conf.local and use that.
-
@stephenw10 Thanks for Chiming in and clarifying it
-
Extra info : Managing Loader Tunables.
-
@Gertjan Thanks for pointing that one out.
-
@Qinn FWIW, if you want the loader.conf.local file backed up in the config, you can create a custom patch in System / Patches. Since you are patching against an empty file, be sure that you do not enable Auto Apply.