Ip Address From Within Dos???

Discussion in 'Windows Desktop Systems' started by TuMbRaS, Jul 30, 2003.

  1. TuMbRaS

    TuMbRaS Guest

    Does anyone know how to obtain a computer's ip address from the DOS prompt - not from within windows, or from the cmd or command utilities that you launch from within windows, but a command that you can launch from say, a boot floppy that will show the current ip address..

    we are running into some wacky wireless keyboard issues which has disabled our keyboard (laptop) entirely. external keyboards dont work as well.

    System is using NTFS format as well..

    thanks in advance!!

    ~n
    :)
     
  2. PseudoKiller

    PseudoKiller Zug Zug

    Messages:
    3,858
    Location:
    Ice Crown Citadel
    in Win XP just type ipconfig ... for all the info do an ipconfig /all

    for all the switches do an ipconfig /?
     
  3. TuMbRaS

    TuMbRaS Guest

    lol..... thanks for the efforts!! buTTT... i can not get into a WINDOWS environment.. the keyboard function is TOTALLY disabled - so i can not get past the CTRL + ALT + DEL screen. I have to obtain the ip address from a native dos command... ipconfig and winipcfg are both command shell utilities that must be launched from within windows using the cmd or command utilities first... and that is not an option here..

    let me know if you come up with any other ideas.

    also, this system is running win2k..but that is irrelevant at this point since you cant get into windows to begin with.

    ~n
     
  4. PseudoKiller

    PseudoKiller Zug Zug

    Messages:
    3,858
    Location:
    Ice Crown Citadel
    DOS itself does not have networking capabilities... If you are not in Windows and stuck at a DOS prompt you shouldnt be able to have an IP, because you are not connected to the network.
     
  5. TuMbRaS

    TuMbRaS Guest

    actually, you just reminded me of a great idea!!!..

    you can get an ip addy from within a network (domain) environment.. using boot disk for the nic card we are using in the laptop..i can then use the net use command to gain access to one of our network shares, and then in server manager, look to see the ip addy that shows up under the current connections to share column...

    perfect!!! thanks for helping me remember that!! lol

    have a great one!

    ~n:D
     
  6. PseudoKiller

    PseudoKiller Zug Zug

    Messages:
    3,858
    Location:
    Ice Crown Citadel
    ahhhh ... no ahh problem ?? Glad to help ?? I need a drink...
     
  7. Zedric

    Zedric NTFS Guru Folding Team

    Messages:
    4,006
    Location:
    Sweden
    LOL :D

    Well you'll need the drivers for the NIC in DOS. Those will include commands to obtain the IP.
     
  8. Un4gIvEn1

    Un4gIvEn1 Moderator

    Messages:
    1,084
    OK... so the keyboard works if you boot to DOS, but not to Windows?

    What I would do if I were you would be to find out the computer name. View the leases on the DHCP server and find the computer name. There you go. There's your IP address. I am not sure if you will get the same IP address by booting to the network in DOS as you will in Windows. YES... you should because it is all done from MAC addresses, but I do not know...

    What exactly are you trying to accomplish? I might have some other ideas for you.

    Edit: You could also just ping the computer name from another PC on the network.
     
  9. TuMbRaS

    TuMbRaS Guest

    thanks for all the responses !!!
    yeah.. actually, we started off with not even knowing the name of the PC. it came to us from one of our remote users (laptop) without the ability to have any keyboard functionality while in a windows environment - but could gain access to the keyboard while in DOS. So, as one of you pointed out.. yes, the boot floppy for the NIC card.. 3COM556 (for dell C600 laptops) did have the drivers necessary. We were then subsequently able to retrieve ip addy information from the server i had connected to with the net use command - it actually worked out - FINALLY!!..

    thank you for all of your suggestions... :) more minds are better than one, thats for sure.!

    ~nick
    :)