Max2Play Home › Forums › Max2Play on Raspberry PI › How to replace internal WIFI function with aditional WIFI stick? › Reply To: How to replace internal WIFI function with aditional WIFI stick?
3. November 2016 at 15:48
#23649
Hi,
you have to edit a file and add a rule for your Wifi Stick to make sure it gets named wlan0:
Login per SSH as user pi and do
sudo nano /etc/udev/rules.d/70-persistent-net.rules
now add a new line and edit the old line that it looks like this:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="[MAC-ADDRESS-OF-YOUR-DEVICE]", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="*", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"
Change the part [MAC-ADDRESS-OF-YOUR-DEVICE] with your Mac-address of your wifi stick and change the name of the existing entry to wlan1.
This should do the trick.
All the Best,
Stefan
- This reply was modified 8 years, 1 month ago by flysurfer.