[BE network picture] The RTL8012 Project

Last update : 11 Feb 2001 / 19.08 CET

Index

   

[BE users picture] Situation

  Thanks to Vassilis Papathanassiou and Elmar Hilgart a dream came true.
Mid 1999 Vassilis finished his STinG driver for RTL 8012 ethernet controllers. He also made a plan for a PCB available so it was possible to make your own ROM port device. My first attempt didn't succeed, due to uncareful soldering.
Meanwhile Elmar developped a variant on the PCB and send me one. After some hardware debugging, we finally got it to work on the Falcon.
Apparently all problems are not yet resolved. Falcons equiped with an accelerator can't work with the device, a new device is being developped and will be tested very soon.

[device picture] Environment

  This chapter describes the several environmental parameters that were used.

A description of the hardware used in my test environment :

  • Atari Falcon030 - 14 Meg RAM - 2,2 Gig HD
    • OS : Magic 5
    • STinG 1.20
    • Ethernet driver v 01.02
    • B-Net v 2.06
    • Genius LAN 3000 (Parallel Ethernet Adapter)
    • ROM port device
  • Atari Mega ST 4 - 4 Meg RAM - 30 Meg HD
    • OS : Magic 5
    • STinG 1.20
    • Ethernet driver v 01.02
    • B-Net v 2.06
    • Riebl Card - Mega Bus
  • Pentium 200 PC - 32 Meg RAM - 2,2 Gig HD
    • OS : Win 95
    • Microsoft TCP-IP Stack
    • D-Link DE-528 CT Ethernet Card
  • Pentium 133 PC - 64 Meg RAM - 1,1 Gig HD
    • OS : Win NT 4
    • Microsoft TCP-IP Stack
    • Novell NE-2000 Ethernet Card

Addressing :

  • The network number : 10.3.56.0
    This means all IP addresses of the computers that belong to this network always start with 10.3.56. When choosing a range of IP addresses be careful and make sure you don't interfere with addresses used on the internet if your local network is hooked up to the internet without address translation or masquerade.
    More info about IPv4 Addresses, IPv4 Netmasks and Special IPv4 Addresses.
  • Netmask : 255.255.255.0
    Although this is a Class A IP address, I preferred to make a range with 3 figures determining the network and subnetworks and 1 figure to distinguish the 254 computers.
  • IP address Falcon 030 : 10.3.56.1
  • IP address Mega ST 4 : 10.3.56.2
  • IP address Pentium 133 PC : 10.3.56.13
  • IP address Pentium 200 PC : 10.3.56.135

The complete setup looks like this :

[the network setup]
   Remark 1 : The 2nd ethernetcard for a connection with a cable modem is installed at this moment. Everything works fine and all computers can access the net.
Remark 2 : The setup of the Win 95 PC will not be discussed.
Remark 3 :If anyone also would make a setup like this, in my opinion, it will be much better and safer to use a Linux PC as router/gateway. A lot of professional knowledge and help is available on the net.
  

[modem + globe picture] STinG

  This chapter talks about the set-up of STinG. The installation of STinG will be explained here, therefor I refer to Ronald Andersson's STinG page or the STING.HYP help-files.

!! Remark : Remind the start-up position of STinG in the auto-folder : LAST !!

It is advisable that you use STinG v 1.20 or higher if you also want to take advantage of the AMD Lance based ethernet adaptors.
Three aspects will be covered :
  1. General set-up
  2. Set-up on Falcon030
  3. Set-up on Mega ST 4

1. General Set-up

First of all, before powering up the computer connect your ROM port device and parallel ethernet adapter to the computer. Connect the power to the adapter.
Now you may boot your computer, but remember, never ever remove them when your computer is powered up.
Replace the standard STinG ethernet driver file <[HOME-STING]\STING\ETHER.STX> with the driver for the RTL 8012 <ETHER_PA.STX>. Now reboot your computer.
The file <[HOME-STING]\STING\ROUTE.TAB> must be adapted like this :

#
#  This is the routing table, to be used by the router to route IP datagrams
#
# 192.68.0.0        255.255.255.240     Modem 1       192.68.0.1
# 130.75.75.0       255.255.255.128     Ser.2/LAN     0.0.0.0
# 0.0.0.0           0.0.0.0             Ser.2/LAN     130.75.75.16

