Raspberry Pi itself with a network card, the beginning of the mac address b8
I begin with the installation of a piece of card 48
Before've configured the networking of two network cards, a adhoc, even a wifi (Configuration Tutorial: https://blog.csdn.net/Lin_QC/article/details/90717218 )
Due to the experimental needs, I want to use to install the card turned adhoc, but with built-in network card to connect wifi
But I found that every time you open raspberry pie, always use the card to install the connection wifi, use their card to open adhoc
Network configuration file / etc / network / interfaces as follows:
auto wlan0
iface wlan0 inet static
address 192.168.1.249
netmask 255.255.255.0
gateway 192.168.1.1
wpa_conf /etc/wpa_supplicant/wpa_supplicant.conf
auto wlan1
iface wlan1 inet static
address 10.0.0.1
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
wireless-channel 3
wireless-essid mypi
wireless-mode ad-hoc
I think the method is to directly modify wlan order, so that probably changed, modified file as follows:
auto wlan1
iface wlan1 inet static
address 192.168.1.249
netmask 255.255.255.0
gateway 192.168.1.1
wpa_conf /etc/wpa_supplicant/wpa_supplicant.conf
auto wlan0
iface wlan0 inet static
address 10.0.0.1
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
wireless-channel 3
wireless-essid mypi
wireless-mode ad-hoc
After changing for the better, I restart, I found that can not be switched, the whole stuck, this time to an external network adapter, unplug, restart, log system
Internet search a lot of ways, not find the answer
Finally, disable the onboard network card on a youtube video to see hope
We open a folder blacklist
cd /etc/modprobe.d
Can see a lot blacklist this folder, we put two of deleted
blacklist-rtl8192cu.conf
blacklist-rtl8xxxu.conf
I guess these two files, disable some of the functionality of an external chip card, led card machine
Again, we restart, you can not find the card machine, and wlan card can also order any replacement of the configuration file.