Re: [newbie] Restricting resource usage

2002-04-21 Thread Irwan Hadi

On Sun, Apr 21, 2002 at 03:29:27PM -0400, Brian York wrote:

> Is their a way to restrict the amount of network and other resource 
> usage that a user on a remote computer can use?
> 
> Reason: I am on a lan at my college and i share 30 GB of music and 10 GB 
> fo software. During a typical day i can be sending 500KB/s of data. I 
> would rather this be around 200KB/s because it kills my connection and 
> can slow down my hard drive (only one HD would be fine if i had another 
> one). for my shares i use a guest account "pcguest" so reduing resorce 
> usage is only going to affect people connected to me to download music.

Try to consider linux QOS (Quality of Service)

http://qos.ittc.ukans.edu/howto/
http://www.linux.org/docs/ldp/howto/Bandwidth-Limiting-HOWTO/cbq.html



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Problem compiling new kernel 2.4.13 with mandrake 8.1

2001-11-04 Thread Irwan Hadi

I bought a mandrake 8.1 standard edition in wal-mart a few days ago, and
install it on my computer (AMD Athlon 1.2 Ghz, 1.1 GB ram, with motherboard
A7A266.

When I'm finished compiled the kernel, and copy it to /boot, both the
System.map, bzImage, and also edit /etc/lilo.conf the map from map to
System.map, I got problem, that is I couldn't ping to the network at all.

When I did /sbin/ifconfig eth0, I could see my network card (3com 905c) is
there, which means the problem must not be from the network card.
When I used the kernel packed by Mandrake I can access the network without any
problem. The problem just comes if I use the kernel I rebuild by myself.

I already tried to optimize the kernel for athlon based processor, amd K6, and
i386, but all just failed.

Does anyone can help me to solve this problem ?
Thanks


Portion of my log messages :
Nov  3 19:55:18 phxby kernel: Linux version 2.4.13 ([EMAIL PROTECTED])
(gcc version 2.96 2731 (Mandrake Linux 8.1 2.96-0.62mdk)) #3 SMP Sat Nov 3
19:47:02 MST 2001
Nov  3 19:55:18 phxby kernel: BIOS-provided physical RAM map:
Nov  3 19:55:18 phxby kernel:  BIOS-e820:  - 0009fc00
(usable)
Nov  3 19:55:18 phxby kernel:  BIOS-e820: 0009fc00 - 000a
(reserved)
Nov  3 19:55:18 phxby kernel:  BIOS-e820: 000f - 0010
(reserved)
Nov  3 19:55:18 phxby kernel:  BIOS-e820: 0010 - 47fec000
(usable)
Nov  3 19:55:18 phxby kernel:  BIOS-e820: 47fec000 - 47fef000
(ACPI data)
Nov  3 19:55:18 phxby kernel:  BIOS-e820: 47fef000 - 47fff000
(reserved)
Nov  3 19:55:18 phxby kernel:  BIOS-e820: 47fff000 - 4800
(ACPI NVS)
Nov  3 19:55:18 phxby kernel:  BIOS-e820:  - 0001
(reserved)
Nov  3 19:55:18 phxby kernel: 255MB HIGHMEM available.
Nov  3 19:55:18 phxby kernel: On node 0 totalpages: 294892
Nov  3 19:55:18 phxby random: Initializing random number generator:  succeeded
Nov  3 19:55:18 phxby kernel: zone(0): 4096 pages.
Nov  3 19:55:18 phxby kernel: zone(1): 225280 pages.
Nov  3 19:55:18 phxby kernel: zone(2): 65516 pages.
Nov  3 19:55:18 phxby kernel: Local APIC disabled by BIOS -- reenabling.
Nov  3 19:55:18 phxby kernel: Found and enabled local APIC!
Nov  3 19:55:18 phxby kernel: Kernel command line: auto BOOT_IMAGE=linux ro
root=305 devfs=mount
Nov  3 19:55:18 phxby kernel: Initializing CPU#0
Nov  3 19:55:18 phxby kernel: Detected 1208.831 MHz processor.
Nov  3 19:55:18 phxby kernel: Console: colour VGA+ 80x25
Nov  3 19:55:18 phxby kernel: Calibrating delay loop... 2411.72 BogoMIPS
Nov  3 19:55:18 phxby kernel: Memory: 1157952k/1179568k available (1656k
kernel code, 21228k reserved, 461k data, 232k init, 262064k highmem)
Nov  3 19:55:18 phxby kernel: Dentry-cache hash table entries: 262144 (order:
9, 2097152 bytes)
Nov  3 19:55:18 phxby kernel: Inode-cache hash table entries: 131072 (order:
8, 1048576 bytes)
Nov  3 19:55:18 phxby kernel: Mount-cache hash table entries: 32768 (order: 6,
262144 bytes)
Nov  3 19:55:18 phxby kernel: Buffer-cache hash table entries: 131072 (order:
7, 524288 bytes)
Nov  3 19:55:18 phxby kernel: Page-cache hash table entries: 524288 (order: 9,
2097152 bytes)
Nov  3 19:55:18 phxby kernel: Intel machine check architecture supported.
Nov  3 19:55:18 phxby kernel: Intel machine check reporting enabled on CPU#0.
Nov  3 19:55:18 phxby kernel: CPU: L1 I Cache: 64K (64 bytes/line), D cache
64K (64 bytes/line)
Nov  3 19:55:18 phxby kernel: CPU: L2 Cache: 256K (64 bytes/line)
Nov  3 19:55:18 phxby kernel: Enabling fast FPU save and restore... done.
Nov  3 19:55:18 phxby kernel: Checking 'hlt' instruction... OK.
Nov  3 19:55:18 phxby kernel: POSIX conformance testing by UNIFIX 
Nov  3 19:55:18 phxby kernel: Intel machine check reporting enabled on CPU#0.
Nov  3 19:55:18 phxby kernel: CPU: L1 I Cache: 64K (64 bytes/line), D cache
64K (64 bytes/line)
Nov  3 19:55:18 phxby kernel: CPU: L2 Cache: 256K (64 bytes/line)
Nov  3 19:55:18 phxby kernel: CPU0: AMD Athlon(tm) Processor stepping 02
Nov  3 19:55:18 phxby kernel: per-CPU timeslice cutoff: 731.62 usecs.
Nov  3 19:55:18 phxby kernel: SMP motherboard not detected.
Nov  3 19:55:18 phxby kernel: enabled ExtINT on CPU#0
Nov  3 19:55:18 phxby kernel: ESR value before enabling vector: 
Nov  3 19:55:18 phxby kernel: ESR value after enabling vector: 
Nov  3 19:55:18 phxby kernel: Using local APIC timer interrupts.
Nov  3 19:55:18 phxby kernel: calibrating APIC timer ...
Nov  3 19:55:18 phxby kernel: . CPU clock speed is 1208.9630 MHz.
Nov  3 19:55:18 phxby kernel: . host bus clock speed is 268.6585 MHz.
Nov  3 19:55:18 phxby kernel: cpu: 0, clocks: 2686585, slice: 1343292
Nov  3 19:55:18 phxby kernel:
CPU0
Nov  3 19:55:18 phxby kernel: Waiting on wait_init_idle (map = 0x0)
Nov  3 19:55:18 phxby kernel: All processors have done init_idle
Nov  3 19:55:18 phxby kernel: PCI: PCI BIOS revision 2.10 entry at 0xf10f0,
last bus=1
Nov  3 19:5

Re: [newbie] Networking

2001-06-07 Thread Irwan Hadi

On Tue, Jun 05, 2001 at 02:58:43AM -0600, Paul Remnant wrote:

> Hi,
> 
> I Installed Madrake 7.1 last night and want to network it to my other Windows 98 
>Machine. I dont think that it has detected my network card because it is not listed 
>under hardware configuration. The card is a 3COM 3c509x Combo card and is ISA. Is 
>there something I need to do to get it to detect the card?
> 
You can just load the corect module (3c509.o) if you have that using modprobe.
If you don't have the module, I think you can just either compile the module
or install a new kernel (see KERNEL-Howto at www.linuxdoc.org)






Re: Fwd: [newbie] when is lm 8.1 coming out ?

2001-06-07 Thread Irwan Hadi

On Mon, Jun 04, 2001 at 01:54:27PM -0600, bart deglorie wrote:

> 8.0 is buggy enough to brin,g out a 8.1 , i'm using redhat 7.1 now b'cose 
> half of the lm 8.0 included stuff doesnt work properly or doesn't work at all.

Is that happened because Mandrake 8.0 use gcc 2.96 which is not a stable one ?
(http://gcc.gnu.org).

Anyway the Mandrake 8.1 should be launched around september this year, because
in the Mandrake 8.0 complete I just bought from walmart, I got a coupon inside
the box saying that if I buy Mandrake 8.1 power pack between September 15,2001 to June
30, 2002, I can qualify for a $20 rebate.




[newbie] gcc ?

2001-05-31 Thread Irwan Hadi

I just curious about the gcc 2.96 packaged with Mandrake 8.0, is it stable ?
because the "history" of gcc 2.96 packaged with redhat 7.0 was not good right
?






Re: [newbie] Hard drive light always lit

2001-01-06 Thread Irwan Hadi

At 11:57 PM 1/5/01 -0700, Miark wrote:
>Hi all,
>
>I dual-boot to Windoze and Mandrake 7.2. In Windoze, the
>hard drive light on my case acts as you'd expect, but in
>Linux, it _never_ turns off. Does that mean that my drive is
>always running, or that the hardware mechanism that controls
>the light just loses its mind while running Linux?

Probably you need more memory, because perhaps you have too many services 
run at boot which consume the memory.
to control the services, do ntsysv as a root.





Re: [newbie] Grub

2001-01-01 Thread Irwan Hadi

At 02:17 PM 1/1/01 -0800, Meph Istopheles wrote:
>   Hey,
>
>   I'd mentioned this before, but I'm not sure anyone noticed;-).
>
>   For a few reasons, I want to boot with lilo instead of grub.
>Civileme had told me what the grub faq confirms that all I had to
>do was run /sbin/lilo (as one would do in any other distro to
>load lilo), but having done this & rebooted, grup still loads at
>the 2nd stage.
>
>   So, short of deleting all things grub & rerunning /sbin/lilo,
>is there anything else?

well if so, probably you need to change the lilo.conf a little bit, just 
add # for example, and run lilo
or if it doesn't work then remove the grub ;)





Re: [newbie] wu-ftpd

2000-12-28 Thread Irwan Hadi

At 01:54 AM 12/28/00 -0800, you wrote:
>hi
>
>does anyone know how to setup user account for only
>wuftpd ?
>i don't wanna user in ftp can access in telnet or
>others thing !
>
>any simple and good website about tutorial wu-ftpd ?



well you can try proftpd see www.proftpd.net and you can make your own "ftp 
users' instead of using /etc/passwd
you can create like /usr/local/proftpd/etc/passwd
or mysql based authentification






[newbie] error in setuping Linux Mandrake 7.1 from network instalation

2000-06-25 Thread Irwan Hadi

Why in installing linux Mandrake 7.1 on different partition of a computer 
which already running win98 using network instalation (not the CD) 
instalation, I always get this in the reading the packages stage :

An Error occurent deplist.ordered mismatch against hdlist files.

at the end, of the instalation, it shows
Glibc - Warning ** : get pwuid (-rc) : failed due to : no such user 0

sunday, xxx xxx xxx (the date of course) : Gdk WARNING ** : shmget failed : 
at /usr/bin/perl-install/install-steps.gtl.pl line 805
Error resetting /mnt/etc/mtab at /usr/bin/perl-install/fs.pm line 313

Anyone can help me ?
Thanks




[newbie] error setuping Linux Mandrake 7.1 from network instalation

2000-06-25 Thread Irwan Hadi

Why in installing linux Mandrake 7.1 on different partition of a computer 
which already running win98 using network instalation (not the CD) 
instalation, I always get this in the reading the packages stage :

An Error occurent deplist.ordered mismatch against hdlist files.

at the end, of the instalation, it shows
Glibc - Warning ** : get pwuid (-rc) : failed due to : no such user 0

sunday, xxx xxx xxx (the date of course) : Gdk WARNING ** : shmget failed : 
at /usr/bin/perl-install/install-steps.gtl.pl line 805
Error resetting /mnt/etc/mtab at /usr/bin/perl-install/fs.pm line 313

Anyone can help me ?
Thanks