On Friday 16 September 2011 16:51:16 Alexander Gordeev wrote: > В Fri, 16 Sep 2011 17:41:37 +0300 > > Roman Yeryomin <leroi.li...@gmail.com> пишет: > > On 16 September 2011 01:40, Alexander Gordeev <lasa...@lvk.cs.msu.su> wrote: > > > В Fri, 26 Aug 2011 04:30:43 +0300 > > > > > > Roman Yeryomin <leroi.li...@gmail.com> пишет: > > >> This method is much more stable than reading dd's output via stdin. > > > > > > What kind of problems do you have with piping dd's output to stdin? > > > > It outputs garbage very frequently and maccalc fails to convert the > > mac (and as a consequence uci-default script fails to set the real mac > > address). Try dd without piping to maccalc and you'll see. > > I've noticed this bug on ramips platform and can't say anything about > > other boards. > > Well, then this is probably a bug in dd? Or uClibc? Or kernel? > Ok, I'll try to reproduce it. Can you please tell me what exactly is > happening?
What happens if you insert some proper fflush() in maccalc? -- Florian _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel