Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-20-2004, 05:09 PM   #1
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, 08:37 AM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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

As for mounting shares at boot time - see:
Old 11-21-2004, 02:28 PM   #3
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?


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

All times are GMT -5. The time now is 04:39 PM.

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