Hi,
I would like to know if there is a solution to get udpcast
working with NVIDIA nForce MCP Networking Controller.
SysRescCD uses nvnet driver with this card.
I didn't find it on cast-o-matic.
Can you help me?
Thank you very much.
--
Stephane
********** PROTEGEZ VOS E-MAILS !**********
Avec Tiscali SuperMail, vos e-mails en toute sécurité !
Anti Spam personnalisable
Anti Virus actualisé en permanence
et de nombreux bonus...
Pour en savoir plus, rendez-vous sur http://www.tiscali.fr/supermail/
Hello udpcast users,
Has anyone sucessfully used lzop with udpcast (sender and receiver) on a
group of files? I have tried different combination of options, but no
luck; lzop always dies with "this is not an lzop file".
Thanks in advance,
Tien Duc
Hello,
I am very glad to have found such a tool.
For the recursive organisation of a course,
I have to replicate a source disk image to the 10 student's disks.
So UDPcast is the tool I was looking to.
I've downloaded the CD image and tested it successfully through a crosscable (100Mbps=>90Mbps), through a hub (10Mbps=>8MBps), and through the switch (100Mbps=>89Mbps) when only one receiver. Then I tried to add a second receiver and ... the flow rate fell from 89Mbps to ... 1,7Mbps Aaargh.
Could someone help me in discovering why and how to solve this ?
I would also adapt the CD image so all parameters are defined, and one CD would be the "sender" CD, and the 10 others the "receiver" CDs.
Could someone tell me how to do that ?
Thanks,
Manu
____
This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful.
Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL unless it is confirmed by appropriately signed hard copy.
Any views expressed in this message are those of the sender.
Hello,
The config file no longer supports mode, you need to use umode and compr
instead. Could we please get this updated on the website? This took me
quite a while and a lot of rtfs to figure out.
Jaco
Hello,
We are using kernel-level auto configuration in order to use udpcast
with a nfs root file system, however, the generic udpcast system still
tries to configure eth0 even though it is already configured. The patch
below will simply check whether eth0 is already configured, and if so
not do anything further (this is similar to the network driver module,
in that case it checked for a MAC address, now I check for an IP address).
unlike the mac check I don't actually return the mac, I simply return
whether there exists an ip.
I also included a trivial fix to the code checking for the mac addr, it
forgot to close sockfd in case of failure (which if abused seriously
could lead to the system running out of sockets but in the case of
udpcast this is probably not of any concern plus you have to *really*
abuse it).
===================== udpcast.kernelip.patch ===============
==--- busybox-0.60.5.orig/udpc_netconfig.c 2004-01-13
12:46:15.638629976 +0
200
+++ busybox-0.60.5.new/udpc_netconfig.c 2004-01-13 12:20:27.342006840 +0200
@@ -137,7 +137,9 @@
if(sockfd < 0)
return -1;
strcpy(ifc.ifr_name, ifname);
- if(ioctl(sockfd, SIOCGIFHWADDR, &ifc) < 0) {
+ if(ioctl(sockfd, SIOCGIFHWADDR, &ifc) < 0)
+ {
+ close(sockfd);
return -1;
}
close(sockfd);
@@ -151,6 +153,19 @@
return mac;
}
+bool udpc_hasIP(const char *ifname)
+{
+ struct ifreq ifc;
+ int res;
+ int sockfd = socket(AF_INET, SOCK_DGRAM, 0);
+ if(sockfd < 0)
+ return false;
+ strcpy(ifc.ifr_name, ifname);
+ res = ioctl(sockfd, SIOCGIFADDR, &ifc);
+ close(sockfd);
+ return !(res < 0);
+}
+
static int ipMacRead=0;
static int readIpMacFiles()
@@ -203,6 +218,8 @@
if(udpc_config.automatic != 1)
forceManual=1;
while(1) {
+ if(udpc_hasIP("eth0"))
+ return 0;
switch(step) {
case STEP_NETCFG+1:
if(setDoDhcp(forceManual) < 0)
===========================================================
Then I've also got another patch which simply improves the config file
reading, and was actually wondering why this wasn't done in the first place?
================== udpcast.whitespace.patch ===============
--- busybox-0.60.5.orig/udpc_conffile.c 2004-01-13 12:46:15.627631648 +0200
+++ busybox-0.60.5.new/udpc_conffile.c 2004-01-13 12:42:25.699586024 +0200
@@ -123,9 +123,8 @@
}
/* Skip leading spaces */
- while(*ptr == ' ' || *ptr == '\t') {
- ptr++;
- }
+ while(isspace(*ptr))
+ ptr++;
/* If this is a comment, skip it */
if(ptr[0] == '#') {
===========================================================
This will check for any leading whitespace and ignore it. This is just
a slightly more generic aproach.
Jaco
Hello,
I just found a link to this wonderful looking package last night
when reading a old thread on slashdot about "Ghost 4 Unix".
First of all, a big thanks for this effort. The world needs
this solution in open source form, and you've done it!
Up to now, I've been using something like g4u, except based
on KNOPPIX, to do the imaging over dd, ftp, wget, and gzip.
It works well for small numbers of machines, but I'd like the
solve the problem for imaging perhaps 30 to 40 at once.
I'm just at the initial stage of investigating udpcast, and
reading over the web site for any instructions I may have missed...
So far I have these initial questions.
1. Is there a howto for disk cloning written already?
2. I don't see any reference to the steps required for creating the disk
image file of the template machine, or is this not how it is done?
That is, I have a template machine ready to clone, what are the
steps to make an image file of the hard disk, that upd-sender can use?
Should I continue to use my equivalent to g4u to upload a gzipped
disk dump (dd) file by FTP?
3. Will the linux kernel enable DMA on the hard drive? I found DMA
(via hdparm) made a big performance difference in my KNOPPIX
based solution, but then some kernels seem to automatically
enable DMA anyway.
Regards,
--Donald Teed