Re: change hostname & static IP & ???

2016-04-13 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Apr 12, 2016 at 05:28:14PM -0400, ken wrote: > On 04/12/2016 03:27 AM, to...@tuxteam.de wrote: [Dave already gave pretty insightful answers] > >Also, your new host will have the same ssh host private key. This > >might or might not annoy you.

Re: change hostname & static IP & ???

2016-04-12 Thread David Wright
On Tue 12 Apr 2016 at 17:28:14 (-0400), ken wrote: > On 04/12/2016 03:27 AM, to...@tuxteam.de wrote: > >On Mon, Apr 11, 2016 at 08:31:16PM -0500, David Wright wrote: > >>On Mon 11 Apr 2016 at 19:02:45 (-0400), ken wrote: > >>>This is on Wheezy for a Raspberry Pi. > >>> > >>>Using dd, I copied the S

Re: Clone SD card for new system <- Re: change hostname & static IP & ???

2016-04-12 Thread David Wright
On Tue 12 Apr 2016 at 10:28:54 (-0400), ken wrote: > On 04/11/2016 09:31 PM, David Wright wrote: > >On Mon 11 Apr 2016 at 19:02:45 (-0400), ken wrote: > >>This is on Wheezy for a Raspberry Pi. > >> > >>Using dd, I copied the SD card for one (nicely working and > >>configured) system onto another SD

Re: change hostname & static IP & ???

