arpitjindal97 / raspbian-recipes

Raspberry networking made easy - Need Contributors
GNU General Public License v3.0
408 stars 165 forks source link

wifi-to-eth-route.sh doesn't work on latest Raspberry Pi OS #49

Closed Vincent14 closed 3 years ago

Vincent14 commented 3 years ago

It seems to configure everything OK, and run without any error, but my client eth computer isn't able to join internet, has only received an IP on 192.168.2.x

myxxmikeyxx commented 3 years ago

Please see if this still works and send a screenshot or copy of the code so I can know if I'm testing the correct version. cat /etc/os-release Resource

Vincent14 commented 3 years ago

I can see "Raspbian GNU/Linux 10 (buster)"

I used this link https://github.com/arpitjindal97/raspbian-recipes/raw/master/wifi-to-eth-route.sh

myxxmikeyxx commented 3 years ago

Okay what version? Also with that script did you preinstall 'dnsmasq'? if not disable the script conect to wifi and then do sudo apt-get update && sudo apt-get install dnsmasq

Vincent14 commented 3 years ago

Hem what version of which component? ^^'

Yes I've installed dnsmasq previously and configured wpa_supplicant without raspi-config (works fine, used for apt update)

myxxmikeyxx commented 3 years ago

Have you don’t anything else or just make a new SD card with that img and tried this? If it’s new then I will try to flash a new one and do the same thing you have. Also have you done sudo apt-get update && sudo apt-get upgrade? If so I will do that on mine and see if I’m getting the same problem

Vincent14 commented 3 years ago

I have to confess that I tried another tutorial around dnsmasq/iptables previously but I was ~sure to reset any parameter before trying your script, and I'm okay to reformat everything if necessessary :/ I didn't update/upgrade so i'm currently doing this first

Vincent14 commented 3 years ago

I use a Raspberry Pi 1 B and a D-link DWA-140 wifi dongle (rt2800 driver)

myxxmikeyxx commented 3 years ago

Well the wifi adaptor should not matter for this, as long as it connects to the wifi fine. It only would matter is using the script to make it a wifi hot spot. I will have to do some testing tonight, I have a raspberry pi 3b+ also if you are just testing install of stuff I recommend flashing PINN. (https://github.com/procount/pinn) It’s like a better NOOBS and has a lot more options.

myxxmikeyxx commented 3 years ago

I did just try it with a fresh install and it worked fine. All I did was do wget then chmod 777 Githubissues.

  • Githubissues is a development platform for aggregating issues.