Fedora Linux Support Community & Resources Center
  #1  
Old 26th February 2004, 01:54 AM
darkrain Offline
Registered User
 
Join Date: Feb 2004
Posts: 8
Samba Localhost problem

I have set up samba so I can share some folders on fedora with my windows box and the printer. The problem I get is when i click the computer in windows network neighbourhood it tells me there is a duplicate name ie the localhost.

If i change the name within fedora it gives all sorts of problems with everything else. Is there a way around this problem or someway to solve it?

There must be someone with samba working. I can get it to run fine if I use Suse 9, but I don like Suse as a os.

What have i done wrong as this is driving me round the bend.
Reply With Quote
  #2  
Old 26th February 2004, 11:46 AM
mhelios Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Queensland, AU
Posts: 736
To change your hostname do this:
First, exit X by dropping to rnlvl3:
Code:
#init 3
Set /etc/sysconfig/network to:
Code:
HOSTNAME=newname.localdomain
Set /etc/hosts to:
Code:
127.0.0.1       localhost.localdomain   localhost newname
Finally, reboot and your new hostname will be changed. (Look for a "setting hostname" message when PC boots up.)
__________________
mhelios@fedoraforum.org
Registered Linux User # 348963
GnuPG KeyID: 0xCE9F8922
Reply With Quote
  #3  
Old 15th April 2004, 07:33 PM
BocaJuniors Offline
Registered User
 
Join Date: Apr 2004
Posts: 1
To get my Samba working I also had to edit /etc/samba/smb.conf

server string = my_machine_name

(as explained here )
Reply With Quote
  #4  
Old 10th January 2005, 08:06 PM
muranyia Offline
Registered User
 
Join Date: Jan 2005
Posts: 1
quick and dirty

Just managed to do without going down runlevel. You fire up favorite graphic editor, edit files, save'em, reboot.
Also remember to open ports in firewall, or disable it if you're behind another one (or two).

Sorry if any of these sounds like rapism...
Reply With Quote
Reply

Tags
localhost, problem, samba

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LocalHost login problem cutrums Installation and Live Media 11 22nd November 2007 06:11 PM
localhost problem, can't install HeyAZ Installation and Live Media 2 6th November 2006 04:14 PM
localhost problem jawadah Servers & Networking 2 20th September 2006 08:39 PM
localhost problem tradesman Servers & Networking 23 10th May 2006 02:21 PM


Current GMT-time: 10:39 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat