Re: Partition size mismatch

2002-11-18 Thread Q. Gong
It seems that your file system is smaller than the partition. You can enlarge or shrink the ext2 file system by resize2fs. Qian On Sun, 17 Nov 2002, Jason Bleazard wrote: > I'm trying to track down why my /var partition is only mounting as half > the size as reported by fdisk or parted. I'd app

Programming from scrath

2002-11-15 Thread Q. Gong
Hi, I used to code c++ terminal programs by Kdevelop. But now I want to try a low level way -- constructing manually all the files such as configure, Makefile, source files, etc. Are there some guidelines for creating all these files as well as their structures, in order to get good portability? T

Re: ./configure

2002-11-11 Thread Q. Gong
Check the first line of file ./configure. Normally it's a path to a shell, for example, #!/bin/bash. If the path is not correct for your specific system, you can just modify it and then it will be OK. Qian On Mon, 11 Nov 2002, alex wrote: > I'm have a problem with ./configure in that I sometimes

Re: /etc/hosts.allow & /etc/hosts.deny question

2002-11-07 Thread Q. Gong
On Thu, 7 Nov 2002, Benedict Verheyen wrote: > Hi, > > i have some problems setting up ssh connection (not the scope of this email though >not yet :-) and i came across the /etc/hosts.allow & /etc/hosts.deny files. > > Now, i saw in some documents about ssh that they add "sshd: all" to the > /etc

Tasksel: remove packages?

2002-11-06 Thread Q. Gong
Hi, Is it possible to use tasksel to select a task and remove all the packages in the selected task? Thanks in advance. Qian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: log

2002-11-05 Thread Q. Gong
Use Shift+PageUp to view all the messages. Qian On Tue, 5 Nov 2002, Emanuele Boieri wrote: > I just install the a new kernel 2.4.19. But when I rebooted again I saw > some errors but I couldn't see well because it ran too fast. Is there a > log file where I can read what happened? > Thanks in ad

Mail notifier

2002-11-05 Thread Q. Gong
Hi, I am looking for a utility to check my email box on a imap server regularly. I want to specify a certain rule, e.g., email sender as *.debian.org. And the notifier only lists information (sender, subject) of the emails obeying the rule. I know knewmail is good for above requirement. Do you kn

Re: dhcp problem after recompiling kernel

2002-10-27 Thread Q. Gong
For most users dhclient works perfectly with kernel 2.4, IMHO. There seems to be something interesting in Auke's case. Qian On 27 Oct 2002, Shyamal Prasad wrote: > "Auke" == Auke Jilderda <[EMAIL PROTECTED]> writes: > > Auke> Makes me wonder though: Why the heck does Woody default come >

Re: Easy way to compile loop.o?

2002-10-26 Thread Q. Gong
On Fri, 25 Oct 2002, Seneca wrote: > On Sat, Oct 26, 2002 at 05:29:23AM +0200, Q. Gong wrote: > > Is it possible to only compile and add a module loop.o without recompiling > > the whole kernel? Thanks in advance. > > Yes it is. The way that I've done it is (with appropr

Easy way to compile loop.o?

2002-10-25 Thread Q. Gong
Hi, Is it possible to only compile and add a module loop.o without recompiling the whole kernel? Thanks in advance. Qian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Why does Root need passwords?

2002-10-25 Thread Q. Gong
On Fri, 25 Oct 2002, Andreas Eichner wrote: > > Hi there, > > after ca. 1 month uptime I had a bad system crash due to a hardware > failure. I encountered strange behaviors and after some reboots I set > "forcefsck". Several errors where found which my ext3 did not realize by > journalling (and no

mkdosfs: strange?

2002-10-25 Thread Q. Gong
Hi, all, There is a very strange thing about mkdosfs. I have a 80GB WD hard disk. At the end of this disk I created a Win95 FAT32 partition for Windos 98. I used mkdosfs -f 32 /dev/hdc6 to format it. Under both win98 and Linux I can read and write on hdc6. But for Linux, ls only list the files cre

Re: 'sudo su' Permission denied [Solved]

2002-10-22 Thread Q. Gong
heel. Thank you. Qian On Tue, 22 Oct 2002, Colin Watson wrote: > On Tue, Oct 22, 2002 at 10:02:48AM +0200, Q. Gong wrote: > > I maybe found the reason. This is due to PAM. I restricted that only > > users in group wheel can use su. But root is not in wheel. > > You could use th

Re: 'sudo su' Permission denied

2002-10-22 Thread Q. Gong
On Tue, 22 Oct 2002, Q. Gong wrote: > On Mon, 21 Oct 2002, nate wrote: > > > Q. Gong said: > > > > > (root) # su > > > su: Permission denied > > > > not sure what system your using but for me, debian 3.0, redhat 7.3, > > suse 8.0, solaris 7

Re: 'sudo su' Permission denied

2002-10-22 Thread Q. Gong
On Mon, 21 Oct 2002, nate wrote: > Q. Gong said: > > > (root) # su > > su: Permission denied > > not sure what system your using but for me, debian 3.0, redhat 7.3, > suse 8.0, solaris 7 and freebsd 4.6.2 all work fine if I do su as > root it just gives me anothe

Re: "sudo su" Permission denied

2002-10-21 Thread Q. Gong
On Mon, 21 Oct 2002 [EMAIL PROTECTED] wrote: > What does this command output say for you? It lists the commands you > can run. Don't report anything to the list that reveals anything > sensitive about your site. Just read it yourself and make sure the > output makes sense. > > sudo -l In the

"sudo su" Permission denied

2002-10-21 Thread Q. Gong
Hi, I am trying to use "sudo su -". But I always get "su: Permission denied". The purpose is to make su only available through sudo. Any ideas? Qian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Is it safe to upgrade libc6?

2002-10-19 Thread Q. Gong
Hi, Is it safe to upgrade libc6 from woody to sid release version? My system is woody, but has a few packages from unstable, which can not be upgraded due to the dependency of newer libc6 version. Anyway, the system is fine. I am just curious. Qian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED]

