Thursday, April 19, 2018

1 Wireless Adapter, 2 Wifi Network

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:
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.

2 comments:

William Jessie said...

Nice post which you have shared here about the Wifi Network. Your article is very informative and It resolved many of my doubts. If anyone looking for the Wifi network services Dubai, Visit techfix.ae

mikrotiknetwork said...

ฉันอ่านโพสต์ของคุณและรับข้อมูลค่อนข้างมาก ฉันประทับใจรายละเอียดที่คุณแชร์ในโพสต์นี้และมันแสดงให้เห็นว่าคุณเข้าใจเรื่องนี้ได้ดีเพียงใด หากใครสนใจอยากรู้เพิ่มเติมเกี่ยวกับ ไมโครติ๊ก วายฟาย เร้าท์เตอร์ เซอร์วิส ไทยแลนด์, เยี่ยมชม mikrotiknetwork.com

Is Blogging No Longer a Thing?

As I embark on my new journey to learn the Rust programming language, I find myself pondering—where have all the blogs gone? In search of pr...