USB based utility to set static IP address

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KenB
    Geek Extraordinaire

    2,500+ Posts
    • Dec 2007
    • 3944

    #16
    Hi, Blackcat,

    Yer almost there

    Now that you have the printer's IP,

    Arp -a <ip address> will show you the mac address of the printer.

    Example: arp -a 192.168.1.150
    “I think you should treat good friends like a fine wine. That’s why I keep mine locked up in the basement.” - Tim Hawkins

    Comment

    • blackcat4866
      Master Of The Obvious

      Site Contributor
      10,000+ Posts
      • Jul 2007
      • 22995

      #17
      I'm not feeling so brilliant just now.

      My victim today was a CS-2560 connected via crossover cable, with the laptop set to a similar IP range.

      Experiment #1: With Wireshark running I sent out the arp -s command as specified: JSmith>arp -s 192.168.0.20 00-C0-EE-1C-EF-9D then Enter.
      Nothing shows on Wireshark. After 2 minutes I powered the printer Off/On. Wireshark picked up the old IP address. I tried this with DHCP/BOOTP (they enable both with the same switch) both Off and On. No luck.

      Experiment #2: With Wireshark running, I fired up BootP Lite, filled in the lines as specified (the MAC address only works with colons), then OK. Wireshark picked up an ARP request from my PC "What is 192.168.0.1?" (which is the gateway) three times then nothing else. Next I powered the printer Off/On. The printers IP address did not change. I tried this with DHCP/BOOTP both Off and On. Again Wireshark picked up only the old address.

      Experiment #3: With Wireshark running I sent out the arp -a command as specified: JSmith>arp -a 192.168.0.10 then Enter.
      Nothing shows on Wireshark. Command prompt shows "No ARP found."

      These commands/utilities sound so simple. How could I be screwing this up? =^..^=
      If you'd like a serious answer to your request:
      1) demonstrate that you've read the manual
      2) demonstrate that you made some attempt to fix it.
      3) if you're going to ask about jams include the jam code.
      4) if you're going to ask about an error code include the error code.
      5) You are the person onsite. Only you can make observations.

      blackcat: Master Of The Obvious =^..^=

      Comment

      • D_L_P
        Self Employed

        1,000+ Posts
        • Oct 2009
        • 1196

        #18
        When you did experiment #1 did you try the ip in internet explorer?
        With the ARP command, you are just adding an entry in your local computer not really changing anything on the printer. After you add the entry to the ARP table you should be able to bring up the web interface with IE or Firefox.
        ARP table is very similar to editing the hosts file. You sort of trick your computer to seeing that MAC address as the IP you gave it, not the one setup in the printer itself.



        On a side note, just in case anyone is curious, you can block websites by editing the C:\windows\system32\drivers\etc\hosts. Add an entry such as, "127.0.0.1 www.trojans4you.com" to block that site. Sorry, if you already knew this.

        Comment

        • blackcat4866
          Master Of The Obvious

          Site Contributor
          10,000+ Posts
          • Jul 2007
          • 22995

          #19
          Thanks DLP. I'm beginning to understand.

          Does anyone have a good written explanation of the typical command prompts? I'll see what Google finds... =^..^=
          If you'd like a serious answer to your request:
          1) demonstrate that you've read the manual
          2) demonstrate that you made some attempt to fix it.
          3) if you're going to ask about jams include the jam code.
          4) if you're going to ask about an error code include the error code.
          5) You are the person onsite. Only you can make observations.

          blackcat: Master Of The Obvious =^..^=

          Comment

          • blackcat4866
            Master Of The Obvious

            Site Contributor
            10,000+ Posts
            • Jul 2007
            • 22995

            #20
            I had the perfect opportunity to try out my new toys.

            Samsung CLP-600N with a yellow toner empty LED. Won't print so I can't get the IP from the config page. I fired up Wireshark then the printer. Wireshark identified 192.0.0.192 (typical Samsung default IP). With the laptop set to the appropriate IP range, I could access the web interface via IE. From here I can access or change anything I need to.

            But I still can't print without toner. That's probably why the printer is in here.

            By the way, I found a website with a great beginners guide to command line. See: Beginners Guides: WindowsXP Command Prompt - PCSTATS.com
            If you'd like a serious answer to your request:
            1) demonstrate that you've read the manual
            2) demonstrate that you made some attempt to fix it.
            3) if you're going to ask about jams include the jam code.
            4) if you're going to ask about an error code include the error code.
            5) You are the person onsite. Only you can make observations.

            blackcat: Master Of The Obvious =^..^=

            Comment

            • blackcat4866
              Master Of The Obvious

              Site Contributor
              10,000+ Posts
              • Jul 2007
              • 22995

              #21
              If anyone is still interested, I finally found what I was looking for. It's called SetIP (ver 1.03.24), and I found it buried on a manufacturer's driver disk.

              download centre SAMSUNG

              It definitely works on Samsung products, I haven't tried it yet on other manufacturers. It checks all ports, USB and TCP/IP.

              Hans, it looks a lot like your BootP Lite utility, possibly dressed up with different art. I wonder if the utility could be designed to look for a specific range of MAC addresses or ignore other MAC addresses outside the range, to make the utility manufacturer specific? The first 6 characters of the MAC address identify the manufacturer. If it's not encrypted, this is a great opportunity to open the executable in TextPad and identify the differences. It's probably encrypted. =^..^=
              If you'd like a serious answer to your request:
              1) demonstrate that you've read the manual
              2) demonstrate that you made some attempt to fix it.
              3) if you're going to ask about jams include the jam code.
              4) if you're going to ask about an error code include the error code.
              5) You are the person onsite. Only you can make observations.

              blackcat: Master Of The Obvious =^..^=

              Comment

              • Vulkor
                Senior Tech

                500+ Posts
                • Jun 2009
                • 946

                #22
                Interesting Find. Not sure when I would need this, but if you try it on something non samsung let us now. FYI some Ricoh Printers are Samsung lol

                Comment

                Working...