•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the *nix Software section within the Tech Talk category of DaniWeb, a massive community of 456,611 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,406 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our *nix Software advertiser: Lunarpages Linux Web Hosting
Views: 25364 | Replies: 11
![]() |
Hello.
I'm sorry, I mistake the place to post replies. But I'm on the way now.
I was saying that I just read your "How to Configure Samba on RedHat Linux" tutorial.
I configured my samba server and I could connect my shared folder on localhost.
But here is the problem: When I navigate through network neighborhood in my Windows XP pro box, I can see the samba PC but, when I open it, I get an error message. It says that I have a duplicate name on the network. Look:
---------
\\localhost is not accessible.You might not have permission to use this network
resource. contact the administrator.......
You were not connected because a duplicate name exists on the network. Go to
System in Control Pael to change computer name and try again.
---------
It can be possible another Linux PC in the network has already that name.
Anyway, I should be able to change the name of my computer in the network.
Do you know what is gonig on?
Thanks in advance
I'm sorry, I mistake the place to post replies. But I'm on the way now.
I was saying that I just read your "How to Configure Samba on RedHat Linux" tutorial.
I configured my samba server and I could connect my shared folder on localhost.
But here is the problem: When I navigate through network neighborhood in my Windows XP pro box, I can see the samba PC but, when I open it, I get an error message. It says that I have a duplicate name on the network. Look:
---------
\\localhost is not accessible.You might not have permission to use this network
resource. contact the administrator.......
You were not connected because a duplicate name exists on the network. Go to
System in Control Pael to change computer name and try again.
---------
It can be possible another Linux PC in the network has already that name.
Anyway, I should be able to change the name of my computer in the network.
Do you know what is gonig on?
Thanks in advance
•
•
Join Date: Dec 2003
Location: Marin County, CA
Posts: 6,439
Reputation:
Rep Power: 18
Solved Threads: 339
The name "localhost" has a special meaning in TCP/IP networking- it is an alias to the local loopback device IP of 127.0.0.1, which is present on any machine running TCP/IP regardless of operating system. As such, "localhost" should never be used as the actual computer name/hostname for any machine on a network, because it causes exactly the conflict you're experiencing.
If any computer on your network is using "localhost" as its hostname, you need to change that name to something unique.
If any computer on your network is using "localhost" as its hostname, you need to change that name to something unique.
"May the Wombat of Happiness snuffle through your underbrush."
- Ancient Aborigine blessing
Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.
However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
- Ancient Aborigine blessing
Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.
However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
•
•
Join Date: Dec 2003
Location: Marin County, CA
Posts: 6,439
Reputation:
Rep Power: 18
Solved Threads: 339
To set the machine's host name in Redhat, you can do one of two things:
A) In the /etc directory you might find a file named HOSTNAME (if you don't, just create the file). It should contain a single line containing the hostname.
B) In your /etc/sysconfig/network file, enter the hostname after the equal sign on the "HOSTNAME=" line.
A) In the /etc directory you might find a file named HOSTNAME (if you don't, just create the file). It should contain a single line containing the hostname.
B) In your /etc/sysconfig/network file, enter the hostname after the equal sign on the "HOSTNAME=" line.
"May the Wombat of Happiness snuffle through your underbrush."
- Ancient Aborigine blessing
Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.
However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
- Ancient Aborigine blessing
Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.
However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
Ok, I did it.
But now I have another question.
Before change /etc/sysconfig/network I was working at 'localhost'.
When I changed the name, I couldn't open localhost (nither 127.0.0.1), of course because I just changed it .
If I write the new name I just put into /etc/sysconfig/network I only get an error msg.
What can I do in order to work again in localhost?
Thanks in advance
But now I have another question.
Before change /etc/sysconfig/network I was working at 'localhost'.
When I changed the name, I couldn't open localhost (nither 127.0.0.1), of course because I just changed it .
If I write the new name I just put into /etc/sysconfig/network I only get an error msg.
What can I do in order to work again in localhost?
Thanks in advance
•
•
Join Date: Dec 2003
Location: Marin County, CA
Posts: 6,439
Reputation:
Rep Power: 18
Solved Threads: 339
OK- try this:
Open your /etc/hosts file in a text editor and do the following:
Change the line that reads something similar to:
127.0.0.1 localhost.localdomain localhost
to:
127.0.0.1 localhost.localdomain localhost put_your_new_hostname_here
For example, if you chose a hostname of "linuxbox", the entry would read:
127.0.0.1 localhost.localdomain localhost linuxbox
Open your /etc/hosts file in a text editor and do the following:
Change the line that reads something similar to:
127.0.0.1 localhost.localdomain localhost
to:
127.0.0.1 localhost.localdomain localhost put_your_new_hostname_here
For example, if you chose a hostname of "linuxbox", the entry would read:
127.0.0.1 localhost.localdomain localhost linuxbox
"May the Wombat of Happiness snuffle through your underbrush."
- Ancient Aborigine blessing
Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.
However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
- Ancient Aborigine blessing
Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.
However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
•
•
Join Date: Dec 2003
Location: Marin County, CA
Posts: 6,439
Reputation:
Rep Power: 18
Solved Threads: 339
Sorry- I should have asked this before: are you assigning your IP info to each of your machines manually, or do you have a device (a router perhaps) acting as a DHCP server for your network? Issues of hostname problems vary depending on which addressing scheme you use.
"May the Wombat of Happiness snuffle through your underbrush."
- Ancient Aborigine blessing
Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.
However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
- Ancient Aborigine blessing
Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.
However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
•
•
Join Date: Dec 2003
Location: Marin County, CA
Posts: 6,439
Reputation:
Rep Power: 18
Solved Threads: 339
•
•
•
•
Originally Posted by jmeree
I fussed around with localhost network settings for a few hours and then just started the smb service and it worked.
"May the Wombat of Happiness snuffle through your underbrush."
- Ancient Aborigine blessing
Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.
However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
- Ancient Aborigine blessing
Please do not contact me by email or PM for help. We're all volunteers here, and only have so much free time to dedicate to our efforts.
However, if I've been working on a thread with you already, and seem to have "forgotten" your thread, please do send me a message. I try not to let things slip through the cracks, but it does happen sometimes.
![]() |
•
•
•
•
•
•
•
•
DaniWeb *nix Software Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
blog business software cellphone computer core dell developer development enterprise erp systems fedora gentoo gpl hardware ibm india install intel internet linux media microsoft mmorpg mobile news novell office open open source open-source operating os project project management red hat security server software software selection source sun system technology evaluation ubuntu unix vista web windows xp
- How to Configure Samba on RedHat Linux (*nix Hardware Configuration)
- How to Configure Samba on RedHat Linux (*nix Software)
Other Threads in the *nix Software Forum
- Previous Thread: Problem installing packages..!!! Plz help...
- Next Thread: Rndc: connect failed: connection refused



Linear Mode