Skip to content

Instantly share code, notes, and snippets.

View mochki's full-sized avatar
🇯🇵
i could really use some time in Japan rn

キ ki mochki

🇯🇵
i could really use some time in Japan rn
View GitHub Profile
@mochki
mochki / iphone-usb_tethering-to-rpi.md
Last active January 30, 2024 07:41 — forked from antronic/iphone-usb_tethering-to-rpi.md
iPhone RPi Hotspot/Ethernet

iPhone Tethering to Raspberry Pi

  • update n shit
  • sudo apt install usbmuxd ipheth-utils libimobiledevice-utils
  • (on iPhone) plug in & trust. Enable hotspot if not already

internet should be working now. nmcli is what RPi uses

ethernet

  • sudo nmcli c add con-name <connection-name> type ethernet ifname <interface-name> ipv4.method shared ipv6.method ignore
  • sudo nmcli c up