smb.10.shrines958 at spamgourmet.com
2011-Dec-23 14:34 UTC
[Samba] Help - Mounting a Windows computer with two IP addresses
Hi all, I need to mount a Windows share locally on my laptop. However, I cannot do this via sudo mount -t smbfs //host_name/share_name /local_mount because the host_name has two IP addresses with it as shown by nmblookup //host_name. (That is, I try mounting and I'm given this error: mount error(115): Operation now in progress Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) ) One IP address is a static one which the Windows computer uses to connect to another machine. The other IP address is a DHCP-given IP and is the one I need to connect to. I can mount the share if I use sudo mount -t smbfs //dhcp_ip/share_name /local_mount however, this is problematic for obvious reasons since I need the mount to be permanent (eventually going in fstab). My question is: Is there a way to ignore the static IP address when mounting? Further info: I can connect to the Windows machine using smbclient //host_name/share_name and browse just fine. Also, nautilus can browse the remote file system as well.
tms3 at tms3.com
2011-Dec-23 15:12 UTC
[Samba] Help - Mounting a Windows computer with two IP addresses
> > > Hi all, > > I need to mount a Windows share locally on my laptop. However, I > cannot > do this via > > sudo mount -t smbfs //host_name/share_name /local_mount > > because the host_name has two IP addresses with it as shown by > nmblookup > //host_name.In Windows network adapter settings, disable netbios over tcp/ip for the address you don't want. If you have a WINS server delete the entry for that IP after disabling it.> > > > (That is, I try mounting and I'm given this error: > mount error(115): Operation now in progress > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) ) > > One IP address is a static one which the Windows computer uses to > connect to another machine. The other IP address is a DHCP-given IP > and > is the one I need to connect to. I can mount the share if I use > > sudo mount -t smbfs //dhcp_ip/share_name /local_mount > > however, this is problematic for obvious reasons since I need the > mount > to be permanent (eventually going in fstab). > > My question is: Is there a way to ignore the static IP address when > mounting? > > Further info: I can connect to the Windows machine using smbclient > //host_name/share_name and browse just fine. Also, nautilus can browse > the remote file system as well. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
Possibly Parallel Threads
- NT_STATUS_ACCESS_DENIED listing \* on Samba AD - out of the blue
- NT_STATUS_ACCESS_DENIED listing \* on Samba AD - out of the blue
- Samba 4 As PDC Not Populated In Windows Network
- mount_smbfs can't get server address
- What exactly is the meaning of "Subnet" parameter in tinc/$NETNAME/hosts/$SOMEHOSTNAME?