Hello. Thanks for developing udpcast. It almost compiles on my
mac. But I have to make a few small changes.
1.) the linker doesn't support the -Wl,-warn-common option
2.) what is malloc.h? It isn't needed.
3.) struct ifreq is variable size, so we must use _SIZEOF_ADDR_IFREQ
(), not pointer arithemetic
4.) some endian issues
Thanks,
Devin Bayer
Hello,
I am curious whether there is an commandline option which could
instruct udp-receiver to exit after a certain amount of time without
any udp-sender activity or generally when the transfer process doesn't
start.
At least I could not find anything in the documents.
We use udpcast together with PXE-boot and sometimes some machines are
simply not responding to the sender (why is yet unclear). After
manually restarting the machines it is usually the case that the
machines to be imaged are responding again and everything is well.
Unfortunately it could be the case that there are machines to be
imaged which are placed in locked rooms and so it is impossible to
restart them manually.
Regards
Jens
I've done some googling and found a few posts which seemed to indicate that
udpcast shouldn't have problems working with a usb keyboard. Nonetheless,
when I boot a pc from the cd or pxe, the keyboard does not work. Where
should I start in troubleshooting this problem? I am very much a linux
noob, but if someone can get me started, I believe I can stumble my way
through it. Thanks.
Chad
Hi,
Le Lundi 16 Octobre 2006 12:05, vous avez écrit :
> > I build a fr.ktl with more keys enabled.
> > I send '--max-wait 600' option from isolinux.cfg this way:
> > udpcparam=--max-wait_600
> > and my udpcfg_txt.sh rewrites it this way:
> > echo "udpcparam=`echo $udpcparam | tr '_' ' '`" >> /udpcfg.txt
> > so that I get
> > udpcparam=--max-wait 600
> > in /udpcfg.txt
> >
> > But it doesn't work.
>
> You can normally specify long-options with an equals instead of a space.
> Have you tried udpcparam=--max-wait=600 in isolinux.cfg instead?
It works!
Thank you very much!
--
Stéphane.
Hi,
I build a script to get parameters from isolinux boot and rewrite udpcfg.txt
I can put only one kernel and one initrd on my multiboot-cd and preconfigure
choices in isolinux.cfg
See udpcfg_txt.sh
It works fine.
My predialog contains:
=================
#!/bin/sh
modprobe ide-cd
/bin/udpc_dialog init
( cd /proc/ide ; for i in hd? ; do if fgrep -q cdrom $i/media ; then
eject /dev/$i ; echo ejecting /dev/$i ; fi ; done)
sh /bin/udpcfg_txt.sh
=================
And I buid image with:
=================
/usr/lib/udpcast/makeImage_2
-k /usr/lib/udpcast/kernel/vmlinuz-2.6.17.13udpcast --fullbox
--prescript /usr/lib/udpcast/perso_bin/noblank
--predialog /usr/lib/udpcast/perso_bin/predialog
--postscript /usr/lib/udpcast/perso_bin/date_fin.sh -c udpfr_20061011b.img -C
fr.conf
=================
makeImage_2 is makeImage modified to add a few scripts including udpcfg_txt.sh
I would like to know the way I could send '--autostart 5' from isolinux.cfg so
I've got a not complete keyboard (fr.ktl) during isolinux.
I do a little transformation to use . instead of - and ? instead of space.
My isolinux.cfg contains:
========================
label u1
kernel linux/udpcast/vmlu26
append initrd=linux/udpcast/udprd root=01:00 persoparams=oui lang=FR
kbmap=FR dhcp=yes compr=lzop port=9002 umode=snd
label u2
kernel linux/udpcast/vmlu26
append initrd=linux/udpcast/udprd root=01:00 persoparams=oui lang=FR
kbmap=FR dhcp=yes compr=lzop port=9002 umode=rcv
========================
I send:
u1 netmodule=AUTO enableDiskmodule=no disk=/dev/hda
udpcparam=..autostart?1
But I get this message:
Extra argument "..autostart?1" ignored
Udp-sender 2006-09-15
Using mcast adress...
It seems, udpcparam aren't read from /udpcfg.txt
How could I make it work?
Thank you very much!
--
Stéphane.
PS:
My udpcfg_txt.sh:
======================================
#!/bin/sh
# Script de recuperation de parametres de l'isolinux.cfg
# pour renseigner le fichier udpcfg.txt avant lancement de udpc_dialog
# L'objectif est d'eviter le stockage de 3 initrd pour le mode standard,
# le mode preselectionne en emission
# et le mode preselectionne en reception.
# Auteur: Stephane Boireau
# Derniere modification: 11/10/2006
#Couleurs
COLTITRE='\033[1;35m'
# Rose
COLPARTIE='\033[1;34m'
# Bleu
COLTXT='\033[0;37m'
# Gris
COLCHOIX='\033[1;33m'
# Jaune
COLDEFAUT='\033[0;33m'
# Brun-jaune
COLSAISIE='\033[1;32m'
# Vert
COLCMD='\033[1;37m'
# Blanc
COLERREUR='\033[1;31m'
# Rouge
COLINFO='\033[0;36m'
# Cyan
echo -e "$COLTITRE"
echo "********************"
echo "* Preconfiguration *"
echo "********************"
echo -e "$COLTXT"
echo "Recuperation des parametres d'isolinux..."
echo -e "$COLCMD"
# On devrait recuperer des choses comme:
# initrd=linux/udpcast/udprd root=01:00
# Et eventuellement en plus les autres parametres ajoutes à 'append'.
cat /proc/cmdline
sleep 1
sh /proc/cmdline
if [ "$persoparams" = "oui" ]; then
echo -e "$COLTXT"
echo "Regeneration de l'udpcfg.txt"
#echo -e "$COLCMD"
echo "auto=yes" > /udpcfg.txt
if [ "$lang" = "" ]; then
echo "lang=FR" >> /udpcfg.txt
else
echo "lang=$lang" >> /udpcfg.txt
fi
if [ "$kbmap" = "" ]; then
echo "kbmap=FR" >> /udpcfg.txt
else
echo "kbmap=$kbmap" >> /udpcfg.txt
fi
if [ "$netmodule" = "" ]; then
echo "Pas de module reseau predefini."
else
echo "netmodule=$netmodule" >> /udpcfg.txt
echo "netmodparm=$netmodparm" >> /udpcfg.txt
fi
if [ "$dhcp" = "" ]; then
#echo -e "$COLTXT"
echo "Pas de preselection du mode DHCP."
else
echo "dhcp=$dhcp" >> /udpcfg.txt
fi
if [ "$enableDiskmodule" = "yes" ]; then
echo "enableDiskmodule=yes" >> /udpcfg.txt
echo "diskmodule=$diskmodule" >> /udpcfg.txt
echo "diskmodparm=$diskmodparm" >> /udpcfg.txt
fi
if [ "$port" = "" ]; then
#echo -e "$COLTXT"
echo "Pas de port defini."
else
echo "port=$port" >> /udpcfg.txt
fi
if [ "$compr" = "" ]; then
#echo -e "$COLTXT"
echo "Pas de niveau de compression defini."
else
echo "compr=$compr" >> /udpcfg.txt
fi
if [ "$disk" = "" ]; then
#echo -e "$COLTXT"
echo "Pas de disque dur preselectionne."
else
echo "disk=$disk" >> /udpcfg.txt
fi
echo "mode=0" >> /udpcfg.txt
echo "umode=$umode" >> /udpcfg.txt
#echo "udpcparam=$udpcparam" >> /udpcfg.txt
echo "udpcparam=`echo $udpcparam | tr '?' ' ' | tr '.' '-'`" >> /udpcfg.txt
fi
#echo "$COLTXT"
#echo "Tentative d'ejection du CD..."
#echo "$COLCMD"
#modprobe ide-cd
#/bin/udpc_dialog init
#( cd /proc/ide ; for i in hd? ; do if fgrep -q cdrom $i/media ; then
eject /dev/$i ; echo ejecting /dev/$i ; fi ; done)
echo -e "$COLTITRE"
echo "Fin"
#read PAUSE
datedebut=`date "+%Y-%m-%d %H:%M:%S"`
echo "Debut: $datedebut" > /tmp/dates.txt
sleep 1
# u1 netmodule=AUTO enableDiskmodule=no disk=/dev/hda udpcparam=..autostart?12
======================================
Has anyone managed to solve the problem of running udpcast on netbsd?
It still tries to bind to an ip address of 6.4.6.x.
Any suggestions?
Regards,
Steve
Hi there everyone,
I am using UDPcast for quite some time with a huge success in our School. However as of today, as I tried to clone my first SATA Disk on an FSC Esprimo, suddenly nothing works as I was used to. On the sender it indicates that I have an ata_piix SCSI ... driver. When I start the transfer, after 2 or 3 second I'll always get an error message on my receiver indicating "Not enough space". This seems quite impossible as I am copying a 40 GByte SATA (even if uncompressed) to a 250 GByte image storage HD which is about 5% used.
Does anyone have a clue what my problem could be and how I could solve it. I have 30 machines to deploy in the quickest ossible way.
Thanx in advance for any help
Sincerely
Jean-Paul Maas
Ecole Européenne Luxembourg II
"This e-mail and any attachment thereto may contain information which is confidential, privileged or otherwise protected from disclosure and/or protected by intellectual property rights. It may be read, copied and used only by the intended recipient and this only for the purpose for which it has been sent. If you are not the intended recipient, please contact the sender immediately by return e-mail or by telephoning, and delete this message and any attachment from your system. In such case you must not copy this message or attachment or disclose the contents to any other person. We believe, but do not warrant that this e-mail and any attachments, are virus free. You should take full responsibility for virus checking. Any opinions expressed in this email are those of the individual and not necessarily of the Organization."