[openbeosnetteam] Re: Testing

  • From: "Bebert" <info@xxxxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Sun, 10 Feb 2002 16:55:07 GMT

I got it working.  Yeah!  For anybody that's interested in testing 
this, but may not know what to do (like me), I wrote a step by step 
guide to downloading, running, etc.

Peder

=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F


Step by Step Guide to Testing OpenBeOS Netkit
-----------------------------------------------------------------------
-----
Part I - Install CVS (if you already have this, skip to Part II)
1.  Download CVS from BeBits:  http://www.bebits.com/app/1610
2.  Unzip the download
3.  Double-click on the install file

Part II - Getting the files and compiling
1.  Create a new directory for the Netkit files.  Since I'm a CVS 
newbie, I created a folder named "Feb 9" for the files up to that date.  
In the future, I may update this with how to pull down just the new 
files.
2.  Open a terminal session and cd to the new directory.
3.  Type:  "cvs -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/
cvsroot/open-beos login".  This will log you into CVS as an anonymous 
user.  When it asks for a password, just hit return.
4.  Type: "cvs -z3 -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx:/
cvsroot/open-beos co net=5Fkit".  This will download the entire net=5Fkit.  
If you want to pull down all of the OpenBeOS stuff, then replace 
net=5Fkit with a "." to specify the whole folder.
5.  cd net=5Fkit/source/server
6.  Edit testread.c and change the "int dev =3D open" line to point to 
your ethernet card.  If you aren't sure what it is, it's in /dev/net/
something/something.  Mine is /dev/net/tulip/0.
7.  Type "make" to compile everything

Part III - Killing Be's Net=5FServer and running the new one
1.  Type: "quit application/x-vnd.Be-NETS".  Note that this will kill 
the Net=5FServer, so if you are running any network apps, such as IRC, 
NetPositive, etc, they will cease to run.
2.  Type: "testread" and you see should the output below.
3.  Hit control-c to stop the new net=5Fserver
4.  If you are ready to go back to Be's Net=5FServer, type:  "/system/
servers/net=5Fserver &" and you should be back up and running


$ testread
allocated a 4096 byte block starting at 0xa0000000
allocated a 4096 byte block starting at 0xa0001000
Network Card Read Test
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Have you set the device path to point at your card=3F
If not you probably won't see anything!

Opened the device.
MAC address 00:a0:cc:20:97:a3
Unable to set promiscuous. General OS error
Ethernet packet from 00:04:5a:5a:5a:24 to ff:ff:ff:ff:ff:ff: BCAST 
proto IPv4
IPv4 Header :
            : version       : 4
            : header length : 5
            : tos           : 0
            : total length  : 78
            : id            : 1045
            : flags         : 0x00
            : frag offset   : 0
            : ttl           : 128
            : src address   : 192.168.1.1
            : dst address   : 192.168.1.2
            : protocol      : UDP    

Other related posts: