Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #173101 > unrolled thread

[Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!

Started by"Byung-Hee HWANG (황병희, 黃炳熙)" <soyeomul@doraji.xyz>
First post2016-10-02 08:10 +0200
Last post2016-10-02 16:00 +0200
Articles 7 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!! "Byung-Hee HWANG (황병희, 黃炳熙)" <soyeomul@doraji.xyz> - 2016-10-02 08:10 +0200
    Re: [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!! "Byung-Hee HWANG (황병희, 黃炳熙)" <soyeomul@doraji.xyz> - 2016-10-02 08:30 +0200
      Re: [Q] hostname change: i tried for 83 days. But failed. HELP ME  PLEASE !!! Fabrizio Carrai <fabrizio.carrai@gmail.com> - 2016-10-02 08:50 +0200
        Re: [Q] hostname change: i tried for 83 days. But failed. HELP ME  PLEASE !!! Fabrizio Carrai <fabrizio.carrai@gmail.com> - 2016-10-02 11:10 +0200
    Re: [Q] hostname change: i tried for 83 days. But failed. HELP ME  PLEASE !!! Felix Miata <mrmazda@earthlink.net> - 2016-10-02 09:00 +0200
    Re: [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!! Gene Heskett <gheskett@shentel.net> - 2016-10-02 15:00 +0200
      Re: [Q] hostname change: i tried for 83 days. But failed. HELP ME  PLEASE !!! Brian <ad44@cityscape.co.uk> - 2016-10-02 16:00 +0200

#173101 — [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!

From"Byung-Hee HWANG (황병희, 黃炳熙)" <soyeomul@doraji.xyz>
Date2016-10-02 08:10 +0200
Subject[Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!
Message-ID<snI8h-2YG-5@gated-at.bofh.it>
Hello, Debian people!

I love my Chromebook. Via Crouton, i did install Ubuntu ( the internal
is Debian Wheezy, i guess).

(precise)soyeomul@localhost:/etc$ cat os-release
NAME="Ubuntu"
VERSION="12.04.5 LTS, Precise Pangolin"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu precise (12.04.5 LTS)"
VERSION_ID="12.04"

(precise)soyeomul@localhost:/etc$ cat debian_version
wheezy/sid
(precise)soyeomul@localhost:/etc$ 

By the way i cannot change hostname, i tried with followed link
[http://askubuntu.com/questions/9540/how-do-i-change-the-computer-name].

By sudo command, i edited /etc/hostname to "alex.chromebook". And i did
reboot[`/sbin/reboot']. But there is no change. Always the hostname is
"localhost".  

Any comments Welcome!!! because i am going to be crazy T.T

I Want To "alex.chromebook" as hostname.

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//

[toc] | [next] | [standalone]


#173102

From"Byung-Hee HWANG (황병희, 黃炳熙)" <soyeomul@doraji.xyz>
Date2016-10-02 08:30 +0200
Message-ID<snIrD-373-3@gated-at.bofh.it>
In reply to#173101
"Byung-Hee HWANG "(황병희, 黃炳熙)"" <soyeomul@doraji.xyz> 께서 쓰시길,
 《記事 全文 <yw.87wphr1dzf.fsf@alex.chromebook> 에서》:

> Hello, Debian people!
>
> I love my Chromebook. Via Crouton, i did install Ubuntu ( the internal
> is Debian Wheezy, i guess).
>
> (precise)soyeomul@localhost:/etc$ cat os-release
> NAME="Ubuntu"
> VERSION="12.04.5 LTS, Precise Pangolin"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu precise (12.04.5 LTS)"
> VERSION_ID="12.04"
>
> (precise)soyeomul@localhost:/etc$ cat debian_version
> wheezy/sid
> (precise)soyeomul@localhost:/etc$ 
>
> By the way i cannot change hostname, i tried with followed link
> [http://askubuntu.com/questions/9540/how-do-i-change-the-computer-name].
>
> By sudo command, i edited /etc/hostname to "alex.chromebook". And i did
> reboot[`/sbin/reboot']. But there is no change. Always the hostname is
> "localhost".  
>
> Any comments Welcome!!! because i am going to be crazy T.T
>
> I Want To "alex.chromebook" as hostname.

Also, i tried another way.

(precise)soyeomul@localhost:~$ cat /etc/hostname
alex.chromebook
(precise)soyeomul@localhost:~$ sudo service hostname restart
stop: Unknown job: hostname
start: Unknown job: hostname
(precise)soyeomul@localhost:~$

But failed.

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//

[toc] | [prev] | [next] | [standalone]


#173103 — Re: [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!

FromFabrizio Carrai <fabrizio.carrai@gmail.com>
Date2016-10-02 08:50 +0200
SubjectRe: [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!
Message-ID<snIKZ-3e6-1@gated-at.bofh.it>
In reply to#173102

[Multipart message — attachments visible in raw view] — view raw

The is no "hostname" service to start

Please, try:

sudo hostname "alex.chromebook"

and verify with

hostname

Else, reports here the content of /etc/resolv.conf/ and /etc/hosts

Ciao
F.

2016-10-02 8:22 GMT+02:00 Byung-Hee HWANG (황병희, 黃炳熙) <soyeomul@doraji.xyz>:

> "Byung-Hee HWANG "(황병희, 黃炳熙)"" <soyeomul@doraji.xyz> 께서 쓰시길,
>  《記事 全文 <yw.87wphr1dzf.fsf@alex.chromebook> 에서》:
>
> > Hello, Debian people!
> >
> > I love my Chromebook. Via Crouton, i did install Ubuntu ( the internal
> > is Debian Wheezy, i guess).
> >
> > (precise)soyeomul@localhost:/etc$ cat os-release
> > NAME="Ubuntu"
> > VERSION="12.04.5 LTS, Precise Pangolin"
> > ID=ubuntu
> > ID_LIKE=debian
> > PRETTY_NAME="Ubuntu precise (12.04.5 LTS)"
> > VERSION_ID="12.04"
> >
> > (precise)soyeomul@localhost:/etc$ cat debian_version
> > wheezy/sid
> > (precise)soyeomul@localhost:/etc$
> >
> > By the way i cannot change hostname, i tried with followed link
> > [http://askubuntu.com/questions/9540/how-do-i-change-the-computer-name].
> >
> > By sudo command, i edited /etc/hostname to "alex.chromebook". And i did
> > reboot[`/sbin/reboot']. But there is no change. Always the hostname is
> > "localhost".
> >
> > Any comments Welcome!!! because i am going to be crazy T.T
> >
> > I Want To "alex.chromebook" as hostname.
>
> Also, i tried another way.
>
> (precise)soyeomul@localhost:~$ cat /etc/hostname
> alex.chromebook
> (precise)soyeomul@localhost:~$ sudo service hostname restart
> stop: Unknown job: hostname
> start: Unknown job: hostname
> (precise)soyeomul@localhost:~$
>
> But failed.
>
> --
> ^고맙습니다 _地平天成_ 감사합니다_^))//
>
>


-- 
*Fabrizio*

[toc] | [prev] | [next] | [standalone]


#173110 — Re: [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!

FromFabrizio Carrai <fabrizio.carrai@gmail.com>
Date2016-10-02 11:10 +0200
SubjectRe: [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!
Message-ID<snKWu-4Rv-17@gated-at.bofh.it>
In reply to#173103

[Multipart message — attachments visible in raw view] — view raw

Felix is right, indeed here ".chromebook" would indicates the DOMAIN and
not the name of the HOST.
But if you don't expect to use the chromebook in a network with a managed
domain, maybe you will not have particular problem. Indeed I never thought
to use a "." with the hostname command...

Byung-Hee, if you want to sleep quite and for you it is not very important
I would suggest to use "alex-chromebook" or any other name with no dot in.

Happy to have helped you

Fabrizio


2016-10-02 8:54 GMT+02:00 Byung-Hee HWANG (황병희, 黃炳熙) <soyeomul@doraji.xyz>:

> Fabrizio Carrai <fabrizio.carrai@gmail.com> 께서 쓰시길,
>  《記事 全文
>  <CAJXPg6LYZO4v5OXQ0XR3bpRDMu084qrhFoUwaHmFD2MheMjzGA@mail.gmail.com>
>  에서》:
>
> > The is no "hostname" service to start
> >
> > Please, try:
> >
> > sudo hostname "alex.chromebook"
> >
> > and verify with
> >
> > hostname
>
> (precise)soyeomul@localhost:~$ sudo hostname "alex.chromebook"
> [sudo] password for soyeomul:
> (precise)soyeomul@localhost:~$ hostname
> alex.chromebook
> (precise)soyeomul@localhost:~$
>
> Thanks, Fabrizio!
>
> And ...
>
> > Else, reports here the content of /etc/resolv.conf/ and /etc/hosts
>
> (precise)soyeomul@localhost:~$ cat /etc/resolv.conf
> nameserver 210.220.163.82
> nameserver 219.250.36.130
> options single-request timeout:1 attempts:5
> (precise)soyeomul@localhost:~$
>
> (precise)soyeomul@localhost:~$ cat /etc/hosts
> 127.0.0.1       localhost
> ::1             localhost ip6-localhost ip6-loopback
> fe00::0         ip6-localnet
> ff00::0         ip6-mcastprefix
> ff02::1         ip6-allnodes
> ff02::2         ip6-allrouters
>
> (precise)soyeomul@localhost:~$
>
> Really i should be stick hostname to "alex.chromebook".
>
> Thank You! Thank You! Thank You!
>
> --
> ^고맙습니다 _地平天成_ 감사합니다_^))//
>
>


-- 
*Fabrizio*

[toc] | [prev] | [next] | [standalone]


#173104 — Re: [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!

FromFelix Miata <mrmazda@earthlink.net>
Date2016-10-02 09:00 +0200
SubjectRe: [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!
Message-ID<snIUG-3jm-3@gated-at.bofh.it>
In reply to#173101
Byung-Hee HWANG (황병희, 黃炳熙) composed on 2016-10-02 15:06 (UTC+0900):

> Hello, Debian people!

> I love my Chromebook. Via Crouton, i did install Ubuntu ( the internal
> is Debian Wheezy, i guess).

> (precise)soyeomul@localhost:/etc$ cat os-release
> NAME="Ubuntu"
> VERSION="12.04.5 LTS, Precise Pangolin"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu precise (12.04.5 LTS)"
> VERSION_ID="12.04"

> (precise)soyeomul@localhost:/etc$ cat debian_version
> wheezy/sid
> (precise)soyeomul@localhost:/etc$

> By the way i cannot change hostname, i tried with followed link
> [http://askubuntu.com/questions/9540/how-do-i-change-the-computer-name].

> By sudo command, i edited /etc/hostname to "alex.chromebook". And i did
> reboot[`/sbin/reboot']. But there is no change. Always the hostname is
> "localhost".

> Any comments Welcome!!! because i am going to be crazy T.T

> I Want To "alex.chromebook" as hostname.

That's illegal. From http://www.rfc-base.org/txt/rfc-952.txt :

    1. A "name" (Net, Host, Gateway, or Domain name) is a text string up
    to 24 characters drawn from the alphabet (A-Z), digits (0-9), minus
    sign (-), and period (.).  Note that periods are only allowed when
    they serve to delimit components of "domain style names".
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

  Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/

[toc] | [prev] | [next] | [standalone]


#173120

FromGene Heskett <gheskett@shentel.net>
Date2016-10-02 15:00 +0200
Message-ID<snOx3-73c-9@gated-at.bofh.it>
In reply to#173101
On Sunday 02 October 2016 02:06:44 Byung-Hee HWANG (황병희, 黃炳熙) wrote:

> Hello, Debian people!
>
> I love my Chromebook. Via Crouton, i did install Ubuntu ( the internal
> is Debian Wheezy, i guess).
>
> (precise)soyeomul@localhost:/etc$ cat os-release
> NAME="Ubuntu"
> VERSION="12.04.5 LTS, Precise Pangolin"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu precise (12.04.5 LTS)"
> VERSION_ID="12.04"
>
> (precise)soyeomul@localhost:/etc$ cat debian_version
> wheezy/sid
> (precise)soyeomul@localhost:/etc$
>
> By the way i cannot change hostname, i tried with followed link
> [http://askubuntu.com/questions/9540/how-do-i-change-the-computer-name
>].
>
> By sudo command, i edited /etc/hostname to "alex.chromebook". And i
> did reboot[`/sbin/reboot']. But there is no change. Always the
> hostname is "localhost".
>
> Any comments Welcome!!! because i am going to be crazy T.T
>
> I Want To "alex.chromebook" as hostname.

The hostname command is both a query tool, and a name setter.  "man 
hostname" is your friend.  You'll probably be asked for your passwd, or 
need to become root somehow. On the *buntu's try sudo hostname.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

[toc] | [prev] | [next] | [standalone]


#173124 — Re: [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!

FromBrian <ad44@cityscape.co.uk>
Date2016-10-02 16:00 +0200
SubjectRe: [Q] hostname change: i tried for 83 days. But failed. HELP ME PLEASE !!!
Message-ID<snPt7-7BK-5@gated-at.bofh.it>
In reply to#173120
On Sun 02 Oct 2016 at 08:56:07 -0400, Gene Heskett wrote:

> The hostname command is both a query tool, and a name setter.  "man 
> hostname" is your friend.  You'll probably be asked for your passwd, or 
> need to become root somehow. On the *buntu's try sudo hostname.

Jessie users might want to look at using hostnamectl.

-- 
Brian.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web