Search found 104 matches

by kernel-trap
Mon Mar 07, 2005 6:48 pm
Forum: General
Topic: IP based bandwidth mangement
Replies: 0
Views: 1841

IP based bandwidth mangement

Dear all i want to restrict bandwidth on ip like i have 256kbps connection eth0 Public ip eth1 Private ip #-- step 1 ----- tc qdisc add dev eth0 root handle 0: htb default 0:3 #-- step 2 ----- tc class add dev eth0 parent 0: classid 0:1 htb rate 128kbit ceil 128kbit tc class add dev eth0 parent 0: c...
by kernel-trap
Fri Aug 27, 2004 12:49 pm
Forum: General
Topic: HTTP mirrors to download Red Hat Linux 7.1
Replies: 2
Views: 1490

by kernel-trap
Wed Aug 04, 2004 5:01 pm
Forum: Administration
Topic: Restrict Telnet for users
Replies: 4
Views: 2218

i better to allow telnet access from single ip like put this line in /etc/xinetd.d/telnet

only_from = 192.168.0.1
by kernel-trap
Sun Aug 01, 2004 10:52 pm
Forum: Programming
Topic: Remotely exporting envrionment variables using scripts
Replies: 11
Views: 15657

what if u put the all variable in .bash_profile which is user home directory
they will exported automaticly everytime user login.

Regards
by kernel-trap
Sun Aug 01, 2004 10:44 pm
Forum: Administration
Topic: DNS CONFIGURATION Help (NEWBIE)
Replies: 1
Views: 1220

DNS software that mostly used in Linux enviroment is called bind

there is site is www.isc.org

here is howto for bind

http://langfeldt.net/DNS-HOWTO/BIND-9/

Regards
by kernel-trap
Tue Jul 27, 2004 2:46 pm
Forum: General
Topic: need some explanation squid.conf
Replies: 2
Views: 1870

1) acl local dst this used if u have local sites and u want to prevent squid will will cache hit e.g The first step is to define an ACL for the local servers. You might want to use an address-based ACL, such as dst: acl LocalServers dst 172.17.1.0/24 If the servers don't live on a single subnet, you...
by kernel-trap
Mon Jul 26, 2004 8:08 pm
Forum: General
Topic: Problem making bzImage during Kernel Compilation.
Replies: 7
Views: 3215

i have also same kind of problem once

try using ext3 support statically in to kernel not as separate module

check out this link also

http://kerneltrap.org/node/view/799

Regards
by kernel-trap
Mon Jul 26, 2004 7:58 pm
Forum: General
Topic: how can i athenticate the mac addresses
Replies: 5
Views: 3267

if u want to use squid then u have to compile squid with following option

./configure --enable-arp-acl

then made mac based acl in squid.conf for allowing only specfic mac

Regards
by kernel-trap
Fri Jun 11, 2004 7:41 pm
Forum: Programming
Topic: newbie perl help
Replies: 2
Views: 5921

newbie perl help

i want to use system commands but i have to put ip 2 times to excute it . should i have to use Query Strings . i dont know much about perl later i want to put this on web page how to proceed #!/usr/bin/perl -w #print "Ener your ip="; $ip=<STDIN>; $a = 'ping -c 4'; system "$a $ip";
by kernel-trap
Thu Jun 10, 2004 10:40 pm
Forum: Security
Topic: getting problem in ethtool configuration
Replies: 6
Views: 10398

put this command in /etc/rc.local so it run after every reboot

Regards
by kernel-trap
Sun Jun 06, 2004 11:56 am
Forum: Programming
Topic: bash scripting help
Replies: 3
Views: 6945

Thanks for the idea . i will further correct this code :) Hey, May be this is what you were asking for.... #!/bin/bash #In the mail directory there is a file, called "kerneltrap". #In this mail-file the "command*" is right at the beginning of the new line. #Donot put the script, ...
by kernel-trap
Fri Jun 04, 2004 11:07 pm
Forum: Programming
Topic: bash scripting help
Replies: 3
Views: 6945

bash scripting help

bash scripting help Basically i want make script when i mail it with specfic command it will execute command on system and mail back command results i have problem after excuting command how i can remove command from my mail box file . so the when i run the script again it wont execute it again here...
by kernel-trap
Tue May 11, 2004 9:31 am
Forum: Administration
Topic: commands for RAM and swap usage?
Replies: 6
Views: 3612

another command is

free -m

Regards
by kernel-trap
Mon May 10, 2004 3:41 am
Forum: Programming
Topic: bash scripting help
Replies: 2
Views: 5543

bash scripting help

here is simple script which is take input and divide value by 10

but the problem it is not showing answer in decimals

like i put 55 it shows 5 which should be 5.5

Regards

#!/bin/bash
echo -n "Enter the value of a:"
read a
b=$[$a / 10]
echo $b
by kernel-trap
Fri Apr 23, 2004 6:29 pm
Forum: General
Topic: Kernel 2.6
Replies: 2
Views: 1994

Read this link

http://kniggit.net/wwol26.html

Regards

Go to advanced search