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

locks and pppd



-----BEGIN PGP SIGNED MESSAGE-----

I have a strange problem with my serial port /dev/ttyS0.

/proc$ setserial /dev/ttyS0
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/proc$ tail -f /dev/ttyS0 &
[1] 13643
/proc$ echo at > /dev/ttyS0

This hangs infinitely, BUT only if I have used pppd.

There are no lock files in /var/lock: 

/proc$ ls /var/lock
iptraf.tag iptraf_detstat.tag wtmplock

and there's no pppd running. ppp still runs fine if started up
again, and minicom works too. File locking seems to work fine
between minicom and pppd, but plain redirection with '>' fails after
having used pppd once. Rebooting helps :-) but that's definitely not
what I want to do that often.

You might want to know why I need that? I want to write a dialer
script using the modem to dial and taking over with the normal
phone. I'm sick of typing the numbers which are already on the
screen into the phone when I have a modem.

Please help me, I have spent hours trying to solve that problem
today. (which is probably not even worth the effort, but that's the
nerdy business, isn't it?)

- --
Lukas Eppler
iotalab gmbh, Limmatauweg 18a, 5408 Ennetbaden
+41 76 373 07 87 | fax +49 89 244394808


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBOWoC8UGzNEF6cQktAQGKNgP/SvyR+W57eA04FldOUJpsQCXie+zSB0qJ
pyzXZeL9W5+LzWdc08yeJ0Qx18mcZrYaoutug8AMO66N7OD+B2PN4jl4J19N8wxo
ntAXqefRFDx6ttBQmZBKakfzRJNhD8xTYGZo5yPpEvvUF6qC/WBkb/7dlLKCCL2z
VxMNmMY9tj4=
=bc1F
-----END PGP SIGNATURE-----



Reply to: