Jacob (Mettavihari)

On Thu, 22 Apr 1999, Ray Olszewski wrote:

> The reason your mgetty entry in inittab doesn't cause mgetty to run is that
> you don't have it running on your default runlevel. Putting aside the small
> inconsistencies in the two versions of the line you posted (namely,
 
> >id:3:initdefault:

Thank you, this has been ajusted
my  /var/log/messages file give the below messages
after correcting the  /etc/inittab file

Apr 23 07:04:43 dhamma mgetty[381]: init chat failed, exiting...: Interrupted system 
call
Apr 23 07:04:43 dhamma mgetty[381]: failed in mg_init_data, dev=modem, pid=381
Apr 23 07:04:54 dhamma kernel: ICMP: failed checksum from 204.143.107.36!
Apr 23 07:04:54 dhamma kernel: ICMP: failed checksum from 204.143.107.36!
Apr 23 07:05:59 dhamma mgetty[426]: init chat failed, exiting...: Interrupted system 
call
Apr 23 07:05:59 dhamma mgetty[426]: failed in mg_init_data, dev=modem, pid=426
Apr 23 07:06:56 dhamma kernel: ICMP: failed checksum from 204.143.107.36!
Apr 23 07:06:56 dhamma kernel: ICMP: failed checksum from 204.143.107.36!
Apr 23 07:07:15 dhamma mgetty[431]: init chat failed, exiting...: Interrupted system 
call
Apr 23 07:07:15 dhamma mgetty[431]: failed in mg_init_data, dev=modem, pid=431

I can now dial-in with minicom and ping another server.
The lines above refering to mgetty are they a problem ?

ps -ax give the below message

  PID TTY STAT  TIME COMMAND
 2216  ?  S    0:00 /sbin/mgetty /dev/modem vt100 
 2219  ?  S    0:00 sendmail: IAA00728 mail1.metta.lk.: user open              

I sometimes get a message 
Id "s1" respawning too fast: disabled for 5 minutes. 

Where can I correct this error or is it just to be ignored ?


=================================
I presume I now have to configure the 2 computers to know each other
for a propper ppp session to be up

I have in the main server "/etc/hosts"

204.143.107.46  dhamma  dhamma
127.0.0.1       localhost       localhost.localdomain
10.1.1.1        mail1
10.1.1.128      mail2


and on the mail1 "/etc/hosts" server

10.1.1.1        mail1   mail1.metta.lk
204.143.107.46  dhamma  dhamma

+++++++++++++++++++++++++++++++++++
I have in the "/etc/resolv.conf" on the main server 

search metta.lk 
nameserver 204.143.107.34
nameserver 204.143.96.17
mail1   10.1.1.1
mail2   10.1.1.128

and on the mail1 server I have
nameserver 10.1.1.1
dhamma  204.143.107.46 

If you see anything wrong please let me know.

I shall try the ppp connection tomorrow
for now thank you very much

with best regards
Jacob (Mettavihari)

Reply via email to