AminetAminet
Search:
84734 packages online
About
Recent
Browse
Search
Upload
Setup
Services

comm/net/localdev.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:Allows unlimited local ip addresses
Author: t-jeroem at microsoft.com (Jeroen Massar)
Type:comm/net
Architecture:m68k-amigaos
Date:1997-04-03
Download:comm/net/localdev.lha - View contents
Readme:comm/net/localdev.readme
Downloads:740

This sana-2 device allows you to configure amitcp to use an unlimited number
of ip addresses on your local machine. This is great for testing without connecting
to any actual network.

The local.device prefs file (ENV:Sana2/local?.prefs) contains one config line
(aside from the comments). The format of the line (in ReadArgs() style) is:

 C=CurrentAddress/A,D=DefaultAddress/A,MTU/N/A,BPS/N/A,HWType/N/A

 where:
	CurrentAddress		Our current "hardware" address 128 bits long.
	DefaultAddress		Our default "hardware" address 128 bits long.
	MTU 			Maximum Transmission Unit.
	BPS			Bits Per Second.
	HWType			Hardware type number (see include:devices/sana2.h).
				eg S2WireType_Ethernet = 1 and S2WireType_PPP = 254

a line starting with # is ignored.

eg IP=10.0.0.2 MTU=4096 BPS=512k/s HWType=Ethernet (1)
becomes C="10.0.0.2" D="10.0.0.2" MTU=1500 BPS=524288 HWType=1

put the following line in amitcp:db/interfaces
local0 DEV=DEVS:Networks/local.device UNIT=0

use the following line to config the thing into amitcp:
ifconfig local0 10.0.0.2 netmask 255.0.0.0

Now startup amitcp and yeah you've got a local ip address!
Which can be monitored with Sniffer and other programs.

Things on the `ToDo list' : - Packet tracking.
                            - other requests.

Have fun with your local network!


Contents of comm/net/localdev.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1133    2278  49.7% -lh5- da27 Apr  1  1997 localdev.info
[generic]                 4113    6652  61.8% -lh5- b120 Apr  1  1997 localdev/local.device
[generic]                  401     734  54.6% -lh5- 567c Apr  1  1997 localdev/local0.prefs
[generic]                  783    1475  53.1% -lh5- 84eb Apr  1  1997 localdev/localdev.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         4 files    6430   11139  57.7%            Apr  3  1997
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>