Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Network Device File question
@ 2000-01-24  5:00 schuleta
  2000-01-24  5:00 ` Serguei Patchkovskii
  2000-01-25  5:00 ` Wolfram Klaus
  0 siblings, 2 replies; 4+ messages in thread
From: schuleta @ 2000-01-24  5:00 UTC (permalink / raw)


I am trying to run tcpdump on a dec unix server, but there are no device
files setup for the network interfaces and the program fails becuase of
this. ifconfig gets the interface names from /etc/rc.config. How do you
generate these device files? Can you use /dev/MAKEDEV with a paramater?
If someone knows major/minor numbers for FDDI interfaces, could you send
them to me so that I can create them with mknod?

TIA,

Troy


Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Network Device File question
  2000-01-24  5:00 Network Device File question schuleta
@ 2000-01-24  5:00 ` Serguei Patchkovskii
  2000-01-25  5:00 ` Wolfram Klaus
  1 sibling, 0 replies; 4+ messages in thread
From: Serguei Patchkovskii @ 2000-01-24  5:00 UTC (permalink / raw)


schuleta@my-deja.com wrote:
: I am trying to run tcpdump on a dec unix server, but there are no device
: files setup for the network interfaces and the program fails becuase of
: this. ifconfig gets the interface names from /etc/rc.config. How do you
: generate these device files? Can you use /dev/MAKEDEV with a paramater?
: If someone knows major/minor numbers for FDDI interfaces, could you send
: them to me so that I can create them with mknod?

tcpdump manual page is quite explicit in describing the actions you have
to perform to get tcpdump running on Digital Unix. Start by reading
pfconfig and packetfilter manual pages; most likely, you will have to
rebuild your kernel prior to messing with MAKEDEV.

/Serge.P

--
home page: http://www.cobalt.chem.ucalgary.ca/ps/



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Network Device File question
  2000-01-24  5:00 Network Device File question schuleta
  2000-01-24  5:00 ` Serguei Patchkovskii
@ 2000-01-25  5:00 ` Wolfram Klaus
  2000-01-25  5:00   ` schuleta
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfram Klaus @ 2000-01-25  5:00 UTC (permalink / raw)


schuleta@my-deja.com writes:

>I am trying to run tcpdump on a dec unix server, but there are no device
>files setup for the network interfaces and the program fails becuase of
>this. ifconfig gets the interface names from /etc/rc.config. How do you
>generate these device files? Can you use /dev/MAKEDEV with a paramater?
>If someone knows major/minor numbers for FDDI interfaces, could you send
>them to me so that I can create them with mknod?

>TIA,

>Troy

Try man packetfilter.
Basically:
	1) make sure kernel-conf file has the line
	   options     PACKETFILTER
	2) in the /dev directory type
	   ./MAKEDEV pfilt
Have fun,
   Wolfram

>Sent via Deja.com http://www.deja.com/
>Before you buy.
--
                                       """
                                      (o o)
+---------------------------------oOO--(_)--OOo-------------------------------+
|  Wolfram Klaus     (klaus@physik.fu-berlin.de)        FU Berlin, FB Physik  |



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Network Device File question
  2000-01-25  5:00 ` Wolfram Klaus
@ 2000-01-25  5:00   ` schuleta
  0 siblings, 0 replies; 4+ messages in thread
From: schuleta @ 2000-01-25  5:00 UTC (permalink / raw)



> >I am trying to run tcpdump on a dec unix server, but there are no
device
> >files setup for the network interfaces and the program fails becuase
of
> >this. ifconfig gets the interface names from /etc/rc.config. How do
you
> >generate these device files? Can you use /dev/MAKEDEV with a
paramater?
> >If someone knows major/minor numbers for FDDI interfaces, could you
send
> >them to me so that I can create them with mknod?
>
> >TIA,
>
> >Troy
>
> Try man packetfilter.
> Basically:
> 	1) make sure kernel-conf file has the line
> 	   options     PACKETFILTER
> 	2) in the /dev directory type
> 	   ./MAKEDEV pfilt


I have run ./MAKEDEV pfilt in the /dev directory and it created all of
the /dev/pf/pfilt* files. That is not the problem, here is the error
from tcpdump:

tcpdump: pfopen: fta0: No such device or address

What I am asking here is how can the network work without the /dev/fta0
device file? We have FDDI, token-ring and ethernet on the server, yet
NONE of them have device files. I need to create those device files not
the pfilt files any longer, they are already there.


Troy



Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-01-25  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-24  5:00 Network Device File question schuleta
2000-01-24  5:00 ` Serguei Patchkovskii
2000-01-25  5:00 ` Wolfram Klaus
2000-01-25  5:00   ` schuleta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox