Re: setting computer name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1       localhost.localdomain   localhost
> 

If you are using DHCP, you still need this for programs that look in
/etc/hosts so they will not fail.  localhost.localdomain at 127.0.0.1 is
always a local-machine address.  

If your network interfaces use DHCP, you can configure the DHCP server
to assign you a hostname in various ways, assuming that you can
influence it.  I can send an example if you need it, but I don't have it
here.

I am in the same situation, and as I move from network to network, my
system gets a new hostname..

> So it really did not change the name. I also checked out /etc/host.conf and found the following:
> 
> order hosts,bind
> 
> however it did not have 'multi on', which I saw as being needed according to the Linux how-to help guides.
> 
> The conflict that I see is that I am using DHCP, and I switch from servers in a daily basis. I checked /etc/resolv.conf and I had something like the following
> 
> ; generated by /sbin/dhclient-script
> search your.isp.domain.name
> nameserver 10.25.0.1
> nameserver 10.25.1.2
> 
> Is there anyway for me to name my computer without incurring in further problems.
> 


> Regards,
> 
> -G
> -- 
> ______________________________________________
> Check out the latest SMS services @ http://www.linuxmail.org
> This allows you to send and receive SMS through your mailbox.
> 
> 
> Powered by Outblaze
> 
> 
> 
> --__--__--
> 
> Message: 14
> Date: Tue, 24 Feb 2004 15:30:51 -0800
> From: Tom Needs a Hat Mitchell <mitch48@xxxxxxxxxxxxx>
> To: fedora-list@xxxxxxxxxx
> Subject: Re: nis auth problems
> Reply-To: fedora-list@xxxxxxxxxx
> 
> On Mon, Feb 23, 2004 at 02:08:38PM -0500, Fedora@TinyCreatures wrote:
> > Hello.
> > 
> > I recently set up a NIS server on a box running FreeBSD 5.2. Everything
> > went well. The clients are Linux machines, running Fedora Core 1.
> > I tried to configure one, it
> > connects to the NIS server, all yp commands return successfull queries,
> > made the necessary changes in nsswithch.conf as well, however, when i'm
> > trying to log on with a user that exists only on the NIS server i get
> > "Login incorrect" messages all the time.
> > What could be the problem?
> 
> What line in your passwd file invokes NIS.
> 
> 
>  http://www.europe.redhat.com/documentation/man-pages/man5/nsswitch.5.php3
> 
>    "In /etc/passwd you could have entries of the form +user or
>    +@netgroup (include the specified user from the NIS passwd map),
>    -user or -@netgroup (exclude the specified user) and + (include
>    every user, except the excluded ones, from the NIS passwd
>    map). Since most people only put a + at the end of /etc/passwd..."
> 
> Where is the home directories for a NIS user?
> Are there any useful hints in messages in /var/log/secure /var/log/*
> 
> 
> 
> -- 
> 	T o m  M i t c h e l l 
> 	/dev/null the ultimate in secure storage.
> 	mitch48-at-sbcglobal-dot-net
> 
> 
> 
> --__--__--
> 
> Message: 15
> From: "Rotariu Bogdan" <bogdan@xxxxxxxxxx>
> To: <fedora-list@xxxxxxxxxx>
> Subject: Re: setting computer name
> Date: Wed, 25 Feb 2004 01:36:47 +0200
> Reply-To: fedora-list@xxxxxxxxxx
> 
> hello
> check /etc/sysconfig/network
> 
> ----- Original Message ----- 
> From: "Javier Gonzalez" <gonzo@xxxxxxxxxxxxx>
> To: <fedora-list@xxxxxxxxxx>
> Sent: Wednesday, February 25, 2004 1:23 AM
> Subject: setting computer name
> 
> 
> > This is a bit trivial, but I figured somebody is bound to respond. I've
> been trying to set up a name for my laptop for the first time. So, I tried
> using hostname to change the name of my computer, and then I logged out to
> see if it would change the name in the graphical greeter. It actually did,
> but then it would tell me that it could not find the name I had given to my
> computer.
> > I went ahead and check /etc/hosts, and it has the following in it:
> >
> > # Do not remove the following line, or various programs
> > # that require network functionality will fail.
> > 127.0.0.1       localhost.localdomain   localhost
> >
> > So it really did not change the name. I also checked out /etc/host.conf
> and found the following:
> >
> > order hosts,bind
> >
> > however it did not have 'multi on', which I saw as being needed according
> to the Linux how-to help guides.
> >
> > The conflict that I see is that I am using DHCP, and I switch from servers
> in a daily basis. I checked /etc/resolv.conf and I had something like the
> following
> >
> > ; generated by /sbin/dhclient-script
> > search your.isp.domain.name
> > nameserver 10.25.0.1
> > nameserver 10.25.1.2
> >
> > Is there anyway for me to name my computer without incurring in further
> problems.
> >
> > Regards,
> >
> > -G
> > -- 
> > ______________________________________________
> > Check out the latest SMS services @ http://www.linuxmail.org
> > This allows you to send and receive SMS through your mailbox.
> >
> >
> > Powered by Outblaze
> >
> >
> > -- 
> > fedora-list mailing list
> > fedora-list@xxxxxxxxxx
> > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 
> 
> 
> 
> 
> --__--__--
> 
> Message: 16
> Subject: RE: Kernel 2.6 in FC1 ?
> From: Alexandre Strube <surak@xxxxxxxxxxxxxxxxx>
> To: Fedora-list <fedora-list@xxxxxxxxxx>
> Date: Tue, 24 Feb 2004 20:41:01 -0300
> Reply-To: fedora-list@xxxxxxxxxx
> 
> Em Ter, 2004-02-24 s 08:53, Peter Santiago escreveu:
> 
> > I'm also interested in testing out kernel 2.6... just want to get some
> > feedback from those using it already....  Is it stable?
> 
> I have a SMB server where I use for my personal stuff sometimes,
> (evolution, quake3^H^HOpenGL stuff) and it is just fine. Something like
> 1 month uptime now, which seems preety stable to me.
> 
> 
> -- 
> []s
> 
> Alexandre Ganso 
> 500 FOUR vermelha - Diretor Steel Goose Moto Group
> 
> 
> 
> --__--__--
> 
> Message: 17
> Date: Tue, 24 Feb 2004 15:39:52 -0800
> From: "Bevan C. Bennett" <bevan@xxxxxxxxxxxxxxxx>
> To: fedora-list@xxxxxxxxxx
> Subject: Re: setting computer name
> Reply-To: fedora-list@xxxxxxxxxx
> 
> Rotariu Bogdan wrote:
> > hello
> > check /etc/sysconfig/network
> 
> Specifically, make sure there's a line in it that says:
> HOSTNAME=my_hostname
> 
> 
> 
> --__--__--
> 
> Message: 18
> Subject: Re: Kernel 2.6 in FC1 ?
> From: Alexandre Strube <surak@xxxxxxxxxxxxxxxxx>
> To: Fedora-list <fedora-list@xxxxxxxxxx>
> Date: Tue, 24 Feb 2004 20:43:18 -0300
> Reply-To: fedora-list@xxxxxxxxxx
> 
> Em Ter, 2004-02-24 s 09:03, roger2 escreveu:
> 
> > > This was already done.. Put those lines on /etc/apt/sources.list :
> > > # Arjan's 2.6 series kernel repository
> > > rpm http://people.redhat.com/ arjanv/2.5 kernel
> > > rpm-src http://people.redhat.com/ arjanv/2.5 kernel
> > did you really mean 2.5 ?
> > just seems odd to introduce a 5 whan all the talk was of 6.
> > Regards Roger
> 
> That's because this repository is being used for quite some time... And
> looks like there was people enough using it since 2.5 than ArjanV
> thought it was fair left it this way. The kernel is 2.6, inspite of the
> name.
> 
> -- 
> []s
> 
> Alexandre Ganso 
> 500 FOUR vermelha - Diretor Steel Goose Moto Group
> 
> 
> 
> --__--__--
> 
> Message: 19
> From: sschwartz@xxxxxxxxx (Steven Schwartz)
> Subject: Re: vmailmgr on FC 1
> Date: Tue, 24 Feb 2004 15:45:36 -0800
> To: fedora-list@xxxxxxxxxx
> Reply-To: fedora-list@xxxxxxxxxx
> 
> 
> --Apple-Mail-2-574888772
> Content-Transfer-Encoding: 7bit
> Content-Type: text/plain;
> 	charset=US-ASCII;
> 	format=flowed
> 
> 
> On Feb 24, 2004, at 2:33 PM, fedora-list-request@xxxxxxxxxx wrote:
> 
> >
> > http://megaz.arbuz.com/?p=qmail_howto
> >
> >
> Thank you very much; I've clipped the vital part of it, so that if 
> other people look for the same problem, they know what's going on:
> 
> Warning! The current version of VMailMgr does not compile on gcc 
> version 3. Konstantin Riabitsev was kind enough to send me a patch that 
> makes vmailmgr 0.96.9 compile on gcc3. The patch can be downloaded from 
> here. To apply the patch, cd into the vmailmgr directory and type 
> "patch -p1 < vmailmgr-0.96.9-gcc32.patch". If you don't want to use the 
> patch, you must install an earlier version of gcc (gcc 2.95.3 is a good 
> release) if you want to compile VMailMgr. Overall, it is a good idea to 
> install gcc 2.95 anyway, especially if you want to build mySQL, 
> mod_perl or apache from sources. There is a separate guide that I wrote 
> on how to install gcc 2.95.3 on Linux. It is accessible from here.
> 
> So, now we know. I'm off to go patch-hunting.
> 
> Steven
> 
> --Apple-Mail-2-574888772
> Content-Transfer-Encoding: 7bit
> Content-Type: text/enriched;
> 	charset=US-ASCII
> 
> 
> 
> On Feb 24, 2004, at 2:33 PM, fedora-list-request@xxxxxxxxxx wrote:
> 
> 
> <excerpt>
> 
> http://megaz.arbuz.com/?p=qmail_howto
> 
> 
> 
> </excerpt>Thank you very much; I've clipped the vital part of it, so
> that if other people look for the same problem, they know what's going
> on:
> 
> 
> <fontfamily><param>Tahoma</param><color><param>FFFF,0000,0000</param>Warning!
> The current version of VMailMgr does not compile on gcc version 3.
> </color><color><param>4D4D,5B5B,8080</param>Konstantin
> Riabitsev</color><color><param>FFFF,0000,0000</param> was kind enough
> to send me a patch that makes vmailmgr 0.96.9 compile on gcc3. The
> patch can be downloaded from
> </color><color><param>4D4D,5B5B,8080</param>here</color><color><param>FFFF,0000,0000</param>.
> To apply the patch, cd into the vmailmgr directory and type
> </color><color><param>0000,0000,FFFF</param>"patch -p1 <<
> vmailmgr-0.96.9-gcc32.patch"</color><color><param>FFFF,0000,0000</param>.
> If you don't want to use the patch, you must install an earlier
> version of gcc (gcc 2.95.3 is a good release) if you want to compile
> VMailMgr. Overall, it is a good idea to install gcc 2.95 anyway,
> especially if you want to build mySQL, mod_perl or apache from
> sources. There is a separate guide that I wrote on how to install gcc
> 2.95.3 on Linux. It is accessible from
> </color><color><param>4D4D,5B5B,8080</param>here</color><color><param>FFFF,0000,0000</param>.</color><color><param>2C2C,2C2C,2C2C</param> </color>
> 
> 
> </fontfamily>So, now we know. I'm off to go patch-hunting.
> 
> 
> Steven
> 
> 
> --Apple-Mail-2-574888772--
> 
> 
> 
> --__--__--
> 
> Message: 20
> Subject: Re: Kernel 2.6 in FC1 ?
> From: Alexandre Strube <surak@xxxxxxxxxxxxxxxxx>
> To: Fedora-list <fedora-list@xxxxxxxxxx>
> Date: Tue, 24 Feb 2004 20:51:49 -0300
> Reply-To: fedora-list@xxxxxxxxxx
> 
> 
> --=-DkVDk8dXlsMOsyy1F4RF
> Content-Type: text/plain; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
> 
> Em Ter, 2004-02-24 s 10:32, Alberto M R Dvila escreveu:
> 
> > Thanks Alexandre !
> 
> 
> You're welcome!
> (...)
> 
> > > And open up synpatic. You'll find the 2.6 kernel there.
> > Sorry about this very newbie question... how I should use the synpatic ? I
> > never used it before...
> 
> 
> It it REALLY straightforward. 
> 
> 1 Go to a terminal as root.
> 2 Install apt-get: rpm -ivh
> http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/1/apt/apt-0.5.15cnc3-0.1.fr.i386.rpm
> 3 put THIS in your /etc/apt/sources.list:
> 
> # Arjan's 2.6 series kernel repository
> rpm http://people.redhat.com/ arjanv/2.5 kernel
> rpm-src http://people.redhat.com/ arjanv/2.5 kernel
>  
> # Fedora Linux 1
> rpm http://ayo.freshrpms.net/ fedora/linux/1/i386 core updates freshrpms
> rpm-src http://ayo.freshrpms.net/ fedora/linux/1/i386 core updates
> freshrpms
> # rpm http://ayo.freshrpms.net/ fedora/linux/1/i386 tupdates
> # rpm http://ayo.freshrpms.net/ fedora/linux/1/i386 extras alternatives
>  
> #Livna
> rpm http://rpm.livna.org/ fedora/1/i386 stable unstable testing
>  
> #Macromedia Flash
> rpm http://macromedia.mplug.org/ apt/fedora/1 macromedia
>  
> #newrpms.sunsite.dk
> # rpm http://newrpms.sunsite.dk/apt/ redhat/en/i386/fc1 newrpms
> # rpm-src http://newrpms.sunsite.dk/apt/ redhat/en/i386/fc1 newrpms
>  
> ### Dag Apt Repository for Red Hat Fedora Core 1
> # rpm http://apt.sw.be/ redhat/fc1/en/i386 dag
> 
> 
> 
> 
> 4 Do the following at the command line:
> apt-get update
> apt-get install synaptic
> 
> Your system will probably need to update some packages, and that's it. 
> Go to Fedora menu, System Tools, and you'll find Synaptic.
> 
> It lets you choose, update, install and uninstall every package in your
> system,
> in a easy, practical way. Look for KERNEL and you will find yourself
> plenty of
> choices, ranging from Arjan's 2.6 kernel to Freshrpms ALSA modules and
> dozens
> of kernel drivers from Dag Wieers repository...
> 
> Sorry for HTML, it was the only way I know in evolution to stop breaking
> lines.
> 
> -- 
> []s
> 
> Alexandre Ganso 
> 500 FOUR vermelha - Diretor Steel Goose Moto Group
> 
> --=-DkVDk8dXlsMOsyy1F4RF
> Content-Type: text/html; charset=utf-8
> Content-Transfer-Encoding: 7bit
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
> <HTML>
> <HEAD>
>   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
>   <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
> </HEAD>
> <BODY>
> Em Ter, 2004-02-24 &#224;s 10:32, Alberto M R D&#225;vila escreveu:
> <BLOCKQUOTE TYPE=CITE>
> <PRE><FONT COLOR="#737373"><I>Thanks Alexandre !</I></FONT></PRE>
> </BLOCKQUOTE>
> <BR>
> You're welcome!<BR>
> (...)
> <BLOCKQUOTE TYPE=CITE>
> <PRE><FONT COLOR="#737373"><I>&gt; And open up synpatic. You'll find the 2.6 kernel there.
> Sorry about this very newbie question... how I should use the synpatic ? I
> never used it before...</I></FONT></PRE>
> </BLOCKQUOTE>
> <BR>
> It it REALLY straightforward. <BR>
> <BR>
> 1 Go to a terminal as root.<BR>
> 2 Install apt-get: rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/1/apt/apt-0.5.15cnc3-0.1.fr.i386.rpm <BR>
> 3 put THIS in your /etc/apt/sources.list:<BR>
> <BR>
> # Arjan's 2.6 series kernel repository<BR>
> rpm http://people.redhat.com/ arjanv/2.5 kernel<BR>
> rpm-src http://people.redhat.com/ arjanv/2.5 kernel<BR>
>  <BR>
> # Fedora Linux 1<BR>
> rpm http://ayo.freshrpms.net/ fedora/linux/1/i386 core updates freshrpms<BR>
> rpm-src http://ayo.freshrpms.net/ fedora/linux/1/i386 core updates freshrpms<BR>
> # rpm http://ayo.freshrpms.net/ fedora/linux/1/i386 tupdates<BR>
> # rpm http://ayo.freshrpms.net/ fedora/linux/1/i386 extras alternatives<BR>
>  <BR>
> #Livna<BR>
> rpm http://rpm.livna.org/ fedora/1/i386 stable unstable testing<BR>
>  <BR>
> #Macromedia Flash<BR>
> rpm http://macromedia.mplug.org/ apt/fedora/1 macromedia<BR>
>  <BR>
> #newrpms.sunsite.dk<BR>
> # rpm http://newrpms.sunsite.dk/apt/ redhat/en/i386/fc1 newrpms<BR>
> # rpm-src http://newrpms.sunsite.dk/apt/ redhat/en/i386/fc1 newrpms<BR>
>  <BR>
> ### Dag Apt Repository for Red Hat Fedora Core 1<BR>
> # rpm http://apt.sw.be/ redhat/fc1/en/i386 dag<BR>
> <BR>
> <BR>
> <BR>
> <BR>
> 4 Do the following at the command line:<BR>
> apt-get update<BR>
> apt-get install synaptic<BR>
> <BR>
> Your system will probably need to update some packages, and that's it. <BR>
> Go to Fedora menu, System Tools, and you'll find Synaptic.<BR>
> <BR>
> It lets you choose, update, install and uninstall every package in your system,<BR>
> in a easy, practical way. Look for KERNEL and you will find yourself plenty of<BR>
> choices, ranging from Arjan's 2.6 kernel to Freshrpms ALSA modules and dozens<BR>
> of kernel drivers from Dag Wieers repository...<BR>
> <BR>
> Sorry for HTML, it was the only way I know in evolution to stop breaking lines.
> <PRE><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
> <TR>
> <TD>
> <PRE>-- 
> []s
> 
> Alexandre Ganso 
> 500 FOUR vermelha - Diretor Steel Goose Moto Group</PRE>
> </TD>
> </TR>
> </TABLE>
> </PRE>
> </BODY>
> </HTML>
> 
> --=-DkVDk8dXlsMOsyy1F4RF--
> 
> 
> 
> --__--__--
> 
> Message: 21
> From: "th" <th@xxxxxxxxxxxxx>
> To: <fedora-list@xxxxxxxxxx>
> Subject: RE: redhat-config-httpd won't run after upgrade
> Date: Tue, 24 Feb 2004 19:09:34 -0500
> Reply-To: fedora-list@xxxxxxxxxx
> 
> I have actually been having a problem with DNS in Fedora Core 1.  Had to
> switch back to RH9, Did you try using the development configuration tool?
> Its called system-config-httpd.
> 
> -----Original Message-----
> From: fedora-list-admin@xxxxxxxxxx [mailto:fedora-list-admin@xxxxxxxxxx] On
> Behalf Of Max
> Sent: Tuesday, February 24, 2004 12:56 PM
> To: fedora-list@xxxxxxxxxx
> Subject: Re: redhat-config-httpd won't run after upgrade
> 
> Il gio, 2004-02-12 alle 15:14, Jay Daniels ha scritto:
> > redhat-config-httpd won't run after upgrade to fedora core 1.
> > 
> > exits on start: unknown error!
> > 
> > 
> > jay
> 
> Hi have had the same problem (from RH to FC1), I have posted to bugzilla
> to have some help..... but notthing....
> I have never find a solution for this nor for a problem in configuring
> DNS (it starts but it shut down immediatly).
> 
> If some one could help it will be great.
> 
> -- 
> Max
> Linuxhack webcommunity
> #power 2 the people#
> 
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 
> 
> 
> --__--__--
> 
> Message: 22
> Date: Tue, 24 Feb 2004 19:19:11 -0500
> From: jim tate <mickeyboa@xxxxxxxxxxx>
> To: fedora <fedora-list@xxxxxxxxxx>
> Subject: 'X' crashed
> Reply-To: fedora-list@xxxxxxxxxx
> 
> Running in vesa mode.
> XFree86-4.3.0-55
> What does this mean;
> 
> Fatal Server Error
> could not open default font 'fixed'
> 
> thanks
> Jim Tate
> 
> 
> 
> --__--__--
> 
> Message: 23
> Date: Tue, 24 Feb 2004 18:24:37 -0300
> From: Andre Costa <acosta@xxxxxxxxxxxxxxxxxxx>
> To: fedora-list@xxxxxxxxxx
> Subject: Re: Giving up on Linux...
> Reply-To: fedora-list@xxxxxxxxxx
> 
> (I know this is sort of "old news" by now, but I am catching up after a
> 2-day holiday, and I really would like to post my $0.02)
> 
> On Sun, 22 Feb 2004 12:12:41 +0100
> Jos Vos <jos@xxxxxx> wrote:
> 
> > On Sun, Feb 22, 2004 at 12:52:16PM +0200, xyzzy@hotpop
> [...]
> > > However, even with all of M$ garbage, the bottom line is that their
> > > garbage works on my system and Linux does not.
> > 
> > Yes, and this is *not* because M$ is good and Linux is bad, but
> > because those manufacturers have "close cooperations" with M$ and
> > don't care(or are not allowed to care!!!) about Linux.
> 
> I couldn't agree more. It has always been like this, and, even though
> it's been slowly changing (you see companies like Dell, NVidia and
> Intel, among others, dedicating personnel to improve Linux and guarantee
> it is compatible with their products), a lot is still done as
> reverse-engineering (or sometimes "blind-engineering") when it comes to
> supporting bleeding-edge (or maybe even plainly "unusual") hardware.
> 
> This of course doesn't apply to MS, with its mentioned "close
> cooperation" with hardware manufacturers -- and this cooperation doesn't
> even has to be paid for sometimes, because it's on the best interest of
> hardware manufacturers that the world's best selling OS works on their
> products.
> 
> Anyway, it shouldn't sound awkward that Linux needs sometime to catch up
> with bleeding-edge hardware if you consider it is developed and
> maintained generally by voluntaries scattered around the world, with no
> relationship to hardware manufacturers whatsoever (aside from the
> honorable exceptions mentioned above).
> 
> This, of course, doesn't mean you don't have the right to be pissed off
> because Linux doesn't work on your new hardware. Just make sure you
> understand the reasons why, don't spread FUD and don't completely give
> up on it (give it another try later on).
> 
> Best,
> 
> Andre
-- 
Erik Hemdal <ehemdal@xxxxxxxxxxx>




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux