![]() ![]() Inet 192.168.3.254 netmask 255.255.255.0 broadcast 192.168.3.255Īs suggested in, rename the original configuration file and create a new file from the scratch.Ĥ-1. Nohook wpa_supplicant # don't call the wpa_supplicant hookĭenyinterfaces wlan1 # don't send DHCP requestsĪfter reboot, wlan1 should look like this: $ ifconfig wlan1 It’s the name for newly connected USB WiFi adapter. This time you’ll notice that “wlan1” is added. Then, connect the WiFi adapter and run the same command. It’s the interface name for the on-board WiFi adapter.Ģ-2. Run ‘ifconfig’ command without connecting the WiFi adapter. sudo apt-get install hostapd dnsmasq -yīefore starting work on the configurations, check the interface names for the on-board WiFi and WiFi adapter. sudo apt-get update & sudo apt-get upgrade -yġ-2. As always, update the package list and upgrade the installed software first. USB Micro-B male to Type-A female adapter (I like this.Edimax EW-7811Un 150Mbps 11n Wi-Fi USB Adapter) Raspberry Pi Zero W running Raspbian Stretch.Connecting to existing WiFi network (If it’s not connected yet) Assigning a static IP address for USB WiFi adapter (wlan1)Ĩ. Here is the list of contents of this post.ģ. A device connected to the private network can access the Internet through the router.The IP address range for the private network is from 192.168.3.1 to 192.168.3.20.The IP address of the interface for the private network is set to 192.168.3.254.The router creates a private WiFi network (192.168.3.0/24) using a USB WiFi adapter.hotspot/access point) for Internet access via the on-board WiFi adapter. Raspberry Pi Zero W (the router) connects to an existing WiFi network (i.e. ![]() The figure above shows overview of the idea. I tested it with Raspbian Buster Lite (September 2019 version) on Raspberry Pi Zero W and this USB WiFi adapter. This post shows steps to set up Raspberry Pi Zero W as a wireless router.
0 Comments
Leave a Reply. |