raspbian-recipes icon indicating copy to clipboard operation
raspbian-recipes copied to clipboard

Internet Connectivity Issue with wifi-to-wifi-route.sh

Open cbr-tech opened this issue 3 years ago • 4 comments

I have used the Wi-Fi to Ethernet script flawlessly on another system and decided to try the Wi-Fi to Wi-Fi script. Unlike the Ethernet script, this one doesn't share internet connectivity. Although I can see and connect to the network, there is not internet access. Am I doing something wrong with this one?

cbr-tech avatar May 26 '21 17:05 cbr-tech

Hmm.... I was reading the comments from this forum post. One said to uncomment the line #conf-dir=/etc/dnsmasq.d in the /etc/dnsmasq.conf file. I did that and now it shares the internet. As the user said, it doesn't recognize the /etc/dnsmasq.d/custom-dnsmasq.conf file until you do that. Maybe add a line into the script like this: echo "conf-dir=/etc/dnsmasq.d" >> /etc/dnsmasq.conf (use an if statement to see if the line already exists so it doesn't do it each time).

cbr-tech avatar May 26 '21 18:05 cbr-tech

Actually, the page I was opening was cached on my phone. It was not resolved.

cbr-tech avatar May 26 '21 18:05 cbr-tech

Update: I used the Wi-Fi to Ethernet script to share internet to another device. I then tried to use the Ethernet to Wi-Fi script on the second device. It still doesn't work. The Wi-Fi to Ethernet works but not Ethernet to Wi-Fi.

cbr-tech avatar Jun 01 '21 21:06 cbr-tech

In Wifi-to-Wifi script, router is also culprit sometimes. I couldn't able to figure out the root casue in this case.

arpitjindal97 avatar Jun 03 '21 05:06 arpitjindal97