I've been searching the net over and over for a manual on how to correctly mount my server's shares on my ubuntu box.
Your instructions work like a charm, your post is the best that happened to me since my switch.
my sincere thanks!
Meik
I've been searching the net over and over for a manual on how to correctly mount my server's shares on my ubuntu box.
Your instructions work like a charm, your post is the best that happened to me since my switch.
my sincere thanks!
Meik
glad to know it helped. but thanks also need to go to the good folks who have posted here and helped me refine the howto.
enjoy.
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
Have allowed read/write access from the windows machine, used the second line in fstab, mount -a gives:
Code:root@UBUNTU:~# mount -a mount: wrong fs type, bad option, bad superblock on //DESKTOP/C, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so
what is the output of smbtree? also post dmesg | tail
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
hi.
first of all, very helpfull guide! made a lot of things clear for me. thanks for that. but i still have a problem...
accessing my ubuntu-laptop from mij windows-desktop is no problem. the other way round doesnt work...
i did everything in the tutorial (with DHCP) and i get no errors, but when i do, nothing happens. or it takes a long time and then i just ctrl-c. so i suppose i did something wrong. i'm not at all an expert, so if you explain something to me, please do it like in your tutorialCode:sudo mount -a
thanks in advance...
Maarten
ps: if there's anything else you need to know from me, please ask.
first, please post the line you've added to fstab
also ... post the output of smbtree
thank you
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
ok, this is the fstab thingy:smbtree://MAARTEN/Pbs2 /mnt/samba cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_ mode=0777 0 0but it's different from the last time...WORKGROUP
\\MAARTEN blackbox
timeout connecting to 10.61.16.155:445
timeout connecting to 10.61.16.155:139
Error connecting to 10.61.16.155 (Operation already in progress)
cli_start_connection: failed to connect to MAARTEN<20> (10.61.16.155)
\\CRAPTOP
\\CRAPTOP\ADMIN$ IPC Service ()
\\CRAPTOP\IPC$ IPC Service ()
\\CRAPTOP\MyFiles
\\CRAPTOP\print$
SAL
MSHOME
timeout connecting to 10.91.16.57:445
timeout connecting to 10.91.16.57:139
Error connecting to 10.91.16.57 (Operation already in progress)
cli_start_connection: failed to connect to 10.91.16.57<20> (10.91.16.57)
timeout connecting to 10.91.16.57:445
timeout connecting to 10.91.16.57:139
Error connecting to 10.91.16.57 (Operation already in progress)
cli_start_connection: failed to connect to PIE<20> (10.91.16.57)
also, sometimes, in nautilus, 'MAARTEN' appears (which is the windows pc), but when i click it, they say: "couldn't display all the contents" or something like that.
i must note that there are several other computers in the network, with different workgroup names, i haven't configured those. so for now i don't ware about them. i'd just like to get on \\MAARTEN
\\craptop is the ubuntu laptop.
thanks for the quick reply
humm ... try this instead:
also post the error that follows when you do this:Code:smbtree --authentication-file=/root/.smbcredentials
Code:sudo mount /mnt/samba
Last edited by dmizer; November 30th, 2006 at 10:27 AM.
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
the mount took a long time againCode:maarten@craptop:~$ smbtree --authentication-file=/root/.smbcredentials ERROR: Unable to open credentials file! maarten@craptop:~$ sudo smbtree --authentication-file=/root/.smbcredentials Password: WORKGROUP \\MAARTEN blackbox timeout connecting to 10.61.16.155:445 timeout connecting to 10.61.16.155:139 Error connecting to 10.61.16.155 (Operation already in progress) cli_start_connection: failed to connect to MAARTEN<20> (10.61.16.155) \\CRAPTOP \\CRAPTOP\ADMIN$ IPC Service () \\CRAPTOP\IPC$ IPC Service () \\CRAPTOP\MyFiles \\CRAPTOP\print$ maarten@craptop:~$ sudo mount /mnt/samba mount error 22 = Invalid argument Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
have you installed and configured firestarter on your ubuntu machine? how about a windows firewall? (zone alarm, norton, xp's firewall)
you should be able to authenticate to the share with smbtree unless there is something blocking your access. so if you have firewalls turned on, try disabling them temporarily.
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
Bookmarks