Had an interesting problem today where I have to access 2 separate wifi networks at the same time so that I could use 1 to access the internet, and the other to access the local network that has been set up.
Found some guiding light from here. So some network adapters can actually handle themselves like they are more than 1 adapter. The trick is to create a sort of virtual network adapter. Into the terminal, type:
Where wlan0 is the current device name of the wireless adapter. wlan1 is the new virtual adapter. You might find that you still can't connect because the mac address of the new adapter would still be the same as the original adapter. Change the mac address by typing:
After changing the mac address, I had to switch off and on again the network adapter before it actually worked. And by golly it actually works.
Found some guiding light from here. So some network adapters can actually handle themselves like they are more than 1 adapter. The trick is to create a sort of virtual network adapter. Into the terminal, type:
sudo iw dev wlan0 interface add wlan1 type station
Where wlan0 is the current device name of the wireless adapter. wlan1 is the new virtual adapter. You might find that you still can't connect because the mac address of the new adapter would still be the same as the original adapter. Change the mac address by typing:
sudo ip link set dev wlan1 address
After changing the mac address, I had to switch off and on again the network adapter before it actually worked. And by golly it actually works.
Comments