标题: rv1126ip怎么修改 [打印本页] 作者: MMMorty 时间: 2021-11-18 14:56 标题: rv1126ip怎么修改 rv1126 ip怎么修改 作者: Xxd 时间: 2022-1-24 23:02
同问我设置成这样不成功
toybrick@debian10:/etc/network$ cat interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.26
netmask 255.255.255.255.0
gateway 192.168.0.1
auto wlan0
iface wlan0 inet dhcp
toybrick@debian10:/etc/network$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 10:dc:b6:90:54:60 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN group default qlen 1000
link/ether 10:2c:6b:10:cb:0c brd ff:ff:ff:ff:ff:ff