We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No response
I'm running Ubuntu 22.04 When running sudo ./linux_connection_share.sh {USB IFACE} {NETWORK IFACE}, I usually get the following output:
sudo ./linux_connection_share.sh {USB IFACE} {NETWORK IFACE}
Error: ipv4: Address already assigned.
Turns out the line
ip addr add "$USB_IFACE_IP/24" dev "$USB_IFACE"
Is the problem.
Due to the fact that the IP is already assigned, the entire script fails.
But, if we were to change it to something like
ip addr add "$USB_IFACE_IP/24" dev "$USB_IFACE" || echo "Continueing..."
that command would not do anything, but the rest would work flawlessly.
This is a one line change and works quite well IMHO
2.9.5.2
No
The text was updated successfully, but these errors were encountered:
jayofelony
No branches or pull requests
Contact Details
No response
What happened?
I'm running Ubuntu 22.04
When running
sudo ./linux_connection_share.sh {USB IFACE} {NETWORK IFACE}
, I usually get the following output:Turns out the line
Is the problem.
Due to the fact that the IP is already assigned, the entire script fails.
But, if we were to change it to something like
that command would not do anything, but the rest would work flawlessly.
This is a one line change and works quite well IMHO
Version
2.9.5.2
3rd Party Hardware
No
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: