You are not logged in.

#1 2017-06-25 22:09:46

ethanabrooks
Member
Registered: 2017-06-16
Posts: 9

[SOLVED] iPhone tethering

I am trying to follow these instructions for accessing internet through my iphone. I run

❯ idevicepair pair
SUCCESS: Paired with device 9a896cb78d193aba38e6a088feb436319e12079f

However, when I try to connect to the network called "Ethan Brooks\xe2\x80\x99s iPhone" via `wifi-menu`, I get the following error in `systemctl status`:

❯ systemctl status "netctl@wlp4s0\\x2dEthan\\x20Brooks\\x5cxe2\\x5cx80\\x5cx99s\\x20iPhone.service"
● netctl@wlp4s0\x2dEthan\x20Brooks\x5cxe2\x5cx80\x5cx99s\x20iPhone.service - Networking for netctl profile wlp4s0-Ethan Brooks\xe2\x80\x99s iPhone
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2017-06-25 14:25:37 PDT; 31min ago
     Docs: man:netctl.profile(5)
  Process: 17859 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
 Main PID: 17859 (code=exited, status=1/FAILURE)

Jun 25 14:25:20 roskolnikov systemd[1]: Starting Networking for netctl profile wlp4s0-Ethan Brooks\xe2\x80\x99s iPhone...
Jun 25 14:25:20 roskolnikov network[17859]: Starting network profile 'wlp4s0-Ethan Brooks\xe2\x80\x99s iPhone'...
Jun 25 14:25:36 roskolnikov network[17859]: WPA association/authentication failed for interface 'wlp4s0'
Jun 25 14:25:37 roskolnikov network[17859]: Failed to bring the network up for profile 'wlp4s0-Ethan Brooks\xe2\x80\x99s iPhone'
Jun 25 14:25:37 roskolnikov systemd[1]: netctl@wlp4s0\x2dEthan\x20Brooks\x5cxe2\x5cx80\x5cx99s\x20iPhone.service: Main process exited, code=exited, status=1/FAILURE
Jun 25 14:25:37 roskolnikov systemd[1]: Failed to start Networking for netctl profile wlp4s0-Ethan Brooks\xe2\x80\x99s iPhone.
Jun 25 14:25:37 roskolnikov systemd[1]: netctl@wlp4s0\x2dEthan\x20Brooks\x5cxe2\x5cx80\x5cx99s\x20iPhone.service: Unit entered failed state.
Jun 25 14:25:37 roskolnikov systemd[1]: netctl@wlp4s0\x2dEthan\x20Brooks\x5cxe2\x5cx80\x5cx99s\x20iPhone.service: Failed with result 'exit-code'.

I have installed all the necessary packages and mounted my iphone to `/mnt/iphone`:

❯ cat /proc/mounts | ag iphone
ifuse /mnt/iphone fuse.ifuse rw,nosuid,nodev,relatime,user_id=0,group_id=0 0 0

`modprobe ipheth` gives no output (so I assume it works?).

This is the output of `iw dev wlp4s0 scan` for the network of interest:

BSS f6:31:c3:24:31:e3(on wlp4s0)
	last seen: 23416.831s [boottime]
	TSF: 84378241 usec (0d, 00:01:24)
	freq: 2412
	beacon interval: 100 TUs
	capability: ESS Privacy SpectrumMgmt ShortSlotTime RadioMeasure (0x1511)
	signal: -30.00 dBm
	last seen: 1456 ms ago
	Information elements from Probe Response frame:
	SSID: Ethan Brooks\xe2\x80\x99s iPhone
	Supported rates: 1.0* 2.0* 5.5* 11.0* 18.0 24.0 36.0 54.0 
	DS Parameter set: channel 1
	TIM: DTIM Count 1 DTIM Period 3 Bitmap Control 0x0 Bitmap[0] 0x0
	Country: US	Environment: Indoor/Outdoor
		Channels [1 - 13] @ 30 dBm
	Power constraint: 0 dB
	TPC report: TX power: 17 dBm
	ERP: Use_Protection
	Extended supported rates: 6.0 9.0 12.0 48.0 
	RSN:	 * Version: 1
		 * Group cipher: CCMP
		 * Pairwise ciphers: CCMP
		 * Authentication suites: PSK
		 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
	HT capabilities:
		Capabilities: 0x2d
			RX LDPC
			HT20
			SM Power Save disabled
			RX HT20 SGI
			No RX STBC
			Max AMSDU length: 3839 bytes
			No DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 4 usec (0x05)
		HT RX MCS rate indexes supported: 0-15
		HT TX MCS rate indexes are undefined
	HT operation:
		 * primary channel: 1
		 * secondary channel offset: no secondary
		 * STA channel width: 20 MHz
		 * RIFS: 0
		 * HT protection: non-HT mixed
		 * non-GF present: 0
		 * OBSS non-GF present: 1
		 * dual beacon: 0
		 * dual CTS protection: 0
		 * STBC beacon: 0
		 * L-SIG TXOP Prot: 0
		 * PCO active: 0
		 * PCO phase: 0
	Extended capabilities: Extended Channel Switching
	WMM:	 * Parameter version 1
		 * u-APSD
		 * BE: CW 15-1023, AIFSN 3
		 * BK: CW 15-1023, AIFSN 7
		 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
		 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec

Please let me know if I can provide any additional information, and thank you for your help.

Last edited by ethanabrooks (2017-09-29 12:16:26)

Offline

#2 2017-06-25 22:14:38

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] iPhone tethering

Once tethered the iPhone should provide an ethernet device via the USB connection. Why are you using wifi-menu to try and connect?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-09-29 12:15:51

ethanabrooks
Member
Registered: 2017-06-16
Posts: 9

Re: [SOLVED] iPhone tethering

I see. After idevicepair pair, no additional steps were required. I was simply able to connect to the internet even though my wifi was still down.

Last edited by ethanabrooks (2017-09-29 12:16:14)

Offline

Board footer

Powered by FluxBB