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

Re: modem/pppd troubles



I do not know what is the cause but trying to go by the elimination 
method:

1) Why do not you try to create a kernel for the desktop with 
CONFIG_PPP_SYNC_TTY = m?
2) Can you dial with minicom to your provider and stay connected until 
your provider disconnect you? Actually, what are the differences when 
trying to dial from within minicom to your provider with the laptop and 
the desktop?
3) What about the differences in the ppp, chat and setserial between 
the desktop and the laptop?
4) Have you tried the PPP-HOWTO?

--- Begin Message ---
[please cc me on replies]

high,
i operate two machines, a laptop with a 56k pcmcia modem, and
a desktop with an external 33.6k non-name modem. both run custom
2.4.17 kernels and pppd 2.4.1 from woody. i can't get the desktop to
function like the laptop - it keeps losing the connection.

a couple of points:

both have kernel configuration of ppp with async tty support, bsd
compression and deflate support. both have all these modules loaded.
however, only the kernel-image of the laptop provides slhc.o, and
i can't seem to figure out what kernel option is responsible. in the
meantime i copied slhc.o from the laptop to the desktop and loaded it
there without troubles.

while i can establish and maintain connections to a provider with the
laptop for hours on end, the desktop usually loses the peer within
minutes - running a ping in the background usually prolongs that, but
i haven't been able to stay connected for longer than 5 minutes.
bloody modems! this is what i get: 

pppd[18398]: sent [LCP EchoRep id=0x5 magic=0x1c842308]
pppd[18398]: sent [LCP EchoReq id=0x6 magic=0x1c842308]
pppd[18398]: rcvd [LCP EchoReq id=0x6 magic=0x1c842308]
pppd[18398]: appear to have received our own echo-reply!
pppd[18398]: sent [LCP EchoRep id=0x6 magic=0x1c842308]
pppd[18398]: sent [LCP EchoRep id=0x6 magic=0x1c842308]
pppd[18398]: rcvd [LCP EchoRep id=0x6 magic=0x1c842308]
pppd[18398]: appear to have received our own echo-reply!
pppd[18398]: No response to 4 echo-requests
pppd[18398]: Serial link appears to be disconnected.

this is the same phone line, the same provider, just a different
kernel and a different modem. this very modem _appears_ to work just
fine on the serial port of my laptop, so it's got to be a kernel thing
afaik... here's the kernel config diff, irrelevant info stripped:

'<' lines are laptop
'>' lines are desktop

< CONFIG_KMOD=y
> # CONFIG_KMOD is not set

< # CONFIG_IP_MULTICAST is not set
< # CONFIG_IP_ADVANCED_ROUTER is not set
> CONFIG_IP_MULTICAST=y
> CONFIG_IP_ADVANCED_ROUTER=y

# CONFIG_PLIP is not set
CONFIG_PPP=m
# CONFIG_PPP_MULTILINK is not set
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
# CONFIG_SLIP is not set

< CONFIG_PPP_SYNC_TTY=m
> # CONFIG_PPP_SYNC_TTY is not set
< # CONFIG_PPPOE is not set
> CONFIG_PPPOE=m

< CONFIG_SOUND=y
< CONFIG_SOUND_OSS=m
< CONFIG_SOUND_VMIDI=m
< CONFIG_SOUND_NM256=m
> # CONFIG_SOUND is not set

is this in any way helpful? how do i create the slhc.o module?

any help appreciated!!!

please CC me on replies!

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
  
echo '9,J8HD,fDGG8B@?:536FC5=8@I;C5?@H5B0D@5GBIELD54DL>@8L?:5GDEJ8LDG1' |\
  sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'

Attachment: pgpxax0CHHGb_.pgp
Description: PGP signature


--- End Message ---
    Shaul Karl
    email: shaulka(at-no-spam)bezeqint.net 
           Please substitute (at-no-spam) with an at - @ - character.
           (at-no-spam) is meant for unsolicitate mail senders only.

Reply to: