b***@gmail.com
2006-05-17 13:13:29 UTC
Hi all,
Let's say that I'm use an FPGA (that includes HDLC controleur) to make
PPP over ISDN,
I use a kernel module tp plug into the ppp_generic layer (Kernel
2.4.20)
Once ppp connection established, I can download both binary and ASCII
files, but when uploading binary file are cut.
I know that some where in the kernel, bytes from 0x00 to 0x31 are
interpreted as a control character. I't shouldn't in my case :(
in async mode a map is used to indicate to peers witch character to
escape or not, but I don't need that ?
Does somne one know how to tell the kernel to not interprete special
characters and just let them pass ?
thank you so much
Younes.
#################### LOG ###########################
target:~# pppd /dev/ppp_isdn -detach sync ktune local silent debug
kdebug 7 nopcomp nocrtscts 192.1.1.1:192.1.1.25
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/ppp_isdn
rcvd [proto=0x586c] 4c 6c 58 26 ff 03 c0 21 01 00 00 11 05 06 7e f4 15
d7 07 02 08 02 0d 03 06
Discarded non-LCP packet when LCP not open
rcvd [LCP ConfReq id=0x1 <magic 0x7ef415d7> <pcomp> <accomp> <callback
CBCP>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x15f89038> <accomp>]
sent [LCP ConfRej id=0x1 <pcomp> <callback CBCP>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x15f89038> <accomp>]
rcvd [LCP ConfReq id=0x2 <magic 0x7ef415d7> <accomp>]
sent [LCP ConfAck id=0x2 <magic 0x7ef415d7> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x15f89038]
kernel does not support PPP filtering
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.1.1.1>]
rcvd [LCP Ident id=0x3 magic=0x7ef415d7 "MSRASV5.10"]
rcvd [LCP Ident id=0x4 magic=0x7ef415d7 "MSRAS-0-PAPEETE"]
rcvd [LCP EchoRep id=0x0 magic=0x7ef415d7]
rcvd [IPCP ConfReq id=0x5 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
sent [IPCP ConfRej id=0x5 <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3
0.0.0.0> <ms-wins 0.0.0.0>]
rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 192.1.1.1>]
rcvd [IPCP ConfReq id=0x6 <compress VJ 0f 01> <addr 0.0.0.0>]
sent [IPCP ConfNak id=0x6 <addr 192.1.1.25>]
rcvd [IPCP ConfReq id=0x7 <compress VJ 0f 01> <addr 192.1.1.25>]
sent [IPCP ConfAck id=0x7 <compress VJ 0f 01> <addr 192.1.1.25>]
local IP address 192.1.1.1
remote IP address 192.1.1.25
Script /etc/ppp/ip-up started (pid 765)
Script /etc/ppp/ip-up finished (pid 765), status = 0x0
#################### END LOG ###########################
Let's say that I'm use an FPGA (that includes HDLC controleur) to make
PPP over ISDN,
I use a kernel module tp plug into the ppp_generic layer (Kernel
2.4.20)
Once ppp connection established, I can download both binary and ASCII
files, but when uploading binary file are cut.
I know that some where in the kernel, bytes from 0x00 to 0x31 are
interpreted as a control character. I't shouldn't in my case :(
in async mode a map is used to indicate to peers witch character to
escape or not, but I don't need that ?
Does somne one know how to tell the kernel to not interprete special
characters and just let them pass ?
thank you so much
Younes.
#################### LOG ###########################
target:~# pppd /dev/ppp_isdn -detach sync ktune local silent debug
kdebug 7 nopcomp nocrtscts 192.1.1.1:192.1.1.25
using channel 2
Using interface ppp0
Connect: ppp0 <--> /dev/ppp_isdn
rcvd [proto=0x586c] 4c 6c 58 26 ff 03 c0 21 01 00 00 11 05 06 7e f4 15
d7 07 02 08 02 0d 03 06
Discarded non-LCP packet when LCP not open
rcvd [LCP ConfReq id=0x1 <magic 0x7ef415d7> <pcomp> <accomp> <callback
CBCP>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x15f89038> <accomp>]
sent [LCP ConfRej id=0x1 <pcomp> <callback CBCP>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x15f89038> <accomp>]
rcvd [LCP ConfReq id=0x2 <magic 0x7ef415d7> <accomp>]
sent [LCP ConfAck id=0x2 <magic 0x7ef415d7> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x15f89038]
kernel does not support PPP filtering
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 192.1.1.1>]
rcvd [LCP Ident id=0x3 magic=0x7ef415d7 "MSRASV5.10"]
rcvd [LCP Ident id=0x4 magic=0x7ef415d7 "MSRAS-0-PAPEETE"]
rcvd [LCP EchoRep id=0x0 magic=0x7ef415d7]
rcvd [IPCP ConfReq id=0x5 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1
0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
sent [IPCP ConfRej id=0x5 <ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3
0.0.0.0> <ms-wins 0.0.0.0>]
rcvd [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 192.1.1.1>]
rcvd [IPCP ConfReq id=0x6 <compress VJ 0f 01> <addr 0.0.0.0>]
sent [IPCP ConfNak id=0x6 <addr 192.1.1.25>]
rcvd [IPCP ConfReq id=0x7 <compress VJ 0f 01> <addr 192.1.1.25>]
sent [IPCP ConfAck id=0x7 <compress VJ 0f 01> <addr 192.1.1.25>]
local IP address 192.1.1.1
remote IP address 192.1.1.25
Script /etc/ppp/ip-up started (pid 765)
Script /etc/ppp/ip-up finished (pid 765), status = 0x0
#################### END LOG ###########################