2016-04-12 Thread ken
On 04/12/2016 03:27 AM, to...@tuxteam.de wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Apr 11, 2016 at 08:31:16PM -0500, David Wright wrote: On Mon 11 Apr 2016 at 19:02:45 (-0400), ken wrote: This is on Wheezy for a Raspberry Pi. Using dd, I copied the SD card for one (nicely w

Clone SD card for new system <- Re: change hostname & static IP & ???

2016-04-12 Thread ken
On 04/11/2016 09:31 PM, David Wright wrote: On Mon 11 Apr 2016 at 19:02:45 (-0400), ken wrote: This is on Wheezy for a Raspberry Pi. Using dd, I copied the SD card for one (nicely working and configured) system onto another SD card. I want to use this second card for another system, so need to

Re: [Raspbian-devel] change hostname & static IP & ???

2016-04-12 Thread Stian Skjelstad
The SD cards can in general be swapped around Raspberry PI cards. The MAC address is stored in the network adapter on the Raspberry PI, so unless you change it, each raspberry PI will have a uniqe MAC address. Default IP configuration is to use DHCP. This usually causes the the address to follow

Re: change hostname & static IP & ???

2016-04-12 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, Apr 11, 2016 at 08:31:16PM -0500, David Wright wrote: > On Mon 11 Apr 2016 at 19:02:45 (-0400), ken wrote: > > This is on Wheezy for a Raspberry Pi. > > > > Using dd, I copied the SD card for one (nicely working and > > configured) system onto

Re: change hostname & static IP & ???

2016-04-11 Thread David Wright
On Mon 11 Apr 2016 at 19:02:45 (-0400), ken wrote: > This is on Wheezy for a Raspberry Pi. > > Using dd, I copied the SD card for one (nicely working and > configured) system onto another SD card. I want to use this second > card for another system, so need to change the hostname and (static) > I

change hostname & static IP & ???

2016-04-11 Thread ken
This is on Wheezy for a Raspberry Pi. Using dd, I copied the SD card for one (nicely working and configured) system onto another SD card. I want to use this second card for another system, so need to change the hostname and (static) IP address. Yesterday I grepped the whole system for one an

Re: change hostname without rebooting [SOLVED]

2012-11-24 Thread Zenaan Harkness
On 11/24/12, Tom H wrote: > On Sat, Nov 24, 2012 at 1:04 AM, Zenaan Harkness wrote: >> # Me, wonders why systemd-hostnamed does not run, google says it should: >> >> $ echo $PATH >> /usr/lib/postgresql/8.3/bin:/home/justa/bin:/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games

Re: change hostname without rebooting

2012-11-24 Thread Tom H
On Sat, Nov 24, 2012 at 1:04 AM, Zenaan Harkness wrote: > > # Me, wonders why systemd-hostnamed does not run, google says it should: > > $ echo $PATH > /usr/lib/postgresql/8.3/bin:/home/justa/bin:/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games > > $ dpkg -L systemd|grep hos

Re: change hostname without rebooting

2012-11-23 Thread Zenaan Harkness
Final step: $ sudo ./systemd-hostnamed Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname! # indefinite pause/hang at this point... # I did CTRL-C to exit after about 2min. -- To UNSUBSCRIBE, email to debian-user-requ

Re: change hostname without rebooting

2012-11-23 Thread Zenaan Harkness
# Me, wonders why systemd-hostnamed does not run, google says it should: $ echo $PATH /usr/lib/postgresql/8.3/bin:/home/justa/bin:/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games $ dpkg -L systemd|grep hostnamed /lib/systemd/system/systemd-hostnamed.service /lib/systemd/sys

change hostname without rebooting

2012-11-23 Thread Zenaan Harkness
So I change hostname from "localhost" to "x". I run /etc/init.d/hostname.sh start I'm still logged in. I have many firefox tabs open. Actually, I changed the hostname a day ago. Now, when I try to start an xterm, it takes about 9s. I run xterm from an existing xt

Re: Exim : change hostname in SMTP greeting

2012-02-27 Thread Camaleón
On Mon, 27 Feb 2012 10:43:32 +, Shaun wrote: > On 26/02/2012 16:13, Camaleón wrote: >> On Sat, 25 Feb 2012 10:38:41 +, Shaun wrote: So you basically want >> to change the SMTP greeting? > > Yes, but I wanted to give the reason why also. Just in case it changes > the solution or recommenda

Re: Exim : change hostname in SMTP greeting

2012-02-27 Thread Shaun
On 26/02/2012 16:13, Camaleón wrote: > On Sat, 25 Feb 2012 10:38:41 +, Shaun wrote: > So you basically want to change the SMTP greeting? Yes, but I wanted to give the reason why also. Just in case it changes the solution or recommendation. >> MAIN_HARDCODE_PRIMARY_HOSTNAME='mail.mydomain.com'

Re: Exim : change hostname in SMTP greeting

2012-02-26 Thread Camaleón
On Sat, 25 Feb 2012 10:38:41 +, Shaun wrote: > I ran my domain through a DNS health checker type site, just to make > sure I fix any issues. The only 'problem' was that it said the SMTP > greeting on my MXs doesn't match that listed as the FQDN for the domain. > That's because I tend to run ma

Exim : change hostname in SMTP greeting

2012-02-25 Thread Shaun
Hi all, I ran my domain through a DNS health checker type site, just to make sure I fix any issues. The only 'problem' was that it said the SMTP greeting on my MXs doesn't match that listed as the FQDN for the domain. That's because I tend to run many services on the same box so technically it has

Re: WORKAROUND Re: Cannot change hostname permanently

2006-10-02 Thread Wayne Topa
Brad Rogers([EMAIL PROTECTED]) is reported to have said: > On Mon, 02 Oct 2006 14:53:04 +0100 > Chris Lale <[EMAIL PROTECTED]> wrote: > > Hello Chris, > > > I still cannot work out how hostname is remembering a name ("earth") > > that it has not saved in /etc/hostname (which still contains > > "

Re: WORKAROUND Re: Cannot change hostname permanently

2006-10-02 Thread Brad Rogers
On Mon, 02 Oct 2006 16:09:42 +0100 Chris Lale <[EMAIL PROTECTED]> wrote: Hello Chris, > When called with one argument or with the --file option, the commands Yes, but the --file option tells hostname which file to /read/ the name from, not which file to /write/ it to. Again, this is AIUI. --

Re: WORKAROUND Re: Cannot change hostname permanently

2006-10-02 Thread John Hasler
Chris Lale writes: > ...but using the hostname command does not work correctly. The hostname > command appears to work (the hostname command reports the new hostname > and a new login shows the new hostname in the prompt) but /etc/hostname > retains the original name. Consequently, when /etc/init.d

Re: WORKAROUND Re: Cannot change hostname permanently

2006-10-02 Thread Kent West
Chris Lale wrote: It also says that the hostname is set at boot using the file /etc/hostname: The name of the computer ("host") is set by the "hostname" command. The "hostname" command does not modify the "/etc/hostname" file. The boot-up scripts call the "hostname" command, reading the "/etc

SOLVED Re: Cannot change hostname permanently

2006-10-02 Thread Chris Lale
Brad Rogers wrote: [...] You seem to be under the impression that the command hostname writes to the file /etc/hostname. AIUI, that is *not* the case. You'll have to alter the file in a text editor. Thanks Brad - I've come to the same conclusion. Thanks to everyone else who contribut

Re: WORKAROUND Re: Cannot change hostname permanently

2006-10-02 Thread Chris Lale
Anthony Campbell wrote: [snip] I've found that you have to change /etc/hosts to match /etc/hostname, otherwise various bad things happen. The same applies if you use the hostname command. Thanks. That probably explains Gnome behaving strangely. It doesn't affect the main issue though: the ho

Re: WORKAROUND Re: Cannot change hostname permanently

2006-10-02 Thread Brad Rogers
On Mon, 02 Oct 2006 14:53:04 +0100 Chris Lale <[EMAIL PROTECTED]> wrote: Hello Chris, > I still cannot work out how hostname is remembering a name ("earth") > that it has not saved in /etc/hostname (which still contains > "desktop"). hostname --fqdn is also confused and cannot find a host! You

Re: WORKAROUND Re: Cannot change hostname permanently

2006-10-02 Thread Anthony Campbell
On 02 Oct 2006, Chris Lale wrote: [snip] > > I did try both manual change and the hostname command originally, but > perhaps I did not reboot in each case - I can't remember. Subsequently, > I have found that manually changing /etc/hostname does work, but using > the hostname command does not

Re: WORKAROUND Re: Cannot change hostname permanently

2006-10-02 Thread Chris Lale
Kent West wrote: Chris Lale wrote: A workaround is to change the hostname by editing /etc/hostname directly. # echo desktop > /etc/hostname Yes. I understood from the original posting that the "/etc/hostname" was being changed manually by the OP. If that's not the case, that's the

Re: WORKAROUND Re: Cannot change hostname permanently

2006-10-02 Thread Chris Lale
Magnus Therning wrote: On Mon, Oct 02, 2006 at 13:33:01 +0100, Chris Lale wrote: [...] A workaround is to change the hostname by editing /etc/hostname directly. # echo desktop > /etc/hostname Isn't /etc/hosts involved in this as well? At least for 'hostname -f' is seems to be.

Re: WORKAROUND Re: Cannot change hostname permanently

2006-10-02 Thread Kent West
Chris Lale wrote: > A workaround is to change the hostname by editing /etc/hostname directly. > ># echo desktop > /etc/hostname > Yes. I understood from the original posting that the "/etc/hostname" was being changed manually by the OP. If that's not the case, that's the problem. This file must

Re: WORKAROUND Re: Cannot change hostname permanently

2006-10-02 Thread Magnus Therning
On Mon, Oct 02, 2006 at 13:33:01 +0100, Chris Lale wrote: >Liam O'Toole wrote: >>[...] >> The output you quote above is the result of init invoking >> >>/etc/init.d/hostname.sh start >> >>What happens when you do this manually? > # hostname desktop > # hostname > desktop > > # /etc/in

WORKAROUND Re: Cannot change hostname permanently

2006-10-02 Thread Chris Lale
Liam O'Toole wrote: [...] The output you quote above is the result of init invoking /etc/init.d/hostname.sh start What happens when you do this manually? # hostname desktop # hostname desktop # /etc/init.d/hostname.sh Setting hostname to 'earth'...done. Are there an

Re: Cannot change hostname permanently

2006-10-02 Thread Liam O'Toole
On Mon, 02 Oct 2006 11:23:22 +0100 Chris Lale <[EMAIL PROTECTED]> wrote: [...] > > The original hostname is "earth". I want to change it to "desktop". > This is what happens: > > # hostname > earth > > # hostname desktop > # hostname > desktop > > # shutdown -r now >

Re: Cannot change hostname permanently

2006-10-02 Thread Mumia W..
On 10/02/2006 05:23 AM, Chris Lale wrote: Kent West wrote: [...] No, I mean it seems odd that he changes "/etc/hostname", and after reboot it has changed back to the original. Or at least, that's what I understood him to say in his original post. Yes, that's it. My packages are up-to-dat

Re: Cannot change hostname permanently

2006-10-02 Thread Chris Lale
Kent West wrote: [...] No, I mean it seems odd that he changes "/etc/hostname", and after reboot it has changed back to the original. Or at least, that's what I understood him to say in his original post. Yes, that's it. My packages are up-to-date, my wireless/ADSL modem/router box (Phil

Re: Cannot change hostname permanently

2006-10-01 Thread Kent West
John Hasler wrote: Chris Lale wrote: or by using the hostname command. All is well until I reboot. During boot, hostname is reset to the value I supplied during installation. Kent West writes: That seems slightly odd to me. Not at all. From /etc/init.d/hostname.sh: # Shor

Re: Cannot change hostname permanently

2006-10-01 Thread John Hasler
Chris Lale wrote: > or by using the hostname command. All is well until I reboot. During > boot, hostname is reset to the value I supplied during installation. Kent West writes: > That seems slightly odd to me. Not at all. From /etc/init.d/hostname.sh: # Short-Description: Set hostname based o

Re: Cannot change hostname permanently

2006-10-01 Thread Kent West
Chris Lale wrote: I want to change the hostname on my Etch box. I can change the name by editing /etc/hostname This is the correct way. or by using the hostname command. All is well until I reboot. During boot, hostname is reset to the value I supplied during installation. That seems slightly

Cannot change hostname permanently

2006-10-01 Thread Chris Lale
I want to change the hostname on my Etch box. I can change the name by editing /etc/hostname or by using the hostname command. All is well until I reboot. During boot, hostname is reset to the value I supplied during installation. Any idea where this original hostname is saved, or how I can mak

Re: how to change hostname

2005-05-22 Thread Thomas Hood
On Fri, 20 May 2005 10:00:19 +0200, Urs Thuermann wrote: > What is the debain way to change to hostname of a system. Run "hostname NEWHOSTNAME" and put NEWHOSTNAME into /etc/hostname. If occurrences of OLDHOSTNAME appear in /etc/hosts, change them to NEWHOSTNAME. The mailname serves a different

RE: how to change hostname

2005-05-20 Thread Saro
/etc/hostname -Mensaje original- De: Urs Thuermann [mailto:[EMAIL PROTECTED] Enviado el: viernes, 20 de mayo de 2005 13:19 Para: debian-user@lists.debian.org Asunto: Re: how to change hostname Maurits van Rees <[EMAIL PROTECTED]> writes: > I think you just issue the followin

Re: how to change hostname

2005-05-20 Thread Urs Thuermann
Lee Braiden <[EMAIL PROTECTED]> writes: > I *think* the hostname command will set /etc/hostname for you, as well as > forcing the running system to update its own idea of what the hostname is. It only sets the hostname in the kernel using the hostname(2) syscall. > For /etc/mailname, dpkg-recon

Re: how to change hostname

2005-05-20 Thread Urs Thuermann
Maurits van Rees <[EMAIL PROTECTED]> writes: > I think you just issue the following command as root: > > hostname No. The hostname command only sets the current hostname in the running kernel. I want to change the hostname permanently. urs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] wi

Re: how to change hostname

2005-05-20 Thread Lee Braiden
On Friday 20 May 2005 08:49, Urs Thuermann wrote: > What is the debain way to change to hostname of a system. Only > editing /etc/hostname is not sufficient, because there are other > places where the hostname is stored, e.g. /etc/hosts, /etc/mailname, > etc. I *think* the hostname command will s

Re: how to change hostname

2005-05-20 Thread Maurits van Rees
On Fri, May 20, 2005 at 09:49:02AM +0200, Urs Thuermann wrote: > What is the debain way to change to hostname of a system. Only > editing /etc/hostname is not sufficient, because there are other > places where the hostname is stored, e.g. /etc/hosts, /etc/mailname, > etc. I think you just issue t

how to change hostname

2005-05-20 Thread Urs Thuermann
What is the debain way to change to hostname of a system. Only editing /etc/hostname is not sufficient, because there are other places where the hostname is stored, e.g. /etc/hosts, /etc/mailname, etc. Should it be done by running base-config? urs -- To UNSUBSCRIBE, email to [EMAIL PROTECTED]

Re: change hostname

2004-09-17 Thread Ross Boylan
On Mon, Sep 13, 2004 at 08:01:54AM +0200, Víctor A. Ramos wrote: > > Hi, > I have a Debian GNU/Linux installed on my compute, and I want to change > the hostname of this machine. Can someone tell me how can this be done? > > Thanks a lot > > Also, check /etc/mailname -- To UNSUBSCRIBE, email

Re: change hostname

2004-09-13 Thread John Summerfield
Afsin Taskiran wrote: Hi; # hostname or # vi /etc/hosts /etc/hosts does not control the host name. -- Cheers John -- spambait [EMAIL PROTECTED] [EMAIL PROTECTED] Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subj

Re: change hostname

2004-09-13 Thread John Summerfield
Ionel Mugurel Ciobica wrote: On 13-09-2004, at 08h 01'54", Víctor A. Ramos wrote about "change hostname" Hi, I have a Debian GNU/Linux installed on my compute, and I want to change the hostname of this machine. Can someone tell me how can this be done? Thanks a lot

Re: change hostname

2004-09-13 Thread Kent West
Mark Par wrote: On Mon, Sep 13 08:01:54 +0200 2004, Víctor A. Ramos wrote: I have a Debian GNU/Linux installed on my compute, and I want to change the hostname of this machine. Can someone tell me how can this be done? You can change it using hostname(1). If you want it to be persistent

Re: change hostname

2004-09-13 Thread Víctor A. Ramos
Thank u all guys! :) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: change hostname

2004-09-12 Thread Blake Swadling
On Mon, 2004-09-13 at 16:40, Afsin Taskiran wrote: > # vi /etc/hosts This might not have quite the effect that you are after. this will only allow you to add an alias for your host. the hostname must be configured separately using the hostname command try #man hostname Blake Swadling Senior S

Re: change hostname

2004-09-12 Thread Mark Par
On Mon, Sep 13 08:01:54 +0200 2004, Víctor A. Ramos wrote: > I have a Debian GNU/Linux installed on my compute, and > I want to change the hostname of this machine. Can someone > tell me how can this be done? You can change it using hostname(1). If you want it to be persistent meaning, it sets

Re: change hostname

2004-09-12 Thread Afsin Taskiran
Hi; # hostname or # vi /etc/hosts Regards Afsin Taskiran www.taskiran.org - Original Message - From: "Víctor A. Ramos" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, September 13, 2004 9:01 AM Subject: change hostname > > Hi, > I have a D

Re: change hostname

2004-09-12 Thread Ionel Mugurel Ciobica
On 13-09-2004, at 08h 01'54", Víctor A. Ramos wrote about "change hostname" > > Hi, > I have a Debian GNU/Linux installed on my compute, and I want to change > the hostname of this machine. Can someone tell me how can this be done? > > Thanks a lot > &

change hostname

2004-09-12 Thread Víctor A. Ramos
Hi, I have a Debian GNU/Linux installed on my compute, and I want to change the hostname of this machine. Can someone tell me how can this be done? Thanks a lot -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]