question about iphone 8 share LTE4g network ith freebsd14.2 ?

Dear all :
i have iphone 8 with LTE4g network . this iphone 8 can go internet with LTE4g ..

1 . use the usb cable connect Iphone8 with freebsd14.2 laptop. and this laptop have a wireless adapter
2. active iphone 8 LTE4g network.
3. i want to freebsd14.2 machine use iphone8 LTE4g going to internet with usb cable....can i do it ?

thanks.

as i know , i can use iphone8 as hotspot, then the freebsd14.2 laptop use wireless connect this hotspot to go internet.
 
Apparently one must activate iPhone's personal hotspot first, then plug in the FreeBSD machine. The ipheth(4) driver should create a "ue0" network interface.

After activating the personal hotspot and plugging in the iPhones USB cable into the machine, execute dmesg(8), see if there is a "ue0" interface at end of page (alternatively change to system console: Alt + F1).
Dear T-Daemon :
the iphone 8 use usb cable connected freebsd14.2 . i don't find any ipheth(4) driver ceate ue0 network interface .
1. how to install ipheth driver ?
thanks.
 
the iphone 8 use usb cable connected freebsd14.2
Is the personal hotspot on the iphone activated?

i don't find any ipheth(4) driver ceate ue0 network interface .
In this case try kldload if_ipheth, watch dmesg.

If there is still no "ue0" what messages does dmesg trigger when the iphone is plugged in?

1. how to install ipheth driver ?
No need to install, the driver comes in base ( /boot/kernel/if_ipheth.ko )
 
Dear T-Daemon :
1. yes, the iphone 8 personal hotspot was activated.
2. fellow your step, kldload if_ipheth . dmesg show below line
ugen1.3: <Apple Inc. iPhone> at usbus1
and if_ipheth.ko , uether.ko load to kernel.

plug out iphone8 , plug in iphone8
ugen1.3: <Apple Inc. iPhone> at usbus1 (disconnected)
ugen1.3: <Apple Inc. iPhone> at usbus1
ugen1.3: <Apple Inc. iPhone> at usbus1 (disconnected)
ugen1.3: <Apple Inc. iPhone> at usbus1


3. the iphone8 use usb cable connect this laptop. and still no "ue0" appear .

note: laptop was freebsd14.2 , iphone8 was ios 18.1.1

thanks.
 
DEar T-Daemon :
i have fellow man ipheth .
1.
usbconfig -d 0.2 dump_all_config_desc | grep -E '(^ Conf|iConf)'
Configuration index 0
iConfiguration = 0x0005 <PTP>
Configuration index 1
iConfiguration = 0x0006 <iPod USB Interface>
Configuration index 2
iConfiguration = 0x0007 <PTP + Apple Mobile Device>
Configuration index 3
iConfiguration = 0x0008 <PTP + Apple Mobile Device + Apple USB Ethernet>


2. usbconfig -d 0.2 set_config 3

3. dmesg about iphone8
ipheth0: detached
ugen1.3: <Apple Inc. iPhone> at usbus1
ipheth0 on uhub1
ipheth0: <Apple Inc. iPhone, class 0/0, rev 2.00/12.01, addr 4> on usbus1
ue0: <USB Ethernet> on ipheth0
ue0: Ethernet address: 4e:20:b8:8f:1a:16


#ifconfig ue0
ue0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 4e:20:b8:8f:1a:16
media: Ethernet autoselect
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

now the ue0 come here.
in the same time the iphone 8 hotspot was actived .
dhclient ue0 don't work. ue0 can not get ip . thanks.
 
DEar T-Daemon :
i have fellow man ipheth .
1.
usbconfig -d 0.2 dump_all_config_desc | grep -E '(^ Conf|iConf)'
Configuration index 0
iConfiguration = 0x0005 <PTP>
Configuration index 1
iConfiguration = 0x0006 <iPod USB Interface>
Configuration index 2
iConfiguration = 0x0007 <PTP + Apple Mobile Device>
Configuration index 3
iConfiguration = 0x0008 <PTP + Apple Mobile Device + Apple USB Ethernet>


2. usbconfig -d 0.2 set_config 3

3. dmesg about iphone8
ipheth0: detached
ugen1.3: <Apple Inc. iPhone> at usbus1
ipheth0 on uhub1
ipheth0: <Apple Inc. iPhone, class 0/0, rev 2.00/12.01, addr 4> on usbus1
ue0: <USB Ethernet> on ipheth0
ue0: Ethernet address: 4e:20:b8:8f:1a:16


#ifconfig ue0
ue0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=80000<LINKSTATE>
ether 4e:20:b8:8f:1a:16
media: Ethernet autoselect
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

now the ue0 come here.
in the same time the iphone 8 hotspot was actived .
dhclient ue0 don't work. ue0 can not get ip . thanks.
i use an lte/4g modem to connect to the net. i would also connect using my android mobile. both work. i put this in my /etc/rc.conf
ifconfig_ue0="SYNCDHCP"
 
i found out the latest port of usbmuxd does not work but i have an older one that does. i did not investigate why yet
it runs but cant get an ip both on 13.5 and 14.1
 
i found out the latest port of usbmuxd does not work but i have an older one that does. i did not investigate why yet
it runs but cant get an ip both on 13.5 and 14.1
DEar covacat :
yes , i have installed usbmuxd in freebsd14.2 ..but only we can get ue0 and ue1 network interface . when i active my LTE and hotspot. the ue0 don't work to get IP. thanks.
 
here is an older version along with shared libs it needs
if you trust it unpack it in some dir and
export LD_LIBRARY_PATH=/that/dir
/that/dir/usbmuxd -f
 

Attachments

Back
Top