Shop OBEX P1 Docs P2 Docs Learn Events
It's Alive!!...or should I say...It's Online!! - Page 2 — Parallax Forums

It's Alive!!...or should I say...It's Online!!

2»

Comments

  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2010-11-24 11:05
    Bean's right, but I still can't access your page.

    Are you on cable or DSL? Sometimes cable blocks standard ports (80,etc)
    and you'll need to adjust the ports in both the forwarding table in the router
    and in the spin code. Many times ports like 8080 are a good substitute when port 80 is blocked by your provider.

    OBC
  • Duane DegnDuane Degn Posts: 10,588
    edited 2010-11-24 11:09
    Thank you Bean. I just changed my setting to:
    SetMAC($00, $08, $DC, $16, $EF, $08) ' !!! CHANGE TO MATCH YOUR NETWORK !!!
      SetGateway(192, 168, 10, 1)           ' !!! CHANGE TO MATCH YOUR NETWORK !!!
      SetSubnet(255, 255, 255, 0)          ' !!! CHANGE TO MATCH YOUR NETWORK !!!
      SetIP(192, 168, 10, 20)              ' !!! CHANGE TO MATCH YOUR NETWORK !!!
    

    http://71.221.138.84

    Third times the charm? Anyone see it? I just saw my LED blinking. Who was that?

    Duane
  • BeanBean Posts: 8,129
    edited 2010-11-24 11:12
    The settings look good to me...

    I can ping your router, but I cannot get the spinneret page to come up.

    Probably port 80 is blocked. You could try another port. You would need to change it in the spinneret code AND in the router's port forwarding.

    Sometimes 8080 is blocked too. I think port 32 okay.

    Bean
  • Duane DegnDuane Degn Posts: 10,588
    edited 2010-11-24 14:15
    I've got to be done trying this for a while. I have a couple more questions before I get back to work (on my day job).

    I'm pretty sure where I need to change the port settings on the router but how about in the Spin code? There are two variables localSocket and destSocket. Each are set to 80. Do I change both or just one?

    Looking around on my router and on my DSL modem I find all kinds of IP addresses. I'm also including some of the other information in case it's pertainent. I'm hoping someone here can skim through and tell me which of these many numbers I need to get the Spinneret up and running.

    From Router:
    Router Status > Internet Port > IP Address = 192.168.1.2
    Router Status > Internet Port > DHCP = DHCP Client
    Router Status > Internet Port > IP Subnet Mask = 225.255.255.252
    Router Status > LAN Port > IP Address = 192.168.10.1*
    Router Status > LAN Port > DHCP = On
    Router Status > Lan Port > IP Subnet Mask = 225.255.255.0**

    From Modem:
    PPP > VPI/VCI: 0/32
    PPP > Internet IP Address: 71.221.138.84
    PPP > Encapsulations: PPPOE LLC
    LAN > IP Address: 192.168.1.1
    LAN > Subnet Mask: 225.255.255.252
    DHCP Table > Host IP: 192.168.1.2

    In the Port Forwarding menu of the router I have:
    Service Name: Spinneret
    Start Port: 8080 (I've also tried 80 and 32)
    End Port: 8080 (I've always had this match the Start Port)
    Server IP Address: 192.168.10.20***
    I also have an option of setting the service type.
    TCP/UDP
    TCP**** (This what HTTP service uses)
    UDP

    The Spinneret connects to the router which is connected to the modem. The modem connects to the DSL/phone (through a filter). I also have my computer connected to the router. All these connections use Cat 5 cable.

    * Presently used for SetGateway.
    ** Presently used for SetSubnet.
    *** Presently used for SetIP.
    **** Presetly used in Port Forwarding

    I'm hoping to know if I'm using the correct values for the above four settings. I'd also like to know which variables to change in the Spin code when changing.

    I've changed the Spin code to display spanish words. I've been trying to see my own Spinneret page by using Google Translate. I've been entering: http://www.google.com/translate?langpair=es|en&u=71.221.138.84
    in my address bar. Do you think this would work for viewing my own IP using Google as a proxy? (Google would let you do an English to English translation anymore.)

    Thanks again for all the help you have given me. This just looks too fun to pass up.

    I don't have my Spinneret turn on right now. I'll wait until I have more information (and get some work done) before I try again.

    Duane

    Sorry for hijacking this thread. I was hoping this would be just a quick test.
  • BeanBean Posts: 8,129
    edited 2010-11-24 16:03
    Duane, it looks like your modem is also acting as a router.
    Can you plug the spinneret into the modem?
    You may need to setupport forwarding on the modem too.

    Bean
  • fsbfsb Posts: 24
    edited 2010-11-30 11:18
    This works great.


    Can any of the headers on the auxiliary daughter board header (j1) be used to light additional LEDs in addition to the user led on Pin 23?

    fsb
  • $WMc%$WMc% Posts: 1,884
    edited 2010-12-07 17:22
    Hello All:
    '
    I'm tring to figure out a way to see my Spinneret from the out side. (out side of my LAN). The only other internet option I have is with my cell phone.
    '
    I get " access denied " when I try to access my DSL IP address.
    '
    If any one has a minute could they try my Spinneret?
    '
    ---.---.---.--- the Spinneret is 10.0.0.21
    '
    Thanks
  • Mike GMike G Posts: 2,702
    edited 2010-12-07 17:36
    You have to setup port forwarding to hit your internal network from the outside. Check your router documentation. Basically, you tell the router anything that comes in on port xxxx goes to this internal ip address, 10.0.0.21. Use a port other than 80, like 5000. To hit the spinneret, you would request 96.243.140.133:5000. That is, if the IP address assigned by your ISP is 96.243.140.133. BYW, most ISPs block port 80.

    There's no way for anyone to hit 96.243.140.133 then 10.0.0.21 but we could hit something like 96.243.140.133:5000.

    96.243.140.133 takes us up to the fringe of your internal network. You router says hey port 5000, I know that guy, it's 10.0.0.21:xxxx. Where xxxx is the port you assigned to your Spinneret in spin and port forward in your router settings.
  • $WMc%$WMc% Posts: 1,884
    edited 2010-12-07 18:29
    Mike G wrote: »
    You have to setup port forwarding to hit your internal network from the outside. Check your router documentation. Basically, you tell the router anything that comes in on port xxxx goes to this internal ip address, 10.0.0.21. Use a port other than 80, like 5000. To hit the spinneret, you would request 96.243.140.133:5000. That is, if the IP address assigned by your ISP is 96.243.140.133. BYW, most ISPs block port 80.

    There's no way for anyone to hit 96.243.140.133 then 10.0.0.21 but we could hit something like 96.243.140.133:5000.

    96.243.140.133 takes us up to the fringe of your internal network. You router says hey port 5000, I know that guy, it's 10.0.0.21:xxxx. Where xxxx is the port you assigned to your Spinneret in spin.
    '
    Thanks for the Reply Mike G
    '
    I'm getting prompted for a password now from the DSL modem. I don't recognize the password screen.Seems like some kind of verizon in house screen.Something like a service guy would use?
    '
    If it ain't one thing its another.Let me get this figured out first.
    '
    I shall return.
    '
    Seems I've locked myself out of my own modem pushing port 80 whoops!
    '
    I'll fix it and try again tomorrow.
    '
    OK got every thing restored,ready for another try!
Sign In or Register to comment.