Shop OBEX P1 Docs P2 Docs Learn Events
How to hook up PINK? — Parallax Forums

How to hook up PINK?

bulkheadbulkhead Posts: 405
edited 2007-10-24 10:46 in General Discussion
How exactly do I connect and configure the PINK? Is the cat5 cable supposed to connect directly to an internet connection, or to a computer? I do not have a router, just an ethernet connection. Also, if it is to connect directly to the internet, how does one use the software on a computer to configure the PINK module? Finally, when should the cross over vs straight through cable be used? I'm new to this whole networking thing. Thanks.

[noparse][[/noparse]EDIT 10/20/2007] I read the updated documentation for the PINK and it's all clear to me now.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I'm new to the propeller!

Post Edited (bulkhead) : 10/21/2007 6:14:04 AM GMT

Comments

  • DgswanerDgswaner Posts: 795
    edited 2007-10-20 07:19
    If you want the Pink to be accessible to the world you'll need to connect it directly to the internet. you connect to the pink though a web page, or via the IPtools to change/view settings. the physical connection is made with the cat5 cable. the only time you use a cross over cable is when your connecting the Pink directly to the network card in your computer. other wise always use the Blue cable.

    You said you have an either net connection, I'm guessing you have DSL or a Cable modem if you don't have a router, you'll need to get a router if you want both on the inter net at the same time..... well that's the easiest way to do it anyway. however when you get a router it won't simple be plug it in and it's all good, you need to configure your router to direct traffic to your PINK. good luck I hope I answered all your questions.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
  • bulkheadbulkhead Posts: 405
    edited 2007-10-20 10:01
    I'm not sure about my internet connection exactly (just that it works when I connect my computer), but sharing won't be a problem since I already have wifi. I just hope I can get traffic to go to my PINK.

    As for the software to change the settings, does that require that the computer running that software be hooked up via the cross over cable to the PINK? Or does it connect through the internet?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I'm new to the propeller!
  • RDL2004RDL2004 Posts: 2,554
    edited 2007-10-20 11:46
    Are you at a school or college where your only connection is by wifi? I don't think the PINK can do wifi, it needs to be plugged directly into the network. Maybe there is some way using connection sharing in Windows.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Rick
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2007-10-20 13:25
    The PINK documentation attempts to warn users that you really have to learn about the internet to make it work. I just printed out a copy as I am currently installing a router/gateway and may try one soon.

    If the PINK is connected directly to your computer, it is a peer-to-peer LAN connection. If the PINK is connected to the ADSL modem, it is a WAN webserve which requires a different kind of configuration to sign on in PPPoE or some other protocol. In either event, you computer seems to be shut out from the internet.

    If you have an ADSL modem for hardware and PPPoE for connection software, you are likely to need a broadband router/gateway to share between the ADSL modem with the computer.

    Otherwise, you would just bring in and pay for a second ADSL moden and service just for the PINK. Of course, you can switch back and forth, but that will get old very quickly.

    I purcashed a D-Link router that has one WAN port, four LAN ports, and a USB for shared printer. I can plug the computer into one LAN port 24/7 and the PINk could eventually go into another. That leaves two LAN ports for other computers or Ethernet stuff - maybe a LINUX server.

    This all opens a huge learning curve. The router/gateway is intelligent and must be programed. But it is cheaper that the monthly bill for a second line, allows the PINK to be on-line 24/7 while the computer is completely off, and allows me to have both local and remote access to the PINK.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "Everything in the world is purchased by labour; and our passions are the only causes of labor." -- David·Hume (1711-76)········
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • DgswanerDgswaner Posts: 795
    edited 2007-10-20 15:58
    I'm not expert but I've configured several routers, and firewalls I should be able to step you through the set up. once you do it the first time, and get the concept it's pretty ease to make changes, or do it again.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2007-10-20 19:48
    Without first installing a router, it looks as though you have to either have a second Ethernet card in the computer or you can only use the PINK isolated from the outside world - not concurrent internet access. How else would you manage to get online to configure it?

    I am not sure that two Ethernet cards would be an easy installation in WindowsXP. Some one else might be able to comment.

    By the way, I have been trying to install my router for nearly six months. I now can get the LAN up and the WAN up, but WindowsXP refuses to allow me internet. All the lights are blinking and operating correctly.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "Everything in the world is purchased by labour; and our passions are the only causes of labor." -- David·Hume (1711-76)········
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • bulkheadbulkhead Posts: 405
    edited 2007-10-20 20:48
    Sorry if I wasn't clear. I have an ethernet jack in the wall which allows me to connect to the internet, as well as a wifi connection. I plan to (hopefully) use the wall jack for the PINK and continue to use wifi for my computer.

    I realized that the PINK requires somewhat extensive knowledge about networking, but I figured that the best way to learn would be just to jump into it.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I'm new to the propeller!
  • DgswanerDgswaner Posts: 795
    edited 2007-10-21 01:42
    if you can access the web with the wireless connection then yes you should be able to connect your pink to the either net connection. however that kinda tells me that you have some sort of router, if your in a dorm/apartment and don't have access to the router it may be impossible get your PINK on the Web that's what I would check into first.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
  • bulkheadbulkhead Posts: 405
    edited 2007-10-21 05:59
    [noparse][[/noparse]EDIT] I read the updated docs on the website which are much more clear. I connected my computer and the PINK to the same wired network and I was able to see the webpage. When I had the PINK on the wired and my computer on the wireless network, it did not work. I guess the next step is to get it visible from the internet. [noparse][[/noparse]end EDIT]

    I guess I will just try it to see if it works.

    Right now I have the PINK module being powered from a BOE. It lights up. I am trying to configure it using IPSetup. Am I supposed to use the crossover cable? Or are both the computer and PINK supposed to be connected to the internet?

    If I go to the http://[noparse][[/noparse]IP address}.nb_factory.htm am I supposed to see something? Or does this only work after configuring it with IPSetup?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I'm new to the propeller!

    Post Edited (bulkhead) : 10/21/2007 6:13:21 AM GMT
  • DgswanerDgswaner Posts: 795
    edited 2007-10-21 06:31
    your network setup is still a little confusing so any in site there would be good. you should not be using the cross over cable in the situation you mentioned. the easiest way to browse the PINK is to run the IPsetup program. if you can see the pink in the IPsetup just hit the browse button. it will take you automatically to the nb_factory page. if you can't see it there that's what you need to work on first.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
  • bulkheadbulkhead Posts: 405
    edited 2007-10-21 06:47
    I live in a dorm where I have ethernet jacks as well as wifi. I normally use wifi on my computer. When I had my computer on wifi and the PINK connected to the ethernet jack, the IPSetup would not find the PINK. However, when I put my computer onto the ethernet connection with the PINK, it worked and I was able to set it up. Now the PINK is connected th the ethernet jack and displaying the default webpage. I have verified that I can see this web page by going to the PINK's IP from both my computer (with wifi OR wired internet connection) and at least one other computer on the internet somewhere completely distant. The next step will be to hook up a propeller!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    I'm new to the propeller!
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2007-10-21 07:33
    Most personally computer networks at dynamic addressing these days. That is pretty much a user friendly, plug and go arangement. It also serves as a firewall that reassigns your identity each time·you power up and log on. It is a security arrangement.

    But for the PINK to be found from the web, a static IP addressing scheme might be necessary and if you don't have control of reconfiguration of the router, you may not be able to locate the PINK from the outside world.

    There are ways around this, but PINK may not support such features. They were developed for larger computers with lots of memory to process the routing in the background. They use servers that link to you through your DNS, DDNS, and through your MAC identify number. The PINK would have to automatically notify and update the servers of every change, usuallly a reboot script.

    In sum, if you can use static IP addressing, that is your LAN and internet identity and doesn't change. Still the router's gateway and firewall may not provide access to the outside world, only to others on the LAN [noparse][[/noparse]in your dorm]. Even if you can get out to the·web, if you use dynamic without the various identity server support, you may have to email others a new address everytime you reboot the PINK.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "Everything in the world is purchased by labour; and our passions are the only causes of labor." -- David·Hume (1711-76)········
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan

    Post Edited (Kramer) : 10/21/2007 7:40:21 AM GMT
  • RDL2004RDL2004 Posts: 2,554
    edited 2007-10-21 12:02
    Just some info that might help,

    winipcfg

    I'm on Comcast which uses dhcp, but I've had the same ip address for over 6 months, even with 2 router restarts (ymmv).

    The (red) crossover cable should let you access and set-up the PINK using a direct connection to your PC. That's the only time you'd use that cable.

    The PINK/NetBurner alone requires about 250 mA just idling, if there is any additional circuitry the regulator on the BoE may get hot. You might want to use a separate power supply for continuous use. If you use a Stamp with the PINK they will need a common ground (the V+/Vdd can be different).

    The J8 connector on the PINK is an additional power supply connection:

    (+) +5 Volts
    (-) GND
    (+) +5 Volts


    Personally, I'd spring for a router/switch of some kind and plug it into the wall jack. Connect the PINK to the router/switch and you should be good to go. I use a Linksys WRT64G that I got at Wal-Mart for about $50.

    You will have to set up the router/switch to allow http requests in to the PINK

    On at the moment but absolutely not guaranteed to be there after this morning:

    75.65.162.169

    attachment.php?attachmentid=49996

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Rick
    752 x 500 - 265K
  • CapdiamontCapdiamont Posts: 218
    edited 2007-10-21 20:47
    Still working good, as of 1:48 pm CA time. Good job!
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2007-10-22 10:35
    I'm still trying to sort out 'port forward' on my broadband router, but two web sites are quite helpful.

    www.pcnineoneone.com will walk you through all the different options. But because of the firewall, they recommend the broadband gateway/router - such as my UI-604 D-Link. It was only $40 USD.

    The other site provides a·overall good text [noparse][[/noparse]30 chapters] which explains where whatall is going and much of the history of the terminology.

    http://uic.rsu.ru/do/inet/tcp_stevens/

    How it got to a Russian website, I do not know. But obviously if it is that well esteemed in Russia, it is somewhat of a classic reference.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "Everything in the world is purchased by labour; and our passions are the only causes of labor." -- David·Hume (1711-76)········
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan

    Post Edited (Kramer) : 10/22/2007 10:40:19 AM GMT
  • Harrison.Harrison. Posts: 484
    edited 2007-10-22 17:48
    Portforward.com has a huge number of guides that show you how to port forward and setup your network equipment / software.

    www.portforward.com/english/routers/port_forwarding/routerindex.htm
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2007-10-23 17:13
    Thanks.
    Portforward.com is quite good and very helpful if you have something like Skpe to hook up. And, I do have Skpe. They list the proceedure for exactly the router you own.

    So, it is finally working and I am posting through the router right now. D-Link seems to ignore the obvious and omits providing a clear standard proceedure to get the Virtual Server [noparse][[/noparse]their term for basic Port Forwarding services, the TCP/IP suite] running. I did an enormous amount to reading to get clairity on the actual bundle of services that we all usually use in the background. Portforwarding.com may not help you with clearly understanding that. The text by Stevens covers it all in the first few chapters and beyond.

    After a lot of trial and error, I figured it out. I even talked with a friend in the U.K. on Skpe for an hour or so.

    I would like to say that it is also quite handy to revert IE to the original defaults and then install automatically. I wasted a lot of time poking around in various menus but not getting the settings quite right.

    Nonetheless, I finally feel like I have some roadmap of the internet services in mind.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    PLEASE CONSIDER the following:

    Do you want a quickly operational black box solution or the knowledge included therein?······
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
  • DgswanerDgswaner Posts: 795
    edited 2007-10-23 21:00
    I have qwest DSL a wireless router, and then a Vonage router behind that. talk about a pain. I had to tell my wireless router to act only as a access point because I wasn't able to do any port forwarding through the wireless router. and I can't connect anything to the vonage router, not that I need to. the joys of networking!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    A complex design is the sign of an inferior designer. - Jamie Hyneman, Myth Buster
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2007-10-24 10:46
    Permutations, combinations, and more permutations.

    Wireless may be blocked by the wrong software support in WindowsXP in addition to the router conflicts.

    I didn't need it right away, so it took 6 months or so to install this D-Link router. Try the link I posted above to the Steven's text [noparse][[/noparse]in Russia?]. Just settle into an armchair and read. I suspect it will make one an expert through IPv4. But now we have IPv6 coming.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    PLEASE CONSIDER the following:

    Do you want a quickly operational black box solution or the knowledge included therein?······
    ···················· Tropically,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
Sign In or Register to comment.