Upgrade libc6 in mixed system?

2002-10-18 Thread Q. Gong
Hi, Woody is running quite well. But I have a upgrading problem with a few packages from the unstable release, which are always be kept back because they depend on the higher version of libc6. Is it OK to upgrade libc6 to the new version? Does the package from unstable release supported by the sec

Re: Mounting Problem

2002-10-15 Thread Q. Gong
Did you try mounting when the drive was cool? How about trying mount after a reboot? I encountered the same as you. I couldn't mount just after recording. Then switched to windows to verify the CD. It was OK. Then back to Linux. It became OK. I don't know the exact reason. Need more tests. Good l

Spell check in vim

2002-10-14 Thread Q. Gong
Hi, Is it possible to do spell check for a selected part of the content in vim? Thank you in advance. Qian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: dual boot win2k and debian

2002-10-13 Thread Q. Gong
IMHO, the setup command should be grub> setup (hd0) Then the grub stage1 file is located in the MBR of your hard disk. (hd0,0) stands for the partition /dev/hda1, which is in your case the NTFS partition. The command setup (hd0,0) will install grub in the "MBR" of /dev/hda1, instead of /dev/hda. T

Re: sound with a VIA Technologies, Inc. VT82C686 AC97 Audio

2002-10-07 Thread Q. Gong
You need to load three modules. # modprobe soundcore # modprobe ac97_codec # modprobe via82cxxx_audio Good luck, Qian On Mon, 7 Oct 2002 [EMAIL PROTECTED] wrote: > Date: Mon, 7 Oct 2002 09:54:12 +0200 > From: [EMAIL PROTECTED] > Reply-To: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > Subject: so

initrd, vmlinuz and vmlinux

2002-10-02 Thread Q. Gong
Hi, Under /boot, there are three files, such as vmlinuz-version, vmlinux-version, and initrd-version.img. What's the differences between them? Can initrd-version.img be used for both vmlinuz and vmlinux? Thanks a lot in advance. Qian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a sub

Re: Logical Volume Manager

2002-09-26 Thread Q. Gong
I converted my root file system to LVM. A Linux partition (e.g. using ext2 file system) is needed for /boot, containing the kernel files which support LVM. I previously posted a message including all detailed steps. Good luck, Qian On Wed, 25 Sep 2002, Alan Chandler wrote: > On Tuesday 24 Sept

Re: Set a Realtek 8019AS network card to half duplex - HOW?

2002-09-12 Thread Q. Gong
If you are using module for the NIC, it's perhaps possible to set the half duplex mode in the options passed to the module. Good luck, Qian On 12 Sep 2002, Adrian 'Dagurashibanipal' von Bidder wrote: > Hi! > > I have a cheapo ISA Realtek8019AS card (worst Ethernet card ever built > etc.). Also

Re: merging two ps files

2002-09-11 Thread Q. Gong
Try: cat 1.ps 2.ps > 3.ps ps2pdf 3.ps pdf2ps 3.pdf gv 3.ps Good luck, Qian On Wed, 11 Sep 2002, martin f krafft wrote: > hi, i am trying to print two separate 1-page ps files so that they > appear both at 50% side-by-side on one page. > > just concatenating the files doesn't work >

Re: CDRDAO -- can it record iso files?

2002-09-09 Thread Q. Gong
ndown: > > mkisofs -r -U -J -f -o cd_image private_collection/ > cdrecord -v speed=8 dev=0,0,0 -data cd_image > > or > > cdrdao write --device 0,0,0 --driver generic-mmc --speed 24 --save > tocfile.cue > > regards, > Balazs > > On Sun, Sep 08, 2002 at 08:58

CDRDAO -- can it record iso files?

