[Leaplist] help on LAN name resolve

Fuzzy Conner fuznacious at yahoo.com
Thu Dec 20 15:56:26 GMT 2007


>> Now i gotta do this;
>> mount -t cifs //192.168.1.110/PUBLIC /mnt/u_pub

Assuming from your other examples you're wanting to
connect to a machine named UBUNTU and mount the share
named PUBLIC to /mnt/u_pub...

mount -t cifs //`nmblookup UBUNTU |grep 00 |cut -d " " -f 1`/PUBLIC /mnt/u_pub

Let nmblookup find the machine's IP.

("mount -t cifs" works the same as "mount.cifs")

...better authors than myself have written the man pages
for nmblookup and mount.cifs...  Many more options there
than the examples I've posted.

--Fuzzy





      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 



More information about the Leaplist mailing list