PDA

View Full Version : not a valid block device?


tronica
June 21st, 2006, 07:08 PM
Ok. i'm runngin dapper, and i use this command to connect to my windows servers

sudo mount -t cifs //192.168.1.65/server /mnt/server -o user=Administrator,pass=monster

and it works great. So i set up a server with debian and i installed samba. And i'm using this config in my smb.conf.


[share]
path = /home/lyle/Desktop/share
public = yes
writable = yes
valid users = lyle


then when i try to mount it from my ubuntu box i get

lyle@ubuntu:/mnt$ sudo mount -t cifs //192.168.1.68/share/ /mnt/debserv -o user=lyle,pass=monster
mount: //192.168.1.68/share/ is not a valid block device


can anyone help me get this going. Thanks

cyracks
June 21st, 2006, 08:05 PM
path = /home/lyle/Desktop/share


Does folder /home/lyle/Desktop/share exists ?
Do you have smbfs package installed ?

tronica
June 21st, 2006, 08:10 PM
doh! i forgot to install smbfs. Thanks a million.

tronica
June 21st, 2006, 08:25 PM
when i try writing to it, its says i dont have premissions to write to it. but in the smb.conf i have "writable = yes"? any ideas

cyracks
June 21st, 2006, 08:33 PM
Check the linux file system permissions. It will probably work if you write

chmod 777 /home/lyle/Desktop/share
but that is very unsecure !

tronica
June 21st, 2006, 08:56 PM
when i did mkdir share, i also did chmod 777 share to start off with. so its got to be in the smb.conf.

edit: i got it thanks for the help.

cyracks
June 22nd, 2006, 05:58 AM
edit: i got it thanks for the help.

Could you write what was the problem so that others who browse this topic will also know.