[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: [LI] Remote login problem



Atul Chitnis wrote:
> 
> > caller='none',
> > conn='115200', name='', cmd='/etc/ppp/login',
> > user='/AutoPPP/'
> >
> > 09/27 08:53:46 yS1  cannot execute '/etc/ppp/login': No
> > such file or directory
> 
> Sounds to me like you didn't edit mgetty's config file as instructed in
> the article, nor created the ppplogin script I had listed there. If you
> have, you may not have made it executable.

Your finding is correct. ppplogin file was made as described. But in
login.config file was having login instead of ppplogin.  Still my
problem is not solved. Now after correction of above,  i have started
the system for remote login and went ot my office and tried to connect
using win95 dun. I got the msg that computer I dialed disconnected.
After coming home I studied the log of messages and mgetty.log.ttyS1.
Extracts are given below. 
extract of mgetty.log.ttyS1.
10/21 08:35:28 yS1  mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0' -> OK
10/21 08:35:29 yS1  waiting...
10/21 08:47:04 yS1  waiting for `RING'' ** found **
10/21 08:47:04 yS1  waiting for `RING'' ** found **
10/21 08:47:07 yS1  waiting for `RING'' ** found **
10/21 08:47:10 yS1  waiting for `RING'' ** found **
10/21 08:47:13 yS1  waiting for `RING'' ** found **
10/21 08:47:16 yS1  send: ATA[0d]
10/21 08:47:16 yS1  waiting for `CONNECT'' ** found **
10/21 08:47:38 yS1  send:
10/21 08:47:38 yS1  waiting for `_'' ** found **
10/21 08:47:39 ##### failed dev=ttyS1, pid=798, got signal 1, exiting
10/21 08:47:40 yS1  send: \dATQ0V1H0[0d]
10/21 08:47:41 yS1  waiting for `OK''
10/21 08:47:41 yS1  found action string: `NO CARRIER''
10/21 08:47:41 yS1  init chat failed, exiting...: Invalid argument
10/21 08:47:41 ##### failed in mg_init_data, dev=ttyS1, pid=802

Extract of messages file
Oct 21 08:47:39 lvghomepc mgetty[798]: failed dev=ttyS1, pid=798, got
signal
1, exiting
Oct 21 08:47:41 lvghomepc mgetty[802]: init chat failed, exiting...:
Invalid argument
Oct 21 08:47:41 lvghomepc mgetty[802]: failed in mg_init_data,
dev=ttyS1, pid=802

extract of mgetty.log.ttyS1.
10/21 08:57:19 yS1  mdm_send: 'AT+FCLASS=2' -> OK
10/21 08:57:19 yS1  mdm_send: 'AT+FCLASS=0' -> OK
10/21 08:57:19 yS1  mdm_send: 'AT+FAA=1;+FCR=1' -> OK
10/21 08:57:20 yS1  mdm_send: 'AT+FBOR=0' -> OK
10/21 08:57:20 yS1  mdm_send: 'AT+FLID="553169"' -> OK
10/21 08:57:20 yS1  mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0' -> OK
10/21 08:57:20 yS1  waiting...
10/21 08:58:29 yS1  waiting for `RING'' ** found **
10/21 08:58:29 yS1  waiting for `RING'' ** found **
10/21 08:58:32 yS1  waiting for `RING'' ** found **
10/21 08:58:35 yS1  waiting for `RING'' ** found **
10/21 08:58:38 yS1  waiting for `RING'' ** found **
10/21 08:58:41 yS1  send: ATA[0d]
10/21 08:58:41 yS1  waiting for `CONNECT'' ** found **
10/21 08:59:04 yS1  send:
10/21 08:59:04 yS1  waiting for `_'' ** found **
10/21 08:59:07 ##### data dev=ttyS1, pid=809, caller='none',
conn='115200',
name='', cmd='/etc/ppp/ppplogin', user='/AutoPPP/'

extract of messages file
Oct 21 08:59:07 lvghomepc mgetty[809]: data dev=ttyS1, pid=809,
caller='none', conn='115200', name='', cmd='/etc/ppp/ppplogin',
user='/AutoPPP/'
Oct 21 08:59:07 lvghomepc pppd[812]: bad local IP address 127.0.0.1

my optios.ttyS1 is as follows.
vghomepc.mvpvisakha:192.168.1.10
dgmpspc:192.168.1.15

however my hosts file is as follows.
127.0.0.1	lvghomepc	lvghomepc.mvpvisakha

Kindly tell me further where I have gone wrong. Any more info needed
will be given by me.
-- 
L.V.Gandhi
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA
http://www.poboxes.com/lvgandhi  lvgandhi@xxxxxxxxxxx, 
lvgandhi@xxxxxxxx,  31882656@xxxxxxxxxxxxxxxxxxx


--------------------------------------------------------------------
The Linux India Mailing List Archives are now available.  Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.