Flash9 running natively in FreeBSD 7.1

Yes, FreeBSD 7.1 has working Flash9 support. To install it on your system:

  • Add linux_enable="YES" to /etc/rc.conf.
  • Add compat.linux.osrelease=2.6.16 to /etc/sysctl.conf.
  • Add OVERRIDE_LINUX_BASE_PORT=f8 to /etc/make.conf.
  • Add this line to /etc/fstab:
    linproc /usr/compat/linux/proc linprocfs rw 0 0


Then run these commands:

# mkdir -p /usr/compat/linux/proc
# mount /usr/compat/linux/proc
# /etc/rc.d/abi start
# /etc/rc.d/sysctl start

Once you have done the above, your system is ready for the installation. Install the following ports:


# portinstall linux_base-f8
# portinstall linux-flashplugin9
# portinstall nspluginwrapper

Invoke nspluginwrapper and follow the instructions to enable all available plugins:

# nspluginwrapper -v -a -i
Auto-install plugins from /usr/X11R6/lib/browser_plugins
Looking for plugins in /usr/X11R6/lib/browser_plugins
Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin
Looking for plugins in /usr/local/lib/npapi/linux-flashplugin
Install plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
into /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so
Auto-install plugins from /root/.mozilla/plugins
Looking for plugins in /root/.mozilla/plugins

Open Firefox 3 and insert "about:plugins" in the address bar. You should see a section titled "Shockwave Flash" with information about your newly installed flash plugin.

If flash is not detected, close firefox and run:

> cd /usr/local/lib/firefox3/plugins
> ln -s /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so ./npwrapper.libflashplayer.so

Open Firefox 3 and visit "about:plugins" again. You should now see a section titled "Shockwave Flash" with information about your newly installed flash plugin.

Enjoy,
-stock