Hotspot from wlan0 to wlan1 2 wifi adapters

2017-07-15 20:38:36

I've 2 wifi adapters and I'm searching to find a valid method to create a hotspot connecting it to my wlan0 interface That is connected to the internet via wifi.

I've found some tutorials/articles but does not work or they speak about only one Wifi adapter.

For example i've found this https://github.com/DrRowland/pifi2wifi

INTERNET <-- wlan0 (internet connection) --> MACHINE <-- wlan1 (hotspot) --> OTHER DEVICES

How i can do this?

Sorry in advance for my bad english :)

I have done this with 2 USB nano wifi adapters. The first challenge is making sure one of the wifi adapters supports "master" mode which is necessary to configure it as a hotspot. Try sudo iwconfig wlanX mode master on each one. If one of them supports master mode (no error), you're in business. If not, there's no sense continuing until you have one that does.

There are 3 steps involved:

Configure one of your wifi interfaces as a hotspot. You do this with

hostapd.

Configure the other wifi inter

  • I have done this with 2 USB nano wifi adapters. The first challenge is making sure one of the wifi adapters supports "master" mode which is necessary to configure it as a hotspot. Try sudo iwconfig wlanX mode master on each one. If one of them supports master mode (no error), you're in business. If not, there's no sense continuing until you have one that does.

    There are 3 steps involved:

    Configure one of your wifi interfaces as a hotspot. You do this with

    hostapd.

    Configure the other wifi interface to connect to your

    Internet connection - presumably some sort of existing network.

    Configure routing or bridging to pass the traffic between the wifi

    interfaces. From what you're describing, you probably want routing

    with Network Address Translation (NAT) to allow your wifi devices

    connecting to the RPi to share its IP address for Internet access.

    Dave Conroy has a nice howto, including links to a version of hostapd modified for the Edimax nano wifi adapter that I use for creating ho

    2017-07-15 21:33:24
  • thank you, I tried all sorts. You showed me in 30 seconds that it wasnt possible thus saving me more time

    2017-07-15 22:40:53