Mount
Hi friends;
I try below: pepito@pepon:~$ sudo smbmount //192.168.2.2/DRIVE1 /mnt/usbdrv -o username=root [sudo] password for pepito: Password: mount error(112): Host is down Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) pepito@pepon:~$ root is the username at remote pc, 192.168.2.2 its ip. Well, i try from other pc with Windows and ok, but on my PC with Ubuntu 9.04 not works. I try many ways and nothing across servername and ip like the example... ¡ I need some help ! |
In Ubuntu you can try Places > Network and see if it mounts it for you.
Also it gives you one point look into man mount.cifs |
Quote:
==================== सिर्फ इसलिए मैं इसे पढ़ें. |
Can you ping the remote machine?
And if you read the man page, did you try the GUI method? |
1 Attachment(s)
Quote:
Can you ping the remote machine? Well, as you'll see the following table with IP and Resource Name pepito@pepon:~$ ping 192.168.2.2 PING 192.168.2.2 (192.168.2.2) 56(84) bytes of data. 64 bytes from 192.168.2.2: icmp_seq=1 ttl=255 time=6.71 ms 64 bytes from 192.168.2.2: icmp_seq=2 ttl=255 time=1.23 ms 64 bytes from 192.168.2.2: icmp_seq=3 ttl=255 time=1.20 ms 64 bytes from 192.168.2.2: icmp_seq=4 ttl=255 time=4.89 ms 64 bytes from 192.168.2.2: icmp_seq=5 ttl=255 time=1.58 ms 64 bytes from 192.168.2.2: icmp_seq=6 ttl=255 time=2.07 ms 64 bytes from 192.168.2.2: icmp_seq=7 ttl=255 time=1.06 ms --- 192.168.2.2 ping statistics --- 7 packets transmitted, 7 received, 0% packet loss, time 6007ms rtt min/avg/max/mdev = 1.061/2.680/6.711/2.057 ms pepito@pepon:~$ ping usbsvr PING usbsvr.dummy.porta.siemens.net (192.168.2.2) 56(84) bytes of data. 64 bytes from USBSVR.dummy.porta.siemens.net (192.168.2.2): icmp_seq=1 ttl=255 time=1.21 ms 64 bytes from USBSVR.dummy.porta.siemens.net (192.168.2.2): icmp_seq=2 ttl=255 time=1.13 ms 64 bytes from USBSVR.dummy.porta.siemens.net (192.168.2.2): icmp_seq=3 ttl=255 time=1.18 ms 64 bytes from USBSVR.dummy.porta.siemens.net (192.168.2.2): icmp_seq=4 ttl=255 time=1.31 ms 64 bytes from USBSVR.dummy.porta.siemens.net (192.168.2.2): icmp_seq=5 ttl=255 time=3.54 ms 64 bytes from USBSVR.dummy.porta.siemens.net (192.168.2.2): icmp_seq=6 ttl=255 time=1.43 ms --- usbsvr.dummy.porta.siemens.net ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5008ms rtt min/avg/max/mdev = 1.139/1.638/3.546/0.859 ms And if you read the man page, did you try the GUI method? Indeed, yes. At scan_192.168.2.2_Umit.txt file is the result of Unit scan, It may helps |
When you try to use the GUI mode using Places > Network what are the errors?
|
Quote:
Failed to mount the place. Failed to get list of server sharing or also.. Failed to mount the place Failed to mount Windows Sharing |
This is the issue that I faced when I used Hardy. But Jaunty has not had the problem though. Gutsy started having the same problem after some updates were installed. I tried to solve for Hardy, but could not. Really sorry for it. But I can not think of anything right now.
|
Quote:
|
If you can ping the server (at 192.168.2.2) then you have network connectivity. You probably need to check the firewalls for both hosts and see if the ports are open.
139/tcp, 445/tcp, 137/udp, 138/udp Also make sure that that samba is running on the server (smbd, nmbd and possibly winbind) |
Quote:
Failed to mount the place. Failed to get list of server sharing or also.. Failed to mount the place Failed to mount Windows Sharing |
You can get the list of windows share with smbtree command. And if windows clients can access the shares I doubt its firewall. But jschiwal, I still dont know why samba server needs to be running for just mounting windows shares on Ubuntu?
|
The samba server needs to be running on the remote machine. I missed the line about another windows machine accessing the shares. The firewall on Ubuntu could still be blocking ports needed for browsing and accessing shares.
You can also use "smbclient -L <server>" to list the shares on the remote server. The samba-client package needs to be installed. ( Ubuntu may call it something else ) You need to run "smbpasswd -a <username>" to add your username and password to the samba user/password database file. This file contains the credentials that you connect with. |
Quote:
lanman auth = yes client plaintext auth = yes client ntlmv2 auth = no client lanman auth = yes client schannel = auto client signing = auto client use spnego = yes try again and : root@pepon:/home/pepito# smbclient -L usbsvr Enter root's password: Sharename Type Comment --------- ---- ------- USB1 Printer Deskjet F300 series IPC$ IPC REPORT Disk in Read only files SETUP Disk in Configuration files DRIVE1 Disk Kingston DataTraveler 2.0 1.00 Server Comment --------- ------- Workgroup Master --------- ------- root@pepon:/home/pepito# smbclient -L 192.168.2.2 session request to 192.168.2.2 failed (Called name not present) session request to 192 failed (Called name not present) session request to *SMBSERVER failed (Called name not present) root@pepon:/home/pepito# ping usbdrv PING usbdrv (192.168.2.2) 56(84) bytes of data. 64 bytes from usbdrv (192.168.2.2): icmp_seq=1 ttl=255 time=1.27 ms 64 bytes from usbdrv (192.168.2.2): icmp_seq=2 ttl=255 time=3.06 ms 64 bytes from usbdrv (192.168.2.2): icmp_seq=3 ttl=255 time=2.63 ms 64 bytes from usbdrv (192.168.2.2): icmp_seq=4 ttl=255 time=1.18 ms 64 bytes from usbdrv (192.168.2.2): icmp_seq=5 ttl=255 time=1.83 ms 64 bytes from usbdrv (192.168.2.2): icmp_seq=6 ttl=255 time=2.37 ms ^C --- usbdrv ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 5007ms rtt min/avg/max/mdev = 1.182/2.061/3.068/0.694 ms root@pepon:/home/pepito# smbtree Password: CASA \\PEPON pepon server (Samba, Ubuntu) \\PEPON\HP-Deskjet-f380 HP Deskjet f380 All-in-One \\PEPON\IPC$ IPC Service (PEPON server (Samba, Ubuntu)) \\PEPON\print$ Printer Drivers \\USBSVR \\USBSVR\DRIVE1 Kingston DataTraveler 2.0 1.00 \\USBSVR\SETUP in Configuration files \\USBSVR\REPORT in Read only files \\USBSVR\IPC$ \\USBSVR\USB1 Deskjet F300 series But can't access to \\USBSVR\DRIVE1 |
All times are GMT -5. The time now is 01:20 AM. |