Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
talkd... helppp!!!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
skler
n00b
n00b


Joined: 18 Feb 2003
Posts: 14

PostPosted: Sat Mar 15, 2003 8:11 am    Post subject: talkd... helppp!!! Reply with quote

salve ragazzi... che bello poter scrivere in italiano :lol: :lol: :lol:
cmq... sono stato uno slackwarista per tanto tempo... ma gentoo è un altro mondo... l'unica cosa che non sopporto è che nn riesco a far finzionare il talkd!

Nessuno ha provato mai a farlo funzionare?!? Nessuno ci è riuscito?!?!? VI PREGO SPIEGATEMI COMMMEEEEE!!

tnx in anticipo... skler.
Back to top
View user's profile Send private message
IgaRyu
Guru
Guru


Joined: 23 Jan 2003
Posts: 302
Location: Verona

PostPosted: Sat Mar 15, 2003 10:07 am    Post subject: Reply with quote

tald ??? perche non usi sh scusa ? direi decisamente piu sicuro !!
Back to top
View user's profile Send private message
skler
n00b
n00b


Joined: 18 Feb 2003
Posts: 14

PostPosted: Sat Mar 15, 2003 1:23 pm    Post subject: Reply with quote

forse nn mi sono spiegato bene.... il talkd è un demone per poter parlare con i vari utenti che accedono al server... solo che nn riesco a farlo partire..
Back to top
View user's profile Send private message
IgaRyu
Guru
Guru


Joined: 23 Jan 2003
Posts: 302
Location: Verona

PostPosted: Sat Mar 15, 2003 1:27 pm    Post subject: Reply with quote

hai ragione :) mi ero confuso con il telnetd

Hai avviato il demone con il solito /etc/conf.d/talkd start
oppure (/etc/inidt.d/talkd start )
?

Joe
Back to top
View user's profile Send private message
skler
n00b
n00b


Joined: 18 Feb 2003
Posts: 14

PostPosted: Sun Mar 16, 2003 1:26 am    Post subject: Reply with quote

uhmm onestamente riesco a trovare solo 2 comandi...
Code:
zeus ~ # in.talkd
Socket operation on non-socket

e...
Code:
zeus ~ # talkd
Socket operation on non-socket


sembrano come dei comandi che devono essere eseguiti con inet.d... ma non sono riuscito a capire molto...
ho trovato anche un comando in.telnetd

Code:
zeus ~ # in.telnetd
in.telnetd: getpeername: Socket operation on non-socket


che produce un codice molto simile.... boh nn so... ci siete riusciti ad avviare il telnet?! SPIEGATEMI COME!! eheheh
Back to top
View user's profile Send private message
greg_g
Retired Dev
Retired Dev


Joined: 02 Mar 2003
Posts: 180

PostPosted: Sun Mar 16, 2003 11:34 am    Post subject: Reply with quote

Penso che tu debba fare qeuste cose:
installare xinetd:
Code:
 emerge xinetd

giocare con xinetd.conf e i file in /etc/xinetd.d

fare: man xinetd, man xinetd.conf (io non sono un grande esperto in questo campo)

prendere come spunto uno dei file in /etc/xinetd.d e creare un file
di configurazione /etc/xinetd.d/talkd

attivare xinetd:
Code:
 rc-update add xinetd default

cercando in rete si trovano degli aiuti, ad esempio
http://www.linuxcasestudies.org/CaseStudies/Cs3-Industrial/LinuxCS3_web-12.htm
Io non l'ho fatto di persona, quindi non assicuro niente :)

Greg
Back to top
View user's profile Send private message
skler
n00b
n00b


Joined: 18 Feb 2003
Posts: 14

PostPosted: Mon Mar 17, 2003 6:41 pm    Post subject: Reply with quote

sono un po cappatello a fare ste cose... soprattutto perche non conosco xinet.d ma conosco solo e bene inet.d non è che x caso mi potete fare un mezzo file di configurazione... poi scrivo un how-to x gli utenti poco esperti (come me) e lo publichiamo :lol: :lol: :lol:
Back to top
View user's profile Send private message
greg_g
Retired Dev
Retired Dev


Joined: 02 Mar 2003
Posts: 180

PostPosted: Tue Mar 18, 2003 1:19 am    Post subject: Reply with quote

Questo l'ho copiati da una redhat:
/etc/xinetd.d/talk:
Code:

