FireWall-1 FAQ: How do I bring back /dev/fw0 without re-installing on Solaris?
Please note: This content was from when I was operating my FireWall-1 FAQ site, which I stopped operating in August 2005. For some reason people still have links to this stuff on the Internet that people are still clicking on.
I am making this information available again AS IS. Given how old this information is, it is likely wildly inaccurate. I have no plans to update this information.
If you're still running versions of Check Point VPN-1/FireWall-1 where this information is still relevant to you, do yourself a favor and upgrade to a more recent release. If you happen to be running a current release and the information is useful, it's by happenstance :)
Here’s how to bring back /dev/fw0 without re-installing on Solaris:
Make sure /etc/devlink.tab contains:
type=ddi_pseudo;name=fw fw\A0
If it’s there, try:
/usr/sbin/devlinks
If that doesn’t work, run the following commands:
rm -f /usr/kernel/drv/fw /usr/kernel/drv/fw.conf
ln -s $FWDIR/modules/fwmod.5.x.o /usr/kernel/drv/fw
ln -s $FWDIR/modules/fw.conf /usr/kernel/drv/fw.conf
/usr/sbin/add_drv fw
/usr/sbin/devlinks
On HP/UX (and possibly other Unix-like OSes), you can recreate it as follows (thanks to Victor Lamptey):
mknod /dev/fw0 c 129 0
chmod 644 /dev/fw0
chown root /dev/fw0
chgrp sys /dev/fw0