Shop OBEX P1 Docs P2 Docs Learn Events
Can't find pink in IPsetup. anymore — Parallax Forums

Can't find pink in IPsetup. anymore

DgswanerDgswaner Posts: 795
edited 2007-06-12 04:13 in BASIC Stamp
I followed the instructions, found the PINK module in the ipsetup program set an ip of 192.168.15.255 and the network mask to 255.255.255.0 (same as my computer). I tried to browse to the default page but it can't find it. and the IPsetup program can no longer find the pink. I didn't set up the gateway or DNS was that my mistake.

I'm powering the pink module from a BS2 Super carrier board.
the power light is on and the it connects at 100 mbps, the transmit light blinks when it's first powered like it is communicating.
I've tried using the Null modem cable and plugging it directly into my computer.
I've used it through my Switch with the same result.
Windows firewall is off
when I ping 192.168.15.255 it responds.
I've tried browsing using IE and foxfire on 2 computers
I've used the ipsetup on 2 computers.

Is there a way to set it back to the default settings? am I missing something?

Thanks for the help

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster

Comments

  • Harrison.Harrison. Posts: 484
    edited 2007-06-08 05:29
    The IP 192.168.15.255 is a multicast address for the subnet 255.255.255.0. You cannot address a tcp device with a x.x.x.255 ip address when it is a multicast address for the subnet. The only valid ranges are x.x.x.1 - x.x.x.254 for a subnet of 255.255.255.0.

    The reason why pinging 192.168.15.255 works is because you are effectively issuing a broadcast icmp packet which causes all devices on the same subnet to respond. The ping window generally shows only one response per icmp sequence (doesn't matter how many computers responded), which is why you were led to believe that the ip addressing worked.

    ---
    Method 1: What you will need to do is try to setup a static arp table entry using the arp command. This 'may' allow you to reach the device using the multicast address. Using an arp table entry may or may not work depending on how the tcp/ip stack was written. If the stack checks for an ip match then it won't work. If it just checks for a MAC address match then it should work. (Most devices will check the MAC address first for fast filtering, then check the IP address for tcp filtering since tcp/ip does not use broadcasts since its a stateful protocol).

    Example for adding a static arp table entry (Windows, and possibly Unix variants):
    arp -s 192.168.15.255 00-aa-00-62-c6-09

    Replace 00-aa-00-62-c6-09 with your PINK module MAC address (it's on a label on the module). You may need to delete the entry after you are done (or restart), otherwise other multicasting applications may fail to work.
    ---

    Method 2 (Recommended, and more likely to work): The second method of accessing the misconfigured PINK is to reconfigure your computer's subnet. Set your subnet to something like 255.255.0.0, which will make the range x.x.0.1 - x.x.255.254 a valid ip range. This nicely includes your ip 192.168.15.255, which then allows you to access the PINK. Note that you should reset your old subnet back since incorrect subnet settings can cause routing issues (you not being able to reach computers/devices outside of your real subnet).

    Note for Parallax/Netburner: You may want to update the ipsetup tool so it alerts the user about incorrect ip address settings (such as a user using an ip address outside of the valid tcp ip addressing range for the subnet).
    ---

    EDIT: Added second, more likely to work method.

    Harrison

    Post Edited (Harrison.) : 6/8/2007 6:08:09 AM GMT
  • DgswanerDgswaner Posts: 795
    edited 2007-06-08 08:15
    thanks for the info but unfortunately I couldn't get it to work. I tried the steps you listed multiple time separate and at the same time . I even tried it while using the cross over cable. any other ideas?

    of all the possibilities to choose from I would choose the one that won't work. and I did it on my first try!

    I looked on the netburner site and that was of little help. there has to be some sort of way to default this thing back to no ip.

    thanks for trying though.

    Added:
    I may have been using the wrong MAC address. the only number I could see that was even close to a mac address was on a big sticker on the unit. I just noticed that on the package that it's the serial number. unless they are the same then I wasn't using the mac address nor do I know the mac address.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster

    Post Edited (Dgswaner) : 6/8/2007 8:30:51 AM GMT
  • RDL2004RDL2004 Posts: 2,554
    edited 2007-06-08 12:49
    The MAC address is on a sticker on the chip in the top left of the board. Six pairs of HEX digits (0 thru F)



    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Rick
    409 x 245 - 35K
  • DgswanerDgswaner Posts: 795
    edited 2007-06-08 13:26
    I did have the right MAC address.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
  • Harrison.Harrison. Posts: 484
    edited 2007-06-08 14:20
    Try method 2 again, but this time, use a crossover cable and set a static ip on your PC. Restart your PC before performing these steps so that your arp and routing tables get flushed.

    Set your PC's IP settings to:
    IP: 192.168.15.200
    Subnet: 255.255.0.0
    Gateway/DNS: 0.0.0.0

    Now try to ping 192.168.15.255. You should be able to get a ping response (this is to prove you have a valid ethernet link signal). Then go to your browser and try http://192.168.15.255 . You should be able to access it now since the ip should now be a valid ip in the specified subnet range.

    Harrison
  • DgswanerDgswaner Posts: 795
    edited 2007-06-08 15:37
    ok the pc was off, I connected the cross over cable, powered up the pink, then powered up the PC
    it said limited or no connection.
    I changed my ip address and subnet to what is listed above. it they said network connected.
    I tried to ping the pink and it didn't work.
    I did the arp command listed above and then tried to ping Pink didn;t work.
    I tried browsing and using the IPsetup tool. did not work.

    I am getting a different message, when browsing it says connection refused.

    Perhaps there is something else going on. Thanks for your time and effort.

    Kinda [noparse]:([/noparse] I wanted the weekend to play with this.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
  • DgswanerDgswaner Posts: 795
    edited 2007-06-08 17:35
    ok here is what I got from NetBurner Tech Support.

    We'll also need a terminal program
    Power cycle the unit with the serial cable attached.
    Type A to abort will appear if you are on the correct serial port.
    While booting the device is looking for an "A" on the serial input.
    Once it sees the A, it knows you don't want to jump into the application, instaed it halts the boot process and presents a menu of device setup options.
    Type "Help"
    Type "Setup"
    Type "1" and enter new address.
    Done
    After you exit...

    I didn't think it would be hard to connect a serial port but looking at the pin outs I can only match about 4 of the 9 pins. I know all might not be required but I don't know which ones are critical. her is what I came up with

    PINK serial
    1 ground serial port
    2 cts1 1 dcd
    3 tx1 3 2 RxD
    4 rx1 2 3 TxD
    5 rts1 7 4 DTR
    6 trs0 5 SG
    7 cts0 8 6 DSR
    8 tx0 7 RTS
    9 5v 8 CTS
    10 rx0 9 RI

    if anyone could help me on the pin outs for the serial connection i would appreciate it.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-06-08 22:30
    Here is the response I was going to post before…
    NetBurner said...
    The UART 0 RX/TX signals of the SB70 should be routed to through a line driver (such as a MAX232) with the jumper wires without the Stamp installed so the SB70 can talk directly to the PC via the serial port.· Then use a standard terminal PC application at 115200 to talk to the SB70.· At boot the SB70 will prompt the user to press 'A' to enter the monitor.· This must be done within 5 seconds or the monitor will boot the user application.· Once in the monitor type 'setup' to enter the settings menu.· From here you can change any of the network settings including IP.· Then type 's' to save the settings and everything should be back to normal.
    As for the pinouts of the connector, they are listed below...


    PIN  SIGNAL    PIN  SIGNAL
    1    GND       2    CTS1
    3    TX1       4    RX1
    5    RTS1      6    RTS0
    7    CTS0      8    TX0
    9    VCC 5V    10   RX0
    

    This is an alternate way to access the internal setup and make changes if you cannot see the module from the IPSETUP program.· I hope this helps.· Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support


    Post Edited (Chris Savage (Parallax)) : 6/8/2007 10:36:40 PM GMT
  • DgswanerDgswaner Posts: 795
    edited 2007-06-12 02:32
    I'm still having trouble with this unit. I bought a Null Modem Cable, attached it with a 10 pin - DB9 connector from a PC. and I followed these steps.

    1. Connect the hardware in one of the above configurations
    2. Open a command prompt window (DOS) on the Host Computer.
    3. Verify everything is connected correctly by typing the command "ping 10.1.1.2" and pressing the
    “Enter” key. You should see a valid ping response.
    4. Run Telnet by typing: "telnet 10.1.1.2 9221" and pressing then “Enter” key. This assumes a
    default port number of 9221. Note: You can replace this default port number with the port number
    you assigned during configuration.
    5. Run Hyper Terminal or MTTTY. Set the baud rate to the value you assigned the SB70 during
    configuration. The default baud rate is 115,200.
    6. At this point anything you type in Telnet should appear in the serial terminal window and vice
    versa.

    everything works perfect up to step 4 I get a "Could not open connection to the host" error.

    on step 5 if I connect to the com port nothing happens except I get a "
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-06-12 04:13
    Hopefully you left out the part about the line driver…If you connected the DB-9 directly you probably damaged the UART on the Netburner module.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.