Originally Posted by manashpal
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:
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.
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.