Is it possible to do dynamically throttled UPDcast transmission? We need
to throttle the data flow to a Logic Innovations IP encapsulator (with
LI's documentation attached with their permission).
The udpcast mutlticast address is considered a single route to the IPE.
The IPE sends out flow-control messages (described in document) that
shows how many bytes are available for traffic for each route every 100
milliseconds in a multicastand comes from a user specified multicast of
its own. Attached is the LI document, again with the manufactures
permission. Also, you can contact Theo Aukerman, taukerman(a)logici.com
for any additional info.
I'm asking these questions because IF this is possible, then this would
be an almost complete framework for an open source Data-casting network,
and can be used for over the air data-broadcasting from any DTV
transmitter or any other system with null packets. I currently work as
an engineer for a TV station that does data transmission, but would like
to move to an open source model.
Hi ML,
happy to found this tool, I've got my first big problem with it.
Using the multicast to clone a HDD to several Clients, the clients take
the MAC of the onboard NIC (NVidia nForce). After that, the original MAC
is gone and I'm not able to restore this.
This fact has been a little difficult to find. Cause I thought, the MAC
ist Part of the NIC, not of the HDD, which has been cloned. So how does
it come?
And even how can I overcome this?
Any Idea would be appreciated,
TIA
--
yours sincerely
Pitt
Hello,
I would like to include ntfsresize into an initrd created by cast-o-matic. I compiled ntfsresize statically and uploaded the application to be included in the initrd. I'm pretty sure this is a busybox issue. ntfsresize appears in the initrd but I cannot execute it.
I am not very familiar with busybox so any help would be appreciated. Thank you in advance.
Jeff Michels
Technology Support Specialist
The School District of Beloit
Has anyone succeeded in compiling udpcast under Solaris 9
(SPARC)? I've included entries from config.log below. With
respect to the stdint.h errors I found the following
(http://www.squid-cache.org/mail-archive/squid-dev/200305/0146.html)
"`inttypes.h' vs. `stdint.h'
Paul Eggert notes that: ISO C 1999 says that `inttypes.h' includes
`stdint.h', so there's no need to include `stdint.h' separately in
a standard environment. Many implementations have `inttypes.h'
but not `stdint.h' (e.g., Solaris 7), but I don't know of any
implementation that has `stdint.h' but not `inttypes.h'. Nor do I
know of any free software that includes `stdint.h'; `stdint.h'
seems to be a creation of the committee."
-Tom C.
==================================================================
config.log entries
------------------
configure:3806: checking for stdint.h
configure:3827: gcc -c -g -O2 conftest.c >&5
conftest.c:52:20: stdint.h: No such file or directory
configure:3833: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBPTHREAD 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
|
| #include <stdint.h>
configure:3849: result: no
[...SNIP...]
configure:3894: checking net/if.h usability
configure:3911: gcc -c -g -O2 conftest.c >&5
In file included from conftest.c:65:
/usr/include/net/if.h:234: error: field `ifa_addr' has incomplete type
/usr/include/net/if.h:236: error: field `ifu_broadaddr' has incomplete type
/usr/include/net/if.h:237: error: field `ifu_dstaddr' has incomplete type
/usr/include/net/if.h:269: error: field `lnr_addr' has incomplete type
/usr/include/net/if.h:344: error: field `lifru_addr' has incomplete type
/usr/include/net/if.h:345: error: field `lifru_dstaddr' has incomplete type
/usr/include/net/if.h:346: error: field `lifru_broadaddr' has incomplete type
/usr/include/net/if.h:347: error: field `lifru_token' has incomplete type
/usr/include/net/if.h:348: error: field `lifru_subnet' has incomplete type
/usr/include/net/if.h:387: error: field `sa_addr' has incomplete type
/usr/include/net/if.h:397: error: field `slr_src' has incomplete type
/usr/include/net/if.h:398: error: field `slr_grp' has incomplete type
/usr/include/net/if.h:417: error: field `ifru_addr' has incomplete type
/usr/include/net/if.h:418: error: field `ifru_dstaddr' has incomplete type
/usr/include/net/if.h:420: error: field `ifru_broadaddr' has incomplete type
/usr/include/net/if.h:488: error: parse error before "sa_family_t"
/usr/include/net/if.h:491: error: parse error before '}' token
/usr/include/net/if.h:501: error: parse error before "sa_family_t"
/usr/include/net/if.h:510: error: parse error before '}' token
/usr/include/net/if.h:641: error: field `ifta_saddr' has incomplete type
/usr/include/net/if.h:642: error: field `ifta_daddr' has incomplete type
configure:3917: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBPTHREAD 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_ARPA_INET_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKIO_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_SIGNAL_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <net/if.h>
configure:3931: result: no
configure:3935: checking net/if.h presence
configure:3950: gcc -E conftest.c
configure:3956: $? = 0
configure:3970: result: yes
configure:3983: WARNING: net/if.h: present but cannot be compiled
configure:3985: WARNING: net/if.h: check for missing prerequisite headers?
configure:3987: WARNING: net/if.h: see the Autoconf documentation
configure:3989: WARNING: net/if.h: section "Present But Cannot Be Compiled"
configure:3991: WARNING: net/if.h: proceeding with the preprocessor's result
configure:3993: WARNING: net/if.h: in the future, the compiler will take precedence
configure:3998: checking for net/if.h
configure:4006: result: yes
configure:3894: checking netinet/in.h usability
configure:3911: gcc -c -g -O2 conftest.c >&5
configure:3917: $? = 0
configure:3931: result: yes
udpcast-request(a)udpcast.linux.lu kirjoitti:
>> We have used udpcast for a while at our school and it has performed
>> flawlessly. Recently, we have cloned succesfully a bunch of Dell
>> Optiplex 745 machines. Now, at another site, cloning is erratic. Most
>> receiving machines get "rogue packet" messages, and on these machines
>> the cloning seems to "hang". However, some machines finish ok. Is this a
>> network switch problem at the site or something else?
> I had the same problem, with more than one udp-sender/receiver processes
> over "one wire". Maybe an other multicast application at the same time? I
> have a switched network.
>
> Stefan
At our site one the receiving workstations turned out to be faulty. It
may have caused the error - the exact mechanism would be nice to know. ;)
We have used udpcast for a while at our school and it has performed
flawlessly. Recently, we have cloned succesfully a bunch of Dell
Optiplex 745 machines. Now, at another site, cloning is erratic. Most
receiving machines get "rogue packet" messages, and on these machines
the cloning seems to "hang". However, some machines finish ok. Is this a
network switch problem at the site or something else?
Kari Hyvönen
Kerava, Finland
Hi, I apologize if this is a stupid question - actually, I rather hope it is
because if I've just missed something somewhere in the documentation then
this should be easy to sort out.
I've got about 30 work stations here that are used by conferences a dozen or
so times a year. Each time they come in they manage to make a mess of them
in one way or another, so each workstation gets re-imaged once they've gone
away. Currently, we do this with a little linux partition with G4L on it and
a little tweaking of the Windows NT boot loader. (Basically, run batch file
in windows - machine goes down, linux comes up, script runs, disk image.gz
is pulled from FTP server and written to the windows partition, machine goes
down, windows comes up, job'sagood'un)
This works rather nicely, but it takes a painfully long time as the FTP
server struggles under the load of 30 connections. UDP-cast looks perfect
for solving this problem, but I can't seem to make it work. This is the
command I've got:
(from the FTP server - windows 2003 machine)
Udp-sender.exe -file c:\bootfiles\image.gz
(from the client machines linux command line)
Udp-receiver -pipe "gzip -dc" -file /dev/sda1
The network infrastructure is very simple. All the machines involved are in
the same subnet 129.67.50.xx (in fact they're all on the same switch to try
and keep this as fast as possible)
The UDP sender starts to run and awaits connections, but never seems to get
any.
The UDP receivers sit and wait for a control connection from the server, but
never get any either.
What am I doing wrong?
Hello
Just wanted to describe how I used udpcast. I worked in a library, we had
about 40 machines of different types.
They were all running Windows XP. I muddled through Windows Sysprep and
figured out how to make a single image
that worked with all of them.
Then, I installed ubuntu on every single machine, on a second partition...
it was about 15 gigabytes.
Within this partition, I had a gigantic file - it was an linux-ntfs image of
that Windows XP partition. If I remember, it
was between 5 and 10 gigabytes.
Whenever I wanted to 'update' all the machines, with windows updates,
software installation, tweaks,
etc, I would just do it on one windows machine, reboot into ubunutu, image
the windows partition down
into a big image file within the linux partition. Then I would the reboot
all the machines into ubuntu, then broadcast
that windows image file, and everything was updated, in like 45 minutes.
And If I wanted to wipe out any possible viruses, etc, I just unpacked an
old clean image, and broadcast it.
I had python scripts that basically automated the entire thing, it took like
10 keystrokes to broadcast the image
and like 5 keystrokes to set up a machine to accept an image, and it had
menus and everything.
Just wanted to put this out there, in case some jerk-off tries to patent
this relatively obvious idea.
And to shout out to the udpcast people, rock on.