Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: aus9 on August 04, 2020, 01:57:25 AM
-
Earlier I had a network problem. When I got around to looking,
sudo ifconfig eth0 looked good but my browser could not reach sites
ping 8.8.8.8 failed.
I won't mention I tried wicd as few people use it so full reboot
I can not remember what I saw in the past but clicking control panel -> network brings up a GUI
right now I have the net back.
But the GUI values read
Interface=eth0
Use DHCP broadcast no
ip address blank
Network mask 255.255.255.0
Broadcast blank
Gateway blank
Nameservers = 8.8.8.8
(I changed this from blank)
cat /etc/resolv.conf
nameserver 8.8.8.8Looks good
But why are the other values blank?
-
Hi aus9
That GUI is for manually setting up a wired connection. Use wifi.tcz if you have a wireless connection.
-
Rich
thanks for replying.
As I am normally on a tower that uses ethernet I guess the core scripts generally work.
I have just adjusted that GUI based on the output of ifconfig and some settings in my router, with more details.
so that I now have a working eth0 with
cat /etc/resolv.conf
nameserver 192.168.1.1
Additional question please....where is this new ethernet config file being saved in case I wish to add to my backup please?
-
Hi aus9
It's not a config file, it's a script created by that app. Just add:
/opt/eth0.shto your bootlocal.sh file to have it setup your network card on startup.
-
Ok played with the settings a little. checked the contents of that opt file. File now in my backup.
Rich
Please mark as solved.
-
Hi aus9
Marked. :)