gaifeng8864 / klipper-on-android

Run klipper, moonraker, fluidd, KlipperScreen one-click configuration script on androidOS.
GNU General Public License v3.0
144 stars 29 forks source link

Network permission denied #19

Open WHYCRASH opened 9 months ago

WHYCRASH commented 9 months ago

After running,

sudo usermod -a -G aid_inet,aid_net_raw root

Github and kiauh still cannot connect to the ineternet.

Zetarancio commented 9 months ago

I solved by changing rom on my device.

gaifeng8864 commented 9 months ago

After running,

sudo usermod -a -G aid_inet,aid_net_raw root

Github and kiauh still cannot connect to the ineternet.

I'm very sorry that I missed your message due to my negligence. As the reply below said, replacing the ROM is a quick and easy possible solution. Or you can reinstall your existing rom, and then run the kiauh script after ensuring that debian in linuxdeploy can connect to the Internet normally.

gaifeng8864 commented 9 months ago

I solved by changing rom on my device.

It's a good way to solve the problem. Direct troubleshooting takes time and energy and requires certain professional knowledge. Sometimes we can solve the problem in one step by replacing a more compatible ROM. Ha ha

kcajjones commented 3 months ago

I have the same issue that LinuxDeploy cannot resolve Github.com, yet the device has full internet access. I've just installed a fresh ROM.

gaifeng8864 commented 3 months ago

I have the same issue that LinuxDeploy cannot resolve Github.com, yet the device has full internet access. I've just installed a fresh ROM.

Still can't connect to GitHub?

kcajjones commented 3 months ago

I have the same issue that LinuxDeploy cannot resolve Github.com, yet the device has full internet access. I've just installed a fresh ROM.

Still can't connect to GitHub?

Correct. The phone will only allow network access with the sudo command but the klipper install script won't run when under sudo.

gaifeng8864 commented 3 months ago

I have the same issue that LinuxDeploy cannot resolve Github.com, yet the device has full internet access. I've just installed a fresh ROM.

Still can't connect to GitHub?

Correct. The phone will only allow network access with the sudo command but the klipper install script won't run when under sudo.

Run the following command to try: sudo usermod -a -G aid_inet,aid_net_raw print3D

kcajjones commented 3 months ago

I have the same issue that LinuxDeploy cannot resolve Github.com, yet the device has full internet access. I've just installed a fresh ROM.

Still can't connect to GitHub?

Correct. The phone will only allow network access with the sudo command but the klipper install script won't run when under sudo.

Run the following command to try: sudo usermod -a -G aid_inet,aid_net_raw print3D

Unfortunately this makes no difference.

$  sudo usermod -a -G aid_inet,aid_net_raw print3d
$   git clone https://github.com/th33xitus/kiauh.git
Cloning into 'kiauh'...
fatal: unable to access 'https://github.com/th33xitus/kiauh.git/': Could not resolve host: github.com
gaifeng8864 commented 3 months ago

I have the same issue that LinuxDeploy cannot resolve Github.com, yet the device has full internet access. I've just installed a fresh ROM.

Still can't connect to GitHub?

Correct. The phone will only allow network access with the sudo command but the klipper install script won't run when under sudo.

Run the following command to try: sudo usermod -a -G aid_inet,aid_net_raw print3D

Unfortunately this makes no difference.

$  sudo usermod -a -G aid_inet,aid_net_raw print3d
$   git clone https://github.com/th33xitus/kiauh.git
Cloning into 'kiauh'...
fatal: unable to access 'https://github.com/th33xitus/kiauh.git/': Could not resolve host: github.com

Can you ping other URLs now?

gaifeng8864 commented 3 months ago

I have the same issue that LinuxDeploy cannot resolve Github.com, yet the device has full internet access. I've just installed a fresh ROM.

Still can't connect to GitHub?

Correct. The phone will only allow network access with the sudo command but the klipper install script won't run when under sudo.

Run the following command to try: sudo usermod -a -G aid_inet,aid_net_raw print3D

Unfortunately this makes no difference.

$  sudo usermod -a -G aid_inet,aid_net_raw print3d
$   git clone https://github.com/th33xitus/kiauh.git
Cloning into 'kiauh'...
fatal: unable to access 'https://github.com/th33xitus/kiauh.git/': Could not resolve host: github.com

You can refer to the solution in the following link: https://github.com/dw-0/kiauh/issues/48

lucky13820 commented 1 month ago

I solved by changing rom on my device.

What rom did you end up using?