It’s 2012 and I can take 6.25 minutes to breath, so lets try again.
I am trying to mount (connect to) folders on my company server, at boot and have the user name & password handled by the credentials file so that I can open & save files as easily as if it was a local file. I have if you have read the post last year, tried just about everything, except moving the server into my office and using it as a box.
what I have done is…
Opened Terminal in Super User mode kwrite /etc/fstab Added ther line below /etc/fstab. Saved & closed fstab opened a new file in kwrite wrote username=WorldTextingFederations (You get the idea) the next line is password=yeahsureyoubetcha Then saved the file in /etc as .creds Next I closed kwrite and exited Terminal
Below are the lines EXACTLY (not really everyone seems to freak if you do put in the real IP, user, folder)
/etc/fstab
//192.168.18.119/Newtgingrich //smb://192.168.18.119/Newtgingrich/republicans/1d10ts cifs credentials=/root/etc/.creds,_netdev 0 0
/etc/.creds
username=Newtgingrich
password=Gurs9sa
Then I ran Mount in Terminal super User mode to see what the reaction to this is
mount -a
solutions:~ # mount -a
Couldn’t chdir to //smb://192.168.18.119/Newtgingrich/republicans/1d10ts: No such file or directory
Oddly enough when I plug the line below in Konqueror or the one below Dolphin…they show up with no errors.
Konqueror
/smb:/192.168.18.119/Newtgingrich/republicans/1d10ts
Dolphin
smb://Newtgingrich@crussell-server/Newtgingrich/4prezadent/1d10ts/
So, what did I miss…besides the bus or the meal?