» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with hardy + on

Fix for Traffic Shaping in Shorewall firewall on Ubuntu Hardy

Summary: Traffic Shaping in Shorewall 4.0.6 in Hardy breaks on compile and wondershaper will fail. To fix you need to replace iproute.


ERROR:

Setting up Traffic Control...
What is "flowid"?
Illegal "police"
ERROR: Command "tc filter add dev eth0 parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate 500kbps burst 10k drop flowid :1" Failed

FIX:

Enter root:

sudo -i

Install tools:

apt-get install build-essential fakeroot devscripts

Make a working directory:

mkdir /tmp/iproutefix && cd /tmp/iproutefix

Download DebDiff:

wget http://launchpadlibrarian.net/15355596/iproute_20071016-2ubuntu2.debdiff

Get the package source tree:

apt-get source iproute

Install libraries needed to build the source package:

apt-get build-dep -y iproute

Apply the debdiff changes:

cd iproute-* && patch -p1
Build the new source package:

debuild -uc -us

Install the resulting binary package:

dpkg -i ../iproute*.deb

Ubuntu: OnlyUbuntu Tutorials

Fix for Traffic Shaping in Shorewall firewall on Ubuntu Hardy

Summary: Traffic Shaping in Shorewall 4.0.6 in Hardy breaks on compile and wondershaper will fail. To fix you need to replace iproute.


ERROR:

Setting up Traffic Control...
What is "flowid"?
Illegal "police"
ERROR: Command "tc filter add dev eth0 parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate 500kbps burst 10k drop flowid :1" Failed

FIX:

Enter root:

sudo -i

Install tools:

apt-get install build-essential fakeroot devscripts

Make a working directory:

mkdir /tmp/iproutefix && cd /tmp/iproutefix

Download DebDiff:

wget http://launchpadlibrarian.net/15355596/iproute_20071016-2ubuntu2.debdiff

Get the package source tree:

apt-get source iproute

Install libraries needed to build the source package:

apt-get build-dep -y iproute

Apply the debdiff changes:

cd iproute-* && patch -p1
Build the new source package:

debuild -uc -us

Install the resulting binary package:

dpkg -i ../iproute*.deb

Ubuntu: Only Ubuntu

How to install RealPlayer on Ubuntu

The instructions below detail how to download and install RealPlayer on Ubuntu Linux. The instructions also enable the Mozilla/Firefox plugin and optionally remove Real's imposed audio icons:


1. Open a terminal and enter the following command to download RealPlayer:

wget http://www.real.com/realcom/R?href=http://forms.real.com/real/player/download.html?f=unix/RealPlayer11GOLD.bin

2. Make the file executable with the following command:

chmod a+x RealPlayer11GOLD.bin

3. Run the executable as root and enter your password when prompted:

sudo ./RealPlayer11GOLD.bin

4. If everything is working, you should see this message, hit enter:

Extracting files for Helix installation........................

Welcome to the RealPlayer (11.0.0.4028) Setup for UNIX
Setup will help you get RealPlayer running on your computer.
Press [Enter] to continue...

5. When prompted, install to /opt/real/RealPlayer, just hit enter:

Enter the complete path to the directory where you want
RealPlayer to be installed. You must specify the full
pathname of the directory and have write privileges to
the chosen directory.
Directory: [/opt/real/RealPlayer]

6. Enter "F" at the following screen to confirm:

You have selected the following RealPlayer configuration:

Destination: /opt/real/RealPlayer

Enter [F]inish to begin copying files, or [P]revious to go
back to the previous prompts: [F]:

7. If all goes well, RealPlayer should install and you will be dumped back to the prompt:

Copying RealPlayer files...Path setup done.
Succeeded.
installing application icons resource...
installing document icons resource...
....Succeeded.
Configuring Mozilla...
Installing .mo locale files...
Setting selinux context...
Succeeded.

RealPlayer installation is complete.
Cleaning up installation files...
Done.

8. Optional: delete the RealPlayer download with the following command:

rm RealPlayer11GOLD.bin

