I'm trying to set up a new series of Internet workstations for my office, by using DRBL-Winroll in the latest stable version (1.7.0-228). The configuration files are the following (comments are stripped for brevity):
With this configuration the IP address is correctly set, but the hostname is not (it seems the hostname change procedure is skipped).
If I change the first line in hosts.conf with D8CB8ABCFA45 = IGC-Internet1 (without dashes in MAC), or with 192.168.209.51 = IGC-Internet1 (using the IP address), the hostname is changed, but not in the way I expected: it becomes the MAC address in string (D8CB8ABCFA45 in this case).
How can I get the hostname correctly set, it should be IGC-Internet1 in this machine?
Thanks in advance for answering...
Last edit: ComBas 2016-04-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As the http://www.drbl-winroll.org/#config-hostname , use
D8CB8ABCFA45 = IGC-Internet1
without dashes in MAC is correct.
But dashes is required in "client-mac-network.conf" , excuse for these confuses.
We will make it the same in next lease.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I change the first line in hosts.conf with D8CB8ABCFA45 = IGC-Internet1 (without dashes in MAC), or with 192.168.209.51 = IGC-Internet1 (using the IP address), the hostname is changed, but not in the way I expected: it becomes the MAC address in string (D8CB8ABCFA45 in this case).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried the "patch way"... but with no good results.
I couldn't find the file winrollsrv.sh under C:\Cygwin\sbin. I found it in C:\Cygwin\bin and I replaced this one with the file you linked above.
Anyway, I still have an unexpected result: the hostname is now changed with the machine MAC address, preceded by the letter "S" (example: SD8CB8ABCFA45)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok... hostname change by MAC address seems to work correctly now (thank you!).
But you should fix this function when the IP address is specified: both "dashed" and "dotted" styles actually change the hostname in "S-MAC Address" as above.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ha, in fact , the hostname's parameter is inherited from wsname.exe , like $IP , $MAC .
Thanks for your suggestions and we will implement these features as soon as possible.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I'm trying to set up a new series of Internet workstations for my office, by using DRBL-Winroll in the latest stable version (1.7.0-228). The configuration files are the following (comments are stripped for brevity):
File winroll.conf:
File client-mac-network.conf:
File hosts.conf:
With this configuration the IP address is correctly set, but the hostname is not (it seems the hostname change procedure is skipped).
If I change the first line in hosts.conf with D8CB8ABCFA45 = IGC-Internet1 (without dashes in MAC), or with 192.168.209.51 = IGC-Internet1 (using the IP address), the hostname is changed, but not in the way I expected: it becomes the MAC address in string (D8CB8ABCFA45 in this case).
How can I get the hostname correctly set, it should be IGC-Internet1 in this machine?
Thanks in advance for answering...
Last edit: ComBas 2016-04-04
As the http://www.drbl-winroll.org/#config-hostname , use
D8CB8ABCFA45 = IGC-Internet1
without dashes in MAC is correct.
But dashes is required in "client-mac-network.conf" , excuse for these confuses.
We will make it the same in next lease.
Ehm... ok. But I got no answer about this point:
Oh..., sorry , my bad.
Yes, it's buggy there. I fix this bug and some for other special case.
Please update c:\cgwin\sbin\winrollsrv.sh with https://github.com/ceasar-sun/drbl-winroll/blob/master/sbin/winrollsrv.sh
Or, you can download the new release v1.7.2-7 here:
https://sourceforge.net/projects/drbl-winroll/files/testing/
I tried the "patch way"... but with no good results.
I couldn't find the file winrollsrv.sh under C:\Cygwin\sbin. I found it in C:\Cygwin\bin and I replaced this one with the file you linked above.
Anyway, I still have an unexpected result: the hostname is now changed with the machine MAC address, preceded by the letter "S" (example: SD8CB8ABCFA45)
oh... , forget to say:
In hosts.conf , use dashes in MAC of IP address, ex:
00-0C-29-4E-EF-53 = IGC-Internet1
or
192-168-209-51 = IGC-Internet1
NOT '000C294EEF53 = IGC-Internet1' , excuse me.
I also fix the document just before. please refer to :
http://drbl-winroll.org/#config-hostname
Ok... hostname change by MAC address seems to work correctly now (thank you!).
But you should fix this function when the IP address is specified: both "dashed" and "dotted" styles actually change the hostname in "S-MAC Address" as above.
Ha, in fact , the hostname's parameter is inherited from wsname.exe , like $IP , $MAC .
Thanks for your suggestions and we will implement these features as soon as possible.