Translations:FAQ/72/zh

From GhostBSD Wiki
Revision as of 01:24, 7 October 2019 by Litchi (Talk | contribs) (Created page with "如果未输出,则 GhostBSD 网络配置可能未检测到无线网卡。这时需要查看有没有安装了无线驱动。 : <code>sudo ifconfig | grep -B 3 802.11</code>...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

如果未輸出,則 GhostBSD 網絡配置可能未檢測到無線網卡。這時需要查看有沒有安裝了無線驅動。

sudo ifconfig | grep -B 3 802.11

通常 run0 是無線驅動。

run0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
       ether 00:1e:e5:e6:5d:1
       nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
       media: IEEE 802.11 Wireless Ethernet autoselect mode 11a

如果輸出了類似上面的,則可以配置 /etc/rc.conf文件(ee 為文本管理器,可替換為你喜歡的 vim、nano和 pluma等)。

sudo ee /etc/rc.conf

/etc/rc.conf 中添加文本(替換run0 為你的無線設備)

wlans_run0="wlan0"
ifconfig_wlan0="WPA DHCP"

Esc 並保存,然後重啟netif

sudo /etc/rc.d/netif restart

則無線已配置好,可能需要開啟無線。

sudo ifconfig wlan0 up