Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (4) </ [1] 2 3 4 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Settings not saved or restored, Plumbing further depths of inadequacy< Next Oldest | Next Newest >
WoofyDugfock Offline





Group: Members
Posts: 146
Joined: Sep. 2004
Posted: Sep. 27 2004,13:02 QUOTE

Having heroically worked out how to configure the web proxy settings, connect to the net via my LAN and connect to my LAN printer (with the generous help of posters on this board), I now find I can't seem to save my settings, despite hours of searching on this board and the web and various experiments.

Here are the steps I am trying in detail in as far as I am able to determine these - I've put questions in square brackets to make my depraved confusion explicit and all the more humiliating:


1. Open a shell
Type " sudo su "  to become root
Type " cd /opt "
Type " scite bootlocal.sh "

Enter the following lines in bootlocal.sh and save, substituting the appropriate numbers for expressions between apostrophes:

ifconfig eth0 'my_internal_ip' netmask '255.255.255.0' broadcast 'lan_broadcast_addr'
route add default gw 'My internal gateway ip'
export PRINTER='MyLANPrinterName'.

[But where does nameserver go (is there a resolve.conf as for Red Hat?)? Where are the 'MyLANPrintersName' settings that I
made and how are these backed up?]

2. Open filetool.lst and ensure that the following lines are present so that bootlocal will load the internet connection details and dillo & wgetrc load the web proxy address:

/opt/bootlocal.sh
/home/dsl/.dillo
/home/dsl/.wgetrc

3. Save filetool.lst to the backup media eg floppy.

[Why do posters say this and not just hit the backup function to floppy  doesn't make sennse - what is the point of the backup.tar.gz created by the backup/restore function if we don't use it? Also - where is bootlocal.sh backed up?].

4. Re-boot via F2 options > select dsl restore={floppy}.

And it doesn't work.  


----------------------------------------------------------
'We don't need know stinkin' Windows' - Jack Messman (Novell)

http://news.zdnet.co.uk/software/linuxunix/0,39020390,39149796,00.htm :angry:


--------------
"We don't need no stinkin' Windows"

http://news.zdnet.co.uk/software/linuxunix/0,39020390,39149796,00.htm
Back to top
Profile PM 
henk1955 Offline





Group: Members
Posts: 249
Joined: June 2004
Posted: Sep. 27 2004,13:22 QUOTE

1. there is a /etc/resolv.conf
add a line like
Code Sample

echo "nameserver yournameserver" >/etc/resolv.conf

i have no experianvce on LANprinters only the printer from dsl

2. right.

3. you have two options:
a. do a manual backup ( use the backup-button)
b. have an automatic backup at shutdown( add /opt/shutdown.sh
    to the filetool.lst, remove the # infront of the line:
    filetool.sh backup noprompt)
all files named in filetool.lst are packed into the file backup.tar.gz on the device you selected for backup.

4.
Quote
dsl restore={floppy}

i think you should use restore=floppy ( no spaces, no brackets)


--------------
You have a Q or just want to chat?
Come to #damnsmalllinux on irc.freenode.net!
Open 24/7

dell latitude c640 p4@1.6Ghz 256Mb DSL0.9.1-remaster
asus p4p800-vm p4@2.8Ghz HT / celeron@2.4Ghz 512Mb DSL0.9.1-remaster (alsadebs.dsl)
ABit BE6 celeron@466 256Mb DSL0.9.1-remaster (xawtv)
Back to top
Profile PM WEB MSN 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Sep. 27 2004,13:28 QUOTE

Another possible issue,

My backup.tar.gz is over 100MB in size..
restore=floppy just won't work for me ever..
( or just "restore", since the floppy is the default unless you entered another location in your startup string )

Backups during shutdown should be automatic/default since DSL 0.8

73
ke4nt
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Sep. 27 2004,16:08 QUOTE

Automatic backups was not true for my DSL 0.8.1.1 USB poorman's install.

In order to activate automatic backups I needed to type:

sudo scite /opt/powerdown.sh

and remove the "#" at the beginning of the filetool line.

From then on it worked fine.
Back to top
Profile PM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: Sep. 28 2004,12:20 QUOTE

Yep, your right..

I must have been carrying over an edited version of powerdown.sh
thru versions inside my backup.tar.gz ..

73
ke4nt
Back to top
Profile PM 
15 replies since Sep. 27 2004,13:02 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (4) </ [1] 2 3 4 >/
reply to topic new topic new poll
Quick Reply: Settings not saved or restored

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code