差别
这里会显示出您选择的修订版和当前版本之间的差别。
tips:changing_the_usb_network_ip [2022/04/16 09:20] baolitoumu 创建 |
— (当前版本) | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== Changing the USB Network IP ====== | ||
- | By default, both rM1 and rM2 expose [[tech: | ||
- | |||
- | //Warning: Be careful when changing the USB network configuration in a [[tech: | ||
- | |||
- | As an example, we’ll change the configuration to use the '' | ||
- | |||
- | <code ini / | ||
- | Address=10.11.88.1/ | ||
- | </ | ||
- | |||
- | Then, open the DHCP server configuration located ''/ | ||
- | |||
- | <code conf / | ||
- | start | ||
- | end | ||
- | option | ||
- | </ | ||
- | |||
- | Restart both the DHCP server and the network service to apply the configuration changes. | ||
- | |||
- | < | ||
- | $ systemctl restart busybox-udhcpd@usb0.service systemd-networkd | ||
- | </ | ||
- | |||
- | Finally, unplug the USB cable and plug it back again to renew your computer’s DHCP lease. |