• Please review our updated Terms and Rules here

Help with installing Contiki with C64NIC+

Ragooman

Experienced Member
Joined
Apr 27, 2005
Messages
162
Location
Pittsburgh,PA
Hi,

I also have the C64NIC+. And I'm using an original C64 with 1541 floppy drive. I'm trying to get the WWW browser in Contiki to get online. It starts up with the website already in there, http://contiki.c64.org/
But it keeps getting 'host not found'.

I ran the NIC-Test utility to run the Loopback test on the CS8000 chip and it works fine. This test doesn't require a Lan cable. The test runs a loopback test thru the network chip only. I found this test here
http://retrohackers.com/viewtopic.php?f=10&t=435

When I connect the Lan cable to my router here at home, the green Link led is lit and the red Activity led blinks on the C64NIC+. Also, I can see the Link light is lit on my Verizon FiOS router for that channel. I know the Lan cable is good because I share it with my 2nd PC here to go online. I downloaded the *.d64 image for C64 contiki from this website
http://www.c4expo.org/1498/

Then I read about this website--> http://cbm8bit.com/contiki/
This has some kind of config screen to let you customize the image. I realize I need to select C64 for my computer and I have to select the Ethernet card supporting RR-Net. But do I need to enter any of the IP Addr's in there, as I see it doesn't detect my system automatically.

This is what I get on when i visit that webpage

IP Address: 192.168. 0.111
Subnet Mask: 255.255.255. 0
Default Gateway: 192.168. 0. 1
DNS Server: 192.168. 0. 1

Now, on my home Lan, and my PC addr is 192.168.1.3, the network router is at 192.168.1.1, so shouldn't I enter the same IP Addr for the Router in the box for 'Default Gateway' and 'DNS Server' ?
So then, it should look like this.

IP Address: 192.168. 1.111
Subnet Mask: 255.255.255. 0
Default Gateway: 192.168. 1. 1
DNS Server: 192.168. 1. 1

Then it shows that there's 2 disk images to download, versus only the one disk image from the link above.

an I safely assume this is the latest version by going to the cbm8bit.com website instead ?

Do I need two drives then, since there's 2 disk images, or is this just extra software which I can swap out with just one 1541 drive ?

BTW,
The switches on this weren't very clear. I didn't receive any paperwork with instructions. So I had to google this info. I found that the Top of the card that they mention is the goldfinger edge.

So my toggle switches are currently set this way - looking at it while sitting in front of the C64 keyboard (slash indicates direction of toggle switch) . I would use the term front/back - unless someone is using a cartridge expander--but then it seems top/bottom description they use is reversed still.

/ S1 = RR-NET
\ S2 EPROM NOT selected
\ S3 = C64 EPROM usage
/ S4 register space = IO1
 
ok, so far, from experimenting with this with little documentation.

I noticed that I have to run the 'DHCP' tool *first* on *each* disk which contains the Contiki App's.
When you run the DHCP tool, you need to press on the top button, 'Request IP Addr' in order for your Router to assign an IP addr for you C64NIC+ card. The IP Addr settings which is currently in the first box of the tool are *invalid* -- even though you card has been detected and the router has been detected.

Once you save the settings then, you can proceed to run any of the Contiki Apps

So far I can get the IRC app to work without a hitch
The WebBrowser seems to work, I'm using the URL http://contiki.c64.org/ which was used in the older version of Contiki. I can connect with the website.
This then redirects to http://www.sics.se/contiki/ but still no page is loaded, and eventually I get a "Coinnectin Time Out" error in the status line at the bottom.

Is there a better website to point at using this WebBrowsere ???

I also tried the Twiter App, BreadBox64.
Once I enter my login, it shows that I'm connected.
But I never see any posts from the people I'm following, as you see on there video.
Then I post a Tweet and it seems to accept it by watching the status message at the top-right of screen.
But I never seen it displayed in the window, as I noticed in their video.

And in the pic below, this is the switch settings I eventually determined after am extensive google search.
I found some very important info at this post on another forum. Mainly, the silkscreen on the card is misleading, it's actually the reverse.
http://www.retrohackers.com/viewtopic.php?f=5&t=524&p=3915&hilit=C64NIC+switch#p3915


Question:
Any Ping tools or other Network tools for the C64NIC+ card, such as those on NetBoot65 eprom available in a *.d64 image ?


Here's my switch settings. As far I know know, this is supposed to work - if anyone knows something, please reply.
2.jpg
 
I can now get the WebBrowser to work on both version 2.4 and the last version.

The website addr they were using in the last version to demo the browesr doesn't seem to work any longer. I kept getting a 'TimeOut' error. So I used that website with the C64 webserver, www.c64web.com . That loaded perfectly into the browser.

I noticed one thing when I tried it with the last version, found on this website http://www.c4expo.org/1498/ that I had to run the one tool inlcudedf in the *.d64 image called 'SetMAC' and also put the new IP addr into the Config window -- which I setup on version 2.4 using the DHCP tool. So this made the last version of Contiki work perfectly too. This tool isn't included with version 2.4

I just heard from the guy who wrote the Twitter App. I didn't realize it the whole wknd, but the Twitter Oauth security affected his App too. And I'm here trying to troubleshoot the network when it works fine with the WebBrowser. I knew it would affect our cellphones, but it was way past midnight the other day and things started to blur :) So now we have to wait for him to update this.

I believe you have to run the SetMAC tool for each C64NIC+ card that you install [?] so that there's no conflicts on the Lan. I do remember something from my TCPIP class :)

I just like the Desktop GUI so much more. I use that WebBrowser on there more now. It looks so much better than looking at the dreary C64 blue contrastless screen. Give me GUI anyday :)

This has been a good refresher on TCPIP. I'm a hardware guy, so I like to fiddle with all the bits, but I also like to program. I like to take a stab someday at programming a Contiki App using TCPIP
 
Last edited:
Back
Top