Haha We all have our moments.
I've just installed Kubuntu on another machine, and running into the old cfs server not responding issue on shutdown, however the PostSession file that I used in Ubuntu doesn't exist.
Any help would again be appreciated.
Alright, I read through the first few pages of this thread, and I haven't gotten anywhere. I have a Thecus N4100Pro that I'm trying to mount via the command line, and I'm having issues. I dual boot between Windows and Ubuntu 9.04, so I'm using CIFS instead of NFS. I feel like I've tried every command known to man. If I go to Places -> Connect to Server..., I can connect to and mount my share just fine:
That works perfectly. I have 2 users, 1 with read/write permission, and 1 with just read permission, and the mount works flawlessly with both users.
However, when I try to mount it via the command line (which is desirable because I eventually want to permanently mount it via fstab later), it just won't work. I can get it to mount via the following command:
It mounts, and I see it on my desktop. However, when I go to open the folder, I get this error:Code:sudo mount -t cifs //192.168.1.100/share /media/galactica/ -o user=fangs404,password=PW,domain=WORKGROUP,file_mode=0777,dir_mode=0777
What am I doing wrong? Dah, this is frustrating!
Where "fangs404" is your UBUNTU username.Code:sudo chown fangs404:fangs404 /media/galactica
Then try your manual mount command again. You will probably also have better luck if you enable name browsing by configuring /etc/nsswitch.conf and installing winbind as outlined under "Pre-work".
Also, a word of advice. Always check the dates of threads. While the first post in this thread is up to date and current (as shown by the "version history"), the subsequent posts are quite old and not current.
So, when you run into a thread like this, don't bother with reading through the first sevral pages, always start from the last page and work your way forward, as the last page will have the most recent and up to date information.
That works just as 192.168.1.100 did before. It works without issue. Now I try this:
However, the same thing is happening - it's mounting, but I still can't access it due to invalid permissions (the same error I posted above). Have any other ideas?Code:sudo mount -t cifs //galactica/share /media/galactica/ -o user=fangs404,password=PW,domain=WORKGROUP,iocharset=utf8,file_mode=0777,dir_mode=0777
If that doesn't work, please post the output of:Code:sudo mount -t cifs //galactica/share /media/galactica/ -o rw,user=fangs404,password=PW,domain=WORKGROUP,iocharset=utf8,file_mode=0777,dir_mode=0777
It didn't work. I ran smbtree, it asked for my password, I typed it, and then it didn't output anything.
Not sure why.Code:fangs404@fangs404-desktop:~$ smbtree Password: fangs404@fangs404-desktop:~$
Try this instead:
Then, when it asks for your password, type the password of the computer you're trying to connect to (not your Ubuntu password).Code:smbtree --user=fangs404
What OS is running on the computer you're attempting to connect to?