remarkable百科
Nav
Search
Edit
搜索
文章分类
站点工具
首页
常见问题
使用技巧
技术细节
故障排除
研究开发
资源下载
插件软件
快速链接
快速链接
官方网站
官方支持
云端同步
社区
社区
QQ群
Reddit
GitHub
页面工具
显示页面
修订记录
反向链接
站点工具
最近更改
媒体管理
网站地图
用户工具
管理
注册
登录
回到顶部
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
CKG 可视编辑器
====== Changing the USB Network IP ====== By default, both rM1 and rM2 expose [[tech:usb_network|USB Ethernet networks]] using the ''10.11.99.1/29'' network block. The devices both listen on ''10.11.99.1'' and assign IPs to clients in the range from ''10.11.99.2'' to ''10.11.99.6''. You might want to change this network configuration, for example if you own both a rM1 and a rM2 and you want to plug them both to the same computer. //Warning: Be careful when changing the USB network configuration in a [[tech:ssh|SSH through USB]] session—you could easily lock yourself out if you make a mistake! You should leave a terminal emulator like Fingerterm running on the device so that you can easily restore the network configuration to its previous state in case something goes wrong.// As an example, we’ll change the configuration to use the ''10.11.88.1/29'' block. First, open the network definition file located in ''/usr/lib/systemd/network/rndis.network''. You’ll need to change the following line: <code ini /usr/lib/systemd/network/rndis.network> Address=10.11.88.1/29 </code> Then, open the DHCP server configuration located ''/etc/udhcpd.usb0.conf''. Look for the following lines and update them: <code conf /etc/udhcpd.usb0.conf> start 10.11.88.2 end 10.11.88.6 option broadcast 10.11.88.7 </code> Restart both the DHCP server and the network service to apply the configuration changes. <code> $ systemctl restart busybox-udhcpd@usb0.service systemd-networkd </code> Finally, unplug the USB cable and plug it back again to renew your computer’s DHCP lease.