首页
Profile
Profile
Profile
Profile
Profile

树莓派网卡配置

2016-06-16 阅读 212
ifconfig -a ``` wlx085700aff981 Link encap:Ethernet HWaddr 08:57:00:af:f9:81 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) ``` vim /etc/network/interfaces ``` auto wlx085700aff981 iface wlx085700aff981 inet static address 192.168.1.201 netmask 255.255.255.0 gateway 192.168.1.1 dns-nameservers 114.114.114.114 wpa-conf /etc/wpa.conf ``` ifup wlx085700aff981 ``` RTNETLINK answers: File exists Failed to bring up wlx085700aff981. ``` ip addr flush dev wlx085700aff981 ifup wlx085700aff981
更新于 2023年03月28日
 
陕ICP备13008705号-1 Chat Gpt Api