-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wifi-to-eth-bridge.sh works but only if the ethernet client uses a static IP #46
Comments
Try this once:
|
Does not work. I see that the kill command you suggest is already in line 40 of the script. It was running already. I killed the proc, restarted it, it looked to have started fine but my device is still not autoacquiring it's own IP from DHCP. No Internet access on the ethernetted PC. Tried the Windows troubleshooter on the PC, it reset the adapter, says adapter does not have a valid IP configuration. But all I have is the ipv4 properties set to acquire an IP and DNS server automatically. Script output as follows:
I even added the following to the script:
Still nada. This is crazy. |
Can you try replacing |
I'm a padawan, but after a couple of hours, I may have found the hint : 1/ As your comment from Sept 21st, in the "wifi-to-eth-bridge.sh" file 2/ in the "dnsmasq.conf" file, uncomment an update It works, but may overlap with existing IP |
I'm using the wifi-to-eth-bridge.sh script, after basically a full day of trying to figure out how to share my wireless connection across wifi. After multiple solutions it's basically only thing that has worked. Except..
If my PC that is connected to the Pi via ethernet has automatically assign IP and DNS server, it does NOT get an autoassigned IP address, even though I'm using my router as the gateway in the settings, ie 192.168.0.1
If I force any static IP address on my subnet for the PC to use, ie 192.168.0.63, mask 255.255.255.0, gateway 192.168.0.1 and DNS server eg 1.1.1.1, then it works and I have internet access.
Part of the bridge script setup involves installing dhcp-helper. This always fails to install and run, stating that it cannot bind to DHCP address, likely because dhcpcd is running? I don't know if this is significant.
How do I set up the bridge script so that the client hanging off of the Pi's ethernet will get an auto-assigned IP address instead of needing to force static?
Edit: I'm using Buster Lite.
The text was updated successfully, but these errors were encountered: