Glam Prestige Journal

Bright entertainment trends with youth appeal.

I want to connect to a WiFi network without disclosing my original Hostname(Computer Name) to the network.

i.e, I want to connect to WiFi networks with a different (fake) Hostname of my choice without altering my Computer Name.

Thank you.

6

2 Answers

hostname newname will temporarily change your host name till the next reboot. Its the closest thing to what you want, but definitely not what you need:

Things to note - your router may cache the old host name, so it might not help at all, depending on what you're really trying to do - but fabby's answer covers that in detail.

3

I could just tell you to go look in /etc/network/if-up.d/ and add a script there to generate a random host name every time you connect to any WiFi network, and then change it back to the original using /etc/network/if-updown.d/ but will this help you?

No!

Because that still divulges your IP address, and more importantly: MAC address which is an address uniquely identifying your machine, so you should spoof that too depending on your use case. (which isn't very elaborately documented in your question...)

Alternatively, buy this book which explains TCP/IP in detail and then you'll know as much as I know...

;-)

5

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy