Board logo

標題: Raspberry Pi —— WiFi interface 怎样set static IP? [打印本頁]

作者: 角色    時間: 2019-2-9 21:38     標題: Raspberry Pi —— WiFi interface 怎样set static IP?

在/etc/dhcpcd.conf

加入:
  1. interface wlan0
  2. static ip_address=192.168.1.2/24
  3. static routers=192.168.1.1
  4. static domain_name_servers=8.8.8.8
複製代碼
Reference
[1] https://www.raspberrypi.org/forums/viewtopic.php?t=201758




歡迎光臨 電訊茶室 (http://telecom-cafe.com/forum/) Powered by Discuz! 7.2