Tiny Core Base > TCB Tips & Tricks
Apps downloading is pretty slow
Sashank999:
@Rich
--- Code: ---cat /opt/wlan0.sh
#!/bin/sh
pkill udhcpc
udhcpc -b -i wlan0 -x hostname:box -p /var/run/udhcpc.eth0.pid
--- End code ---
@GNUser
Even my /opt dir is not persistent so chattr doesn't work :( .
--- Quote from: GNUser on August 25, 2020, 09:43:13 AM ---Try adding your desired DNS servers to the top of /usr/share/udhcpc/default.script like this, for example:
--- Code: ---dns="1.1.1.1 1.0.0.1"
--- End code ---
Then running wifi.sh
--- End quote ---
After also reading http://forum.tinycorelinux.net/index.php?topic=8019.0
OMG That worked !!! Now the file remained with dns at 8.8.8.8 and 8.8.4.4 but sadly, even then the forum doesn't load.
Rich:
Hi Sashank999
If you used this:
--- Code: ---dns="8.8.8.8 8.8.4.4"
--- End code ---
It will not try 8.8.4.4 unless it can not connect to 8.8.8.8. Those are both Google DNS servers so they probably see a lot of traffic.
I found that for me page loads were much faster with 4.2.2.4 than 8.8.4.4.
Also, when was the last time you gave your router a hard reboot. On occasion, I found if my connection slowed down, unplugging
the routers power cord for 10 seconds helped.
--- Quote from: Sashank999 on August 24, 2020, 12:07:40 PM --- ... But I have a DASAN Router ...
--- End quote ---
What's the model number?
GNUser:
Sashank999,
It would be good to confirm that this is a TCL issue and not something else (e.g., hardware issue, router issue, or ISP issue).
If you boot a different OS on the same machine, does the problem go away?
Sashank999:
@Rich
I gave hard reboot. But it doesn't go away. My router model number is "H662GS", manufactured by "DASAN Network Solutions".
@GNUser
Yes, this is not only a TCL issue. I went to other OS (Windows 10 and Phoenix OS(android x86 derivative)) and the forums load slow even in them. I was actually here to propose that Apps should verify deps by running multiple subprocess for its direct dependencies(not whole tree file, only dep file) so that it can load them faster.
GNUser:
--- Quote from: Sashank999 on August 27, 2020, 09:24:35 AM ---...this is not only a TCL issue...
--- End quote ---
Well, then you need to exclude hardware, router, and ISP issues (e.g., if other machines connected to same wireless router have same problem, then it's a router or ISP issue; if a wired connection has same problem, then it's probably an ISP issue; etc). Until you can pinpoint the problem, it's counterproductive to search for a solution.
--- Quote from: Sashank999 on August 27, 2020, 09:24:35 AM ---I was actually here to propose that Apps should verify deps by running multiple subprocess for its direct dependencies(not whole tree file, only dep file) so that it can load them faster.
--- End quote ---
Oops, sorry. I guess I missed the point of the thread. TCL is very much a community project and encourages a do-it-yourself approach. The developers welcome patches.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version