Skip to content
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

no network in the container: the default route does not set #196

Open
pizdjuk opened this issue Oct 29, 2021 · 4 comments
Open

no network in the container: the default route does not set #196

pizdjuk opened this issue Oct 29, 2021 · 4 comments

Comments

@pizdjuk
Copy link

pizdjuk commented Oct 29, 2021

workaround:

execute:

sudo waydroid shell
ip route add default via 192.168.250.1
exit

@NivoXZ
Copy link

NivoXZ commented Oct 30, 2021

i have the same issue. i have tried workaround and this is the answer, help!

lxc-attach: waydroid: terminal.c: lxc_terminal_create_native: 924 Not a directory - Failed to open terminal multiplexer device
/system/bin/sh: No controlling tty: open /dev/tty: No such file or directory
/system/bin/sh: warning: won't have full job control
:/ #

@pizdjuk
Copy link
Author

pizdjuk commented Oct 30, 2021

this is ok. Now give there the commands:

ip route add default via 192.168.250.1
exit

and then all should work fine. In my case the setting only was needed to do once. Somehow the setting is saved if you shut down container like waydroid session stop.

PS
alternatively you could try, instead of invoking terminal directly, this command:
echo "ip route add default via 192.168.250.1" |sudo waydroid shell

@lectrode
Copy link

lectrode commented Nov 3, 2021

related: #105

@eMPee584
Copy link
Contributor

For me, setting the route does not help. In waydroid shell, even ping -c1 192.168.250.1 fails. 🤔

bendlas added a commit to bendlas/waydroid that referenced this issue Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants