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.

Hostid in a Linux machine

Status
Not open for further replies.
flexlm hostid linux

BTW gus, do you know that on some Intel815 boards equiped with
3com 3C920 onboard ethernet controllers you can permanently change
the MAC adress (host-ID) even in Windows ?
With Configure/Advanced/Network Adress things are quite easy ;)
 

sample c++ code to get hostid

Sisari,
Yes, you can change your MAC, on most network cards... not only 3C920, but RTL8139 and others, Intel's Ether Express 10/100 with 82557,558,559 chips, Texas Instruments Thunder Lan and etc...

I wrote it some messages ago...

you can unmount e2prom built on the NIC, rewrite the contents and solder on PCB....

If you have some software tools, you can read and write e2prom with them ;))))

If you are looking for it, I can upload it.
I haven't it on this PC, so I can't do it at this moment... ;)))

It's more difficult to change HDD model, serial and firmware version.... but not impossible, ocoz
:))))
 

gethostid c windows

hi ppl,

But what is wrong with synplify??? I cannot get it to work with any hostid (I used the above C code). No matter what I do it shows hostid:d0.

Can anyone help me with this issue?

best regards,
stUch
 

what do mean by host id

wzdreamer said:
hehe...
permanently changes ;PPpppp

may be the question of edaguy69 is:
"Where is hidden hostid?"

I don't know at this moment... but can see
if you are looking for...

:)))
but when you execute lmhostid,it is another matter.
 

Re: how to find host id of system, linux

Hi
I used your source to change my hostid to 000C29F1343D
but it dose not works. The message is "changehostid.c:11:17: error: invalid suffix "C29F1343D" on integer constant".
How can I solve this problem
Regards

compile with

gcc -o changehostid changehostid.c

where changehostid.c is the source, which I pasted...
and changehostid is the binary...

run it with
./changehostid

and you'll see the result...

;))))

don't forget that you must be a superuser.... i.e. root

:)))))
 

Re: how to find host id of system, linux

On uClibc-0.9.31 the gethostid() and sethostid() are defined in libc/inet/hostid.c
if needed it can be referred.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top