You are not logged in.

#1 2017-06-28 06:02:27

Crow1991
Member
Registered: 2013-03-13
Posts: 15

[SOLVED] ytalk/talk - new_user: bad host:

Hello,

I just set up ytalk by following this guide, however when I try to open a chat session on my ssh machine with another user on the same machine. I get new_user: bad host: <hostname>

/etc/hosts

#
# /etc/hosts: static lookup table for host names
#

#<ip-address>	<hostname.domain.org>	<hostname>
127.0.0.1	localhost.localdomain	localhost
::1		localhost.localdomain	localhost
192.168.1.66    wardriver.lan
# End of file

/etc/xinetd.d/talk

service ntalk
{
	flags			= REUSE
	socket_type		= dgram
	wait			= yes
	user			= root
	server			= /usr/bin/talkd
	log_on_failure		+= USERID
	disable			= no
}

/etc/hosts.allow

talkd: 127.0.0.1

talk.socket, talk.service and xinetd.service all are running.

Last edited by Crow1991 (2017-06-28 06:51:04)

Offline

#2 2017-06-28 06:32:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] ytalk/talk - new_user: bad host:

Set a proper hostname; it will solve all sorts of issues with networking.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-06-28 06:34:13

Crow1991
Member
Registered: 2013-03-13
Posts: 15

Re: [SOLVED] ytalk/talk - new_user: bad host:

I set asus, same thing.

Using talk, I get this. "talk: asus: Name or service not known"

Last edited by Crow1991 (2017-06-28 06:37:16)

Offline

#4 2017-06-28 06:46:11

Crow1991
Member
Registered: 2013-03-13
Posts: 15

Re: [SOLVED] ytalk/talk - new_user: bad host:

OK, I solved my issue by adding "127.0.0.1    asus" to my /etc/hosts file.

Thanks for the hint Jason.

Offline

#5 2017-06-28 06:49:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] ytalk/talk - new_user: bad host:

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB