Flash
(→Linux plugin emulation: see Linux, configuration) |
(→Linux plugin emulation) |
||
Line 10: | Line 10: | ||
As of March 5, 2015 the dependency ''linux_base-c6'' requires a modification to ''sysctl.conf'' for the correct linux kernel to be recognized: | As of March 5, 2015 the dependency ''linux_base-c6'' requires a modification to ''sysctl.conf'' for the correct linux kernel to be recognized: | ||
compat.linux.osrelease=2.6.18 | compat.linux.osrelease=2.6.18 | ||
+ | |||
+ | Load Linux modules according to [[Linux, configuration#Loading Linux modules]]. | ||
Run the following for a library plugin to be found by firefox: | Run the following for a library plugin to be found by firefox: | ||
Line 20: | Line 22: | ||
nspluginwrapper -l | nspluginwrapper -l | ||
− | + | If this doesn't work, all packages may have to be reinstalled. | |
===/etc/=== | ===/etc/=== | ||
Line 53: | Line 55: | ||
group: files nis | group: files nis | ||
hosts: files nis dns | hosts: files nis dns | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Wine emulation== | ==Wine emulation== |
Revision as of 00:45, 21 October 2015
The Adobe Flash player plugin can be emulated to run on native browsers. Alternatively, the browser can also be emulated, but this method seems to lack performance.
Contents |
Linux plugin emulation
Install flashplugin11 through ports, since at times the repository package may be outdated:
# cd /usr/ports/www/linux-c6-flashplugin11; make install clean
This should install other linux-c6 dependencies, including nspluginwrapper. Follow the directions at the end of installing the programs, most of which will be repeated below in the configuration sections. If it cannot fetch the file, download it from here: http://freshmeat.net/projects/flashplugin/
As of March 5, 2015 the dependency linux_base-c6 requires a modification to sysctl.conf for the correct linux kernel to be recognized:
compat.linux.osrelease=2.6.18
Load Linux modules according to Linux, configuration#Loading Linux modules.
Run the following for a library plugin to be found by firefox:
nspluginwrapper -v -a -i
Or to upgrade from a previous installed Flash plugin:
nspluginwrapper -v -a -u
To view the loaded plugins:
nspluginwrapper -l
If this doesn't work, all packages may have to be reinstalled.
/etc/
/etc/fstab
linproc /compat/linux/proc linprocfs rw 0 0 #possibly the two below fdesc /dev/fd fdescfs rw 0 0 proc /proc procfs rw 0 0
/etc/rc.conf
linux_enable="YES"
/etc/devfs.conf
link /tmp shm
/etc/sysctl.conf
compat.linux.osrelease=2.6.18
/compat/linux/
/compat/linux/ should have at least the following sub-directories: etc/ lib/ proc/ usr/
% cd /compat/linux/ % mkdir etc/ lib/ proc/ usr/
/compat/linux/etc/yp.conf
domainname mydomain.com # this is your network's domain-name without localhost ypserver localhost # my.yp.server
/compat/linux/etc/nsswitch.conf
passwd: files nis shadow: files nis group: files nis hosts: files nis dns
Wine emulation
Full Adobe Flash 9 support can be present by using a Win32 browser and Adobe Flash 9 for Windows in WINE. This was tested with WINE 0.9.59, FreeBSD 7-Release and Firefox 2.0.0.13.
Alternatively look into installing the package emulators/pipelight, which is meant to use windows plugins, through wine emulation, in non-emulated FreeBSD browsers. (I haven't tested this set-up)
External Links
http://freebsd.kde.org/howtos/konqueror-flash.php
Some more extensive step-by-step instructions:
http://freebsd.langhans.com.pl
See also
The PC-BSD project have released version 1.4 of their FreeBSD based distribution which includes native Flash Player in Konqueror, Firefox and Opera.