[Pluto-help] Repost Ciao a tutti, il mio primo problema !

Manuel (R)ex Sanna rexsanna a tiscali.it
Ven 27 Set 2002 01:09:08 CEST


Fabiano Pallonetto wrote:

# Ciao a tutti,
# saluto Manuel e tutti voi della mailing list

IO MI CHIAMO (R)EX!!!
MY NAME IS (R)EX!!!
SU NOME MEU EST (R)EX!!! 
BI CHI MI MUTTO (R)EX!!!
[Skin : Dammi una mano...]

# Ho un problema allucinante con mgetty,
# praticamente nn riesce a mandarmi in esecuzione
# il pppd, dopo aver fatto l'handshake il modem manda gli LPC
# ma non ha alcuna risposta dal remoto perchè.. il demone pppd
# non è partito.
Gia'..

# Ho installato e ricompilato mgetty con -DAUTO_PPP e mi sembra di
# aver configurato tutti gli script correttamente...
# perchè non me lo lancia?

# A proposito è uno slckware 8.1 con un US RoBOTICS FAX MODEM
Poco importa..

# --------------------------------------------------------------------
# login.config:
# --------------------------------------------------------------------
# /AutoPPP/ -	-	/usr/sbin/pppd /dev/ttyS0 38400 auth login debug 
// Eccolo per te.. ;o)
# --------------------------------------------------------------------




# --------------------------------------------------------------------
# mgetty.config:
# --------------------------------------------------------------------
# debug 9
// Esagerato!!! Quando avrai finito di settare tutto, lascialo a 3
// almeno hai un output intellegibile.. ;o)

# speed 38400
// Questa e' la velocita' del tuo modem.. [gia' passata.. ]

# port ttyS0
#   debug 3
#   data-only y
#   statistics-chat "" AT OK ATI6I11 OK
#   statistics-file /var/log/ttyS0stats.log
// Qui definsci una particolare porta 'ttyS0' sulla quale sta il tuo picasso..
# --------------------------------------------------------------------

# --------------------------------------------------------------------
# options.picasso:    // ma qui hai dato il nome al dispositivo???
# --------------------------------------------------------------------
// questo file sarebbe meglio si chiamasse 'options.ttyS0' ..


192.168.0.12:192.168.0.69 
// leggi sotto.. ;o)


# -detach // <-- buttalo

# modem
# asyncmap 0
# modem

# crtscts
// ti suggerisco di usare un bel 'xonxoff'

# lock
# proxyarp

# ms-dns 212.216.112.112
# ms-dns 212.216.172.62

# require-pap
# refuse-chap
// TUTTE tranne la prima informazione di questo file sono utili per PPPD,
// e ti consiglio di passarle a lui, anziche' al dispositivo.. 
// .. ma de gustibus.. 
# --------------------------------------------------------------------







# --------------------------------------------------------------------
# mgetty.ttyS0:
# --------------------------------------------------------------------
#
# 09/24 21:11:23 yS0  send:
# 09/24 21:11:23 yS0  waiting for ``_''
# 09/24 21:11:23 yS0   got:  31200/ARQ/V34/LAPM/V42BIS[0d]
# 09/24 21:11:23 yS0    CND: CONNECT 31200/ARQ/V34/LAPM/V42BIS
# 09/24 21:11:23 yS0    CND: found: 31200/ARQ/V34/LAPM/V42BIS[0a] ** found
# **
# 09/24 21:11:23 yS0   waiting for line to clear (VTIME), read:
# ~[ff]}#[c0]!}!}!} }4}"}&} } } } }%}&:X[f9][b6]}'}"}(}"[9b][f6]~
# 09/24 21:11:23 yS0    looking for utmp entry... (my PID: 115)
# 09/24 21:11:24 yS0   utmp + wtmp entry made
# 09/24 21:11:24 yS0   tio_set_flow_control( HARD )
# 09/24 21:11:24 yS0   print welcome banner (/etc/issue)
Ciao!!

# 09/24 21:11:24 yS0   getlogname (AUTO_PPP), read:~[ff]}#[c0]!
# 09/24 21:11:26 yS0   input finished with '\r', setting ICRNL ONLCR
# 09/24 21:11:26 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
# 09/24 21:11:26 yS0    login: use login config file
# /usr/local/etc/mgetty+sendfax/login.config
Adesso vado a leggere login.config :
HEY!! Aspetta un attimo..
I files sopra che prefisso avevano???
Stacci attento.. ;o)
# --------------------------------------------------------------------





PERFETTO!!!
Adesso non ti resta che definire gli utenti che ti interessa usare nel file

# --------------------------------------------------------------------
# /etc/ppp/pap-secrets
# --------------------------------------------------------------------
# Secrets for authentication using PAP
# client        server          secret          IP addresses
piemme          *               "banana"        *
samba           *               "samba"         *

// dove ho messo un utente 'piemme' che ha password 'banana' e non ha 
// limitazioni di indirizzi.. Qualcosa del genere [;o)] per samba..

# --------------------------------------------------------------------





DIMENTICAVO DI AGGIUNGERE:
Come tutte le cose che hai on board, devi definire il nome del tipo che si 
e' collegato a te. Questo per poter fornire una risposta quando [per 
esempio] si mettera' a navigare con il suo browser.. ;o)

Se non sai nulla di DNS vai su piccolotux.it e nella mia zona, leggi..
Se invece vuoi fare qualcosa di veloce, non ti resta che abilitare la possibilita'
di avere piu' indirizzi IP e scegliere l'indirizzo che PUOI!
[Es: 192.168.0.69] Se la tua macchina ha indirizzo 12, devi definire 
indirizzo locale e indirizzo remoto nella seguente maniera :

192.168.0.12:192.168.0.69

E questo DEVE stare nel file attinente al modem che usi [ttyS0 per te.. ;o) ]
In questo modo, piemme, dopo essersi loggato in pap, avra' indirizzo IP remoto
69, e navigando, le informazioni saranno mandate a lui.. 

Fine del viaggio..
Facci sapere eventuali cambiamenti .. 

PS: 
Vaniglia o cacao??
[Perche' non tutti e due?? ;oP Slurp!! 

..
 That we don't even care as restless as we are
 we feel the pull in the land of a thousand guilts
 and poured cement, lamented and assured
 to the lights and towns below
 faster than the speed of sound
 faster than we thought we'd go,
 beneath the sound of hope.. 

	-- Smashing Pumpkins ]

Stasera ho voglia di lei..


Bonzo, anche questa e' per te.. ;o)

-- 
# ===================================================================
# Manuel (R)ex Sanna
# [Studente al Dipartimento di Informatica di Torino]
#--------------------------------------------------------------------
# I computer non servono a nulla. Danno solo risposte
#                                                 -- Pablo Picasso --
# ===================================================================






More information about the pluto-help mailing list