Hi.
On Sat, 21 Dec 2013 22:32:06 -0500
Jon N jdnandr...@gmail.com wrote:
It does return the new hostname. But, I started wondering about legal
characters. If you remember my old one was 'localhost-01' but in my
new one I used an underscore (_). According to
netregister.biz/faqit.htm no
Jon N wrote:
It does return the new hostname. But, I started wondering about legal
characters. If you remember my old one was 'localhost-01' but in my
new one I used an underscore (_). According to
netregister.biz/faqit.htm no symbols are usable except the hyphen (-).
No accented
On Sun, Dec 22, 2013 at 3:35 PM, Bob Proulx b...@proulx.com wrote:
Jon N wrote:
---snip---
Not empty, but if it contains illegal characters it won't make any
difference. I didn't find any error messages that would clue me in to
the problem (like: Warning, you have illegal characters in your
I recently installed Jessie on a new computer. Now that I have the
system up and running I decided that I would like to have a different
hostname than the rather unimaginative 'localhost-01' I picked during
install. I used the mate-network-admin utility to change it, and
checked /etc/hostname
On Sat 21 Dec 2013 at 13:45:11 -0500, Jon N wrote:
Anyway, the main question is, how do i change the hostname for my system?
I would edit /etc/hostname and change 'foo' to 'bar'
Then (because networking will now be confused), edit /etc/hosts and
change instances of 'foo' to 'bar'.
--
To
Hi
On Sat, Dec 21, 2013 at 01:45:11PM -0500, Jon N wrote:
I recently installed Jessie on a new computer. Now that I have the
system up and running I decided that I would like to have a different
hostname than the rather unimaginative 'localhost-01' I picked during
install. I used the
On Sat, Dec 21, 2013 at 6:45 PM, Jon N jdnandr...@gmail.com wrote:
sysctl kernel hostname=NEW_HOSTNAME.
It's sysctl -w kernel.hostname=NEW_HOSTNAME.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Jon N wrote:
I recently installed Jessie on a new computer. Now that I have the
system up and running I decided that I would like to have a different
hostname than the rather unimaginative 'localhost-01' I picked during
install. I used the mate-network-admin utility to change it, and
Karl E. Jorgensen wrote:
In general, if you're changing host name, *ALL* references to the old
name should be tweaked.
I would recommend:
# sed --in-place=.bak -e 's/localhost-01/yournewname/g' $(grep -lr
localhost-01 /etc)
Good intention but that will corrupt many binary files.
On Sat 21 Dec 2013 at 12:56:35 -0700, Bob Proulx wrote:
Changing the system hostname is a simple process. But it depends upon
what is installed since often the hostname is embedded in the
configuration of a package. For example the Postfix mail transport
agent needs to know the hostname in
On Sat, Dec 21, 2013 at 3:03 PM, Bob Proulx b...@proulx.com wrote:
Karl E. Jorgensen wrote:
In general, if you're changing host name, *ALL* references to the old
name should be tweaked.
I would recommend:
# sed --in-place=.bak -e 's/localhost-01/yournewname/g' $(grep -lr
localhost-01
Brian wrote:
Bob Proulx wrote:
Here are the places that need to be changed on every system.
A non-exclusive list. There will also be other places too.
/etc/hosts
/etc/hostname
/etc/mailname
Would (or should) it be necessary to change /etc/mailname? mailname(5)
describes this
Jon N wrote:
Dec 21 16:36:38 (none) lightdm: pam_unix(lightdm-greeter:session): session
opened for user lightdm by (uid=0)
(none)? It thinks the hostname is (none)? That's not right.
Unless you named your new system (none) with the parens which
shouldn't work.
Dec 21 16:36:38 (none)
On Sat, Dec 21, 2013 at 9:02 PM, Bob Proulx b...@proulx.com wrote:
Jon N wrote:
Dec 21 16:36:38 (none) lightdm: pam_unix(lightdm-greeter:session): session
opened for user lightdm by (uid=0)
(none)? It thinks the hostname is (none)? That's not right.
Unless you named your new system (none)
Thanks everyone for the reply.
I can say that changing the hostname, though seems simple, is the
most convoluted part in Linux. As expressed by Kent West:
,-
| there may be several places in the /etc directory where it is
| specified in various config files, such as /etc/hosts. There may
|
On Tue, 2004-07-13 at 13:29, * Tong* wrote:
[snip]
Paul Johnson's comment makes me think that changing the hostname
is far from simple:
,-
| 127.0.0.1 cxmr.dyndns.org localhost
|
| 127.0.0.1localhost
| your-ipcxmr.dyndns.orgcxmr
`-
That's
Hi,
Quick question how to change hostname under debian?
I changed my /etc/hosts
from
127.0.0.1 cxmrlocalhost
to
127.0.0.1 cxmr.dyndns.org localhost
but why my hostname is still reporting merely 'cxmr'?
How to fix it? (Surely I've
* Tong* wrote:
Hi,
Quick question how to change hostname under debian?
I changed my /etc/hosts
from
127.0.0.1 cxmr localhost
to
127.0.0.1 cxmr.dyndns.org localhost
but why my hostname is still reporting merely 'cxmr'?
How to fix it? (Surely I've
On Mon, 12 Jul 2004 17:57:16 -0400
* Tong* [EMAIL PROTECTED] wrote:
Quick question how to change hostname under debian?
Quick answer: edit /etc/hostname. No reboot necessary (but go to init
level 1 and back again to make sure stuff like Apache doesn't get an
identity crisis).
--
Got Backup?
On Mon, Jul 12, 2004 at 05:57:16PM -0400, * Tong* wrote:
Hi,
Quick question how to change hostname under debian?
I changed my /etc/hosts
from
127.0.0.1 cxmr localhost
to
127.0.0.1 cxmr.dyndns.org localhost
I think you should
* Tong* [EMAIL PROTECTED] writes:
Hi,
Quick question how to change hostname under debian?
I changed my /etc/hosts
from
127.0.0.1 cxmr localhost
to
127.0.0.1 cxmr.dyndns.org localhost
but why my hostname is still reporting merely
On Mon, 12 Jul 2004 17:57:16 -0400, * Tong* wrote:
Hi,
Quick question how to change hostname under debian?
I changed my /etc/hosts
from
127.0.0.1 cxmr localhost to
127.0.0.1 cxmr.dyndns.org localhost
but why my hostname is still
On Mon, Jul 12, 2004 at 05:57:16PM -0400, * Tong* wrote:
Hi,
Quick question how to change hostname under debian?
I changed my /etc/hosts
from
127.0.0.1 cxmr localhost
to
127.0.0.1 cxmr.dyndns.org localhost
but why my hostname
On Mon, Jul 12, 2004 at 05:57:16PM -0400, * Tong* wrote:
Hi,
Quick question how to change hostname under debian?
I changed my /etc/hosts
from
127.0.0.1 cxmr localhost
to
127.0.0.1 cxmr.dyndns.org localhost
but why my hostname is still
I am used to leaving Enter domainname blank when I install Debian.
So all my systems are called something like box1 or box2.
I want to add to this name so it becomes box1.foo.domain.
I have searched through /etc and i have found a couple of files that
reflect the hostname of the machine.
Can
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Saturday 23 November 2002 14:28, Robert Ian Smit wrote:
I am used to leaving Enter domainname blank when I install Debian.
So all my systems are called something like box1 or box2.
I want to add to this name so it becomes box1.foo.domain.
I
This one time, at band camp, Robert Ian Smit said:
I am used to leaving Enter domainname blank when I install Debian.
So all my systems are called something like box1 or box2.
I want to add to this name so it becomes box1.foo.domain.
I have searched through /etc and i have found a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Saturday 23 November 2002 1:28 pm, Robert Ian Smit wrote:
Can I update these files to the new name? I am most worried about the
exim and ssh(d) configuration? Exim for obvious reasons, and ssh for
fear of being locked out of remote systems (I
Antonio Rodriguez wrote:
How do you change your host name after your installation is done?
(network settings)
check /etc/hosts, /etc/hostnames
Also, what are valid parameters for host name? I made afresh
installation of woody in a 386 I got in an auction, and every time gdm
starts it
How do you change your host name after your installation is done?
(network settings)
Also, what are valid parameters for host name? I made afresh
installation of woody in a 386 I got in an auction, and every time gdm
starts it complains about the host name. I also noticed that email sent
from
Antonio Rodriguez wrote:
How do you change your host name after your installation is done?
(network settings)
try /etc/hostname
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Antonio Rodriguez wrote:
How do you change your host name after your installation is done?
(network settings)
Also, what are valid parameters for host name? I made afresh
installation of woody in a 386 I got in an auction, and every time gdm
starts it complains about the host name. I also
Donald R. Spoon wrote:
If you got the box at an auction, there are some other places that
might need personality changes to fit your situation. This is
probably the reason your mail commands are disappearing. You should
probably re-configure your MTA (i.e. eximconfig if using EXIM) to
On Sat, Oct 26, 2002 at 09:27:32AM -0400, Antonio Rodriguez wrote:
How do you change your host name after your installation is done?
(network settings)
$ hostname -h
Usage: hostname [-v] {hostname|-F file} set host name (from file)
domainname [-v] {nisdomain|-F file} set NIS
On 26 Oct 02 13:27:32 GMT, Antonio Rodriguez [EMAIL PROTECTED] wrote:
How do you change your host name after your installation is done?
(network settings)
This works for me:
# echo newhostname /etc/hostname
# hostname newhostname
# grep -ir oldhostname /etc/*
Fix up any references to the
Frank == Frank Copeland [EMAIL PROTECTED] writes:
Frank On 26 Oct 02 13:27:32 GMT, Antonio Rodriguez
Frank [EMAIL PROTECTED] wrote:
How do you change your host name after your installation is
done? (network settings)
Frank This works for me:
Frank # echo
Not exactly -- the authorized_keys file has five space-separated
fields: options bits exponent modulus comment. Options is where
options are specified (and is an optional field), and comment is still
comment. Changing hostname, or anything else, in the comment field
will not affect operability
Hello all,
I changed my /etc/hostname from debianAdriano to Adriano
That's because I'd like to bring my debian under the Windows domain of the
company.
I should entry a new row in the domain master for the linux hostname.
Since I'm yet there with the name Adriano, I could be in the domain
and grep on your config files in /etc to find your old hostname.
This is not a wonder-fix but it *should* get you there
Yours,
Nico de Haer
- Original Message -
From: Adri [EMAIL PROTECTED]
To: debian-user@lists.debian.org
Sent: Friday, June 22, 2001 10:31 AM
Subject: changing
Adri,
I'm in the habbit of reading loads of magazines / install guides / howto's
and so on.
They all warn for this situation. None of them give a way to 'solve' this.
They 'just' pont out to 'think hard' at the domain and hostname part.
I know that this does not help, so i hope this wil:
On Fri, Jun 22, 2001 at 10:31:51AM +0200, Adri wrote:
I changed my /etc/hostname from debianAdriano to Adriano
That's because I'd like to bring my debian under the Windows domain of the
company.
If you have to deal with those types of circumstances, try to go the easy
way: get a second
Ian and Nico,
thanks to the both of you but I think I'm goin to reinstall from scratch.
The solutions you suggest are too difficult for me and I have nothing
important in this installation, so I have nothing to loose.
I don't want to take the risk to incurr in consequences of the changed
On Fri, Jun 22, 2001 at 12:16:51PM +, Iain Smith wrote:
I'd suggest:
find /etc/ -type f |xargs grep $HOSTNAME
Well, that is a really big hammer in fact. And you will still miss
stuff that is not under /etc, but has a symlink in /etc pointing to it.
I used to do it like this (or much
On Fri, Jun 22, 2001 at 02:23:46PM +0200, Joost Kooij wrote:
On Fri, Jun 22, 2001 at 12:16:51PM +, Iain Smith wrote:
I'd suggest:
find /etc/ -type f |xargs grep $HOSTNAME
Well, that is a really big hammer in fact. And you will still miss
stuff that is not under /etc, but has a
On Fri, Jun 22, 2001 at 02:15:12PM +, Iain Smith wrote:
Until I found out about this wonderful -r option to gnu grep:
grep -r myregex /etc
wants to be your friend too.
Hmmm I managed to miss that one completely. Time to re-rtfm! I knew of
rgrep but found it was rarely
On Fri, Jun 22, 2001 at 05:10:56PM +0200, Joost Kooij wrote:
snip
Also must do is to read a book on unix systems. I suggest the 4.4 bsd
book, because it is a lot more readable than some of the more well-known
pamphlets by various illustruous academics[1]. Also, Kirk McKusick has
a video with
On Fri, Jun 22, 2001 at 05:29:01PM +, Iain Smith wrote:
On Fri, Jun 22, 2001 at 05:10:56PM +0200, Joost Kooij wrote:
You really don't want to mess with /dev/kmem and /proc/kcore. Install and
setup a user-mode-linux system if you like to toy with that stuff without
exposing real data to
Joost wrote:
In my experience, the best one is the bash(1) manpage. It is is really
vital. You don't properly realise how much until you've read all of it
(well maybe read a little faster over the readline bits).
Next come grep(1), sed(1) and awk(1).
No, next comes knowing your editor
On Fri, Jun 22, 2001 at 01:46:18PM -0400, David L. Craig wrote:
Joost wrote:
In my experience, the best one is the bash(1) manpage. It is is really
vital. You don't properly realise how much until you've read all of it
(well maybe read a little faster over the readline bits).
Next
Am 22. Jun, 2001 schwäzte Adri so:
Well, I saw the exim.conf file and there were some referrings to the old
host name (debianAdriano) so I run eximconfig again.
But now I wonder what other files still refer to the old name? What
consequences I'm gonna run into?
I changed my hostname
On Fri, Jun 22, 2001 at 01:53:23PM +0200, Joost Kooij wrote:
| On Fri, Jun 22, 2001 at 10:31:51AM +0200, Adri wrote:
| I changed my /etc/hostname from debianAdriano to Adriano
|
| That's because I'd like to bring my debian under the Windows domain of the
| company.
[snip lots of fun to read
On Fri, Jun 22, 2001 at 12:48:17PM -0700, der.hans wrote:
I found /etc/exim/exim.conf, /etc/apache/conf/httpd.conf,
etc/ppp/options.ttyXX and the ssh host key files. I've left the ssh keys
alone, but the rest was easy to change.
IIRC it worked just fine when I changed the hostname part of ssh
52 matches
Mail list logo