Cannot use mobile wifi from IPhone

It's not clear from your description which network connection you are trying to astablish. Is it
  1. FreeBSD laptop -> iPhone, USB tethering (Mobile data)-> internet
  2. FreeBSD laptop -> iPhone, USB tethering (Wi-Fi)-> home router (Wi-Fi) -> internet.
  3. FreeBSD laptop (Wi-Fi), (net-mgmt/networkmgr) -> iPhone (Wi-Fi - Mobile hotspot, Mobile data) -> internet
If #1, see handbook 32.4. USB Tethering. You can run as root dhclient ue0 to configure the network interface by the iPhones DHCP server without editing /etc/rc.conf. For #2 I'm not sure if that works on an iPhone.

If #3 see handbook 32.3. Wireless Networking.
 
If you're able to activate the wifi Personal Hotspot on the iPhone, that's a more straightforward way to get internet to the laptop. This is what I do - iPhone and FreeBSD 13.
I successfully connected to a iphone 6 hotspot via wifi just entering ssid and psk in wpa_supplicant.conf.
One thing that I'm digging into is why iphone not showing up when `ifconfig wlan scan`.
After connecting, it shows listed.
 
Back
Top