• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

How to install iphone driver on pfsense?

Scheduled Pinned Locked Moved Hardware
10 Posts 5 Posters 1.9k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    cicciopap
    last edited by Apr 4, 2021, 7:05 PM

    hi, how can I install the drivers for iphone so that I can use it with tethering? Could someone guide me step by step? I wanted to create a load balancing between 2 wan.Una fixed network and one with the iphone with lte connection.
    Sincerely

    N 1 Reply Last reply Apr 5, 2021, 5:16 PM Reply Quote 0
    • N
      NollipfSense @cicciopap
      last edited by NollipfSense Apr 5, 2021, 5:31 PM Apr 5, 2021, 5:16 PM

      @cicciopap Please see here: https://forum.netgate.com/topic/115954/using-wireless-mobile-hotspot-device-as-wan

      And here: https://forum.netgate.com/topic/117126/how-to-connect-pfsense-wan-to-a-wireless-access-point

      pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
      pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Apr 6, 2021, 10:44 AM

        The drivers are shipped with pfSense but need to be loaded. At the command line run: kldload if_ipheth then a connected iphone should appear as a USB Ethernet device you can assign.

        Steve

        C 1 Reply Last reply Apr 11, 2021, 4:33 PM Reply Quote 1
        • C
          cicciopap @stephenw10
          last edited by Apr 11, 2021, 4:33 PM

          @stephenw10 said in How to install iphone driver on pfsense?:

          kldload if_ipheth

          Thanks for the reply. I tried typing "kldload if_ipheth" but nothing is detected no Iphone. I have tried with an android device and it works. But I must necessarily use an iphone. What do you suggest?

          J 1 Reply Last reply Apr 11, 2021, 4:51 PM Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator @cicciopap
            last edited by johnpoz Apr 11, 2021, 4:56 PM Apr 11, 2021, 4:51 PM

            So I have a iphone XR, and just plugged it in, and while I see it once I load the driver.. Haven't tried to actually assign it to interface yet..

            You can see in dmesg

            ugen0.4: <Apple Inc. iPhone> at usbus0
            

            And then from usbconfig

            [21.02-RELEASE][admin@sg4860.local.lan]/: usbconfig
            ugen0.1: <Intel EHCI root HUB> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
            ugen0.2: <vendor 0x8087 product 0x07db> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
            ugen0.3: <Generic Ultra Fast Media> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (96mA)
            ugen0.4: <Apple Inc. iPhone> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
            

            You can see it there listed as ugen0.4... I have to run out - but hope to play with this more when I get back.

            you prob have to do something with usbconfig and set config.. Off the top don't know the full details.. Will hope to look into when get back.. Would be a nice failover feature if my isp goes out and want my network to still have internet ;)

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            C 1 Reply Last reply Apr 11, 2021, 5:19 PM Reply Quote 0
            • C
              cicciopap @johnpoz
              last edited by Apr 11, 2021, 5:19 PM

              @johnpoz
              following this guide it now also works with iphone.

              https://joshspicer.com/iphone-pfsense

              J 1 Reply Last reply Apr 11, 2021, 8:33 PM Reply Quote 1
              • J
                johnpoz LAYER 8 Global Moderator @cicciopap
                last edited by Apr 11, 2021, 8:33 PM

                Yeah that worked here too - great to have in the back pocket.

                I did have to toggle the interface a few times to get an IP.. But came up.. and routed some traffic through it via a policy route..

                BTW - make sure you have the correct number when you do your set_config, and your picking your phone :) I put in wrong number and pfsense rebooted ;)

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by stephenw10 Apr 11, 2021, 8:57 PM Apr 11, 2021, 8:56 PM

                  @cicciopap said in How to install iphone driver on pfsense?:

                  https://joshspicer.com/iphone-pfsense

                  Only thing I would do differently there is use the provided usb_quirk method to set the config index to use.
                  E.g. hw.usb.quirk.0="0x04d9 0xfa50 0 0xffff UQ_CFG_INDEX_3"

                  But with the VID/PID from your phone. That makes it independent of the ugen number.

                  Be aware that assigning the created ue interface and then disconnecting the phone will render pfSense unable to boot!

                  Steve

                  N 1 Reply Last reply Apr 12, 2021, 3:39 PM Reply Quote 0
                  • N
                    NogBadTheBad @stephenw10
                    last edited by NogBadTheBad Apr 12, 2021, 3:42 PM Apr 12, 2021, 3:39 PM

                    BTW if people are tempted to connect their pfSense box to the iPhone with Wi-Fi to use the hotspot, the SSID won't be visible in pfSense if your phone is named with the traditional Fred's iPhone, I just spent a few hours trying to get it to work.

                    If you take out any spaces and apostrophes you can then see the SSID 😠

                    Andy

                    1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                    1 Reply Last reply Reply Quote 0
                    • N
                      NollipfSense
                      last edited by Apr 22, 2021, 3:18 PM

                      Glad to know this solution confirmed working and is a great hurricane or other disaster back.

                      pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                      pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received