9. Copy the Mozilla/Firefox plugins to your plugins directory, enter the command:

cp /opt/real/RealPlayer/mozilla/nphelix.so ~/.mozilla/plugins/nphelix.so && cp /opt/real/RealPlayer/mozilla/nphelix.xpt ~/.mozilla/plugins/nphelix.xpt

10. Optional: remove RealPlayer audio icons from system:

sudo /opt/real/RealPlayer/postinst/install_icon_resource.sh uninstall

Source from here

Ubuntu: OnlyUbuntu Tutorials

How to install RealPlayer on Ubuntu

The instructions below detail how to download and install RealPlayer on Ubuntu Linux. The instructions also enable the Mozilla/Firefox plugin and optionally remove Real's imposed audio icons:


1. Open a terminal and enter the following command to download RealPlayer:

wget http://www.real.com/realcom/R?href=http://forms.real.com/real/player/download.html?f=unix/RealPlayer11GOLD.bin

2. Make the file executable with the following command:

chmod a+x RealPlayer11GOLD.bin

3. Run the executable as root and enter your password when prompted:

sudo ./RealPlayer11GOLD.bin

4. If everything is working, you should see this message, hit enter:

Extracting files for Helix installation........................

Welcome to the RealPlayer (11.0.0.4028) Setup for UNIX
Setup will help you get RealPlayer running on your computer.
Press [Enter] to continue...

5. When prompted, install to /opt/real/RealPlayer, just hit enter:

Enter the complete path to the directory where you want
RealPlayer to be installed. You must specify the full
pathname of the directory and have write privileges to
the chosen directory.
Directory: [/opt/real/RealPlayer]

6. Enter "F" at the following screen to confirm:

You have selected the following RealPlayer configuration:

Destination: /opt/real/RealPlayer

Enter [F]inish to begin copying files, or [P]revious to go
back to the previous prompts: [F]:

7. If all goes well, RealPlayer should install and you will be dumped back to the prompt:

Copying RealPlayer files...Path setup done.
Succeeded.
installing application icons resource...
installing document icons resource...
....Succeeded.
Configuring Mozilla...
Installing .mo locale files...
Setting selinux context...
Succeeded.

RealPlayer installation is complete.
Cleaning up installation files...
Done.

8. Optional: delete the RealPlayer download with the following command:

rm RealPlayer11GOLD.bin

9. Copy the Mozilla/Firefox plugins to your plugins directory, enter the command:

cp /opt/real/RealPlayer/mozilla/nphelix.so ~/.mozilla/plugins/nphelix.so && cp /opt/real/RealPlayer/mozilla/nphelix.xpt ~/.mozilla/plugins/nphelix.xpt

10. Optional: remove RealPlayer audio icons from system:

sudo /opt/real/RealPlayer/postinst/install_icon_resource.sh uninstall

Source from here

Ubuntu: Only Ubuntu

How to install Firefox 3 RC1 on Ubuntu Hardy

If you want to install firefox Firefox 3 RC1 in ubuntu hardy follow these simple steps


You just need to add the following to your /etc/apt/sources.list

sudo gedit /etc/apt/sources.list

add the following line

deb http://ppa.launchpad.net/fta/ubuntu hardy main

save and exit the file

Then you only need to update the source list

apt-get update

and then upgrade with the following command

apt-get dist-upgrade or to install the firefox-3.0 package if you haven’t do it before.

Ubuntu: OnlyUbuntu Tutorials

How to install Firefox 3 RC1 on Ubuntu Hardy

If you want to install firefox Firefox 3 RC1 in ubuntu hardy follow these simple steps


You just need to add the following to your /etc/apt/sources.list

sudo gedit /etc/apt/sources.list

add the following line

deb http://ppa.launchpad.net/fta/ubuntu hardy main

save and exit the file

Then you only need to update the source list

apt-get update

and then upgrade with the following command

apt-get dist-upgrade or to install the firefox-3.0 package if you haven’t do it before.

Ubuntu: Only Ubuntu