Re: Mounting Windows Samba shares without using smbfs



Hugh Lawson wrote, on 31/03/08 00:06:
Arthur Marsh <arthur.marsh@xxxxxxxxxxxxxxxx> writes:


The smbfs package, which depends on samba-common includes the
mount.cifs binary:

[ snip ]

The format of the /etc/fstab entry changed, requiring the IP address
of the remote system rather than just the NetBIOS name:

# old format, should all be on one line:
#//chocolate/chocolatec /chocolatec smbfs
rw,guest,uid=1000,gid=1000,iocharset
=utf8,codepage=cp850 0 0

# new format, should all be on one line:
//10.0.0.2/chocolatec /chocolatec cifs
rw,guest,uid=1000,gid=1000,iocharset=ut
f8 0 0

On my very small home network, the Windows computer gets its IP
address from a router by dhcp. How to get this IP for the remote Linux
/etc/fstab file? Can this be automated?

I set up my router to assign IP addresses based on the MAC addresses of the machines, having tried a few other ideas and not succeeded. One could also assign static IPs to the machines.

Arthur.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Mounting Windows Samba shares without using smbfs
    ... of the remote system rather than just the NetBIOS name: ... # old format, should all be on one line: ... of the machines, having tried a few other ideas and not succeeded. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Mounting Windows Samba shares without using smbfs
    ... of the remote system rather than just the NetBIOS name: ... # old format, should all be on one line: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Why DAT failed (was: CD Quality)
    ... It turned out to be a popular professional format, ... I got a great story on DAT's failure from a high-ranking Sony exec, ... or so (when DAT started to ship), they realized to their horror that, because ... first machines to sell for maybe $500 or so, but the U.S. dollar plunged so ...
    (rec.audio.pro)
  • Re: speed up calculation suggestions
    ... Fortran matter. ... same internal formats - the ones that the CPU supports. ... the large majority of machines today use the same format. ...
    (comp.lang.fortran)
  • Re: Problem with Certificate and Encryption
    ... the 'format' does not offer NTFS but if you use 'CONVERT ... Certificate, I have deleted it and had the system re-create new one. ... > Adding users is going to be a little complicated unless the machines are in> a domain and can guarantee that the users> will always use the same certificates. ... The encryption method seem to be> same ...
    (microsoft.public.windowsxp.security_admin)