At 08:12 �� 5/5/2002 -0700, you wrote:
>On Sat, 4 May 2002, Eric A. Sauer wrote:
>
> > I am running, as indicated below, Solaris 8 on an Ultra 5 machine and I
> > am attempting to use IP Filter 3.4.25.  I followed the directions for
> > installation per the file "INSTALL.Sol2" and the installation appeared
> > to go smoothly (ipf.conf appears to be working); however, I did not get
> > /dev/ipnat and as one can imagine am unable to run ipnat.  Per the FAQ
>
>Under Solaris, files in /dev are just symlinks to /devices. If you look,
>the ipnat device is actually:
>
>crw-------   1 root     root     190,  1 Apr 29 17:11 
>/devices/pseudo/ipf@0:ipnat
>
>
>I had the same problem. For some reason, only the /dev/ipf symlink was
>created but none of the others. The changes made to /etc/devlink.tab:
>
>type=ddi_pseudo;name=ipf;minor=ipf      \M0
>type=ddi_pseudo;name=ipnat;minor=ipnat  \M0
>type=ddi_pseudo;name=ipstate;minor=ipstate      \M0

This should be name=ipf on all three lines.
(this is the name of the major for the device)
The correct lines are:

type=ddi_pseudo;name=ipf;minor=ipf      \M0
type=ddi_pseudo;name=ipf;minor=ipf      ipl
type=ddi_pseudo;name=ipf;minor=ipnat    \M0
type=ddi_pseudo;name=ipf;minor=ipstate  \M0
type=ddi_pseudo;name=ipf;minor=ipauth   \M0

Note that there must be a tab (not spaces) separating the two columns.

After changing /etc/devlink.tab you should run:
/usr/sbin/devfsadm
for solaris 8 and above or:
/usr/sbin/drvconfing and /usr/sbin/devlinks after that,
for earlier versions of solaris.
You may also do a reconfiguration boot with:
reboot -- -r

Stephen.

Reply via email to