LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-02-2007, 10:07 PM   #1
jborn
Member
 
Registered: Oct 2005
Distribution: FC 8
Posts: 53

Rep: Reputation: 15
Name Resolution Question


Hi,

I have a windows machince that has a share on it. I attempted to mount this share on my FC6 box and ran into the following:

mount -t cifs -o username=uname,password=passwd //winxp/share /mnt/music
mount error: could not find target server. TCP name winxp/share not found
No ip address specified and hostname not found

I then tried ping:

ping winxp
ping: unknown host winxp

ping localhost
ping: unknown host localhost

As you can see localhost didn't work either.

I could setup the mount via IP address, but would rather setup via name.

I'm running FC6. Do they have something off by default that I can turn on and automagically it will start working? If not what do I need to do for fedora to understand my window machine names?

Thanks
 
Old 02-02-2007, 10:09 PM   #2
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
edit /etc/hosts

Add your WinXP in there.
Code:
192.168.1.2   winxp win hal2000 whateverelsenameyouwant
first column is the ip address, obviously. The next spaces are the name(s) you want to give it. you can use winxp, win, or hal2000 and they will all point to 192.168.1.2

Last edited by Micro420; 02-02-2007 at 10:12 PM.
 
Old 02-03-2007, 06:30 AM   #3
jborn
Member
 
Registered: Oct 2005
Distribution: FC 8
Posts: 53

Original Poster
Rep: Reputation: 15
That fixed my problem.

Thanks for the information!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about screen resolution JAKK Linux - Laptop and Netbook 3 12-24-2006 04:56 PM
Screen Resolution Question drakelord Linux - Newbie 5 09-12-2006 01:04 AM
resolution question capthowdy1027 Linux - Newbie 12 09-09-2006 07:14 AM
Resolution Question mapesju Mandriva 5 07-30-2004 12:54 AM
Name resolution question... (and more) WeNdeL Linux - Newbie 1 01-23-2003 06:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration