> Hello group!
>
> I made a program that uses the TS-7400's ttyAM0 (COM1) in raw mode
> to write PMPP requests and get responses from a "custom device".
>
> But i have a problem, another program seems to use that same port
> to listen to incoming PPP requests. I dont know which program it is
> and i would like to kill/disable it.
>
> [...]
>
> Louis-Pierre Beaumont
> Software Developer
> VER-MAC Signalisation inc.
Are you using fast boot or full boot?
The TS-7400 uses /dev/ttyAM0 for the (TS-9441) console. To disable this in
fast boot you will need to edit the /linuxrc file and change the line that
says "CONSOLE=/dev/ttyAM0" to point somewhere else. Note that if you point
it to /dev/null the fastboot shell will exit immediately and you will wind
up with a full boot; the easiest way to avoid this might be to point the
console to another serial port you aren't using, e.g. /dev/ttyAM1.
If you are booting from SD you will want to edit linuxrc from your PC (e.g.
mount /dev/${SD_DEVNAME}2 /mnt;vi /mnt/linuxrc;umount /mnt), otherwise you
can edit it directly from the fastboot prompt, but be sure to use the 'save'
command afterwards -- this saves the current initrd back to the on-board
flash.
If you are using a full boot you would do something like edit /etc/inittab,
comment out the line(s) mentioning /dev/ttyAM0, then kill -HUP 1, or else
reboot.
Regards,
Michael
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|