[Leaplist] fuz help on LAN name resolve

William A. Mahaffey III wam at hiwaay.net
Thu Dec 20 12:33:34 GMT 2007


Doug Jones wrote:
> fuz,
>
> I still don't know how to reply to digest mail list so i'm keeping 
> this short, me & you wrote;
>
> <snip>
> >>> My problem is that I have to resort to using the static IP in the 
> mount call to mount a CIFS store to my new fedora boxen.
> <snip>
> >>> This is not a  request to solve a problem, I've got (almost) 
> everything working that I need to.
> >>> If anyone remembers a link that lead to an "AH HA" moment re name 
> resolution (smbfs/CIFS/nfs) please pass it on.
>
> >I have an answer, and please forgive me for going into what might be 
> too many details:
>
> Great stuff but much exceeded my present comprehension.  I'll study a 
> bit and reformulate Q.  The
> education on nmblookup was a good step forward but it led me to other 
> questions cause it seems
> to find all boxes fine.
>
> Old days (rh9) I used to mount a samba share like this;
> mount -t smb //UBUNTU/PUBLIC /mnt/u_pub
>
> later I mounted from ubuntu thusly;
> sudo mount -t smbfs -0 uid=1000 -o gid=1000 //UBUNTU/PUBLIC /mnt/u_pub
>
> now on the fedora box I had to change to CIFS and the use of 'named' 
> hosts above no longer works.  Now i gotta do this;
> mount -t cifs //192.168.1.110/PUBLIC /mnt/u_pub
>
> Hey... I order EXACTLY the same dish in every restaurant I go to FOR 
> YEARS!  Why it _are_ that
> I can't do that at the penguin smorgasbord?  (all in jest... I ain't 
> bitchin'  I'm still amazed at all the
> blinkin' lights)
>
> beak

Is the '192.168.1.1' box listed in your /etc/hosts file ? Smbfs is 
indeed deprecated/dropped & replaced w/ CIFS. Still the Samba people 
maintaining it, different implementation --> different name. I use:

sudo /sbin/mount.cifs //$host/$user /mnt -o 
credentials=$HOME/.smbAuth,ro,soft

inside of a shell script that sets host & user & that works for me AOK 
(FC6 & FC7, both 64-bit), but I have my MSFT boxen listed in my 
/etc/hosts file. Also have nmb running. YMMV, IANAL, & all that :-) ....

-- 

	William A. Mahaffey III

 ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                           -- Gen. George S. Patton Jr.



More information about the Leaplist mailing list