imported>Gongjak |
imported>Gongjak |
| (같은 사용자의 중간 판 하나는 보이지 않습니다) |
| 1번째 줄: |
1번째 줄: |
| Ubuntu 16.04 에서 안됩니다.
| |
|
| |
|
| [ 2076.177925] ipheth 1-2:4.2: ipheth_rcvbulk_callback: urb status: -71
| |
| [ 2076.178859] usb 1-2: USB disconnect, device number 5
| |
| [ 2076.207090] ipheth 1-2:4.2: Apple iPhone USB Ethernet now disconnected
| |
| [ 2081.003543] usb 1-2: new high-speed USB device number 6 using xhci_hcd
| |
| [ 2081.191066] usb 1-2: New USB device found, idVendor=05ac, idProduct=12a8
| |
| [ 2081.191078] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
| |
| [ 2081.191086] usb 1-2: Product: iPhone
| |
| [ 2081.191092] usb 1-2: Manufacturer: Apple Inc.
| |
| [ 2081.191098] usb 1-2: SerialNumber: 818c7f5caf2933151a3a6743c2d4eef25795a9af
| |
| [ 2081.193152] usb 1-2: ep 0x2 - rounding interval to 8 microframes, ep desc says 10 microframes
| |
| [ 2081.193172] usb 1-2: ep 0x81 - rounding interval to 8 microframes, ep desc says 10 microframes
| |
| [ 2081.273577] usb 1-2: ep 0x2 - rounding interval to 8 microframes, ep desc says 10 microframes
| |
| [ 2081.273583] usb 1-2: ep 0x81 - rounding interval to 8 microframes, ep desc says 10 microframes
| |
| [ 2081.281212] ipheth 1-2:4.2: Apple iPhone USB Ethernet device attached
| |
| [ 2081.287431] ipheth 1-2:4.2 enp0s20f0u2c4i2: renamed from eth0
| |
| [ 2081.311786] IPv6: ADDRCONF(NETDEV_UP): enp0s20f0u2c4i2: link is not ready
| |
| [ 2081.312346] IPv6: ADDRCONF(NETDEV_UP): enp0s20f0u2c4i2: link is not ready
| |
|
| |
| $ ifconfig
| |
| enp0s20f0u2c4i2 Link encap:Ethernet HWaddr 1e:5c:f2:52:44:b4
| |
| UP BROADCAST MULTICAST MTU:1500 Metric:1
| |
| RX packets:4 errors:0 dropped:1 overruns:0 frame:0
| |
| TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
| |
| collisions:0 txqueuelen:1000
| |
| RX bytes:380 (380.0 B) TX bytes:0 (0.0 B)
| |
|
| |
| 아이폰은 파란 막대바가 표시되고 hotspot이 동작중이라고 나오나 리눅스에서는 IP를 받아오질 못하고 인터넷 연결이 안됩니다.
| |
|
| |
| github 에서 소스를 받아다 설치하려 했는데...
| |
|
| |
| git clone git://github.com/dgiagio/ipheth.git
| |
|
| |
| ipheth-pair은 컴파일이 잘되나 ipheth-driver는 안되네요.
| |
|
| |
| ~/temp/ipheth/ipheth-driver$ make
| |
| make -C /lib/modules/4.4.0-28-generic/build M=/home/temp/ipheth/ipheth-driver modules
| |
| make[1]: Entering directory '/usr/src/linux-headers-4.4.0-28-generic'
| |
| CC [M] /home/temp/ipheth/ipheth-driver/ipheth.o
| |
| /home/temp/ipheth/ipheth-driver/ipheth.c: In function ‘ipheth_probe’:
| |
| /home/temp/ipheth/ipheth-driver/ipheth.c:575:2: error: implicit declaration of function ‘SET_ETHTOOL_OPS’ [-Werror=implicit-function-declaration]
| |
| SET_ETHTOOL_OPS(netdev, &ops);
| |
| ^
| |
| cc1: some warnings being treated as errors
| |
| scripts/Makefile.build:264: recipe for target '/home/temp/ipheth/ipheth-driver/ipheth.o' failed
| |
| make[2]: *** [/home/temp/ipheth/ipheth-driver/ipheth.o] Error 1
| |
| Makefile:1403: recipe for target '_module_/home/temp/ipheth/ipheth-driver' failed
| |
| make[1]: *** [_module_/home/temp/ipheth/ipheth-driver] Error 2
| |
| make[1]: Leaving directory '/usr/src/linux-headers-4.4.0-28-generic'
| |
| Makefile:11: recipe for target 'all' failed
| |
| make: *** [all] Error 2
| |
|
| |
|
| |
|
| |
| 해결하신 분 있으시면 알려주세요.
| |