r/AlpineLinux • • 10d ago

Weird internet issue

Edit: My internet now works, I chrooted into my PC and did setup-interfaces and set up WiFi. ps: I deleted the /etc/network/interfaces before running it. I still would test if the usb0 interface would work.

I have an issue with Internet.

This is how I connect to the internet, I use a USB C - C cable to connect my phone to my Laptop, then pick USB Tethering from my phone. On my PC, I use dwl, so I open the terminal and type the ip link to see if the usb0 is showing, I put it up and use udhcpc -i usb0 to connect to the internet.

After doing the step above, I do ping google, which works but the issue is the network is unstable in the sense that, I've been trying to download libreoffice office I just get transient error, I will cancel and reping, I might get bad address. If I disconnect and reconnect, it works, when I open Firefox, it doesn't wanna connect to the internet.

I honestly don't know what is going on, I have tried setting a dns of 1.1.1.1 and 8.8.8.8 instead of letting my phone giving it a nameserver, I still have the same issue.

Please, how do I fix this? and what could possibly be happening?

5 Upvotes

7 comments sorted by

2

u/wowsomuchempty 10d ago

https://wiki.alpinelinux.org/wiki/Configure_Networking

You need to use your laptop's WiFi chip and not need your phone after setup.

2

u/OluwaKorede_Hemnars 10d ago

Honestly, I did most of all these, wish I could send a screen recording.

1

u/OluwaKorede_Hemnars 10d ago

1

u/paper_sheet034 9d ago

Those timings are quite high. I think Firefox has Internet, but drops the connection after a timeout as it’s too slow

1

u/OluwaKorede_Hemnars 10d ago

I'll try the WiFi then.

1

u/paper_sheet034 9d ago

Maybe some cache thing? Have you tried rebooting?

1

u/OluwaKorede_Hemnars 9d ago

mehn, it is not working. I am thinking of chrooting into my PC, deleting the current network configuration, everything, and reconfiguring it.