Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Half-full on May 26, 2013, 03:30:37 PM

Title: TC lost all active internet connections after some use
Post by: Half-full on May 26, 2013, 03:30:37 PM
"Which distro of TC did you use?" I used the Tinycore image and installed it on a HDD

So at some point as I was going through the Tinycore server setup guide on the TC wiki when I found myself without an active internet connection and I'm not sure what's causing it.

I'm running nodhcp in the boot-loader file. I'll post netstat, route and ifconfig information if anyone wants it. I have no idea what files to check for typos or errors etc.

I can also ping other systems on the LAN but with a 100% packet loss rate, if it means anything. Other systems outside of the LAN cannot be reached at all.

Title: Re: TC lost all active internet connections after some use
Post by: Half-full on May 26, 2013, 07:08:42 PM
So, it turns out that changing my system's host-name caused this. I'm not sure how that works but I would appreciate it if someone could explain it.

Actually, adding anything beyond the first APPEND in the boot-loader does this. I have no clue why.
Title: Re: TC lost all active internet connections after some use
Post by: Rich on May 26, 2013, 09:04:18 PM
Hi Half-full
Is this the guide you are following?
http://wiki.tinycorelinux.net/wiki:server
Did you remember to set up a static IP address in your /opt/bootlocal.sh file?
Code: [Select]
until ifconfig | grep -q "Bcast" ;  do sleep 1 ; done
ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up
route add default gw 192.168.0.1
echo nameserver 192.168.0.1 ยป /etc/resolv.conf
Adjust the IP addresses to match your needs.
Quote
adding anything beyond the first APPEND in the boot-loader does this.
Post your bootloaders config file.
Title: Re: TC lost all active internet connections after some use
Post by: genec on May 26, 2013, 09:46:49 PM
Quote
adding anything beyond the first APPEND in the boot-loader does this.
Post your bootloaders config file.
If you're using a Syslinux variant, you get 1 APPEND per LABEL stanza.