Hi ..
  
   I am using a device EZLINK (usb serial device) that connects two computers
   by means of usb port. 
                There is no problem when i transfer a file between
computers using Ezlink. I have usbstack and Ezlink class driver ( interact
with tty) installed on two system. This device is visible as a file 
"/dev/ttyEzlink"  with major number 180
    
    Now i want to do PPP over Ezlink. 
    I tried by giving following options to pppd 
    
  $ pppd -detach  noauth debug crtscts lock <local IP>:<remote IP> /dev/ttyEzlink &
Using interface ppp0 
Connect: ppp0 <--> /dev/ttyUSB0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe5ca7a56> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe5ca7a56> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe5ca7a56> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe5ca7a56> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe5ca7a56> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe5ca7a56> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe5ca7a56> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe5ca7a56> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe5ca7a56> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe5ca7a56> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated.                
    
    But problem here, these LCP confReq are not at all sent to Ezlink serial
    driver.                                       
    I want to know under want condition PPP calls tty->driver.write() ?
    One more thing, Ioctl function is not implented in Ezlink serial driver.
    

  Kernel version : 2.2.14
  Linux PPP version  :  2.3.10
  Kind of Connection :  USB Ezlink 
  Log mess   :
              
Jul 25 15:24:58 usb modprobe: can't locate module char-major-180
Jul 25 15:24:58 usb kernel: CSLIP: code copyright 1989 Regents of the University of 
California
Jul 25 15:24:58 usb kernel: registered device ppp0
Jul 25 15:24:58 usb pppd[866]: pppd 2.3.10 started by root, uid 0
Jul 25 15:24:58 usb kernel:  ezlink_open port 0
Jul 25 15:24:58 usb kernel: ppp_ioctl: set flags to 10000
Jul 25 15:24:58 usb pppd[866]: Using interface ppp0
Jul 25 15:24:58 usb pppd[866]: Connect: ppp0 <--> /dev/ttyUSB0
Jul 25 15:24:58 usb kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
Jul 25 15:24:58 usb kernel: ppp_ioctl: set mru to 5dc
Jul 25 15:25:28 usb pppd[866]: LCP: timeout sending Config-Requests
Jul 25 15:25:28 usb pppd[866]: Connection terminated.
Jul 25 15:25:28 usb kernel: ppp: channel ppp0 closing.              


      

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to