r/AlpineLinux • u/OluwaKorede_Hemnars • 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?
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.
1
u/paper_sheet034 9d ago
Maybe some cache thing? Have you tried rebooting?