Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-23-2005, 09:04 AM
|
#1
|
Member
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193
Rep:
|
can't ping XP machine using it's netbios name
Hi
I can't ping my XP box using its netbios name, neither i can nmblooup it. I'm trying to smbmount XP box share, but it only works when i use its IP address and not its nebios name. Like this: smbmount //192.168.1.34/sharename ..... and it won't work if i use "smbmount //hostname /sharename ...
Can anyone explain why?
|
|
|
04-23-2005, 11:18 AM
|
#2
|
Member
Registered: Jul 2004
Location: Sunny south wales (cwmbranistan)
Distribution: Colbalt/fedora 6
Posts: 71
Rep:
|
have you put the IP and hostname in the hosts file?
|
|
|
04-23-2005, 11:20 AM
|
#3
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
do u have samba working??
regards
|
|
|
04-23-2005, 12:43 PM
|
#4
|
Member
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193
Original Poster
Rep:
|
Samba is working, but i did not put the ip and the hostname into the hosts file.
That's probably why it is not working. I will try this and let you know.
|
|
|
04-23-2005, 01:00 PM
|
#5
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
no i do not think u need that
i hope u ahve the workgroup same of that windows
then in add this to ur /etc/resolv.conf
search <workgroup>
regards
|
|
|
04-23-2005, 05:51 PM
|
#6
|
Member
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193
Original Poster
Rep:
|
I've tried /etc/hosts and /etc/resolv.conf, but that didn't seem to help.
Then, i found /etc/samba/lmhosts, added ip address and netbios name and that seems to have solved the problem.
Thanks
|
|
|
04-23-2005, 10:12 PM
|
#7
|
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Rep:
|
i do not ue that file but i have the same workgroup in samba as that in windows and this line at /etc/resolv.conf helps me
search <myhostname>
search <workgroup>
well its good i got to know about another option that u mentioned
regards
|
|
|
04-30-2005, 11:13 AM
|
#8
|
Member
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193
Original Poster
Rep:
|
Today I've changed all machines on my LAN to static addresses, not running DHCP server on the router any more. After this I could not mount the shared folder at the XP machine on my linux box. It said that I specified a wrong share name or something. I solved this by entering the IP address and the Host name of the XP machine that has a shared folder, into my resolv.conf. The thing is though, with DHCP i had to put IP and Hostname into the /etc/samba/lmhosts and NOT into /etc/hosts or /etc/resolv.conf. Without the DHCP server (static addressing), it is /etc/resolv.conf and NOT /etc/samba/lmhosts or /etc/hosts.
Last edited by hubabuba; 04-30-2005 at 11:16 AM.
|
|
|
04-30-2005, 01:38 PM
|
#9
|
Member
Registered: Jan 2002
Location: UK
Distribution: Slack 14.1
Posts: 193
Original Poster
Rep:
|
and /etc/hosts
|
|
|
All times are GMT -5. The time now is 03:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|