1. 使用官网的NOOBS 安装的Raspbian GNU/Linux 8.0 (jessie)
2. 修改 后的interfaces 为:
pi@raspberrypi:~ $ more /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
3.
pi@raspberrypi:~ $ ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr b8:27:eb:27:07:6c
inet6 addr: fe80::24e4:89da:4bf8:cffd/64 Scopeink
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:2891 errors:0 dropped:2891 overruns:0 frame:0
TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:771643 (753.5 KiB) TX bytes:236 (236.0 B)
4. 以上所有的都是有线网络连接是通过SSH 执行的。
问题是:
1. 板载的无线网卡 为什么有wlan0 和wlan1 两个?, 我没接外置的。
2. 在图形界面右上角“两个电脑”的图标点击后可以看到热点,应该说明无线网卡没问题, 弹出窗口要求输入 “pre shared key ” , 我输入无线的密码, 不报错,关闭后,“两个电脑”浮动显示“wlan0 not associated”?
3. 不会有线通的时候,无线不能连接?
我是新手,请大侠指教。
|
|