service talk
{
        disable           = no
        flags                 = IPv4
        socket_type             = dgram
        wait                    = yes
        user                    = nobody
        group                   = tty
        server                  = /usr/sbin/in.talkd
}

prova un po'... magari se ti funziona puoi aprire un bug e chiedere che venga inserito nell'ebuild di netkit-talk.
Back to top
View user's profile Send private message
skler
n00b
n00b


Joined: 18 Feb 2003
Posts: 14

PostPosted: Thu Mar 20, 2003 12:19 am    Post subject: Reply with quote

nada continua a nn funzionarmi... vi faccio vedere un po di cose...

Code:
# nmap -sU localhost

Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on localhost (127.0.0.1):
(The 1466 ports scanned but not shown below are in state: closed)
Port       State       Service
53/udp     open        domain                 
517/udp    open        talk                   

Nmap run completed -- 1 IP address (1 host up) scanned in 4 seconds

ma nel momento ke provo a connettermi con un prog di talk (ytalk, talk) mi da connessione rifiutata...
potete provare nei vostri server se vi funza?
Back to top
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Thu Mar 20, 2003 7:58 am    Post subject: Reply with quote

Devi configurare il file /etc/hosts.allow.
Ci sono degli esempi li dentro, prova a dare un'occhiata.
_________________
Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito
Back to top
View user's profile Send private message
skler
n00b
n00b


Joined: 18 Feb 2003
Posts: 14

PostPosted: Thu Mar 20, 2003 9:39 am    Post subject: Reply with quote

non funza.... assolutamente... ho messo 127.0.0.1 e appena avvio il talk non funziona.... cmq questo pacchetto è fatto veramente di dio... boh sono nelle vostre mani...
Back to top
View user's profile Send private message
greg_g
Retired Dev
Retired Dev


Joined: 02 Mar 2003
Posts: 180

PostPosted: Thu Mar 20, 2003 5:07 pm    Post subject: Reply with quote

Allora, ricominciamo...

per prima cosa, quando provate una nuova configurazione e fate
"/etc/init.d/xinetd restart", poi fate "killall in.inetd", altrimenti rischiate che ci siano ancora dei processi aperti che vi rispondono e diventate scemi chiedendovi perche' non e' cambiato niente... io sono arrivato sull'orlo di una crisi di nervi :) :)

per far funzionare questo cacchio di talk ho attivato il servizio ntalk (occhio: non talk)

# cat /etc/xinetd.d/talk
service ntalk
{
disable = no
socket_type = dgram
wait = yes
user = nobody
group = tty
server = /usr/sbin/in.talkd
}

poi ho dovuto cambiare l'opzione in /etc/xinetd.conf mettendo il mio indirizzo IP (era per questo che rifiutava la connessione, non capiva che veniva da localhost ma la considerava proveniente dal generico indirizzo 192.168.1.10)

# cat /etc/xinetd.conf
# Sample configuration file for xinetd

defaults
{
only_from = localhost 192.168.1.10
instances = 60
log_type = SYSLOG authpriv info
log_on_success = HOST PID
log_on_failure = HOST
cps = 25 30
}

includedir /etc/xinetd.d

cosi' mi funziona, limitatamente alla console di testo e localmente sul mio computer. Devo ancora capire come farlo collaborare con kde.

Greg
Back to top
View user's profile Send private message
greg_g
Retired Dev
Retired Dev


Joined: 02 Mar 2003
Posts: 180

PostPosted: Thu Mar 20, 2003 5:14 pm    Post subject: Reply with quote

ah! ricordatevi di settare "mesg y" nella console in cui ricevere il talk!
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Thu Mar 20, 2003 6:55 pm    Post subject: Reply with quote

Perché talkd ha bisogno di un superserver?
Viene installato emergendo netkit-talk? Non l'ha come dep, quindi dovrebbe andare anche senza.
(o bisogna aggiungere la dep nell'ebuild?).
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
greg_g
Retired Dev
Retired Dev


Joined: 02 Mar 2003
Posts: 180

PostPosted: Thu Mar 20, 2003 9:05 pm    Post subject: Reply with quote

probabilmente perche' per farlo funzionare basta inetd, incluso in netkit-base (compreso nei pacchetti di sistema).
Ma oggigiorno inetd non lo usa piu' nessuno...

Greg
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum