[Chilli] Fwd: Need help on porting the Coovachilli-1.3.0 application in Router

Xabier Oneca -- xOneca xoneca at gmail.com
Tue Sep 17 07:11:30 UTC 2013


You can try with this:

  dd of=$POST_FILE bs=$CONTENT_LENGTH count=1 2>/dev/null

Note that 'conv=block' is also not supported, so both commands should be
equivalent. The only difference is when the connecion is cut and the data
was not completely read: original case would pad with spaces; this case
will not pad anything.

That should work.
El 17/09/2013 08:21, "prasad tbs" <tbsprasad9 at gmail.com> escribió:

> Hi All,
>
>   We observed an issue with advanced "dd" command while running the
> coovachilli application in Router.
> Can anyone suggest me for alternate option/command to solve the issue.
>
> FILE: /etc/chilli/wwwsh
>
> line 27: dd of=$POST_FILE cbs=$CONTENT_LENGTH conv=block count=1
> 2>/dev/null
>
>
> Our busybox can't support cbs option for 'dd' command.
> 'dd' command in router  only supports:
>
> dd --version
> BusyBox v1.21.0 (2013-09-05 15:54:51 IST) multi-call binary.
>
> Usage: dd [if=FILE] [of=FILE] [ibs=N] [obs=N] [bs=N] [count=N] [skip=N]
>     [seek=N] [conv=notrunc|noerror|sync|fsync]
>
> Copy a file with converting and formatting
>
>     if=FILE        Read from FILE instead of stdin
>     of=FILE        Write to FILE instead of stdout
>     bs=N        Read and write N bytes at a time
>     ibs=N        Read N bytes at a time
>     obs=N        Write N bytes at a time
>     count=N        Copy only N input blocks
>     skip=N        Skip N input blocks
>     seek=N        Skip N output blocks
>     conv=notrunc    Don't truncate output file
>     conv=noerror    Continue after read errors
>     conv=sync    Pad blocks with zeros
>     conv=fsync    Physically write data out before finishing
>
> Numbers may be suffixed by c (x1), w (x2), b (x512), kD (x1000), k
> (x1024),
> MD (x1000000), M (x1048576), GD (x1000000000) or G (x1073741824)
>
>
> Thanks in advance.
>
>
> Regards,
> Prasad.
>
>
> ---------- Forwarded message ----------
> From: prasad tbs <tbsprasad9 at gmail.com>
> Date: Thu, Aug 15, 2013 at 6:08 PM
> Subject: Need help on porting the Coovachilli-1.3.0 application in Router
> To: chilli at coova.org
>
>
> Hi All,
>
>  I am facing a problem with implementing "Coovachilli-1.3.0 based hotspot"
> in router. It's already cross-compiled with uclibc-4.4.2
> I am able to run the "chilli -df" application, but didn't find any Log
> messages on console.
> More over, it's not started "network tunnel interface" also.
> FYI, in process list "ps -ax", i can find two processes such as "chilli
> -df" & "/var/run/chilli.1192.cfg.bin".
> Router OS details: "Linux version 2.6.30"
> Please help me regarding this issue & Thanks in advance.
>
> Thanks & Regards,
> Prasad
>
>
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20130917/a18321e0/attachment.html>


More information about the Chilli mailing list