WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TC lost all active internet connections after some use  (Read 2306 times)

Offline Half-full

  • Newbie
  • *
  • Posts: 2
TC lost all active internet connections after some use
« 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.


Offline Half-full

  • Newbie
  • *
  • Posts: 2
Re: TC lost all active internet connections after some use
« Reply #1 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.
« Last Edit: May 26, 2013, 08:00:26 PM by Half-full »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11630
Re: TC lost all active internet connections after some use
« Reply #2 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.

Offline genec

  • Full Member
  • ***
  • Posts: 240
Re: TC lost all active internet connections after some use
« Reply #3 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.