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 &
/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?)
iotalab gmbh, Limmatauweg 18a, 5408 Ennetbaden
+41 76 373 07 87 | fax +49 89 244394808
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----