hmetal
January 24, 2002, 8:08am
1
Hi there;
I want to run pppd on no photon environment.
First of all, I had tried pppd connection at photon with phdialer and there
were no problem.
and I have tried that with qtalk and pppd on no photon environment.
like that;
at one terminal
qtalk -b57600
atz
ok
atdt01442 #01442 is my ISP num
login : username
passwd : ****
and other terminal
pppd /dev/ser1 defaultroute +resconf require-ns noipdefault logstatus
nodetach receive-all logfd 2 +stdinsecret name username
the result is;
pppd is running, but It looks like no pppd negotiation.
ifconfig ppp0
ifconfig: SIOCGIFMETRIC ppp0: Operation not supported
ppp0: flags=8050<POINTOPOINT,RUNNING,MULTICAST>
inet 0.0.0.0 → 0.0.0.0 netmask 0x0
Thanks for your reading!!
Gi-Hyun Lim
hmetal@rtsolutions.co.kr
http://www.rtsolutions.co.kr
Make a more Funny World
You may need to tell the otherside (ISP) to commence PPP also.
–
Cheers,
Adam
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net >
“hmetal” <hhmetal@orgio.net > wrote in message
news:a2of34$4rq$1@inn.qnx.com …
Hi there;
I want to run pppd on no photon environment.
First of all, I had tried pppd connection at photon with phdialer and
there
were no problem.
and I have tried that with qtalk and pppd on no photon environment.
like that;
at one terminal
qtalk -b57600
atz
ok
atdt01442 #01442 is my ISP num
login : username
passwd : ****
and other terminal
pppd /dev/ser1 defaultroute +resconf require-ns noipdefault logstatus
nodetach receive-all logfd 2 +stdinsecret name username
the result is;
pppd is running, but It looks like no pppd negotiation.
ifconfig ppp0
ifconfig: SIOCGIFMETRIC ppp0: Operation not supported
ppp0: flags=8050<POINTOPOINT,RUNNING,MULTICAST
inet 0.0.0.0 → 0.0.0.0 netmask 0x0
Thanks for your reading!!
Gi-Hyun Lim
hmetal@rtsolutions.co.kr
http://www.rtsolutions.co.kr
Make a more Funny World
hmetal
January 25, 2002, 8:58am
3
I have tested pppd for X86 and SH4.
There is no problem on X86 pppd but I can’t connect pppd on SH4.
Two system are almost same configuration.
at both system
stty </dev/ser1
Name: /dev/ser1
Type: serial
Opens: 1
+raw +ignbrk +ignpar
+ihflow +ohflow
intr=^C quit=^\ erase=^? kill=^U eof=^D start=^Q stop=^S susp=^Z
lnext=^V min=01 time=00 fwd=7E pr1=^[ pr2=5B left=44 right=43
up=41 down=42 ins=40 del=50 home=48 end=59
par=none bits=8 stopb=1 baud=57600 rows=0,0
and at one terminal
qtalk -b57600
Qtalk [4.81]
Using modem /dev/ser1
Modem : /dev/ser1
Local echo : disabled Logging : disabled
Top bit : displayed Xfer protocol : qcp
Command char : 0x01 (^a) Delete char : 0x7f
atz
OK
atdt01442
CONNECT 57600
Welcome to 3Com Total Control HiPer ARC ™
Networks That Go The Distance ™
login: enavi
Password:
~ÿ}#A !}!}!} }?}!}$}%?"}&ÿÿÿÿ}%}&};
}3}’}"}(}"}1}$}%?3}#} }1}#A !}!}"} }?}!}$}%?"}&ÿÿÿÿ}%}&};
â½}3}’}"}(}"}1}$}%?3}#} }$?~ÿ}#A !}!}#} }?}!}$}%?"}&ÿÿÿÿ}%}&};
â½}3}’}"}(}"}1}$}%?3}#} ÷Ü~~ÿ}#A !}!}$}
}?}!}$}%?"}&ÿÿÿÿ}%}&};â½}3}’}"}(}"}1}$}%?3}#} .>~
qtalk: (read) Resource temporarily unavailable
and I ran pppd after login at another terminal
pppd /dev/ser1 debug defaultroute +resconf require-ns noipdefault updetach
the result is
at the X86
Using interface ppp0
Connect: ppp0 <–> /dev/ser1
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xaff75e04> ]
rcvd [LCP ConfNak id=0x1 <asyncmap 0xffffffff>]
sent [LCP ConfReq id=0x2 <magic 0xaff75e04> ]
rcvd [LCP ConfAck id=0x2 <magic 0xaff75e04> ]
rcvd [LCP ConfReq id=0x3 <mru 1514> <asyncmap 0xffffffff> <magic 0x9ca2bac2>
< 11 04 05 ea> < 13 03 00>]
sent [LCP ConfRej id=0x3 < 11 04 05 ea> < 13 03 00>]
rcvd [LCP ConfReq id=0x4 <mru 1514> <asyncmap 0xffffffff> <magic 0x9ca2bac2>
]
sent [LCP ConfAck id=0x4 <mru 1514> <asyncmap 0xffffffff> <magic 0x9ca2bac2>
]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
rcvd [IPCP ConfReq id=0x5 <compress VJ 0f 00> <addr 211.39.49.42>]
sent [IPCP ConfRej id=0x5 <compress VJ 0f 00>]
rcvd [IPCP ConfNak id=0x1 <addr 210.93.232.140> <ms-dns1 210.115.125.37>
<ms-dns3 210.115.125.53>]
sent [IPCP ConfReq id=0x2 <addr 210.93.232.140> <ms-dns1 210.115.125.37>
<ms-dns3 210.115.125.53>]
rcvd [IPCP ConfReq id=0x6 <addr 211.39.49.42>]
sent [IPCP ConfAck id=0x6 <addr 211.39.49.42>]
rcvd [IPCP ConfAck id=0x2 <addr 210.93.232.140> <ms-dns1 210.115.125.37>
<ms-dns3 210.115.125.53>]
Confstr is: nameserver_210.115.125.37
Resconf is: nameserver 210.115.125.37
Confstr is: nameserver_210.115.125.53
Resconf is: nameserver 210.115.125.53
Open file /etc/ppp/resolv.conf to set resolvers.
Open file /etc/resolv.conf to set resolvers.
Set CS_RESOLVE confstr.
New _CS_RESOLVE confstr:
nameserver_210.115.125.37
nameserver_210.115.125.53
Couldn’t add default route: File exists
local IP address 210.93.232.140
remote IP address 211.39.49.42
primary DNS address 210.115.125.37
secondary DNS address 210.115.125.53
but at the SH4
Using interface ppp0
Connect: ppp0 <–> /dev/ser1
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
It looks like no negotiation on pppd for SH4
Thanks for your reading!
What does you chap/pap secrets file look like (attributes) on the SH? What
does your io-net command line look like? Perhaps also include your build
file for your SH4 board so others can comment.
–
Cheers,
Adam
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net >
“hmetal” <hmetal@rtsolutions.co.kr > wrote in message
news:a2r6b5$6sv$1@inn.qnx.com …
I have tested pppd for X86 and SH4.
There is no problem on X86 pppd but I can’t connect pppd on SH4.
Two system are almost same configuration.
at both system
stty </dev/ser1
Name: /dev/ser1
Type: serial
Opens: 1
+raw +ignbrk +ignpar
+ihflow +ohflow
intr=^C quit=^\ erase=^? kill=^U eof=^D start=^Q stop=^S susp=^Z
lnext=^V min=01 time=00 fwd=7E pr1=^[ pr2=5B left=44 right=43
up=41 down=42 ins=40 del=50 home=48 end=59
par=none bits=8 stopb=1 baud=57600 rows=0,0
and at one terminal
qtalk -b57600
Qtalk [4.81]
Using modem /dev/ser1
–
Modem : /dev/ser1
Local echo : disabled Logging : disabled
Top bit : displayed Xfer protocol : qcp
Command char : 0x01 (^a) Delete char : 0x7f
–
atz
OK
atdt01442
CONNECT 57600
Welcome to 3Com Total Control HiPer ARC ™
Networks That Go The Distance ™
login: enavi
Password:
~ÿ}#A !}!}!} }?}!}$}%?"}&ÿÿÿÿ}%}&};
}3}’}"}(}"}1}$}%?3}#} }1}#A !}!}"} }?}!}$}%?"}&ÿÿÿÿ}%}&};
â½}3}’}"}(}"}1}$}%?3}#} }$?~ÿ}#A !}!}#} }?}!}$}%?"}&ÿÿÿÿ}%}&};
â½}3}’}"}(}"}1}$}%?3}#} ÷Ü~~ÿ}#A !}!}$}
}?}!}$}%?"}&ÿÿÿÿ}%}&};â½}3}’}"}(}"}1}$}%?3}#} .>~
qtalk: (read) Resource temporarily unavailable
and I ran pppd after login at another terminal
pppd /dev/ser1 debug defaultroute +resconf require-ns noipdefault
updetach
the result is
at the X86
Using interface ppp0
Connect: ppp0 <–> /dev/ser1
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xaff75e04> ]
rcvd [LCP ConfNak id=0x1 <asyncmap 0xffffffff>]
sent [LCP ConfReq id=0x2 <magic 0xaff75e04> ]
rcvd [LCP ConfAck id=0x2 <magic 0xaff75e04> ]
rcvd [LCP ConfReq id=0x3 <mru 1514> <asyncmap 0xffffffff> <magic
0x9ca2bac2
pcomp> < 11 04 05 ea> < 13 03 00>]
sent [LCP ConfRej id=0x3 < 11 04 05 ea> < 13 03 00>]
rcvd [LCP ConfReq id=0x4 <mru 1514> <asyncmap 0xffffffff> <magic
0x9ca2bac2
pcomp> ]
sent [LCP ConfAck id=0x4 <mru 1514> <asyncmap 0xffffffff> <magic
0x9ca2bac2
pcomp> ]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
rcvd [IPCP ConfReq id=0x5 <compress VJ 0f 00> <addr 211.39.49.42>]
sent [IPCP ConfRej id=0x5 <compress VJ 0f 00>]
rcvd [IPCP ConfNak id=0x1 <addr 210.93.232.140> <ms-dns1 210.115.125.37
ms-dns3 210.115.125.53>]
sent [IPCP ConfReq id=0x2 <addr 210.93.232.140> <ms-dns1 210.115.125.37
ms-dns3 210.115.125.53>]
rcvd [IPCP ConfReq id=0x6 <addr 211.39.49.42>]
sent [IPCP ConfAck id=0x6 <addr 211.39.49.42>]
rcvd [IPCP ConfAck id=0x2 <addr 210.93.232.140> <ms-dns1 210.115.125.37
ms-dns3 210.115.125.53>]
Confstr is: nameserver_210.115.125.37
Resconf is: nameserver 210.115.125.37
Confstr is: nameserver_210.115.125.53
Resconf is: nameserver 210.115.125.53
Open file /etc/ppp/resolv.conf to set resolvers.
Open file /etc/resolv.conf to set resolvers.
Set CS_RESOLVE confstr.
New _CS_RESOLVE confstr:
nameserver_210.115.125.37
nameserver_210.115.125.53
Couldn’t add default route: File exists
local IP address 210.93.232.140
remote IP address 211.39.49.42
primary DNS address 210.115.125.37
secondary DNS address 210.115.125.53
but at the SH4
Using interface ppp0
Connect: ppp0 <–> /dev/ser1
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
It looks like no negotiation on pppd for SH4
Thanks for your reading!
hmetal
January 26, 2002, 3:59am
5
I think that chap/pap secrets file are not related, because I logged in
terminal.
but that looks like
“username” * “passwd”
and my processes’ argument lists follows;
#pidin ar
pid Arguments
1 procnto
2 devc-sersci -e -b57600 scif
4099 devf-sengine
20485 io-net -d ne2000-sengine ioport=0x10000000 -pttcpip
if=en0:192.168.0.44 -ppppmgr
20486 fs-nfs2 192.168.0.4:/shle /shle
20487 sh -c sh
20488 sh
28681 mqueue
28682 pipe
28683 devc-pty
28684 inetd
49165 in.telnetd -Q -n
49166 -sh
159759 pidin ar
Thank you!
“Adam Mallory” <amallory@qnx.com > wrote in message
news:a2rmq5$sb1$1@nntp.qnx.com …
What does you chap/pap secrets file look like (attributes) on the SH?
What
does your io-net command line look like? Perhaps also include your build
file for your SH4 board so others can comment.
–
Cheers,
Adam
QNX Software Systems Ltd.
[ > amallory@qnx.com > ]
With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net
“hmetal” <> hmetal@rtsolutions.co.kr > > wrote in message
news:a2r6b5$6sv$> 1@inn.qnx.com > …
I have tested pppd for X86 and SH4.
There is no problem on X86 pppd but I can’t connect pppd on SH4.
Two system are almost same configuration.
at both system
stty </dev/ser1
Name: /dev/ser1
Type: serial
Opens: 1
+raw +ignbrk +ignpar
+ihflow +ohflow
intr=^C quit=^\ erase=^? kill=^U eof=^D start=^Q stop=^S susp=^Z
lnext=^V min=01 time=00 fwd=7E pr1=^[ pr2=5B left=44 right=43
up=41 down=42 ins=40 del=50 home=48 end=59
par=none bits=8 stopb=1 baud=57600 rows=0,0
and at one terminal
qtalk -b57600
Qtalk [4.81]
Using modem /dev/ser1
–
Modem : /dev/ser1
Local echo : disabled Logging : disabled
Top bit : displayed Xfer protocol : qcp
Command char : 0x01 (^a) Delete char : 0x7f
–
atz
OK
atdt01442
CONNECT 57600
Welcome to 3Com Total Control HiPer ARC ™
Networks That Go The Distance ™
login: enavi
Password:
~ÿ}#A !}!}!} }?}!}$}%?"}&ÿÿÿÿ}%}&};
}3}’}"}(}"}1}$}%?3}#} }1}#A !}!}"} }?}!}$}%?"}&ÿÿÿÿ}%}&};
â½}3}’}"}(}"}1}$}%?3}#} }$?~ÿ}#A !}!}#} }?}!}$}%?"}&ÿÿÿÿ}%}&};
â½}3}’}"}(}"}1}$}%?3}#} ÷Ü~~ÿ}#A !}!}$}
}?}!}$}%?"}&ÿÿÿÿ}%}&};â½}3}’}"}(}"}1}$}%?3}#} .>~
qtalk: (read) Resource temporarily unavailable
and I ran pppd after login at another terminal
pppd /dev/ser1 debug defaultroute +resconf require-ns noipdefault
updetach
the result is
at the X86
Using interface ppp0
Connect: ppp0 <–> /dev/ser1
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xaff75e04> ]
rcvd [LCP ConfNak id=0x1 <asyncmap 0xffffffff>]
sent [LCP ConfReq id=0x2 <magic 0xaff75e04> ]
rcvd [LCP ConfAck id=0x2 <magic 0xaff75e04> ]
rcvd [LCP ConfReq id=0x3 <mru 1514> <asyncmap 0xffffffff> <magic
0x9ca2bac2
pcomp> < 11 04 05 ea> < 13 03 00>]
sent [LCP ConfRej id=0x3 < 11 04 05 ea> < 13 03 00>]
rcvd [LCP ConfReq id=0x4 <mru 1514> <asyncmap 0xffffffff> <magic
0x9ca2bac2
pcomp> ]
sent [LCP ConfAck id=0x4 <mru 1514> <asyncmap 0xffffffff> <magic
0x9ca2bac2
pcomp> ]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3
0.0.0.0>]
rcvd [IPCP ConfReq id=0x5 <compress VJ 0f 00> <addr 211.39.49.42>]
sent [IPCP ConfRej id=0x5 <compress VJ 0f 00>]
rcvd [IPCP ConfNak id=0x1 <addr 210.93.232.140> <ms-dns1 210.115.125.37
ms-dns3 210.115.125.53>]
sent [IPCP ConfReq id=0x2 <addr 210.93.232.140> <ms-dns1 210.115.125.37
ms-dns3 210.115.125.53>]
rcvd [IPCP ConfReq id=0x6 <addr 211.39.49.42>]
sent [IPCP ConfAck id=0x6 <addr 211.39.49.42>]
rcvd [IPCP ConfAck id=0x2 <addr 210.93.232.140> <ms-dns1 210.115.125.37
ms-dns3 210.115.125.53>]
Confstr is: nameserver_210.115.125.37
Resconf is: nameserver 210.115.125.37
Confstr is: nameserver_210.115.125.53
Resconf is: nameserver 210.115.125.53
Open file /etc/ppp/resolv.conf to set resolvers.
Open file /etc/resolv.conf to set resolvers.
Set CS_RESOLVE confstr.
New _CS_RESOLVE confstr:
nameserver_210.115.125.37
nameserver_210.115.125.53
Couldn’t add default route: File exists
local IP address 210.93.232.140
remote IP address 211.39.49.42
primary DNS address 210.115.125.37
secondary DNS address 210.115.125.53
but at the SH4
Using interface ppp0
Connect: ppp0 <–> /dev/ser1
Warning - secret file /etc/ppp/pap-secrets has world and/or group access
It looks like no negotiation on pppd for SH4
Thanks for your reading!
\