[Ubuntu-BR] compartilhamento samba
Thiago
thiagossimas em gmail.com
Quarta Agosto 6 14:25:01 UTC 2008
procura pelo samba client com o comando apt-cache search...
no comando que vc executou faltou o //, segue abaixo o comando certo...
mount -t cifs //192.168.1.4/media/hd-250GB
/home/miltoin/Desktop/HD-250GB<http://192.168.1.4/media/hd-250GB/home/miltoin/Desktop/HD-250GB>-o
username=username,password="password",lfs
2008/8/5 MiLTòiN <miltoin em gmail.com>
> miltoin em miltoin-laptop:~$ sudo mount -cifs 192.168.1.4/media/hd-250GB/
> home/miltoin/Desktop/HD-250GB
> [sudo] password for miltoin:
> mount: invalid option -- c
> Usage: mount -V : print version
> mount -h : print this help
> mount : list mounted filesystems
> mount -l : idem, including volume labels
> So far the informational part. Next the mounting.
> The command is `mount [-t fstype] something somewhere'.
> Details found in /etc/fstab may be omitted.
> mount -a [-t|-O] ... : mount all stuff from /etc/fstab
> mount device : mount device at the known place
> mount directory : mount known device here
> mount -t type dev dir : ordinary mount command
> Note that one does not really mount a device, one mounts
> a filesystem (of the given type) found on the device.
> One can also mount an already visible directory tree elsewhere:
> mount --bind olddir newdir
> or move a subtree:
> mount --move olddir newdir
> One can change the type of mount containing the directory dir:
> mount --make-shared dir
> mount --make-slave dir
> mount --make-private dir
> mount --make-unbindable dir
> One can change the type of all the mounts in a mount subtree
> containing the directory dir:
> mount --make-rshared dir
> mount --make-rslave dir
> mount --make-rprivate dir
> mount --make-runbindable dir
> A device can be given by name, say /dev/hda1 or /dev/cdrom,
> or by label, using -L label or by uuid, using -U uuid .
> Other options: [-nfFrsvw] [-o options] [-p passwdfd].
> For many more details, say man 8 mount .
>
>
>
>
> 2008/8/5 André Gustavo <andregustavodocaqui em gmail.com>:
> > ops
> >
> >
> > tire o espaço
> >
> > sudo mount -cifs 192.168.1.4/media/hd-250GB/home/miltoin/Desktop/HD-250GB
> >
> >
> > 2008/8/5 MiLTòiN <miltoin em gmail.com>
> >
> >> tentando essa dica...
> >>
> >> miltoin em miltoin-laptop:~$ sudo mount -cifs //192.168.1.4
> >> /home/miltoin/Desktop/HD-250GB<//
> >> 192.168.1.4/media/hd-250GB/home/miltoin/Desktop/HD-250GB>
> >> -o lfs,user
> >> bash: //192.168.1.4/media/hd-250GB/home/miltoin/Desktop/HD-250GB: No
> >> such file or directory
> >>
> >>
> >> 2008/8/5 Thiago <thiagossimas em gmail.com>:
> >> > Vê se o pacote samba-client.i386 está instalado!
> >> > Se estiver, monta com o comando abaixo:
> >> > mount -t cifs //192.168.1.4/media/hd-250GB
> >> > /home/miltoin/Desktop/HD-250GB<
> >> http://192.168.1.4/media/hd-250GB/home/miltoin/Desktop/HD-250GB>-o
> >> > username=username,password="password",lfs
> >> >
> >> > Atenciosamente,
> >> > Thiago
> >> > www.tsaad.com.br
> >> >
> >> > 2008/8/5 MiLTòiN <miltoin em gmail.com>
> >> >
> >> >> Olá.
> >> >>
> >> >> estou tentando montar um compartilhamento samba, feito no meu
> >> >> pc-desktop, com ubuntu 8.04 instalado, no meu laptop, com xubuntu
> >> >> 8.04. editei meu fstab desta forma:
> >> >>
> >> >> # /etc/fstab: static file system information.
> >> >> #
> >> >> # <file system> <mount point> <type> <options> <dump>
> <pass>
> >> >> proc /proc proc defaults 0 0
> >> >> # /dev/sda2
> >> >> UUID=f538b4ba-98c9-42a5-be0b-640aeaa333d4 / ext3
> >> >> relatime,errors=remount-ro 0 1
> >> >> # /dev/sda4
> >> >> UUID=c7856dc6-f1b5-4e2a-8cab-8d8c2627cae8 none swap sw
> >> >> 0 0
> >> >> /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0
> >> 0
> >> >> #usbdevfs /media/pen-drive usbdevfs defaults 0 0
> >> >> //192.168.1.4/media/hd-250GB /home/miltoin/Desktop/HD-250GB smb
> >> >> noauto,user 0 0
> >> >>
> >> >> quando rodo tento montar:
> >> >>
> >> >> miltoin em miltoin-laptop:~$ sudo mount /home/miltoin/Desktop/HD-250GB/
> >> >> [mntent]: warning: no final newline at the end of /etc/fstab
> >> >> mount: unknown filesystem type 'smb'
> >> >>
> >> >> aparece a mensagem acima. tenho que instalar o samba no meu laptop
> >> >> também? não entendi o porquê do erro.
> >> >>
> >> >>
> >> >> desde já, gracias!
> >> >> MiLToN
> >> >> --
> >> >> Interessado em aprender mais sobre o Ubuntu em português?
> >> >> http://wiki.ubuntu-br.org/ComeceAqui -
> >> >> ubuntu-br mailing list
> >> >> ubuntu-br em lists.ubuntu.com
> >> >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> >> >>
> >> > --
> >> > Interessado em aprender mais sobre o Ubuntu em português?
> >> > http://wiki.ubuntu-br.org/ComeceAqui -
> >> > ubuntu-br mailing list
> >> > ubuntu-br em lists.ubuntu.com
> >> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> >> >
> >> --
> >> Interessado em aprender mais sobre o Ubuntu em português?
> >> http://wiki.ubuntu-br.org/ComeceAqui -
> >> ubuntu-br mailing list
> >> ubuntu-br em lists.ubuntu.com
> >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> >>
> >
> >
> >
> > --
> > # André Gustavo Espeiorin
> > # www.blogdoxorna.com
> > # Linux user #431360
> > # Ubuntu Hardy Heron
> > # WebDev
> > --
> > Interessado em aprender mais sobre o Ubuntu em português?
> > http://wiki.ubuntu-br.org/ComeceAqui -
> > ubuntu-br mailing list
> > ubuntu-br em lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
> >
> --
> Interessado em aprender mais sobre o Ubuntu em português?
> http://wiki.ubuntu-br.org/ComeceAqui -
> ubuntu-br mailing list
> ubuntu-br em lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
>
More information about the ubuntu-br
mailing list