Monday, December 05, 2005

Linux bandwidth limiter

How to limit your server bandwidth? maybe this will help..

http://forums.gentoo.org/viewtopic.php?t=92439&highlight=modbandwidth

send your comments here...

Tuesday, June 21, 2005

RH9 Force Kill Running Apllication

If processes are still running, your only choice is to force kill. Be ABSOLUTELY SURE that the application is not responding, then use kill -9 [Process Number]

Try this at home :)

References

Friday, June 17, 2005

Protect your stolen phone..!!

i got this msg from my friends about cellphone.. maybe u can try this to protect your phone.. mine is: 355296001813760 :)

-------------------------------------
Mobile users - Suppose your cell phone is stolen. What will you do?

Here are some tips. Read it. Please forward it to as many people you
can.

How to disable a STOLEN mobile phone?

A bit of useful information. Just in case you happen to lose your
mobile or it gets flogged.

To check your Mobile phone's serial number, key in the following
digits on your phone:

* # 0 6 #


A 15 digit code will appear on the screen. This number is unique to
your handset. Write it down and keep it somewhere safe.

Should your phone get stolen, you can phone your service provider and
give them this code. They will then be able to block your handset so
even if the thief changes the SIM card your phone will be totally
useless.

You probably won't get your phone back, but at least you know that
whoever stole it can't use/sell it either.

If everybody did this, there would be no point in stealing mobile.

Linux scandisk problem....

duplicate/bad blocks well scanning on home dir...

here is a problem with these blocks during start up there is an error check... while it scans the home directory it saids

it has found a duplicate/bad block

Solution:

#fsck -y --this command will automatically fix any errors
and
#fcsk -f

without mounting these drives

i try fsck -y command and my problem's gone..

references:
http://www.linuxquestion....adid=222836

Thursday, June 16, 2005

Samba Connection

This will enable your linux connection to windows OS and share files under Microsoft Network (My Network Places).
1. Edit /etc/samba/smb.conf and uncomment [#] the workgroup = Mygroup
encrypt passwords = yes
smb passwd file = /etc/samba/smbpassword

Thats all
:)

Monday, June 13, 2005

SENDMAIL Server - finally

Help me! i'm stuck with this error..

sendmail failed. The error was: Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': Group writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 570: fileclass: cannot open '/etc/mail/trusted-users': Group writable directory
[FAILED]

all permission is set but still get this error :(

http://www.sendmail.org/tips/DontBlameSendmail.html

------------------------------
just simple solution:

chmod go-w / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue

chown root / /etc /etc/mail /usr /var /var/spool /var/spool/mqueue

i dunno wat happen but now my sendmail server works!!

Sunday, June 05, 2005

sending SMS via internet

i spend much time to set word counter under my sms web here.

Error: this.form has no properties (using firefox javascript console)

Error: Object required (using ie6 browser)
Code: 0

solution:
* forgot to place <form.... > </form> opening tags for textarea options.

finally my sms word counter working normally :)

Thursday, May 26, 2005

Webmin 1.200 setup successfull story..apis17

There are steps to install webmin on your rh9 server..
1. goto http://www.webmin.com and download required file. Just click at Downloading & Installing button and you will go to installation menu.

2. after download webmin-1.200-1.noarch file then you can install by typing this command..

go to terminal, login to normal user

$ .. type su
then enter your root password

go to download path
# type cd /path/to/download/location

then install the software
# use command rpm -ivvr webmin-1.200-1.noarch.rpm

*note that extra v is for debugging process
use -ivr command to disable debug text (u cannot see what happened during installation, so -ivvr is recomended)

next step is to configure your webmin,
first go to /usr/libexec (created after rpm installation)
# type cd /usr/libexec
# type ./setup.sh /usr/local/webmin

wait for a while and just enter default value if asked for example..
[/etc/webmin]
the log directory.. and etc.

almost finished.. the last step is to set default webmin user
# type /usr/local/webmin/changepass.pl /etc/webmin root <your_password>

**you can add and remove another webmin user later in your webmin control panel

now you're done.. test your server now using http://your.server.com:10000

for example http://apis17.serveftp.com:10000
user: pelawat
password: PassPelawat

if you have any comment or question just write here.. tq..
apis17: http://www.apis17.net
Webmin is a great tools for all linux fan to try.. check it out
--get help here
http://www.webmin.com/faq.html
http://www.webmin.com/download.html

http://taufico17.fotopages.com -- pinjam kejap aa.. :)

