How to make my program a bootable lilo image?
Hi, I have a simple assembly program: /* show.s */ begin: movb $9,%ah movb '*',%al movb $0,%bh movb $7,%bl movw $10,%cx int $0x10 jmp begin I want to make it a bootable lilo image, so I tryed $ gcc -c show.s $ ld show.o -b binary -e 0 -o show.bin then I add show.bin as a lilo image, but it can't be load and run. How to make it a good lilo image? Thanks, Tao -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
how to run commands automaticly when boot up?
Which script shall I add the commands to, so that the commands will run when boot up? -- Regards Tao Liu _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Kernel Compile Problem
When compile 2.4.9 kernel with gcc 3.0.2 : #make-kpkg clean #make-kpkg --append-to-version -tao3 kernel_image #make-kpkg clean #make-kpkg --append-to-version -tao4 kernel_image #make-kpkg clean #make-kpkg --append-to-version -tao5 kernel_image (install the three kernels) #cd /boot #ls -l ... -rw-r--r--1 root root 706298 Sep 7 12:50 vmlinuz-2.4.9-tao3 -rw-r--r--1 root root 706300 Sep 7 13:36 vmlinuz-2.4.9-tao4 -rw-r--r--1 root root 706299 Sep 7 13:52 vmlinuz-2.4.9-tao5 the configuration of the three kernels are same, why the size of them are diffient? -- Regards Tao Liu _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: How to obtain net load?
On Friday 07 September 2001 11:35, you wrote: > I'm not sure if this is what you're looking for, but have you examined > /proc/net/dev ? This will give you both bytes and packets for each > interface, both transmit and receive. Hope this helps! Good luck. > > --Myke > > >>> Tao Liu <[EMAIL PROTECTED]> 09/06/01 08:52PM >>> > > I know in KDE, KNETLoad can do the job, > But how can I obtain net load in text mode? > > Thanks. Thanks for your reply. I think ifconfig will show interfaces information too. But that's not I am looking for. I am looking for a program which can show interfaces' receiveing and transmiting rate , just like KNETLoad. -- Regards Tao Liu _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
How to obtain net load?
I know in KDE, KNETLoad can do the job, But how can I obtain net load in text mode? Thanks. -- Regards Tao Liu _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Does official redhat 7.1 have any exploit?
I find a machine runs redhat7.1(2.4.2) and telnet. Do you know any known exploit of redhat 7.1? _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
kde2.2 open 1 port
When kde2.2 is startup, I find that port 18300 is opened. what service listen on that port? -- Regards Tao Liu _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Help: I forgot my root password :(
Now I can give arguments to kernel when boot. I tried : LILO Linux init=/bin/sh but my / (reiserfs) is mounted readonly. I can't change my /etc/shadow so, I did: cp /bin/bash /base/bash chmod +s /base/bash then, I reboot, login as a common user, and type /base/bash but I did't get the root right, my UID and EUID didn't change , why? my kernel is 2.4.7, compiled myself. -- Regards Tao Liu _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: How to make ppp0 default gateway automaticly?
On Thursday 16 August 2001 14:54, Nik Butler wrote: > Five steps. > > 1. Ensure that no other default route is defined prior to enabling ppp. > > 2. add the keyword > defaultroute > to your ppp options file. > > 3. ensure that your resolv.conf points to a good Domain Name server > > 4. ensure that ip_forward under /proc/sys/net/ipv4/ is set at value 1. > > 5. Run a good firewall script on ipchains/iptables to ensure port > forwarding and security. I have done the first 4 steps, and is going to step 5. Which script shall I insert my firewall script to? (In redhat, I insert it to /etc/rc.d/rc.local) Regards Tao Liu _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
How to make ppp0 default gateway automaticly?
I installed ppp2.4.1 with the pppoe plugin patch. And it does not have a script like /etc/init.d/pppd I always type pppd eth0 (wait a while and make sure ppp0 is up) route add default gw x.x.x.x (isp's ip) to make it work. but how can I make ppp0 the default gateway automaticly when ppp0 is up? Can I add some option to ppp, so ppp will do the right thing? Or must I need a script like the original /etc/init.d/pppd comes with debian's package? _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: libdb.so.3
On Sunday 12 August 2001 11:43, Michael P. Soulier wrote: > Hey people. > > So, I was told that the solution to upgrading to unstable from stable > and getting the missing libdb.so.3 library was to upgrade to testing first. > That did not work. The same thing happened. > > I'm working around it again by ftping the lib from my working box, but > does anyone know when this will be fixed? I can't reliably upgrade! > > Mike You do not need to upgrade to test. You can backup /lib/libdb.so.3 in stable, and then upgrade to sid, when the error occurs, simply restore libdb.so.3 to /lib, then upgarde again. If you already have a broken system, you can download libdb.so.3 and put it to /lib, then try upgrade again. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
memtest86 questions
Does anyone have tried memtest86? I tried and got the message: L1 Cache32K 4324.6MB/s L2 Cache128K1085.6MB/s Memory 128M71.1MB/s Memory runs so slow? Regards Liu Tao _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Is my memory's speed normal?
I tried memtest86 to test my memory. It says: Memtest-86 v2.6 Celeron 434.3MHz L1 Cache 32k 4342.6MB/s L2 Cache 128k 1085.6MB/s Memory 128M 71.1MB/s Cacheable 128M I choiced all tests, it worked 10 hours, and still not finished, so I aborted. I have a 66MHz 443BX mainboard, 128M PC133 Memory, In BIOS, I set CAS = 2 Can someone tell me whether my memory works well? Thanks. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
do I need kernel header 686
Hi, if I have a celeron cup, and want to compile the kernel, do I need kernel-headers-686? Thanks, Tao _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
about packages
When I type dselect, and select, it shows some Obsolete/local packages. Does that mean all these packages can be removed, if I have no local packages? Thanks. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
How to setup network?
How to change an interface's ip, and the default gateway, etc, and save them, do not need to type ifconfig everytime ? Thanks. Tao Liu _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
what does "cramfs" mean?
Hi, I use kernel 2.4.7 , when I turn on my computer, I can see ... VFS: Mounted root (cramfs filesystem) Waiting for 5 seconds, press Enter to obtain a shell if I press Enter, it says 9: Terminated sh: can't access tty; job control turned off # exit cramfs: wrong magic Kernel panic: VFS: Unable to mount rootfs on 03:02 if I do not press Enter, it says ... cramfs: wrong magic VFS: Mounted root (ext2 filesystem) readonly change_root: old root has d_count = 2 What does the information mean? _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: ext2 -> reiserfs
how to convert / or /usr to reiserfs? On Sunday 29 July 2001 09:51, Karsten M. Self wrote: > on Sat, Jul 28, 2001 at 03:58:24PM -0700, Shriram Shrikumar ([EMAIL PROTECTED]) wrote: > > Hi, > > > > does anyone know an easy way of converting a ext2 partition to > > resierfs and is it worth it ? > > - Back up ext2fs partition. > - mkreiserfs on the partition. > - Restore data to partition. > > It's called the reiserfs shuffle. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: kernel 2.4.7 doesn't work
Yes! The problem is resolved! I am using 2.4.7 now. Thank you! But what does initrd mean? Is it new for 2.4? On Sunday 29 July 2001 22:50, you wrote: > have you got the line > > initrd=/boot/initrd-2.4.7-686 > > after the vmlinuz stanza in lilo.conf? > > that fixed my trouble with that one > add the run lilo and boot > -- Regards, Tao Liu _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
How to stop some system services?
How can I stop the system services I dont want them to run? Forexample, I don't want zope to run, but is starts when I turn on my cumputer. In redhat, I use "ntsysv" . How can I do in debian? -- Regards, Tao Liu _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
kernel 2.4.7 doesn't work
I upgraded my potato to sid today, and I installed the package"Kernel-image-2.4.7-686" When I reboot, my computer shows: ... Linux IP multicast router 0.06 plus PIM-SM request_module[block-major-3]: Root fs not mounted VFS: Cannot open root device "302" or 03:02 Please append a correct "root=" boot option Kernel panic: VFS: Unable to mount rootfs on 03:02 I can still use kernel 2.2.19pre17 now, and it works very good my /etc/fstab shows: # /etc/fstab: static file system information. # # /dev/hda2 / ext2defaults,errors=remount-ro 0 1 /dev/hda1 noneswapsw 0 0 proc/proc procdefaults0 0 /dev/fd0/floppy autodefaults,user,noauto0 0 /dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0 0 /dev/hda3 /boot ext2 rw 0 2 /dev/hda5 /usr ext2 rw 0 2 /dev/hda6 /var ext2 rw 0 2 /dev/hda7 /home ext2 rw 0 2 /dev/hda8 /base ext2 rw 0 2 Now, what shall I do to use kernel 2.4.x? -- Regards, Tao Liu _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com