Re: cu with XMODEM won't transfer file

2015-10-06 Thread Kim Zeitler
Hello On 10/05/15 19:59, Nicholas Marriott wrote: On Mon, Oct 05, 2015 at 10:07:21AM -0700, Philip Guenther wrote: On Mon, Oct 5, 2015 at 6:54 AM, Kim Zeitler wrote: I am trying to transfer a new firmware to a switch using cu(1) with XMODEM using a USB-to-RS232 adapter and running on -curren

Re: cu with XMODEM won't transfer file

2015-10-05 Thread Nicholas Marriott
printf "'\122\145\164\162\171\040\060\072'\n" 'Retry 0:' Does it work without -v? On Mon, Oct 05, 2015 at 05:36:49PM -0400, Jiri B wrote: > On Mon, Oct 05, 2015 at 05:15:28PM -0400, Jiri B wrote: > > It works now. > > Unfortunatelly I can't transfer bigger files: > > --->%--- > $ ./cu -d -l /d

Re: cu with XMODEM won't transfer file

2015-10-05 Thread Jiri B
On Mon, Oct 05, 2015 at 05:15:28PM -0400, Jiri B wrote: > It works now. Unfortunatelly I can't transfer bigger files: --->%--- $ ./cu -d -l /dev/cuaU0 -115200 Connected to /dev/cuaU0 (speed 115200) # lrz -v -b -X /tmp/bsd lrz: ready to receive /tmp/bsd Local file? /bsd cu: /bsd: sen

Re: cu with XMODEM won't transfer file

2015-10-05 Thread Jiri B
On Mon, Oct 05, 2015 at 07:34:59PM +0100, Nicholas Marriott wrote: > Do you have the other side waiting for the file? You should be able to > use lrx from lrzsz. Thanks, I thought it won't work just without a help on remote host :) It works now. - previous `cu' # lrz -v -b -X /tmp/fstab lrz: r

Re: cu with XMODEM won't transfer file

2015-10-05 Thread Nicholas Marriott
Do you have the other side waiting for the file? You should be able to use lrx from lrzsz. On Mon, Oct 05, 2015 at 02:25:39PM -0400, Jiri B wrote: > > Index: command.c > > === > > RCS file: /cvs/src/usr.bin/cu/command.c,v > > retriev

Re: cu with XMODEM won't transfer file

2015-10-05 Thread Jiri B
> Index: command.c > === > RCS file: /cvs/src/usr.bin/cu/command.c,v > retrieving revision 1.14 > diff -u -p -r1.14 command.c > --- command.c 5 Oct 2015 17:53:56 - 1.14 > +++ command.c 5 Oct 2015 17:56:14 - > @@ -51,6 +51

Re: cu with XMODEM won't transfer file

2015-10-05 Thread Nicholas Marriott
On Mon, Oct 05, 2015 at 10:07:21AM -0700, Philip Guenther wrote: > On Mon, Oct 5, 2015 at 6:54 AM, Kim Zeitler wrote: > > I am trying to transfer a new firmware to a switch using cu(1) with XMODEM > > using a USB-to-RS232 adapter and running on -current. > > > > Connection works fine, but for the

Re: cu with XMODEM won't transfer file

2015-10-05 Thread Philip Guenther
On Mon, Oct 5, 2015 at 6:54 AM, Kim Zeitler wrote: > I am trying to transfer a new firmware to a switch using cu(1) with XMODEM > using a USB-to-RS232 adapter and running on -current. > > Connection works fine, but for the XMODEM resulting in 'Resource temporarily > unavailable' > > $cu -d -l /dev

cu with XMODEM won't transfer file

2015-10-05 Thread Kim Zeitler
Hello, I am trying to transfer a new firmware to a switch using cu(1) with XMODEM using a USB-to-RS232 adapter and running on -current. Connection works fine, but for the XMODEM resulting in 'Resource temporarily unavailable' $cu -d -l /dev/ttyU0 ... ~X Local file? /tmp/fw.swi cu: /tmp/fw.s