I am trying to use Raspberry Pi as hotspot device. I am following this documentation: https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md
I am not using ethernet eth0 to access the internet on the raspberry device. I am using wlan0 to access the internet. I have a USB wifi dongle and I want to use it for this purpose.
What changes I should do in the configuration as described in this documentation to achieve this? The output of my ip addr command is like:
ip addr
1. lo: ....
2. eth0: <NO-CARRIER,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
3. wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet xxx.xxx.xx.xxx/20 brd xxx.xxx.xx.xxx scope global wlan0
valid_lft forever preferred_lft forever
inet6 xxxx::xxx:xxxx:xxxx:xxxx/64 scope link
valid_lft forever preferred_lft forever
I want to add wlan1 where I will use the USB dongle to work as access point. How can I achieve this?