Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,160
» Latest member: Kimlongtech
» Forum threads: 4,028
» Forum posts: 16,403

Full Statistics

Online Users
There are currently 652 online users.
» 0 Member(s) | 649 Guest(s)
Applebot, Bing, Google

Latest Threads
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 31,667
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 805
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 728
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 3,594
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 36,812
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 67,454
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 15,690
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 6,497
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 32,745
CentOS vs.?
Forum: Just Starting Linux
Last Post: volt
2020-08-06, 02:29 PM
» Replies: 0
» Views: 6,199

 
  Add the JAVA plugin to Mozilla 1.2.1 in Red Hat 9
Posted by: anyweb - 2003-12-11, 04:54 PM - Forum: Web Browsers - No Replies


How to install the Java PLugin in Mozilla 1.2.1 in Red Hat 9

 

 

First of all, be aware that the version of Mozilla Web Browser that ships with Red Hat 9 is 1.2.1 (does not have the Java Plugin included) and at the time of writing this, version 1.3 is already available. If you want to stay with the default and need to install Java then read below. If you want the latest version of Mozilla then don't bother with this and get over to Mozilla's website.

 

You may want to print this out for easy reference as you will be logging in and out. First of all, create a new (hidden) folder in your home directory by doing as follows while logged in as yourself and not su or root.

 

In an xterminal, type the following:

 

mkdir ~/.mozilla/plugins/

 

You are doing this because you will later create a link to this folder and it's not created automatically.

 

Once done, logout of X and login again as root. You must do the next bit logged in as root to get Java to install correctly.

 

Open the Mozilla 1.2.1 web browser and paste in this address, click yes to download and install it as root, once done, you can verify if it has installed the Java plugin by clicking on help/plugins in Mozilla.

 

[/url][url=http://cgi.netscape.com/cgi-bin/pi_moreinfo.cgi?PID=10048]http://cgi.netscape.com/cgi-bin/pi_moreinfo.cgi?PID=10048

 

Now that it's installed as root, logout of X and log back in again as your normal username. Open an xterminal and type the following (this is to update the location of files on your Red Hat installation, it takes a while so please be patient).

 

su - root

 

updatedb

 

Once it has finished type the following:

 

locate libjavaplugin_oji.so

 

One of the returned results will be the plugin itself. To find out which one it is type:

 

ls -l $(locate libjavaplugin_oji.so)

 

and look for the one that's owned by "root" and doesn't have a right pointing arrow -> pointing to another location. The file without the -> is the plugin path and is the one we will create a symbolic link to in our ~/.mozilla/plugins/ so that Java works as a normal user.

 

Once you now have the path to that file, copy it in xterminal by marking the text in full and issuing a copy command (ctrl+alt+c) so that you can paste it later (ctrl+alt+v).

 

Execute this final command:

 

ln -s /usr/lib/mozilla-1.2.1/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so ~/.mozilla/plugins

 

and that's it, all done, Java is now installed. Open Mozilla and click help/plugins to see it listed there :-).

 

 

When I did the above commands this is exactly what I saw in my xterminal in case you are interested:

 

[anyweb@localhost anyweb]$ mkdir .mozilla/plugins

[anyweb@localhost anyweb]$

 

 

[root@localhost root]# updatedb

 

[root@localhost root]# locate libjavaplugin_oji.so

 

/usr/lib/mozilla-1.2.1/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so /usr/lib/mozilla-1.2.1/plugins/libjavaplugin_oji.so

 

[root@localhost root]# ls -l $(locate libjavaplugin_oji.so)

 

-rwxr-xr-x 1 root root 269600 Mar 15 2002 /usr/lib/mozilla-1.2.1/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so lrwxrwxrwx 1 root root

 

75 Mar 29 13:12 /usr/lib/mozilla-1.2.1/plugins/libjavaplugin_oji.so -> /usr/lib/mozilla-1.2.1/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so

[root@localhost root]#

 

[anyweb@localhost anyweb]$ ln -s /usr/lib/mozilla-1.2.1/plugins/java2/plugin/i386/ns600/libjavaplugin_oji.so ~/.mozilla/plugins

 

[anyweb@localhost anyweb]$

Print this item

  Speed up Red Hat 9's default disk access
Posted by: anyweb - 2003-12-11, 04:51 PM - Forum: Filesystem Management - Replies (4)


Speed up Red Hat 9's default disk access. To do this it helps if you have knowledge of vi (a console based text editor). As root issue this command in a console

 

vi /etc/sysconfig/harddisks

 

This will open a text file with certain settings disabled by default, we are going to enable those commands and as a result increase the speed of hard disc access in Red Hat.

 

First, lets find the line which reads as follows

 

#USE_DMA=1

 

and now delete the # so that the line now reads

 

USE_DMA=1

 

Now, scroll down and find the line which reads

 

#EIDE_32BIT=3

 

and delete the # so that the line now reads

 

EIDE_32BIT=3

 

Next, find a line which reads

 

#LOOKAHEAD=1

 

and again, delete the # so that the line now reads

 

LOOKAHEAD=1

 

Thats it, you are done, now lets SAVE our changes in vi by typing

 

:wq

 

The : (colon) allows use to 'type' a command in vi, if you see INSERT or REPLACE instead, press ESC then try again.

 

Think of the w and q as:-

w=write

q=quit

 

Once done, time how long something takes to start like Mozilla or OpenOffice. Then reboot the computer and time again, notice the difference ? ;-)

