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

Network permission denied #19

Open
WHYCRASH opened this issue Feb 1, 2024 · 11 comments
Open

Network permission denied #19

WHYCRASH opened this issue Feb 1, 2024 · 11 comments

Comments

@WHYCRASH
Copy link

WHYCRASH commented Feb 1, 2024

After running,

sudo usermod -a -G aid_inet,aid_net_raw root

Github and kiauh still cannot connect to the ineternet.

@Zetarancio
Copy link

I solved by changing rom on my device.

@gaifeng8864
Copy link
Owner

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
Copy link
Owner

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
Copy link

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
Copy link
Owner

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
Copy link

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
Copy link
Owner

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
Copy link

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
Copy link
Owner

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
Copy link
Owner

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: dw-0/kiauh#48

@lucky13820
Copy link

I solved by changing rom on my device.

What rom did you end up using?

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

5 participants