LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba: Remounting after reboot (https://www.linuxquestions.org/questions/linux-networking-3/samba-remounting-after-reboot-257352/)

miyagi 11-20-2004 04:09 PM

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?

david_ross 11-21-2004 07:37 AM

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

miyagi 11-21-2004 01:28 PM

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?


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