Print this item

  Setup a simple NAT in linux
Posted by: anyweb - 2003-12-11, 04:50 PM - Forum: Security and Firewalls - Replies (2)


First things first, to do this i assume you have TWO working network cards in your computer, one is connected to the internet (WAN) and the other is connected to your local network (LAN), or think of it as eth0 (WAN) and eth1 (LAN). I also assume that you want eth1 to share the internet with others, however, i am not going to enable a dhcp server, so your 'clients' will have to have their ip settings entered manually. If you want to try this then read on...

 

First off we need to know the ip address of our WAN network card (eth0 the one connected direct to the internet ;-)). So, as root type ifconfig.

That should present you with an output like the following example:-

 

 

Quote:eth0Link encap:Ethernet HWaddr 00:06:5B:02:F6:FF

inet addr:192.168.0.58 Bcast:192.168.0.255 Mask:255.255.255.0

.......

 

 

eth1

Link encap:Ethernet HWaddr 00:02:2D:46:B2:5F

inet addr:100.0.0.1 Bcast:100.0.255.255 Mask:255.255.0.0

.......
 

In the example above i have a WAN (eth0) address which is my connection to the internet via another NAT (lol), and it has the ip address of 192.168.0.58

 

The LAN (eth1) IP address in this example has been set to 100.0.0.1.

 

Ive deliberately set eth1 to 100.0.0.1 so i know its my 'sharing' NAT ip address, and it's the one to point to later.

To set/change your IP settings for a Network card in Red Hat 9 type this as root:-

neat or redhat-config-network

 

Now that you have set your LAN (eth1) IP address, lets get sharing !!!

As root in a console type the following two lines:-

 



Code:
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 192.168.0.58




 

>>>PRESS ENTER<<<

 



Code:
echo 1 > /proc/sys/net/ipv4/ip_forward




 

>>>PRESS ENTER<<<

 

Obviously the first line which points to 192.168.0.58 MUST point to your CURRENT WAN IP address (eth0) and NOT my example here.

So if your eth0 ip address= 163.211.12.44 then the line should read

 

iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to 163.211.12.44

 

Ok, now that is done, now its time to test it, if you have lokkit running (redhats firewall) disable it temporarily to test please.

 

On a client pc, edit it's TCPIP properties as follows

 

IP address=100.0.0.2 (or any value above 1 and up to 255)

SubNet= 255.255.0.0

Default Gateway=100.0.0.1 (eth1)

DNS server 1=192.168.0.58 (eth0)

DNS Server 2=192.168.0.1 (my first NAT, which shares ips to my eth0 WAN connection, change this to your WANS DNS server ip)

 

 

You will have to put the lines below in /etc/rc.d/rc.local if you want to turn it (the NAT) on every time your system boots up.

 



Code:
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to xxx.xxx.xxx.xxx
echo 1 > /proc/sys/net/ipv4/ip_forward




 

Obviously replace xxx.xxx.xxx.xxx with the ip of your current WAN (internet) address.

 

Thats it, test it by pinging www.google.com.

 

you might also want to read the following....

 

Quote:In order for your system to save the iptables rules ...You will need to edit /etc/sysconfig/iptables-config and make sure IPTABLES_MODULES_UNLOAD, IPTABLES_SAVE_ON_STOP, and IPTABLES_SAVE_ON_RESTART are all set to 'yes'.

Print this item

  lalalalaa
Posted by: Guest - 2003-12-11, 04:21 PM - Forum: General Chat - Replies (2)

lalalalala

Print this item

  dhcp howto for redhat linux 9/fedora
Posted by: Guest - 2003-12-11, 03:18 PM - Forum: Network Problems - Replies (2)


anybody got a good one, post the link pls.

 

cheers

Print this item

  my linux shots
Posted by: Guest - 2003-12-11, 03:13 PM - Forum: Linux - No Replies


[Image: screenshot-9.png]

 

fedora core test 3

 

nice huh ?

Print this item

  test screenshot
Posted by: anyweb - 2003-12-11, 02:56 PM - Forum: Windows - Replies (4)


[Image: postinstall_10.jpg]

 

test !

Print this item

  need for speed unleashed and ati radeon 9800 pro
Posted by: anyweb - 2003-12-11, 02:25 PM - Forum: Game Problems - Replies (5)


hi guys

 

im having a problem getting the ati radeon 9800 pro to work with Need For Speed Unleashed,

 

the game plays fine but all the menus are distorted and i cannot read some text,

 

ive updated the ati catalyst drivers to the latest and no joy, and ive applied the latest update to NFSU

 

my other pc is similarly configured and has an nvidia geforce 4 ti 4600, and the same game doesnt have any problems

 

any ideas ? [img]<___base_url___>/uploads/emoticons/default_rolleyes.gif[/img]

 

cheers

 

anyweb

Print this item

  heh
Posted by: KobrAs - 2003-12-11, 02:13 PM - Forum: General Chat - Replies (4)


Yo my man :)it works (i think) I`m not good in forums but what a hell its all just text... we need the text not the graphics :P

:)

Print this item

  Hello
Posted by: Guest - 2003-12-11, 01:25 PM - Forum: General Chat - Replies (9)


Hello anyweb it's my 'Andriy' from HTAS

 

Nice forums, where's the off-topic forum?? ;)

Print this item