[comp.protocols.tcp-ip.ibmpc] P.I.G.

currier@duke.cs.duke.edu (Bob Currier) (03/16/91)

Greetings;  

I know that binaries usually get posted to comp.binaries.ibm.pc,
but this is so small that I hope it doesn't matter. Please, no flames.

P.I.G. (Packet Information Grabber) is a little utility that I have
written that enhances what Russ Nelson's pktaddr gives you.  P.I.G.
checks for a packet driver(s) and returns the following info:

P.I.G. v1.01A
Written by Bob Currier  rdc@spectrum.ac.duke.edu

Packet Driver found at interrupt: 0x60
Class Type: DEC/INTEL/XEROX "BLUEBOOK" ETHERNET
Card Type: Cabletron
Your Ethernet hardware address is: 00-00-1D-00-69-67


Now, for the good part!  P.I.G. scans *all* possible vectors from 0x60 to
0x80 and returns info about each. You don't have to specify anything on 
the command line....P.I.G. seeks all installed drivers.

This version will only work with ETHERNET BOARDS....I don`t have the address
formats for all the other types (Token Ring, ARCnet,STARlan etc) yet,
but when I pin them down I will update  the source.  Thus, you could have
an Ethernet board in one slot at int 0x60 and a Token Board at int 0x7e, 
and P.I.G. would find both and give you full stats.

P.I.G. is written completely in Borland's TASM, source available if
anyone wants it.

Hope this helps some of you folks supporting hundreds of machines where
the drivers get `diddled` with frequently.  It is currently being used
in our Library for documentation purposes...The new SysAdmin for the Novell
net is just calling each user up on the phone and having them run
P.I.G. and read out the info...no need go check each machine.


Bob Currier
Acting Network Manager DukeNet
Duke University
Durham, N.C.  27706
    
rdc@spectrum.ac.duke.edu

(919) 684-3695



==================================CUT HERE  CUT HERE ==========================
begin 644 pig
M4$L#! H    & -A9;Q;=VW/4N 0   L*   '    4$E'+D5810T" 1(C%!4V
M-VB)FML\!082$T3%]I;WFVI="- @0($ 00*,"/#__T#0.X#P?C/\/K;/>.^'
MJ59.?Q#_&7ZX 8:(_@N.[@2MU"#MFLU#)O;(TB!C@RX-YF8(\/= @"85AT1<
MNJ/!H^+M,\;N&'ANA !]8S3X&Z3!^:;K"LP_'/]P@QYI!X3]7S_G?_0OU^O'
M@XA=&C68V")1@X@='C7 _:":]V(/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-:
M*A//IM:!Y85R&CCC&ZM+&;Q6C_6I4\:#NC1)=Y"^#"/K??7%\;"<1DI4BGUD
MDD:);%9U!^T86^.HF""PMG7@.G5)U24(OC;D!(FRJ)/$*</JJDPV_4Z/@NC-
MIQB?#15"=9G4Y9'S;3>F"TOJ(,[[JMRT=.F6=0M2;%Z00M^*D:OKRH'>9>6D
M;[EDQP*="[?L6+IRZ[9U&7:L2[)UUY9U6:9XQ6\2PCWKF_2E^J:+9GV[+4L7
M)-HP[_O.\"X+,BQ9,L5[[ER0:>?J8)=#KL\T.\^Q:J[9AM$^YW+(;1RDE*BZ
MJA3;":ZJ]RT%FT,-.G3)63-R)[6B27?Z1'D;?>+9VZZ0[C7M3D3LMC/VS0C=
M;KIUF.>=UDU097?7A4O'6L/$8SN]I']:E9+0 1,L4$L! @L "@    8 V%EO
M%MW;<]2X!   "PH   <          0 @         %!)1RY%6$502P4&    
/  $  0 U    W00     
 
end

currier@duke.cs.duke.edu (Bob Currier) (03/16/91)

Ooops, I just realized that my post of PIG is in error...PIG is
a .zip file, but when you uudecode it you will just see a file
called pig.  Just rename it to pig.zip and pkunzip it and
all will be fine. sorry.

Bob Currier