LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-20-2004, 04:09 PM   #1
miyagi
LQ Newbie
 
Registered: Aug 2004
Distribution: FC3, Sarge
Posts: 12

Rep: Reputation: 0
Samba: Remounting after reboot


I'm using LinNeighborhood to mount a Windows share in Linux, I'm actually mounting a printer from the Windows machine (has highest priority atm).

I had to run LinNeighborhood as root because it wouldn't let me mount remote shares as anything else. So I did that, set up the printer, printed the test page - awesome it works.

I reboot because I'm pretty sure it won't remount when I log in as a non-root user. I was correct. I check the printer settings and it says something like "can't connect to samba share NT_error_blablabla".
Then I check the other shares I mounted, a music share, (/mnt/<remote machine name>/folders, where I mounted them in LinNeighborhood), and they're empty too, they didn't remount either.

So how do I mount remote shares and give non-root users access to them (not just for printing, for music shares too, etc ...), then have the share remounted (root, and non-root users) after a reboot?
 
Old 11-21-2004, 07:37 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You don't need to mount a printer. The easiest way would be to set up cups and the configure the smb printer via:
http://127.0.0.1:631

As for mounting shares at boot time - see:
http://wiki.linuxquestions.org/wiki/...lly_at_boot.3F
 
Old 11-21-2004, 01:28 PM   #3
miyagi
LQ Newbie
 
Registered: Aug 2004
Distribution: FC3, Sarge
Posts: 12

Original Poster
Rep: Reputation: 0
yea i added the /etc/fstab entries, and it loads fine when i do mount -a.

thing is that when it tries to mount at start-up it cant find a network connection because my wireless card hasn't been activated yet (wired has though, which is disconnected). i semi-solved this by sticking the mount -a command into rc.local. however now im prompted for a password during start-up, and seeing as none of my shares are pw protected all i have to do is hit enter to continue.

this is fine i guess, but is there a way to automate the enter-hitting process?
 
  


Reply



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
samba auto start on reboot vMatthews Debian 4 11-08-2005 06:40 PM
Remounting root filesystem? scouture Linux - Software 1 03-12-2005 01:58 AM
remounting hda? KenHorse Linux - Software 2 12-31-2004 09:35 AM
remounting home Dasc Linux - General 3 08-14-2004 04:51 PM
SuSe 8.2 - remounting CD drive James_N Linux - Newbie 1 08-30-2003 11:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:03 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
Open Source Consulting | Domain Registration