[linux-cifs-client] CIFS mount works when I specify IP address, but notwhen I only specify hostname

BJ Quinn bj at placs.net
Mon Mar 8 22:47:01 GMT 2004


Right, so I downloaded the pre-configured mount.cifs file from the link
you gave me and saved it as /sbin/mount.cifs, and that seemed to help - no
more errors, but when I go to the directory where I mounted the CIFS
filesystem, there's nothing there.  That happens now regardless of whether
I try to mount it by IP address or hostname.

-BJ

P.S.  Thanks for your help, and I used to know a Steve French who lived
out here in the Dallas, Texas area.  Where are you from?


> The mount helper, mount.cifs, (which parses hostnames to ip address) was
> missing from some versions of Fedora.   It is available from the project
> page:
>
> http://us1.samba.org/samba/Linux_CIFS_client.html
>
>
> Got a weird problem, wonder if you guys could help out.
>
> I just installed Fedora Core 2 Test 1, and they've decided to disable
> SMBFS and use CIFS by default.  I had been using SMB mount, but I decided
> to give mount.cifs a shot.  When I run the following command :
>
> # mount -t cifs //computername/c /netmnt/computername/c -o
> user=administrator,password=password,domain=workgroupname
>
> I get the following error:
>
> CIFS VFS: Error connecting to IPv4 socket.  Aborting operation
> CIFS VFS: cifs_mount failed w/return code = -111
> mount:connection refused
>
> However, when I run this command :
>
> # mount -t cifs //ipaddress/c /netmnt/computername/c -o
> user=administrator,password=password,domain=workgroupname
>
> It works.  Of course, we're using DHCP, so hard-coding IP addresses in
> scripts is not going to work.  I refuse to believe that CIFS won't work by
> hostname, whereas SMBFS did!  Am I doing something wrong along the lines
> of telling it my workgroup?  I am in a workgroup, not a domain.
>
> Any help would be appreciated!!
>
> -BJ Quinn
>
> _______________________________________________
> linux-cifs-client mailing list
> linux-cifs-client at lists.samba.org
> http://lists.samba.org/mailman/listinfo/linux-cifs-client
>
>



More information about the linux-cifs-client mailing list