How to detect another windows machine's IP address on linux network
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to detect another windows machine's IP address on linux network
I have 6 pcs which runs on dual boot with windows and ubuntu. after installing ipscanner linux machines ip addresses are coming up but not the windows machine's.
I want to know if there is any way to know the windows machine's IP from my ubuntu desktop ? if so, then how ?
as I want to remotely shutdown my windows pc from linux , it is essential for me to do it from linux, but not by going to the machine and check the ip address on windows machine.
I have 6 pcs which runs on dual boot with windows and ubuntu. after installing ipscanner linux machines ip addresses are coming up but not the windows machine's.
Biggest question I'd have would be, are the machines booted with Linux FIRST, then booted to Windows?? Because if so, your ARP table probably still has an entry for a certain IP related to that MAC address. Flushing your arp table with:
Code:
for addr in `arp -n`;do arp -nd $addr;done
..may help. Remember, even though the machines dual-boot, the hardware (and the MAC address) remain the same, regardless of the OS. You don't provide any details about your network configuration, but your DHCP server will happily dole out an address, and that lease is for the MAC address...not the OS. The next time the machine boots, the DHCP server will see the MAC and realize it already has an address associated with it..and RENEW that lease. So, Windows comes up with the Linux address from before.
Flush the arp tables, clear the DHCP leases for the machine, or give static addresses for both Linux and Windows OS'es on those pieces of hardware.
Quote:
I want to know if there is any way to know the windows machine's IP from my ubuntu desktop ? if so, then how ? as I want to remotely shutdown my windows pc from linux , it is essential for me to do it from linux, but not by going to the machine and check the ip address on windows machine. any help would be appreciated !!
Remote desktop works fine...krdc is only one Linux-based remote desktop client which will let you control a Windows box. You can also use the snmpset command (providing your Windows system has SNMP running on it, and is set up to allow setting parameters), and tell it to shut down that way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.