LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-27-2002, 09:35 AM   #1
Crossfire
LQ Newbie
 
Registered: Jul 2001
Location: Canada
Distribution: Mandrake 8.0
Posts: 5

Rep: Reputation: 0
Initialization Question.


I would like to know were I need to set up a command to perform
this command when linux boots up:

smbmount //other_computer/share /mnt/share

I think it is in /ect somewhere. Please help if you can, this one question will answer many things for me.

A quick and dirty answer will suffice.

Thanks
 
Old 07-27-2002, 01:13 PM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
So to say, it is /etc/rc.d directory, the best place to put it is in /etc/rc.d/rc.local file, it runs after all initiallization scripts were run.
 
Old 07-27-2002, 01:50 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
If you have smb support in kernel you can try to add it to /etc/fstab (in this case, of course, you don't use smbmount).
 
Old 07-27-2002, 02:37 PM   #4
Crossfire
LQ Newbie
 
Registered: Jul 2001
Location: Canada
Distribution: Mandrake 8.0
Posts: 5

Original Poster
Rep: Reputation: 0
I addeded into the the /etc/rc.d directory in rc.local file and it seems to work well. Except each time on boot it asks for network password to access the shared resource. How do I add the password to the smbmount command?

smbmount //other_computer/share /mnt/share

So that it inputs the password right after this command is acknowledged.

Many thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
delaying initialization... srinivas_mn Linux - Networking 3 12-04-2005 03:36 AM
Initialization info AbhishekSamuel Linux - Newbie 1 05-05-2005 05:54 AM
delaying initialization...??? ziox Linux - Hardware 0 07-04-2004 05:29 AM
Initialization of a pointer in C-a question xailer Programming 4 01-02-2004 01:57 PM
sendmail initialization islandkid Linux - Software 2 03-04-2002 12:37 AM


All times are GMT -5. The time now is 10:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration