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!
Hello, I hope I am in the right place. I have followed the initial instructions at the start of this post and got to "sudo mount -a" with the following result
"mount error: could not find target server. TCP name bernie-vista/music not found
No ip address specified and hostname not found"
I wasn't sure what to do next and read on to "smbtree" This produced
"WORKGROUP
\\MATT-PC
cli_rpc_pipe_open: cli_nt_create failed on pipe \srvsvc to machine MATT-PC. Error was NT_STATUS_ACCESS_DENIED
\\MAIN Main
\\MAIN\Printer Intuit Internal Printer
\\MAIN\Printer2 Change save options with Printer Properties.
\\MAIN\operate sys
\\MAIN\Printer5 Canon MF4200 Series UFRII LT
\\MAIN\Printer4 hp deskjet 3820 series (Copy 1)
\\MAIN\Printer6 Canon MF4200 Series (FAX)
\\MAIN\SharedDocs
\\MAIN\print$ Printer Drivers
\\MAIN\IPC$ Remote IPC
\\BERNIE-VISTA
\\BERNIE-VISTA\Public
\\BERNIE-VISTA\print$ Printer Drivers
\\BERNIE-VISTA\PageManager PDF Writer Change save options with Printer Properties.
\\BERNIE-VISTA\Music Located on Vista PC as G: Drive
\\BERNIE-VISTA\J$ Default share
\\BERNIE-VISTA\IPC$ Remote IPC
\\BERNIE-VISTA\I$ Default share
\\BERNIE-VISTA\H$ Default share
\\BERNIE-VISTA\G$ Default share
\\BERNIE-VISTA\F$ Default share
\\BERNIE-VISTA\Canon MF4200 Series UFRII LT Canon MF4200 Series UFRII LT
\\BERNIE-VISTA\Canon MF4200 Series (FAX) Canon MF4200 Series (FAX)
\\BERNIE-VISTA\C$ Default share
\\BERNIE-VISTA\ADMIN$ Remote Admin
\\BERNIE-MINT Samba 3.0.28a
\\BERNIE-MINT\IPC$ IPC Service (Samba 3.0.28a)"
I am not concerned about 'MATT" and 'MAIN" appears to do what I want but 'BERNI-VISTA" is still causing problems and I have no idea where to go from here. Can anybody point me in the right direction?
Linux is case sensitive, so bernie-vista/music is not the same as bernie-vista/Music
try capitalizing Music in your fstab line and see if you're able to connect then.
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!
Thanks for the quick reply dmizer but I still get exactly the same messages. Is there something else I can try?
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!
I have managed to crash my system and have only just completed reinstalling. I will rework your guide and then post my fstab file.
Interestingly the LiveCD will read Bernie-Vista but not the installed version. Even the fresh instal
My system is rebuilt and I have reworked your guide. Here is my fstab file
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda2
UUID=8fb6e396-2fe0-4b44-a1ae-9578310d597b / ext3 relatime,errors=remount-ro 0 1
# /dev/sda4
UUID=09A8-7D8D /windows vfat utf8,umask=007,gid=46 0 1
# /dev/sda1
UUID=6771186a-124d-06b3-ec58-3965eb7d0248 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
//BERNIE-VISTA/vista-data /media/vista-data cifs guest,rw,iocharset=utf8,file_mode=0777,dir_mode=07 77 0 0
My current error message is
"sudo mount -asudo gedit
mount: wrong fs type, bad option, bad superblock on //BERNIE-VISTA/vista-data,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
"
I have run dmesg | tail and the result from that is:-
"dmesg | tail
[ 132.929786] usb-storage: device scan complete
[ 132.936801] scsi 4:0:0:0: Direct-Access General Flash Disk Drive 3.10 PQ: 0 ANSI: 2
[ 132.943785] scsi 4:0:0:1: Direct-Access General Flash Disk Drive 3.10 PQ: 0 ANSI: 2
[ 132.954806] sd 4:0:0:0: [sdb] Attached SCSI removable disk
[ 132.954872] sd 4:0:0:0: Attached scsi generic sg2 type 0
[ 132.965795] sd 4:0:0:1: [sdc] Attached SCSI removable disk
[ 132.965854] sd 4:0:0:1: Attached scsi generic sg3 type 0
[ 1741.059360] cdrom: This disc doesn't have any tracks I recognize!
[ 2635.248028] CIFS VFS: No username specified
[ 2635.248038] CIFS VFS: cifs_mount failed w/return code = -22
"
which means nothing at all to me.
Am I getting anywhere with this?
try this:
then retry your mount and see if you still get the same error.Code:sudo aptitude install smbfs
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!
Thankyou dmizer it all works now. I had installed smbfs previously but as soon as I installed it again everything worked.
It is fantastic to be able to access such assistance and patience as can be ound on this forum
Thankyou again.
Cheers, Bernie
Still getting the "mount error 13 = Permission denied" error message when I'm using this in fstab:
//192.168.0.100/fred /media/fred cifs credentials=/root/.smbcredentials,rw,nounix,iocharset=utf8,file_mode =0777,dir_mode=0777 0 0
I try to connect to share from windows servers.
I use a credential file with username='user name'
password='pass word'
The user have administrative rights and can access everything from a windows xp machine.
thanks
Bookmarks