RaspberryPi-One-Wire
RaspberryPi-One-Wire copied to clipboard
Use a sigle USB-C cable to transfer data between RaspberryPi 4B and iPad
  - 我的ipad型号是ipad pro2021然后 我的数据线原版的和网上博主推荐的都试过了都无法给我的iPad分配ip - 树莓派的型号是4b 4g 和2g版本 - 而且我也尝试过ipad设置静态ip也没有办法做到访问树莓派,树莓派端也ping不到这个ipad的静态地址
I ran the .sh file on my RBPi 4 8G with fresh-installed Raspberry Pi OS and got a kernel panic after rebooting. 
```sh echo -e "interface=usb0\ndhcp-range=10.55.0.2,10.55.0.6,255.255.255.248,1h\ndhcp-option=3\nleasefile-ro" >> /etc/dnsmasq.d/usb echo -e "auto usb0\nallow-hotplug usb0\niface usb0 inet static\n address 10.55.0.1\n netmask 255.255.255.248">> /etc/network/interfaces.d/usb0 # ... ... echo -e "#!/bin/bash\n/root/usb.sh\nexit 0" > /etc/rc.local ``` 经测试这三行指令的...