Duvida SAMBA

1. Duvida SAMBA

Fabricio
Hellsius

(usa Ubuntu)

Enviado em 30/05/2010 - 17:51h

Em meu notebook o SAMBA esta configurado. Consigo acessar o linux atraves do windows vista indo em iniciar - executar e digito //ip_do_notebook_com_linux, mas não sei fazer o contrario, que seria o linux acessar o windows??

Vlw pessoal do VOL!!


  


2. Re: Duvida SAMBA

André
andrezc

(usa Debian)

Enviado em 30/05/2010 - 17:53h

Simples!

# mount -t cifs -o guest //IP/pasta /mnt/rede

IP = Endereço de IP da máquina Windows
pasta = Pasta da máquina Windows que está compartilhada.


3. Re: Duvida SAMBA

Osama Jr.
/bin/laden

(usa Void Linux)

Enviado em 30/05/2010 - 18:02h

Também é possível acessá-lo via Firefox, digitando na barra de endereço:

smb://xxx.xxx.xxx.xxx

Ou também via Nautilus

smb://xxx.xxx.xxx.xxx

P.S. Dá próxima vez, procure pesquisar um pouco mais antes de postar; você vai encontrar soluções bem mais rapidamente.


4. Re: Duvida SAMBA

Fabricio
Hellsius

(usa Ubuntu)

Enviado em 30/05/2010 - 19:00h

Tentei das duas formas, mas não deram certo!

Tentei com o esquema do junior linux
mount -t cifs -o guest //192.168.0.173/arquivosw/mnt/rede

arquivosw -> É a pasta que esta compartilhada no meu windows

Tentei tambem pelo navegador
smb://192.168.0.173




5. Re: Duvida SAMBA

André
andrezc

(usa Debian)

Enviado em 30/05/2010 - 19:02h

Porque não consegue ? Digo, que erro é retornado até você ?


6. Re: Duvida SAMBA

Fabricio
Hellsius

(usa Ubuntu)

Enviado em 30/05/2010 - 19:20h

Veja:

root@laptop:/# mount -t cifs -o guest //192.168.0.173/arquivosw/mnt/rede
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 .
root@laptop:/#



7. Re: Duvida SAMBA

Ricardo Libanio
riesdra

(usa Debian)

Enviado em 30/05/2010 - 20:11h

e pelo nautilus o que ocorre ao tentar acessar?


8. Re: Duvida SAMBA

Fabricio
Hellsius

(usa Ubuntu)

Enviado em 30/05/2010 - 20:21h

Não tentei pelo Nautilus (não sei como utilizar, nunca usei)





9. É tipo:

André
andrezc

(usa Debian)

Enviado em 30/05/2010 - 20:29h

# nautilus smb://ip-da-maquina


10. Duvida SAMBA

Perfil removido
removido

(usa Nenhuma)

Enviado em 30/05/2010 - 20:53h

amigo o windows vista tem uma configuração que vc tem que liberar para que possa ta acessando ele, mesmo que a pasta esteja compartilhada vc nao consegue se conectar da uma olhada ai no seu windows vista, por que pelo que eu vi seu samba ta legal e o windows que ta blokiando o acesso do linux.
depois que vc liberar essa permição vc entrara ate no HD do seu windows vista

flw.
abs


11. Re: Duvida SAMBA

Fabricio
Hellsius

(usa Ubuntu)

Enviado em 30/05/2010 - 21:13h

Na central de Rede e Compartilhamento do windows vista esta assim:

descoberta de rede: ativado
compartilhamento de arquivos: ativado
compartilhameno de pasta publica: ativado
compartilhamento de impressora: ativado
compartilhamento protegido por senha: desativado
compartilhamento de media: desativado


12. Re: Duvida SAMBA

Fabricio
Hellsius

(usa Ubuntu)

Enviado em 30/05/2010 - 21:17h

Quando teto utilizar o Nautilus aparece uma janela chamada root - navegador de arquivos, logo em seguida em cima desta janela aparece uma mensagem de erro dizendo


"Não foi possível exibir "smb://192.168.0.173".
O Nautilus não pode manipular localizações "smb"."





  
01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts