Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Networking two Linux computers harder than Linux to Windows?



On Wed, Apr 04, 2007 at 08:12:21PM +0900, Dave M G wrote:
> TLUG,
> 
> 
> But when I get to this command, I'm a little lost:
> sudo mount -t smbfs -o username=[network user],password=[network 
> pass],uid=`whoami`,gid=`whoami`,fmask=000,dmask=000 //[whatever you named the 
> Samba server]/[network user] /home/`whoami`/Network
> 
> I don't recall naming the Samba server. I named my workgroup "LAN". I named the 
> Samba user on my machine to be "fileserver". But I don't know what the name of 
> my samba server would be.
> 
> How do I know what my Samba server is named?

Ask it.  :) It would be in  your smb.conf file.  
I have a page on samba at
http://home.nyc.rr.com/computertaijutsu/samba.html

It mentions using -I as in IP address.  You could use something like

mount -t smbfs -I 192.168.1.10 //girlfriend@example.com/shared_directory
/fileserver

girlfriend@example.com is her username on the samba server's name.  That name
would actually be the hostname, as long as the client machine knows the
hostname--it should be in the client machine's /etc/hosts (or lmhosts on
Windows--however, the idea is that the server machine knows its owns
name.  So the server machine should have an entry in /etc/hosts like

192.168.1.10     fileserver.dave_net.net     fileserver


-- 

Scott Robbins

PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Angelus: No weapons... no friends... no hope. Take all 
that away and what's left? 
Buffy: Me.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links