[Udpcast] Giving options through boot cmdline and udpcparam

Stephane Boireau stephane.boireau at free.fr
Wed Sep 17 15:50:23 CEST 2008


Hi,

======================
I already sent this message, but I get troubles using the other email...
======================

I don't succeed in giving two options through apend boot cmdline.
Here is my cmdline:

label u1auto
    kernel vmlu26
    append initrd=udprd root=01:00 persoparams=oui lang=FR kbmap=FR dhcp=yes 
compr=lzop port=9002 umode=snd disk=/dev/hda1 auto_reboot=always 
enableDiskmodule=yes diskmodule=AUTO netmodule=AUTO 
udpcparam=--max-wait=300--min-receivers=2

A script is launched using predialog.
It writes the /udpcfg.txt file.

With the above cmdline, I get:

	udpsender -p lzop --file /dev/hda1 -P 9002 -i 
eth0 --max-wait=300--min-receiver=2

instead of

	udpsender -p lzop --file /dev/hda1 -P 9002 -i 
eth0 --max-wait=300 --min-receiver=2

And it doesn't work.

===========================

I've tried:

label u1auto
    kernel vmlu26
    append initrd=udprd root=01:00 persoparams=oui lang=FR kbmap=FR dhcp=yes 
compr=lzop port=9002 umode=snd disk=/dev/hda1 auto_reboot=always 
enableDiskmodule=yes diskmodule=AUTO netmodule=AUTO 
udpcparam=--max-wait=300|--min-receivers=2

And my predialog script does:

	udpcparam=`echo "$udpcparam" | sed -e "s/|/ /g"`
	echo "udpcparam=$udpcparam" >> /udpcfg.txt

But it doesn't work.
/udpcfg.txt contains
...
umode=snd
udpcparam=--max-wait=300 --min-receivers=2

And I get

Udp-sender 2007-12-28
--min-receivers=2: not found
Using mcast address 232.168.52.210
Compressed UDP sender for /dev/hda1 at 192.168.52.210 on eth0
Broadcasting control to 192.168.52.255

and it fails.

How could I get both options working?


I did those tests using 2.6.23 kernel and udpcast-mkimage-20080107-1.i586, 
udpcast-20070602-1.i586
I'll try again using 
udpcast-20071228-1.i586
udpcast-mkimage-20080911-1.i586
kernel-udpcast-2.6.26.3-1.i586


Regards.
--
Stephane



More information about the Udpcast mailing list