View Single Post

   
  #2 (permalink)  
Old 02-16-2008, 06:02 AM
Peter Fackrell
 
Posts: n/a
Default Re: redirect serial port to file

Crypto Ron wrote:
> Hi,
>
> with
>
> cu -l /dev/tty00 -s 2400
>
> I'm able to see data that should go to a serial printer. I tried
> redirectiing this to a file ( > /var/log/dump.log). This does not work
> unfortunately.
>
> Any suggestions?
>
> Thanks,
>
> Ron
>
>
>

I am not sure about about redirecting serial data but
this may help copies the console to a text file...

vi /etc/syslog.conf

*.err;kern.debug;auth.notice;authpriv.none;mail.cr it /dev/console
*.err;kern.debug;auth.notice;authpriv.none;mail.cr it /var/log/console
Reply With Quote