Tiny Core Base > TCB Tips & Tricks

Apps downloading is pretty slow

<< < (11/15) > >>

Sashank999:
Hi Rich,

I have done as you said. Edited it and confirmed that it has the saved change in nameserver with cat /etc/resolv.conf. I did not restart my wifi adapter or reboot. The resolv.conf automatically changes.

@aus9

But I have a DASAN Router which is configured to use 192.168.55.1 as the router page.

Rich:
Hi Sashank999
So with the changes, is your web browsing any better? Are your downloads any faster?

GNUser:

--- Quote from: Sashank999 on August 24, 2020, 12:07:40 PM ---The resolv.conf automatically changes.

--- End quote ---

Hi, Sashank999. I agree with Rich that trying a different DNS server is an important step in troubleshooting your issue. A slow DNS server can have a dramatic impact on page load speed. I've experienced this issue myself.

Some network managers try to be "helpful" and automatically change the contents of /etc/resolv.conf. Openvpn sometimes also changes /etc/resolv.conf without your permission. There are different ways to prevent unauthorized changes to /etc/resolv.conf. An easy way that will work regardless of your setup is to make the file immutable. Go ahead and edit /etc/resolv.conf to your liking, then do this:


--- Code: ---$ tce-load -wi e2fsprogs
$ sudo chattr +i /etc/resolv.conf
--- End code ---

Now the file will be left in peace (until you reboot or run sudo chattr -i /etc/resolv.conf) and you can see if the DNS server change helps your issue.

Rich:
Hi Sashank999

--- Quote from: Sashank999 on August 24, 2020, 12:07:40 PM --- ... The resolv.conf automatically changes. ...
--- End quote ---
Did I misunderstand you?

Are you saying that the  /etc/resolv.conf  file changes back to  192.168.55.1  even though you did not reboot or restart your
wireless adapter?

Sashank999:
@GNUser
Thank You for the suggestion. I did it. But then chattr replied with :

--- Code: ---chattr: Inappropriate ioctl for device while reading flags on /etc/resolv.conf
--- End code ---
So, I added -f flag(help by Google). Then it replied no messages and hence I thought all was good. Then again, it changed back to its original. I think it deleted the file and made another one instead of it.
I use no network managers. I just do

--- Code: ---sudo wifi.sh -a &
--- End code ---
in my aterm and then close aterm and open firefox.

@Rich
Yes. That is what I mean. It just changes back to its original form.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version