DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Installation and Upgrading

NetBSD Installation and Upgrading Have trouble getting NetBSD on your toaster?

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd September 2010
marduk marduk is offline
New User
 
Join Date: Aug 2010
Posts: 3
Thanked 0 Times in 0 Posts
Angry nspluginwrapper not work...

I have installed a nspluginwrapper and linux emulation but at the command
nspluginwrapper -v -a -i ...
not install a flashplugins.so the error is /usr/pkg/linux/i386/npviwer.bin not found

i have see in the dir but exist any idea to solve this problem?
Reply With Quote
  #2   (View Single Post)  
Old 2nd October 2010
classicmanpro's Avatar
classicmanpro classicmanpro is offline
Real Name: Turea Alexandru Teodor
Fdisk Soldier
 
Join Date: Oct 2010
Location: Romania (SE Europe)
Posts: 49
Thanked 1 Time in 1 Post
Post Flash 9

I managed to install Flash on NetBSD a few hours ago by using the following steps:
  1. Install nspluginwrapper and libflashsupport;
  2. Download Flash v9 (v10 has BUGS);
  3. Setup (see below):

Code:
su
mkdir -p /usr/pkg/lib/netscape/plugins
cp -i /tmp/libflashplayer.so /usr/pkg/lib/netscape/plugins/
exit
nspluginwrapper -v -i /usr/pkg/lib/netscape/plugins/libflashplayer.so
PS: When you use the plug-in for the first time it's going to give an error, but then it will work just fine. I've assumed that the plug-in "wasn't seeing" its configuration files and had to create them.
Reply With Quote
  #3   (View Single Post)  
Old 18th December 2010
classicmanpro's Avatar
classicmanpro classicmanpro is offline
Real Name: Turea Alexandru Teodor
Fdisk Soldier
 
Join Date: Oct 2010
Location: Romania (SE Europe)
Posts: 49
Thanked 1 Time in 1 Post
Angry Audio BUG

In case any of you run into audio problems, like no audio output, look for zombie processes named 'npviewer.bin' and kill'em all (-9) ...
__________________
A daemon in need is a daemon indeed.
Reply With Quote
  #4   (View Single Post)  
Old 3rd January 2011
JokerBoy JokerBoy is offline
Real Name: Bogdan
New User
 
Join Date: Dec 2010
Location: Romania
Posts: 6
Thanked 2 Times in 2 Posts
Default

i use this script for zombie processes on freebsd and it works great:

Code:
#!/bin/sh
# */5 * * * *	/home/bogdan/.scripts/flashkill > /dev/null

flashcount=$(/bin/pgrep npviewer.bin | /usr/bin/wc -l)
if [ $flashcount = 1 ]; then
    /usr/bin/killall npviewer.bin
fi
Reply With Quote
  #5   (View Single Post)  
Old 3rd January 2011
classicmanpro's Avatar
classicmanpro classicmanpro is offline
Real Name: Turea Alexandru Teodor
Fdisk Soldier
 
Join Date: Oct 2010
Location: Romania (SE Europe)
Posts: 49
Thanked 1 Time in 1 Post
Thumbs up

@JokerBoy: Thanks for the suggestion man, cool idea. I had to adapt your script a little, due to the fact that the processes don't die from a HUP/TERM signal. On NetBSD you have to kill them with the 9 millimeter.

Code:
#!/bin/sh

pName='npviewer.bin'
pCount=`/usr/bin/pgrep $pName | /usr/bin/wc -l`

if [ $pCount -ge 1 ]; then
	/usr/bin/pkill -KILL $pName
fi
__________________
A daemon in need is a daemon indeed.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Crossplatform UI Work Turophile Programming 9 21st October 2008 11:56 PM
nspluginwrapper disappearedng FreeBSD General 1 13th September 2008 09:25 PM
firefox, linux-flash, nspluginwrapper, and youtube? neurosis FreeBSD Ports and Packages 16 15th August 2008 06:46 AM
Flash / nspluginwrapper & linuxpluginwrapper dctr FreeBSD Ports and Packages 2 19th May 2008 09:29 AM
Getting Qt4 to work on FreeBSD enpey FreeBSD Ports and Packages 6 6th May 2008 07:20 AM


All times are GMT. The time now is 04:08 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick