garywill / linux-router

Set Linux as router in one command. Support Internet sharing, redsocks, Wifi hotspot, IPv6. Can also be used for routing VM/containers 🛰️ (也欢迎关注B站 https://space.bilibili.com/2123686105 )
GNU Lesser General Public License v2.1
1.71k stars 152 forks source link

AP and connect to a network with single device? #13

Closed AshWhitear closed 3 years ago

AshWhitear commented 3 years ago

Hey there,

Just wondered if this is possible?

Great work on this btw, its brill.

Thanks, Ash.

garywill commented 3 years ago

Yes, wIll work, if your adapter supports. Your wlan0 connected to a network. A virtual x0wlan0 will be created to be hotspot.(Many adapter requires wlan0 and x0wlan0 on same channel)

chromer030 commented 3 years ago

If your adapter supports WiFi Direct, it can be used automatically for this purpose.

AshWhitear commented 3 years ago

Perfect, will give it a crack and report back - thanks both for such a speedy response!