lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] LWIP on ecos, PPP, Linux


From: Carlos Andres Perilla J
Subject: [lwip-users] LWIP on ecos, PPP, Linux
Date: Tue, 04 May 2004 01:20:24 -0500

Hi all, I need some advice my target is the at91eb40a, arm7tdmi
using ecoscvs(today)
lwip-0.7.1
contrib-0.7.1-20040319
$ecosconfig new eb40a
$ecosconfig add lwip
edited the ecos.ecc:
Server IP: 192.168.254.254
Host IP: 192.168.254.161
Netmask: 255.255.255.0
SLIP 0
PPP 1
PAP 1
CHAP 0
edited init.c username:password
edited /etc/ppp/pap-secrets, username * "password" *
$ecosconfig tree
$make
$make tests
arm-elf-gdb tcpecho
GNU gdb 5.3 (eCosCentric)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
(gdb) tar rem /dev/ttyS1
Remote debugging using /dev/ttyS1
Couldn't establish connection to remote target
Quit
(gdb) tar rem /dev/ttyS1
Remote debugging using /dev/ttyS1
0x010034f8 in ?? ()
(gdb) loc
Undefined command: "loc".  Try "help".
(gdb) lo
Loading section .rom_vectors, size 0x40 lma 0xc000
Loading section .text, size 0x18a20 lma 0xc040
c
Loading section .rodata, size 0x69d lma 0x24a60
Loading section .data, size 0x61c lma 0x25100
Start address 0xc040, load size 104217
Transfer rate: 26894 bits/sec, 304 bytes/write.
(gdb) c
Continuing.
Abort called #Thi makes sense later
on the linux box
$pppd /dev/ttyUSB0 38400 lock nodetach debug :192.168.254.161 crtscts
proxyarp login auth #I have a usb-serial adapter
using channel 16
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xb99a4428> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x52181044> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x52181044> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xb99a4428> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xb99a4428> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x52181044> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x52181044> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xb99a4428> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xb99a4428> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x52181044> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x52181044> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xb99a4428> <pcomp> <accomp>] sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xb99a4428> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x52181044> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x52181044> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0xb99a4428> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated. Don't know why the target is ignoring the ConfAck of pppd and why pppd keeps with the Confreq...
I have tried also with
pd /dev/ttyUSB0 38400 lock nodetach debug :192.168.254.161 nocrtscts
proxyarp
$pppd /dev/ttyUSB0 38400 lock nodetach debug :192.168.254.161 crtscts
proxyarp
and
$pppd /dev/ttyUSB0 38400 lock nodetach debug :192.168.254.161 nocrtscts
proxyarp auth login with one, both, none, ip's

I need some directions on what to do next
I have set the asyncmap on 0xffffffff and 0x00a00000 as some other threads said.

Thnx all.
Carlos Perilla
-------------------
Phaber Electronics




reply via email to

[Prev in Thread] Current Thread [Next in Thread]