Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 30 Sep 2014, 10:01
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to make samba settings persist after reboot?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
dw

Joined: 01 Jun 2005
Posts: 9

PostPosted: Wed 01 Jun 2005, 04:26    Post subject:  How to make samba settings persist after reboot?  

I'm definitely a newbie, so apologies if this is a stupid question.
I have Puppy running on a diskless PC, booting off a 1GB USB thumbdrive. It works brilliantly (thanks!). It is part of a home network where all the other machines are Win2K, but I can use Samba to scan, log into and access shares etc.

But how do I set things up so that I don't need to rescan the Win2K machines each time I bootup - I want those shares to stay available ("mounted?") between reboots.

What I want to achieve is the silent diskless Puppy client sitting in the living room, accessing mp3 files from the huge noisy hard disk in a different room. It will be used by the kids, and I don't want them to have to rescan, enter passwords etc etc if they switch off and then reboot.

All help gratefully received!
Back to top
View user's profile Send private message 
danleff


Joined: 08 May 2005
Posts: 294
Location: Albany, NY

PostPosted: Wed 01 Jun 2005, 16:39    Post subject:  

LinNeighborhood should do this. I think you would have to launch it to mount the shares. There is a setting under preferences to load the shares on start of LinNeighborhood, if I remember correctly.
_________________
I love it when a plan comes together

--Hannibal Smith
Back to top
View user's profile Send private message Visit poster's website 
dw

Joined: 01 Jun 2005
Posts: 9

PostPosted: Thu 02 Jun 2005, 01:57    Post subject: LinNeigbourhood  

I found a help file which tells me I need to include a command: LinNeigbourhood -m (or something, I'm writing this away from Puppy).
But I'm not sure where i should put this command. I'm new to Linux and I don't yet understand where I find the equivalent of the Autoexec.bat, config sys etc files that I used to edit in MS-DOS.
Back to top
View user's profile Send private message 
danleff


Joined: 08 May 2005
Posts: 294
Location: Albany, NY

PostPosted: Thu 02 Jun 2005, 04:18    Post subject:  

That command can be typed in at an rxvt window. However, it needs to be setup first, so the shares are mounted at boot. I did a quick how-to located here but it is slightly outdated.

If you don't mind waiting a day or two, I can update the site. I've been playing with the new version of Puppy and may have improved the process.

But, you can configure it all in LinNeigborhood, then all your mount points will be available in Rox in /root/mnt immediately and on next boot. That's /root/mnt, not /mnt.

You can then use Rox to view all the shared drives.

_________________
I love it when a plan comes together

--Hannibal Smith
Back to top
View user's profile Send private message Visit poster's website 
dw

Joined: 01 Jun 2005
Posts: 9

PostPosted: Thu 02 Jun 2005, 05:29    Post subject:  

Instead of typing it in at an rxvt window, could I put it in the startup file for IceWM, so it runs automatically each time I reboot?
Back to top
View user's profile Send private message 
danleff


Joined: 08 May 2005
Posts: 294
Location: Albany, NY

PostPosted: Thu 02 Jun 2005, 20:17    Post subject:  

I know very little about IceWM, but others on the forum do. It's probably not just running the LinNeighborhood -m command, but making sure samba/LinNeighborhood is set up properly to invoke that command. I don't know for sure, but probably the -m argument tells LinNeighborhood to mount the available shares?

But anyway, my newly revised article is up now at the same link, for those who would like to view it. The link is still valid in the Puppy help files under networking.

I'll add it to the wiki as an external link to my site, since it has linked image files and I won't waste wiki space with the extra kb's. But if the wiki admins don't feel this is an issue, I can set it up totally on the wiki, as well.

Hopefully this bump will get you some answers regarding IceWM.

_________________
I love it when a plan comes together

--Hannibal Smith
Back to top
View user's profile Send private message Visit poster's website 
dw

Joined: 01 Jun 2005
Posts: 9

PostPosted: Fri 03 Jun 2005, 05:27    Post subject:  

Thanks - I folowed your instructions and the shares all mount automatically when I open LinN. So all I need now is a way to automatically run LinN and I'm there. thanks for the tips. Next question, wireless usb card....!
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0593s ][ Queries: 12 (0.0098s) ][ GZIP on ]