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
Unregistered






Posted: Sep. 29 2004,10:05 QUOTE

Okay, I've:

1. Added Henk1955's line to bootlocal.sh - to write nameserver "MynameserverIP" to resolv.conf;

2. Abandoned the floppy in favour of backing up to a hard disk and have used the backup/restore function, minus the {}.

AND IT WORKS!! (woof woof!)  All net settings & webproxy files are restored and loaded. Phew.  Thanks to all respondents especially Henk1955.

Now for the NEXT problem.  I can now configure my printer settings and print across the LAN no problem but these settings are not being restored properly somehow.  This is what I have done - I've added the following to filetool.lst - I named my printer HPlaserJ5000 during the original setup & appsfilter creates/alters these three files (maybe more - but the appsfilter screed only mention s 2 files but gives locations for these that don't seem to exist in DSL???):

opt/apsfilter/HPLaserJ5000/appsfilterrc
opt/apsfilter/HPLaserJ5000/smbclient.conf
opt/printcap

I boot with dsl restore=hd and start the printer driver from right-click>System>.., then open a textfile in Ted.  Ted has the printer name in its little box and cat /opt/printcap shows this ok.  About this time, the little oscilloscope above the slit goes haywire and fills with a band of red squiggles of down-arrow activity.  This lasts at least 4 minutes before dying off (sometimes, otherwise I have to reboot to stop it).  Typing nestat -an shows a number of connections established to different inodes (where - on our LAN?)

What is going wrong here?  Is there something else that needs to be backed up eg other samba files? Does samba need to be launched somehow during the restore?

FYI re my appsfilter setup if it helps: I am printing to this HP printer across the LAN via these options: generic PS driver, WinNT/Samba, and I know the netBIOS name of the printer server and the printer share name by looking at the printer's setup in stinkin' Windows.  I know the printer server's ip by looking at netstat-an in stinkin' Windows2k while printing. I log on with an account (not guest).

Hoping you can assist ....

--------------------------------------------------------------
"We don't need no stinkin' Windows"
Back to top
henk1955 Offline





Group: Members
Posts: 249
Joined: June 2004
Posted: Sep. 29 2004,10:46 QUOTE

i did not put my lp settings in filetool.lst (but it is still posible), i createad a spool_lp.tar.gz. it is loaded at startup like if it where a dsl extension.
it contains
Quote

/opt/apsfilter/
/opt/printcap
/var/spool/lpd/lp/acct
/var/spool/lpd/lp/control.pr
/var/spool/lpd/lp/lock
/var/spool/lpd/lp/log
/var/spool/lpd/lp/status
/var/spool/lpd/lp/status.pr

all the files in /var/spool/lpd/lp have 0 bytes. i create the tar.gz right after setting up the printer
as you may note my printer is called lp
to avoid the need for manual starting of the printer, i added lpd to the bootparams at start up
and lpc reread to bootlocal.sh


--------------
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 
WoofyDugfock Offline





Group: Members
Posts: 146
Joined: Sep. 2004
Posted: Sep. 29 2004,12:25 QUOTE

Thanks Henk1955.  Duh, the printspooler. Thought there had to be something else. Pity appsfilter onscreen documentation doesn't bother mentioning it as files created/altered.

In case it just might work I've tried adding these lines to filetool.lst:

/var/spool/lpd/LaserJ5000/acct
/var/spool/lpd/LaserJ5000/control.pr
/var/spool/lpd/LaserJ5000/lock
/var/spool/lpd/LaserJ5000/log
/var/spool/lpd/LaserJ5000/status
/var/spool/lpd/LaserJ5000/status.pr

As well I added 'lpc reread' to bootlocal.sh.  I wasn't sure how to add lpd to bootparams, so I didn't.

Anyway it hasn't worked - get the same result as before: much red sqiggle activity and no printing.

So, back to the Henk1955 method: presumably I can create a spool_HPLaserJ5000.tar.gz that is analogous to yours with Ted and then use tar and gzip commands as per http://heather.cs.ucdavis.edu/~matloff/UnixAndC/Unix/Tar.html

Sorry - hopefully the last questions on this topic:

1. Where do I save spool_HPLaserJ5000.tar.gz?
2. How so I load it at startup - can this be automatic?
3. How do I add lpd to bootparams?

If I get this working I promise to write a keep-it-simple-stupid "How to" for other newbies in the same situation and post it.

-----------------------------------------------------

'We don't need no stinkin' Windows' -
http://news.zdnet.co.uk/software/linuxunix/0,39020390,39149796,00.htm
:O


--------------
"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. 29 2004,13:31 QUOTE

1. and 2.
if you save it in the same location as you save the dsl-extension  that automaticly load at startup, it loads automaticly at startup.
the location where to put files that you want loaded is explained (in better english) in "Getting Started With DSL 0.8.1 - myDSL - Seamless Extensions for DSL
3.
a. if you are a livecd user then at boot type: dsl lpd ...all the other you type
b. if your frugal, poorman's user add it to lilo.conf
c. if dos-loadlin then add to loadlin.par

btw.
i save all of /opt/apsfiilter
may thats diferent from you?


--------------
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 
WoofyDugfock Offline





Group: Members
Posts: 146
Joined: Sep. 2004
Posted: Sep. 29 2004,13:56 QUOTE

Thanks again Henk1955 - you're a great help.  I'll try this tomorrow.

BTW, where is "Getting Started With DSL 0.8.1 - myDSL - Seamless Extensions for DSL".  I've looked for this before - not in the FAQ or on the home page? Is it on the dsl site?


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

http://news.zdnet.co.uk/software/linuxunix/0,39020390,39149796,00.htm
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