Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: mrstarr on November 02, 2011, 07:00:35 PM

Title: How do I make Network Settings persistent
Post by: mrstarr on November 02, 2011, 07:00:35 PM
I did an HD install, and whenever I fire up network control panel, its not set to DHCP, and everything is blank.   So I set it up with static IP and all the appropriate settings, and it saves it to /opt/eth0.sh and adds a link into /opt/bootlocal.sh to call /opt/eth0.sh at boot...    ok, groovy, but it doesn't persist, nor does bring up the ethernet card to working.



I tried editing /opt/.filetool.lst and telling it to back up /opt/eth0.sh, and then do a filetool -b... my settings are not saved.  I tried using the Backup button in Control panel and telling it hda1, but that did nothing.  I tried on shutdown saying "Backup"...  and that did nothing.

I can't get this !@#$%^  to save my ethernet card settings or even default to DHCP.

Also, how do I restart the network.    I try  "network restart" and all that does is bring up the network control panel, which is not what I want.

Title: Re: How do I make Network Settings persistent
Post by: gerald_clark on November 02, 2011, 07:13:45 PM
http://wiki.tinycorelinux.net/wiki:persistence_for_dummies (http://wiki.tinycorelinux.net/wiki:persistence_for_dummies)
Title: Re: How do I make Network Settings persistent
Post by: mrstarr on November 02, 2011, 07:25:31 PM

Yeah that didn't help me, because it didn't tell me how to edit my default bootcodes to backup all of /opt

Title: Re: How do I make Network Settings persistent
Post by: gerald_clark on November 02, 2011, 07:35:11 PM
You do not want to backup all of opt.
The network setup utility edits .filetool.lst for you.
You just need to boot with an active tce directory and do a backup.

If this is a USB flash or hard drive, you need the waitusb=5 ( or 10 ) boot code.
Title: Re: How do I make Network Settings persistent
Post by: curaga on November 03, 2011, 09:39:58 AM
You might also want to post your dmesg; if dhcp can't be started, perhaps you need firmware or the card is unsupported.
Title: Re: How do I make Network Settings persistent
Post by: TinyFan on November 21, 2011, 04:35:58 AM
id you make /opt/ persistent|?
Title: Re: How do I make Network Settings persistent
Post by: genec on November 21, 2011, 06:27:48 PM
I've noticed since moving to 4.0.2 that at least on some boots DHCP has been unchecked but I'm going to 4.1 today.