2002-09-08 Thread Q. Gong
Hi, Is it possible to use CDRDAO to record a directory from a hard disk to a CD-R? Of course, mkisofs can make a iso file for that directory. But I don't know if CDRDAO supports recording iso files. My Samsung CDRW/DVD SM-308B doesn't work with CDRECORD, but CDRDAO. So it's important to know the

Re: GRUB install disk, menu.1st

2002-09-08 Thread Q. Gong
IL PROTECTED] > > On Fri, 2002-09-06 at 17:50, Q. Gong wrote: > > On Fri, 6 Sep 2002, Antonio Rodriguez wrote: > > > > > Date: Fri, 6 Sep 2002 15:03:37 -0400 > > > From: Antonio Rodriguez <[EMAIL PROTECTED]> > > > To: Debian Users <[EMAIL PROTECTED

Re: weird but working triple boot with lilo on Woody

2002-09-07 Thread Q. Gong
On Fri, 6 Sep 2002, Benedict Verheyen wrote: > Hi, > > i have Debian Woody 3.0 running along Windows 98 en XP. > I had installed Win98 first, then woody. Now i installed XP and XP > detected Win98, made a menu to boot XP and Win98 and then overwrote > the MBR which was expected. > No problem sinc

Re: GRUB install disk, menu.1st

2002-09-06 Thread Q. Gong
On Fri, 6 Sep 2002, Antonio Rodriguez wrote: > Date: Fri, 6 Sep 2002 15:03:37 -0400 > From: Antonio Rodriguez <[EMAIL PROTECTED]> > To: Debian Users <[EMAIL PROTECTED]> > Subject: GRUB install disk, menu.1st > Resent-Date: Fri, 6 Sep 2002 14:00:37 -0500 (CDT) > Resent-From: [EMAIL PROTECTED] > >

Samsung CDRW/DVD SM-308B lock up in writing

2002-09-06 Thread Q. Gong
Hi, I tried two days to solve the following problem but failed. The CDRW/DVD (SM-308B) drive can read CDs very well after using the module IDE-SCSi and passing "hdc=ide-scsi" to kernel. However, it alway locks up when I use cdrecord to write a CD. The kernel outputted lines listed below without s

Re: kernel-panic

2002-09-03 Thread Q. Gong
On Wed, 4 Sep 2002, Russell wrote: > Hi, > > Why do i get: > > RAMDISK: cramfs filesystem found at block 0 > RAMDISK: Loading 892 blocks [1 disk] into ram disk... done. > Freeing initrd memory: 892k freed > request_module[nls_437]: Root fs not mounted > Unable to load NLS charset 437 > Kernel pan

Package verification failed

2002-09-03 Thread Q. Gong
Hi, Just tried to use the package verification to improve the security. However, I got the following error when I used apt-get to install a package. - # apt-get install apt-show-versions Reading Package Lists... Done Building Dependency Tree... Done The fol

Re: make menuconfig

2002-09-02 Thread Q. Gong
On Mon, 2 Sep 2002, Russell wrote: > Russell wrote: > > Hi, > > When i do: > > debpc:/usr/src/kernel-source-2.4.18# make menuconfig > > then i get a screen without any submenus. I just get: > > --- > Load an alternate configuration file > Save configuration to an alternate file > > No amount of k

Re: driver for 3Com PCI 10/100?

2002-08-30 Thread Q. Gong
Try module 3c59x. Qian On Fri, 30 Aug 2002, Lars Jensen wrote: > I have a 3com PCI Twisted Pair network card that I can't seem to get > recognized after I installed the 2.4.18 kernel image. The card says > 3c905c when I look in windows, but I see no module of this name in > /lib/modules How do

How many files can be put in one directory?

2002-06-20 Thread Q. Gong
Hi, A general question: what's the maximum number of files located in one directory? Qian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: how to stop console cursor blink?

2002-06-19 Thread Q. Gong
On Wed, 19 Jun 2002, Jan Groenewald wrote: > sort of similar, how does one turn the console error beep > off? > Use command: xset -b Qian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Debian book for complete newbie?

2002-06-12 Thread Q. Gong
On Wed, 12 Jun 2002, Johann Spies wrote: > > Search google for rute.pdf It is a book by Paul Sheer of about 700 > pages referring frequently to the debian way of doing things. > The website is http://rute.sourceforge.net. It looks nice. Qian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with

Re: inserting carriage return characters

2002-06-03 Thread Q. Gong
> What is recode ? recode is a filter converting various character sets. Have a look at: http://www.iro.umontreal.ca/~pinard/recode/HTML/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: inserting carriage return characters

2002-06-01 Thread Q. Gong
> What is a simple way to insert a carriage return character just before > each line feed (new line) character in a text file? > > Try command: "cat old.txt | recode ..pc > new.txt" Qian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROT

A installation question

2002-05-28 Thread Q. Gong
Dear all, Just preparing to install Woody. I have a question concerning lilo. During installation, how to configure lilo to put the boot block on a floppy and leave the hard disk's MBR unchanged? Thank you very much in advance. After receiving your answer, I will start to upgrade my SuSe linux to