Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to change host id for RedHat 7.3 ?

Status
Not open for further replies.

mike

Junior Member level 1
Joined
Dec 31, 1999
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
USA
Activity points
97
Hi,
I want to install some EDA tools to several pcs.
Every Pc shows different host id.
It is difficult for me to maintain lic for each PC.
Is there any method to change host id for Redhat 7.3 ?

Sincerely,
 

linux hostid

Look here : **broken link removed**

And use search next time.
 

linux change hostid

:(
Sorry,
What I need is to change HOSTID not HOSTNAME .
 

change hostid

What do you mean HOSTID ? Is that serial number of your HD ? MAC Adress ? EDA programs define HOSTID differently.
 

change hostid linux

Hello Mike ,

If your HOSTID is the MAC ADDRESS of your ethernet card you may give
a look at this topic
h**p://www.elektroda.pl/eboard/viewtopic.php?t=25188
*->t
else , you can try to generate license files (with E*F*A*L*i*c*g*e*n)
with HOSTID=ANY .

Good luck
 

hostid redhat

changing the hostid on linux pc is very ease, and this change is permanent, you can use only one line program to resolve it. but now I forget the source file. I will give it to you after a moment.
 

redhat hostid ändern

#include <stdio.h>
#include <ctype.h>
#include <unistd.h>

int main(int argc, char *argv[])
{
int i;
unsigned long id;
char *str;

printf("Hostid tool for Linux/x86 platform\n");
if (argc < 2) { Thu Aug 1 12:43:36
CST 2002
id = gethostid();
printf("Hostid is: %X\n", id);
exit(0);
}

str = argv[1];
id = 0l;
i = 0;
while (str && i < 8) {
if (isdigit(str)) id = (id << 4) + str - '0';
else if (isxdigit(str))
id = (id << 4) + toupper(str) + 10 - 'A';
else break;
++i;
}

if ( i == 8) {
sethostid(id);
printf("Hostid changed to: %X\n", id);
} else printf("Error : incorrect hostid (%s)\n", str);

}
 

redhat hostid

i think that the graphical tool is much much better...ie network device management
 

hostid change

You may get your HOSTNAME from /etc/hostname.
 

change host id

To change the host ID, try to type the following statements in bash:

ifconfig eth0 down
ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
ifconfig eth0 up

The above statements are only valid if u interface is eth0=Ethernet0
 

changer hostid linux redhat

Hi all, I've used the script above, but I have to replicate an hostid of another machine that starts with a 0; and when I try to modify the value my hostid was set without the first 0. I've tried all in my possibilities and I've googled a lot but without benefits.:cry:

value to replicate: 0f38c25b
value set by the procedure: f38c25b



Someone tell me how to solve this problem??:roll:
My OS is a RedHat Linux.
thanks thanks thanks thanks thanks thanks
 

how to change hostid linux

wow, does answers of 2009 still work to problem of 2002 ?
 

linux hostid change

if allowed by your networkcard driver use bind to mac (...) number !
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top