10.3.56.0           255.255.255.0       EtherNet      0.0.0.0
0.0.0.0             0.0.0.0             EtherNet      10.3.56.135 

2. Set-up on Falcon 030

Select the STinG Control Panel CPX.
In this CPX Window select in the 2nd drop-down menu "Ethernet".

Select in the 1st drop-down menu "General".

  • Select your Hardware : in this case RTL 8012.
  • Enter a MAC-address for the ethernet hardware. You can use the same as me, simply remember this : on a network each network hardware device must have a different MAC address.

[Control Panel]



Select in the 1st drop-down menu "Addressing".
  • Fill in the IP address you chose for this computer.
  • Fill in the netmask you chose for network.
  • Be sure the MTU is 1500.

[Control Panel]

Activate the adapter by clicking on the checkbox.
If all goes well, you won't see a warning and the checkbox stays checked.
Save the settings.

2. Set-up on Mega ST 4

Select the STinG Control Panel CPX.
In this CPX Window select in the 2nd drop-down menu "Ethernet".

Select in the 1st drop-down menu "General".

  • Select your Hardware : in this case Riebl Mega.
  • No MAC-address for the Riebl Card is required.

[Control Panel]



Select in the 1st drop-down menu "Addressing".
  • Fill in the IP address you chose for this computer.
  • Fill in the netmask you chose for network.
  • Be sure the MTU is 1500.

[Control Panel]


Activate the adapter by clicking on the checkbox.
If all goes well, you won't see a warning and the checkbox stays checked.
Save the settings.

A quick check shows us the functionality of the ethernet network. This check is a simple ping command executed with the STinG ping tool that cab be accessed through the <[HOME-STING]/DIALER/DIALER.APP> window.

Remark the huge time delays. You have to take in account the we use a parallel pocket adapter with an 8 bit ROM-port interface !

[B-Net picture] B-Net

  B-Net is an Atari network using the STinG TCP-IP stack and MagiC. It is a full networking system for Atari computers that consists out of two parts :

BNET.XFS
The XFS installs a drive both to _drvbits system variable and a link to drive U. Then it "interprets" normal GEMDOS calls and redirect them to the remote computer.

BNET.APP
The APP listens to commands from the remote computers and executes them localy, returning data and/or error codes as usual. It also handles all the network taffic.

It is possible to connect up to 8 Atari computers through any port that STinG curently supports. With the ethernet port even up to 254 computers. For further information and installation you have to read BNET.HYP of Vassilis Papathanassiou. Everything is clearly explained inthere.

B-Net can be started by doubleclicking on it. However two files have to be adapted. The file <[BNET-HOME]\HOSTS.INF> is the hostfile, i.e. the file that makes the connection between the TCP-IP addresses and the computer name you choose for it. This file looks like this :


#
# Example HOSTS.INF file. Names longer than 8 characters are truncated.
# If you have set-up Ronald's MASQUE.STX use the same addresses.
#
10.3.56.1     FALCON      local   enabled
10.3.56.2     MEGA_ST4    local   enabled

Another file has only to be configured on the computers with MagiC as OS. This file is <C:\GEMSYS\MAGIC\XTENSION\BNET_XFS.INF> and only talks about the drive specific parameters.

# Not really necessary settings, except maybe for bnet_drive
# which helps with Kobold settings etc.
bnet_drive=N
mount_as=Network
v_label=BNET-XFS

Once STinG and B-Net are setup correctly on the Atari computers, you can ad your new drive and open it. A typical tree-structue looks like this.
The screenshot is taken from the Falcon and displays the directory structure of the Mega ST 4.

[screendump BNET]


Some addidtional screenshots to show you better what B-Net does.

[screen F030]
Data from the Mega ST 4 as seen by the Falcon.
Copying files is done as usual : "drag and drop".

   Remark the 2nd window and compare it with the screenshot below.
Also take a look at the icon next to the drive A icon. This represents the Network icon. Compare these values with the values entered in the BNET_XFS.INF file above.
  


[screen Mega]
Data on the Mega ST 4 itselfs.



[back arrow]