Interesting Linux Gadget

1. ntop.. status: installed (OK)
2. Webmin.. status: downloaded but cannot run at this momment.. hehe

more tool next time lah..

Setup this day.. 26/may

still setup ODBC database with linux.. get error Can't find X includes. so after searching in google i found that this software require xorg-x11-devel

http://www.linuxquestions.org/questions/history/321701

now i'm downloading X11R6.8.2 Release using CVS method..

http://xorg.freedesktop.org/wiki/X11R682Release?action=show

i don't know what will happen then.. :)

Saturday, May 21, 2005

LINUX which command...

ps -aux -- list all process
which useradd -- to find where is that command located

http://www.linuxquestions.org/questions/showthread.php?threadid=176503

Thursday, May 19, 2005

ctrl+alt+F1 Disaster in Linux

After Ctrl+Alt+F1 you can always return to your GUI with Alt+F7. It is not connected to a change of runlevels (you remain in runlevel 5, the X server is still running). What message do you get, when you try to login as user? In case you cannot see a message, boot into runlevel 3 (type '3' on the grub menu), login as user and start KDE with 'startx'. This should return messages.

http://www.linuxquestions.org/questions/history/321700

Tuesday, May 17, 2005

Embded Media Player

use this solution for firefox browser.. the background music thing doesn't work because of the code used, <embed> is deprecated, and Firefox won't recognise it.


<object id="MediaPlayer"
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" standby="Loading Microsoft® Windows®
Media Player components..." type="application/x-oleobject"
width="460" height="18">
<param name="AnimationatStart"
value="false">
<param name="FileName" value="URL_HERE">
<param name="TransparentatStart"
value="true">
<param name="AutoStart" value="true">
<param name="ShowStatusBar" value="true">
<param name="ShowControls" value="true">
<param name="ShowDisplay" value="false">
<embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/windows/windowsmedia/en/download/default.asp" src="URL_HERE"
name="MediaPlayer" showcontrols="1" showstatusbar="1"
showtracker="0" autostart="1" width="460" height="18"
border="0"></embed>


now my radio is compatible with firefox browser.. :)
thank you .. http://regretless.org/viewthread.php?tid=29890

Embded Media Player

use this solution for firefox browser.. the background music thing doesn't work because of the code used, <embed> is deprecated, and Firefox won't recognise it.



now my radio is compatible with firefox browser.. :)

thank you .. http://regretless.org/viewthread.php?tid=29890

GZ2 Problem..

http://www.linuxquestions.org/questions/showthread.php?threadid=192334

How do I extraxt .tar.bz2 files? tar -xvjf returns an error msg telling me this file isn't a bz2-file. The same command works fine on files ending only with .bz2

try bunzip2 , and then tar xvf

:)

RPM Redhat 9

to update use: rpm -Uvh file_name
to install: rpm -ivh file_name
to freshen: rpm -Fvh file_name

then your files goes to :
/usr/src/redhat/SOURCES

Linux Operation

http://www.linuxcommand.org


cp - copy files and directories
mv - move or rename files and directories
rm - remove files and directories
mkdir - create directories

:)

SKGD Radio Online..

http://skgd.serveftp.com/radio - Online Radio
http://portal.apis17.net - portal download apis17™

Simple install procedure
========================
% gzip -cd glib-2.6.4.tar.gz tar xvf - # unpack the sources
% cd glib-2.6.4 # change to the toplevel directory
% ./configure # run the `configure' script
% make # build GLIB
[ Become root if necessary ]
% rm -rf /install-prefix/include/glib.h /install-prefix/include/gmodule.h
% make install # install GLIB

Working on linux server.. ODBC compunents

http://www.linuxquestions.org/questions/archive/2/2003/09/1/83745
1. How to install mdbtools..
-- remove GLIB (2.2.3) rh9

checking for pkg-config... /usr/local/bin/pkg-configchecking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.6.4, but GLIB (2.2.3)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files

Ahhh..
Anybody can help me?

Saturday, April 02, 2005

My Personal Web Server

The first thing that you need for creating your own webserver is apache server that can be downloaded from http://www.apache.org .This server will open port 80 on your computer for local intranet or the internet.

After that, you can reach your webserver using internet gateway ip. You can obtain this ip using two different command: for windows XP "ipconfig /all" and for windows 9x or ME use "winipcfg" instead.

Any question about connecting your computer via internet, please ask me at apis17@hotmail.com

That's all, for now :)
Related Posts Plugin for WordPress, Blogger...