Make Errors During Kernel Build
I successfully built a 2.4.2 kernel on an old Pentium but forgot a few things, so I am need to rebuild. First, I deleted the /usr/src/linux-2.4.2/ subdirectories and uncompressed and untarred linux-2.4.2.tar.bz2 into /usr/src/linux-2.4.2/ I then ran: make clean make menuconfig make-kpkg kernel_image Things seem to be going fine until the end of the build, when I get: (Please excuse any typos, e.g., I can't get the ' to swing the other way ;) ) bbootsect.s: Assembler messages bbootsect.s:253: Warning: indirect lcall without '*' ld -m elf_i386 -Ttext 0x0 -s -oformat binary bbootsect.o -o bbootsect ld: cannot open binary: No such file or directory make [2]: *** [bbootsect] Error 1 make [2]: Leaving directory '/usr/src/linux-2.4.2/linux/arch/i386/boot' make [1]: *** [bzImage] Error 2 make [1]: Leaving directory '/usr/src/linux-2.4.2/linux' make: *** [stamp-build] Error 2 Of course, there is no .deb created. What did I do wrong? -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Make Errors During Kernel Build
Steve, I tried changing -oformat to --oformat in /usr/src/linux-2.4.2/linux/arch/i386/boot/Makefile but I get the following new error: make[2]: Entering directory /usr/src/linux-2.4.2/linux/arch/i386/boot' gcc -E -D__KERNEL__ -I/usr/src/linux-2.4.2/linux/include -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA bootsect.S -o bbootsect.s as -o bbootsect.o bbootsect.s bbootsect.s: Assembler messages: bbootsect.s:253: Warning: indirect lcall without *' ld -m elf_i386 -Ttext 0x0 -s --oformat binary bbootsect.o -o bbootsect gcc -E -D__KERNEL__ -I/usr/src/linux-2.4.2/linux/include -D__BIG_KERNEL__ -traditional -DSVGA_MODE=NORMAL_VGA setup.S -o bsetup.s as -o bsetup.o bsetup.s bsetup.s: Assembler messages: bsetup.s:1356: Warning: indirect lcall without *' ld -m elf_i386 -Ttext 0x0 -s --oformat ld: unrecognized option '--oformat' ld: use the --help option for usage information make[2]: *** [bsetup] Error 1 make[2]: Leaving directory /usr/src/linux-2.4.2/linux/arch/i386/boot' make[1]: *** [bzImage] Error 2 make[1]: Leaving directory /usr/src/linux-2.4.2/linux' make: *** [stamp-build] Error 2 Steve Kowalik wrote: > On Fri, Aug 03, 2001 at 07:52:53AM -0400, David Raeker-Jordan uttered: > > Things seem to be going fine until the end of the build, when I get: > > (Please excuse any typos, e.g., I can't get the ' to swing the other way ;) > > ) > > > > bbootsect.s: Assembler messages > > bbootsect.s:253: Warning: indirect lcall without '*' > > ld -m elf_i386 -Ttext 0x0 -s -oformat binary bbootsect.o -o bbootsect > > ld: cannot open binary: No such file or directory > New binutils. > You need to edit /usr/src/linux-2.4.2/linux/arch/i386/boot/Makefile, and > replace '-oformat' with '--oformat' > Then run make-kpkg clean; make-kpkg kernel_image > > > make [2]: *** [bbootsect] Error 1 > > make [2]: Leaving directory '/usr/src/linux-2.4.2/linux/arch/i386/boot' > > make [1]: *** [bzImage] Error 2 > > make [1]: Leaving directory '/usr/src/linux-2.4.2/linux' > > make: *** [stamp-build] Error 2 > > -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Netatalk: job could not be printed
I have set up netatalk on my stable machine so that I can print from a Mac IIsi. "Deskjet" is a HP Deskjet 694C that resides on my debian machine at lp0. Here is the papd.conf file: Deskjet:\ :pr=lp0:\ :op=susan:\ :pd=/etc/netatalk/ppds/HPDJ1200C.ppd I can choose "Deskjet" from the Mac, and I get no printing error on the Mac side. Here is what I see in /var/log/lpr.log: Aug 4 21:52:01 claire papd[29575]: restart (1.4b2+asun2.1.3) Aug 4 21:52:07 claire papd[29575]: register Deskjet:[EMAIL PROTECTED] Aug 4 21:57:00 claire papd[29575]: child 29580 for "Deskjet" from 65280.1 Aug 4 21:57:18 claire papd[29580]: lp_print queued Aug 4 21:57:18 claire papd[29575]: child 29580 done Aug 4 21:57:19 claire lpd[29581]: lp0: job could not be printed (cfA015claire) It looks like netatalk starts fine, registers "Deskjet," the debian machine queues a job from the Mac, but reports that "job could not be printed." BTW, the printer works fine from the linux side. Any idea what I did wrong? -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Netatalk: job could not be printed--Solved
Here is the answer to my own question. I posted to the linux-atalk list: http://lists.netspace.org/cgi-bin/wa?A0=linux-atalk and got an answer that worked. On Mon, 6 Aug 2001 13:15:12 -0700, andrew morgan <[EMAIL PROTECTED]> wrote: >I believe Potato uses LPRng for the printer system. You'll need to change >your papd.conf file to: > >Deskjet:\ >:pr=|/usr/bin/lpr -Plp0:\ >:op=susan:\ >:pd=/etc/netatalk/ppds/HPDJ1200C.ppd: > >This tells papd to pipe the printjob to the lpr program (you may need to >change the path to lpr to match your system). Otherwise, papd tries to >place the printjob and a control file in the spool directory. It is much >better to keep papd out of there. > >Andy David Raeker-Jordan wrote: > I have set up netatalk on my stable machine so that I can print from a Mac > IIsi. "Deskjet" is a HP Deskjet 694C that resides on my debian machine at > lp0. > > Here is the papd.conf file: > > Deskjet:\ > :pr=lp0:\ > :op=susan:\ > :pd=/etc/netatalk/ppds/HPDJ1200C.ppd > > I can choose "Deskjet" from the Mac, and I get no printing error on the Mac > side. Here is what I see in /var/log/lpr.log: > > Aug 4 21:52:01 claire papd[29575]: restart (1.4b2+asun2.1.3) > Aug 4 21:52:07 claire papd[29575]: register Deskjet:[EMAIL PROTECTED] > Aug 4 21:57:00 claire papd[29575]: child 29580 for "Deskjet" from 65280.1 > Aug 4 21:57:18 claire papd[29580]: lp_print queued > Aug 4 21:57:18 claire papd[29575]: child 29580 done > Aug 4 21:57:19 claire lpd[29581]: lp0: job could not be printed > (cfA015claire) > > It looks like netatalk starts fine, registers "Deskjet," the debian machine > queues a job from the Mac, but reports that "job could not be printed." BTW, > the printer works fine from the linux side. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: custom kernel
> On Tue, Feb 19, 2002 at 05:47:45PM +0100, Christian Schoenebeck wrote: > > I've compiled 2.4.17 kernel as kernel-image package on my woody machine and > > installed it on a potato machine. I made a reboot with the new kernel and > > after that it refused to load modules ("Can't locate module..."). > > > > lsmod and even modconf doesn't list any module, so I tried 'depmod -ae > > 2.4.17' but that didn't help. It created /lib/modules/2.4.17/modules.dep > > but > > the file is empty. > > According to the Documentation/Changes file that came with the kernel sources, you need the following versions for a 2.4 kernel to run. I suspect this your problem: Version Needed How to check for current version __ o Gnu C 2.95.3 # gcc --version o Gnu make 3.77# make --version o binutils 2.9.1.0.25 # ld -v o util-linux 2.10o # fdformat --version o modutils 2.4.2 # insmod -V o e2fsprogs 1.25# tune2fs o reiserfsprogs 3.x.0j # reiserfsck 2>&1|grep reiserfsprogs o pcmcia-cs 3.1.21 # cardmgr -V o PPP2.4.0 # pppd --version o isdn4k-utils 3.1pre1 # isdnctrl 2>&1|grep version -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: undeleting
Kurdt wrote: > does anyone know how to undelete some files? > i did an rm -rf of my .C files of my programming project (it was coded > in the Makefile, under the make clean option.. :) > You might try recover. Not sure if it is available for stable. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: any disk browser?
a wrote: > thanks! > > which package contain the recover program? > Recover is the package, but it is not available in stable. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: No KDE for me
Harry Putnam wrote: > > On a recent install of woody 3.X, if I say startx I get kde, not a > choice window or something but just straight to kde. On boot up I get > a kind of selection window That allows a gnome choice or two. > > I don't want anything to do with kde but its been so long since I had > to choose between, I've forgotten how its done. I want to set the > default to gnome and really I want gnome/sawfish. I'm accustomed to > that combo and know how to get what I want from it with out much > fumbling around. > > I guess the sawfish part is as easy as `apt-get install sawfish' But > I think there are more than one model. > > Anyone here using that combo that can tell me how to get the default X > session to be gnome/sawfish > I put the following in ~/.xsession and uncomment the WM of my choice. (Note: I start X manually, with startx.) ##Start a screensaver when X comes up xset dpms 600 1200 1800 ##Choose the browser to start when X comes up mozilla & #galeon & #netscape & # ##Choose one of the following WM when X comes up #exec kde #exec gnome-session exec icewm-gnome #exec blackbox -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Window Manager Probs *sigh*
> On Thu, Mar 21, 2002 at 06:46:58AM -0800, SJ wrote: > > I'm really not sure what I did wrong, but... > > > > After doing an apparently clean install of debian linux on a > > new system, Gnome does not come up Window Maker does. I > > know we installed Gnome but it's not even in the list of > > Window Managers to switch to (actually only Window Maker is > > listed there). Any idea what I may have done wrong, or not > > done, in setting up the system? I would really like to get > > this monster working. I have a db development project I > > should be working on and I can't do that until I get the > > system up. > You can use ~/.xsession to choose your wm/desktop env. Here is mine: #Choose one of the following #exec kde #exec gnome-session exec icewm-gnome #exec blackbox -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Dual Boot Problems
Alec wrote: > > Anyways, I configured lilo to point to the Windows partition like this: > / > other=/dev/hdd1 > label=Windows > table=/dev/hdd > > ran lilo. No errors. > But when I try to boot into Windows, it says "Loading Windows" and gets stuck. > The only way I can boot into Windows is by again physically disconnecting the > master HD. What is going on? Perhaps it is worth mentioning that one of the > partions on the master HD is FAT32 with no Windows on it. Could it be that > the Windows boot loader gets confused somehow? > Windows needs to think it is on hda. I have Windows on hda1 and a backup copy on hdb1. I can boot either one with the following lilo.conf entries. other=/dev/hda1 label=win table=/dev/hda other=/dev/hdb1 label=winbak map-drive = 0x80 to = 0x81 map-drive = 0x81 to = 0x80 table=/dev/hdb I am not sure, but you may need to adjust the map-drive for your hdd. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
i386-none not in remapping table
I have an unstable system with a 2.2.19 kernel. I am trying to compile a 2.4.17 kernel, but I get the following error when I run "make-kpkg clean" claire:/usr/src/linux-2.4.17/linux# make-kpkg clean dpkg: warning, architecture 386-none' not in remapping table rm -f modules/modversions.h modules/ksyms.ver debian/files stamp-build stamp-configure stamp-source stamp-image stamp-headers stamp-src stamp-diff stamp-doc stamp-buildpackage stamp-libc-kheaders stamp-debian test ! -f .config || cp -pf .config config.precious test -f Makefile && make ARCH=i386-none distclean make[1]: Entering directory /usr/src/linux-2.4.17/linux' Makefile:243: arch/i386-none/Makefile: No such file or directory make[1]: *** No rule to make target rch/i386-none/Makefile'. Stop. make[1]: Leaving directory /usr/src/linux-2.4.17/linux' make: [clean] Error 2 (ignored) test ! -f config.precious || mv -f config.precious .config rm -rf debian/tmp-source debian/tmp-headers debian/tmp-image test -f stamp-building || test -f debian/official || rm -rf debian If I run make-kpkg --arch i386 clean, I do not get any error messages, but running "make-kpkg kernel_image" yields these error messages at the end of the compile: make[1]: Entering directory /usr/src/linux-2.4.17/linux' Makefile:243: arch/i386-none/Makefile: No such file or directory make[1]: *** No rule to make target rch/i386-none/Makefile'. Stop. make[1]: Leaving directory /usr/src/linux-2.4.17/linux' make: *** [stamp-build] Error 2 If I run "make-kpkg --arch i386 kernel_image", I get the following error messages at the end of the compile: make[1]: i386-linux-gcc: Command not found make[1]: *** [init/main.o] Error 127 make[1]: Leaving directory /usr/src/linux-2.4.17/linux' make: *** [stamp-build] Error 2 I have searched google and the debian mail archives, but the best answer I could find was to make sure all required packages were up to date. (They are) I think I recall reading about a problem with binutils, but the errors do not seem to be the same as what I am getting. I even found one posting with the same error, but it appears no one had an answer. Thanks in advance for any assistance. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Setting Reply-To: using exim?
Mark Phillips wrote: > Sean 'Shaleh' Perry [EMAIL PROTECTED] wrote: > > enable /etc/email-address use. I use this so that mail from > > [EMAIL PROTECTED] becomes [EMAIL PROTECTED] > ... > All in all, it is a bad idea --- so I'm told. The _correct_ solution, > I was told, is to tell the truth about the "From:" address, ie keep it > as [EMAIL PROTECTED], but to set the "Reply-To:" field to > [EMAIL PROTECTED] > > So this is what I want to do, except I don't know how to do it. I > could perhaps figure out how to do it in individual MUAs but I'd > prefer a system wide, MUA independent, approach. > Exim can rewrite just the headers you want to rewrite. Put your alias in the etc/email-addresses file (as was suggested earlier) /and then edit the REWRITE CONFIGURATION to rewrite "r" , the reply header. As you can see, I rewrite From: Reply-to: Sender: and Env-From: headers ## # REWRITE CONFIGURATION # ## # There are no rewriting specifications in this default configuration file. # This rewriting rule is particularly useful for dialup users who # don't have their own domain, but could be useful for anyone. # It looks up the real address of all local users in a file # s=sender, b=bcc, c=cc, f=from, r=reply-to, F=env-from, T=env-to [EMAIL PROTECTED]${lookup{$1}lsearch{/etc/email-addresses}\ {$value}fail} frsF # End of Exim configuration file -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Access to the Audiodevice as user
Jeremiah H. Savage wrote: > > Once I added the user to group audio, I had to reboot for the changes to > take effect. There's probably some service you could restart to avoid > this, but I don't know what it is. > Just logout and re-login. The user will now be in the audio group. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Install (LILO ?) problems!
> This seems to have been done by the installer. I booted from the > floppy, looked > at /etc/lilo.conf (which had all teh correct setings for my confg as > dar as I > can tell), and ran lilo just on general principles. > > I alos watched the boot messages, and went back and set the corrrect > disk > paramters in the BIOS by hand (39813/16/63). > > If I try to boot from the hard didk, I get the following: > > L 40 40 40 40 40 40 40 40 40 and it continures till i hit the > power > swithc. > > More sugestions? > >From /usr/doc/lilo/Manual.txt: Disk error codes - - - - - - - - If the BIOS signals an error when LILO is trying to load a boot image, the respective error code is displayed. The following BIOS error codes are known: ... 0x40 "Seek failure". This might be a media problem. Try booting again. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Naming Custom Kernels
I have read the kernel-package Readme and it says (I think) to name custom kernels like this: make-kpkg --revision=custom.1.0 kernel_image I can do that, but then when I install the kernel and run "uname -a" I get a name like 2.2.18. How can I identify the kernel as a custom kernel version once it is installed? Alternatively, I tried editing the Makefile by adding a letter to the EXTRAVERSION line, like this: VERSION = 2 PATCHLEVEL = 2 SUBLEVEL = 18 EXTRAVERSION =a This installs modules into /lib/modules/2.2.18a and "uname -a" reports 2.2.18a. I like this method becasue it makes it easier for me to keep multiple versions of a kernel (and modules) around. What is EXTRAVERSION for and what problems might I cause? Is EXTRAVERSION only to be used by the official maintainer, or can it safely be edited by mere mortals? -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Multi dos booting
[EMAIL PROTECTED] wrote: > I am trying to use lilo to boot 2 partitions in hda that > are both using msdos. One win 95 and one win 3.1. > Can someone point me to a fm so I can rtfm or a > something? TIADean > Try the "Partition table manipulation" section in /usr/doc/lilo/Manual.txt.gz I have not used it, but it looks like what you need. HIH -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: permissions for mounted vfat
Vadim Kutsyy wrote: > > And how about full access (read write permition) for a regular user? > > For that you need uid, or any other ownership comands. > How about # /etc/fstab: static file system information. /dev/hda1 /mnt/win98 vfatdefaults,users,umask=0 0 0 Just make sure you trust your users! -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Getting LILO right
One of the best explainations I have seen is at: http://www.troubleshooters.com/linux/lilo.htm Rick Commo wrote: > Partitions: >hda1 => Mandrake Linux 7.2 (installed first) >hda5 => Debian potato (stable - don't play with it) >hda6 => Mandrake 8.0 beta1 >hda7 => Debian potato (sandbox - play here and then move to stable) > > Problem: > During boot, on any Linux version except ML 7.2, there are dependency errors > listed where the error message contains a reference to the kernel in ML 7.2. > In order to get a clean boot I have to sue a floppy that was created when > the OS in a partition was installed. > > My current lilo.conf file follows the signature. > > boot=/dev/hda > map=/boot/map > install=/boot/boot.b > vga=normal > default=ML7.2_stable > keytable=/boot/us.klt > lba32 > prompt > timeout=50 > message=/boot/message > menu-scheme=wb:bw:wb:bw > # Mandrake stable > image=/boot/vmlinuz > label=ML7.2_stable > root=/dev/hda1 > read-only > # Debian > image=/boot/vmlinuz > label=Debian_stable > root=/dev/hda5 > read-only > # Mandrake 8.0 beta > image=/boot/vmlinuz > label=ML8.0_test > root=/dev/hda6 > read-only > # Debian sandbox > image=/boot/vmlinuz > label=Debian_test > root=/dev/hda7 > read-only > # > image=/boot/vmlinuz > label=failsafe > root=/dev/hda1 > append=" failsafe" > read-only > # > other=/dev/fd0 > label=floppy > unsafe -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: boot problem after kernel compile
Although I can't tell you what went wrong, don't reinstall yet. Using a windows machine, head over to tomsrtbt: http://www.toms.net/rb/home.html There is a version to install from windows. With tomsrtbt, you will be able to mount your original root partition and fix the problem. Gil Elad wrote: > Hello, > > I've just finished recompiling the kernel for the first time ever. > Unfortunately, I've probably done something wrong, because I can't reboot > the system. The story goes like this: > When I tried booting my new kernel everything seemed to be going well, at > first. The kernel was uncompressed successfully and drivers were starting > to get loaded. Somewhere along the line, though, the boot process suddenly > entered an endless loop of > "kmod failed to execute .../modprobe -s -k binfmt-464c. error 8" messages. > I figured there was a problem in my module dependency database, and > rebooted the system SUCCESSFULLY using the OLD kernel. > I then proceeded to run "make modules", "make modules_install", and > "depmod -a". > I then tried to reboot the system using the new kernel with the new module > dependencies, and got the same message. > After that, when I tried booting the old kernel the system crashed giving > the error message: > "Code: Bad EIP value" > "Unable to handle kernel NULL pointer deference at virtual address." > along with a register and stack dump, which I can't understand. > > I now can't boot the system from either kernel. Not even in single-user mode. > Unfortunately, I never made a rescue disk with a root partition on it, and > have no way of getting one. > > I've pretty much resigned to the fact that I'm going to have to reinstall, > but I would like to know what I did wrong so as not to make the same > mistake again in the future. > > TIA for any advice/information > > Gil Elad > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: lilo
David Raleigh Arnold wrote: > > # /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)', > # --- `install-mbr(8)', `/usr/share/doc/lilo/', > # and `/usr/share/doc/mbr/'. > > # +---+ > # |!! Reminder !! | > # | | > # | Don't forget to run `lilo' after you make changes to this | > # | conffile, `/boot/bootmess.txt', or install a new kernel. The | > # | computer will most likely fail to boot if a kernel-image | > # | post-install script or you don't remember to run `lilo'. | > # | | > # +---+ > > # Support LBA for large hard disks. > # > lba32 > > # Specifies the boot device. This is where Lilo installs its boot > # block. It can be either a partition, or the raw device, in which > # case it installs in the MBR, and will overwrite the current MBR. > # > boot=/dev/hdb1 > This is from /usr/doc/lilo/Manual.txt of lilo v. 21.5-1 beta (potato): [T]he LILO boot sector can be stored at the following locations: - boot sector of a Linux floppy disk. (/dev/fd0, ...) - MBR of the first hard disk. (/dev/hda, /dev/sda, ...) - boot sector of a primary Linux file system partition on the first hard disk. (/dev/hda1, ...) - partition boot sector of an extended partition on the first hard disk. (/dev/hda1, ...)* * Most FDISK-type programs don't believe in booting from an extended partition and refuse to activate it. LILO is accompanied by a simple program (activate) that doesn't have this restriction. Linux fdisk also supports activating extended partitions. It _can't_ be stored at any of the following locations: - boot sector of a non-Linux floppy disk or primary partition. - a Linux swap partition. - boot sector of a logical partition in an extended partition.* - on the second hard disk. (Unless for backup installations, if the current first disk will be removed or disabled, or if some other boot loader is used, that is capable of loading boot sectors from other drives.) -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: hdparm or ide howto
Greg Wiley wrote: > Good day all. > > Is anyone aware of a document or set of ducuments > that describe Linux (E)IDE support? It seems to me > that some sort of primer on tuning IDE and demysti- > fying the newer technologies such as ATA and > UDMA would be a significant HOWTO asset. > > This is prompted by the recent discussion on this list > which poked at a buried suspicion I have had that my > (pretty new) IDE HDDs are not performing at their > best. I get unexplained system slowdowns that I never > had on much older/slower systems that used SCSI. > Although it is not a very technical document,this article helped me improve EIDE performance: http://linux.oreillynet.com/lpt/a//linux/2000/06/29/hdparm.html -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Robocode Article in June LJ
In the June issue of Linux Journal, there is an article entitled "Programming Life" that discusses Robocode, "a programming environment where you can create Java robots that battle it out in an arena on your screen." The program uses the Java Developer's kit. Amoung the packages reported by "apt-cache search jdk," the following seem to be appropriate: jdk1.1 - JDK 1.1.x (Java Development Kit) - Runtime only jdk1.1-dev - JDK 1.1.x (Java Development Kit) jdk1.1-native - JDK 1.1.x Runtime - native threads extensions jdk1.1-native-dev - JDK 1.1.x - native threads extensions Can anyone tell me which package, if any, is correct? Or am I better off just installing the tar shell script from Sun? TIA -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Robocode Article in June LJ
Tom Cook wrote: > On 0, David Raeker-Jordan <[EMAIL PROTECTED]> wrote: > > In the June issue of Linux Journal, there is an article entitled > > "Programming Life" that discusses Robocode, "a programming environment where > > you can create Java robots that battle it out in an arena on your screen." > > The program uses the Java Developer's kit. > > > > Amoung the packages reported by "apt-cache search jdk," the following seem > > to be appropriate: > > > > > > jdk1.1 - JDK 1.1.x (Java Development Kit) - Runtime only > > jdk1.1-dev - JDK 1.1.x (Java Development Kit) > > jdk1.1-native - JDK 1.1.x Runtime - native threads extensions > > jdk1.1-native-dev - JDK 1.1.x - native threads extensions > > > > Can anyone tell me which package, if any, is correct? Or am I better off > > just installing the tar shell script from Sun? > > You are probably going to need something more recent that 1.1. I > think blackdown have .debs around - you need something like: > > deb ftp://your.blackdown.mirror.here/pub/java-linux/debian testing non-free > > in sources.list. > > Personally I use the installer thinger from Sun and put it all in > /usr/local > Thanks Tom. I got it working using the Sun installer, as you suggested. http://robocode.alphaworks.ibm.com/installer/index.html -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: putting cdrom into sources.list
Alex Hunsley wrote: > Originally my surces.list file (for apt) pointed to my cd rom drive, which had > potato cd #1 in it. Since then I've changed sources.list to get stuff from the > net, but how do I add the cd drive back to sources.list? > I suspect it's something like file:/cdrom but I've tried that and no luck... > (yes, I know now I could use dpkg -i directly, but I want to be able to use > apt-cache search and apt-get for easyness.) > apt-cdrom add -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: PPP question (my DSL is down !!)
Hall Stevenson wrote: > > For as long as I've been using Debian, I've had DSL and never > the need to use dial-up... Last Thursday though, my DSL modem > died and I tried connecting with dial-up. > > Running 'pppconfig' worked fine and I'm able to connect. > Tail'ing /var/log/messages shows everything good, up to > assigning an IP address (and depending on how I have DNS set, > receiving DNS entries). Problem is, I can't do anything...This > includes pinging a website by IP address. That rules out a DNS > problem, doesn't it ?? > > I can ping the address I'm assigned (local) and the remote > address that /var/log/messages shows me (remote). > > I saw a recent post about the file "tcp_ecn" being set to > either '0' or '1'. Well, I don't have that file. I tried > 'touch tcp_ecn' and it didn't work. I tried 'echo 0 > tcp_ecn' > (in the proper dir) and it didn't work either, nor did it > create the file. > > Hopefully my replacement modem will be showing up very soon, > but I'd still like to have the ability to use dial-up if > needed. Any ideas and/or help ?? > Do you have a gateway defined in /etc/network/interfaces? If so, # (comment) it out as long as you are using ppp. PPP will set its own default gateway. I have a similar problem when I try to use ppp on a machine that usually connects to the net via ethernet. Hope this helps. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: How do I install lilo?
Fu-Dong Chiou wrote: > HI, > > I have a quick question. I have a new HD that I used to backup my linux > system to part of the drive (the drive also contains NT 4.0). After > duplicating the entire HD, I was thinking of making it bootable to linux. > Question: how do I install lilo now that the HD is not booting into > linux? Can I use Tom's boot disk and run lilo from there? How do I give > the command so that it correctly install lilo onto MBR? Thanks! > If you have tomsrtbt, try this: boot tomsrtbt mount the root partition on /mnt run `chroot /mnt lilo -v` If that does not work, the reboot with tomsrtbt. At the LILO prompt, hit TAB and then enter: (I am assuming that `zImage` is the name of the kernel) `zImage root=/dev/hdxx` (insert location of root partition) You will then boot using tomsrtbt kernel and your root partition. Ignore all the dependency error messages. After you login with your username and password, you can run lilo. If there are no errors, reboot w/o the floppy. HTH. It worked for me. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Security Update
Mark Rompies wrote: > Hi! > > I've just use Debian for the first time in my life. I want to upgrade the > applications or anything to mmake it more secure (i think it will use apps > from security.debian.org). The problem is very simple: > > what commands should i type from the console to update the security fixes > for a/any package(s)? Could i use apt-get? > Add the following to /etc/apt/sources.list #From debian weekly news July 18, 2001 deb http://security.debian.org/debian-security potato/updates main contrib non-free deb http://security.debian.org/debian-non-US potato/non-US main contrib non-free Then run apt-get update; apt-get dist-upgrade -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Strange message from IMAP: "DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA"
Paulo Henrique Baptista de Oliveira wrote: > > Hi all, > I installed imap package in a Debian GNU/Linux and every time I > access it there's a new message like this: > > > From: "Mail System Internal Data" <[EMAIL PROTECTED]> > > Sent: Thursday, October 11, 2001 7:37 PM > > Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA > > > > > > > This text is part of the internal format of your mail folder, and > is not > > > a real message. It is created automatically by the mail system > software. > > > If deleted, important folder data will be lost, and it will be > re-created > > > with the data reset to initial values. > > > > > > > How to prevent to send this thing? > TIA,Paulo Henrique I know you are not using mutt, but in mutt I have the following in my .muttrc file and mutt seems to ignore that DON'T DELETE MESSAGE: # To quell Pine/IMAP? internal message folder-hook . push 'l!~h\ From:\\\ Mail\\\ System\\\ Internal\\\ Data\n' HTH -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: >From in mutt?
Robert L. Harris wrote: > > > I'm trying to use PGP but getting some errors. Part of it seems tied to > the fact that I'm getting ">From: " as the first from, with a > "From: " later in the header. > > Anyone know what's generating it? More importantly how do I get rid of it? > > I found this in my ~/.gnupg/options file: # Because some mailers change lines starting with "From " to ">From " # it is good to handle such lines in a special way when creating # cleartext signatures; all other PGP versions do it this way too. # To enable full OpenPGP compliance you have to remove this option. escape-from-lines HTH -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Help needed starting audio
Stuart Luscombe wrote: > Hi all, > > Just about got everything working now. > > I'm trying to run XMMS. But I can only seem to run > it as root. When I try to run it as a normal user, > I get the message: > > Unable to connect to UNIX socket /var/run/esound/socket > > I think this maybe a permission problem in /dev somewhere > but I'm not sure where or what the permission should be... > Try adding the user to the audio group. `man addgroup` -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Help needed starting audio
Stuart Luscombe wrote: > > > > Try adding the user to the audio group. > > > > `man addgroup` > > I don't actually have any system groups. > Not as far as I know anyway, the only users are > root and myself. > Users and groups are different. /etc/group lists your groups. As user, type `groups` You will get the names of any groups the user belongs to. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: utility to display syslog on tty8?
Aaron Hall wrote: > > I do much the same thing with my logs, but I filter them through a script > that adds ANSI color to the output, which adds value both aesthetic > (it looks cool) and practical (easy to spot unusual occurances). I use > the colorize script; there are others. > I would be interested in seeing that script. Where can one get the colorize script? -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: copying/cloning root partition
d new partitions. You will need this information, and you do not want to get the partitions mixed up. Here is my partition information: hda2 = new swap hdb2 = old swap hda5 = new /homehdb3 = old /home hda6 = new /usr hdb5 = old /usr hda7 = new /hdb6 = old / Note: All the new partitions should be on the primary master drive (hda), and all the old partitions should be on the primary slave drive (hdb). You then need to format the partitions. I did the following: mkswap /dev/hda2 (for the swap partition) mke2fs /dev/hda5 (for /home) mke2fs /dev/hda6 (for /usr) mke2fs /dev/hda7 ( for /) Now we need to mount the old and new partitions and copy from old partition to new partition. First we need to create mount points /mnt/old and /mnt/new: mkdir /mnt/old /mnt/new Now we can mount the old and new /home partitions, using the old and new partition information that you wrote down earlier: mount -t ext2 /dev/hdb3 /mnt/old mount -t ext2 /dev/hda5 /mnt/new Type `mount` and double check that all is correctly mounted. If so, then: cd /mnt/old And choose one method: tar cf - . | (cd /mnt/new; tar xvf - ) or cp -vaf . /mnt/new or find . | cpio -puvmdB /mnt/new When you have successfully moved /home, then umount /mnt/old and /mnt/new, mount the next pair of old and new partitions (in my case /usr). I handled the root (/) partition last because we have to edit a couple of files after copying the old root to the new root. Since we are using tomsrtbt, we can use emacs or vi to edit files. Edit /etc/fstab on the new root (/) partition (it should be mounted at /mnt/new) and change the partition names to correspond to their new locations. Next, edit /etc/lilo.conf to identify the new root partition. Now you need to run lilo, but we need to run it with chroot. With the new root partition mounted at /mnt/new, run this: chroot /mnt/new lilo -v Note: When I ran this, I got the dreaded 1024 cylinder error. I then went back into /etc/lilo and added `linear` to the global options section. Re-running `chroot /mnt/new lilo -v` gave me another error that suggested I try lba32. I then removed `linear` and added `lba32` to /etc/lilo.conf. One final `chroot /mnt/new lilo -v` worked. Take tomsrtbt out and reboot. You should shortly be looking at a LILO: prompt. If all went well, your old hard drive is now ready to be removed. Credits: Thanks to Tom Oehser for tomsrtbt, "The most GNU/Linux on one floppy disk." Additional thanks to Tom Oehser for recommending the `cp -vaf` method as the one he would use with tomsrtbt. The tar trick comes from pp. 193-194 of Running Linux, 3rd Edition, by Welsh, Dalheimer & Kaufman. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: libncurses
Daniel D Jones wrote:> > #make menuconfig > > rm -f include/asm > ( cd include ; ln -sf asm-i386 asm) > make -C scripts/lxdialog all > make[1]: Entering directory `/usr/src/linux-2.4.14/scripts/lxdialog' > >> Unable to find the Ncurses libraries. > >> > >> You must have Ncurses installed in order > >> to use 'make menuconfig' > > > If libncurses5 isn't the ncurses libraries in question, which package is? > > Debian separately packages developers libraries. You need libncurses5-dev. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: tar and '-p' option
Lance Hoffmeyer wrote: > When backing up directories do I need the -p > option to save file attributes, ownership... > or do I use -p during restore to do this, OR > do I not need -p and it is done by default? > I use -p on the extraction side and it works fine. Also, from the man page: -p, --same-permissions, --preserve-permissions extract all protection information This seems to indicate that -p is uded on the extract side, not the create side. HTH -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Cron & At Permissions
When my system boots and when I try to create an `at` job, I see `at` permission errors. I am running the latest potato. Here is what I have. Is this wrong? claire:/home/david# cd /var/spool/cron/ claire:/var/spool/cron# ls -Fal total 20 drwx--5 root root 4096 Sep 26 08:18 ./ drwxr-xr-x9 root root 4096 Sep 26 08:18 ../ drwx--2 daemon daemon 4096 Oct 11 14:06 atjobs/ drwx--2 daemon daemon 4096 Oct 22 2000 atspool/ drwxr-xr-x2 root root 4096 Mar 29 2000 crontabs/ TIA -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Cron & At Permissions
Thank you very much, Andras. Andras BALI wrote: > On Mon, Nov 12, 2001 at 01:04:52PM -0500, David Raeker-Jordan wrote: > > > When my system boots and when I try to create an `at` job, I see > > `at` permission errors. I am running the latest potato. > > > Here is what I have. Is this wrong? > > Yes. The /var/spool/cron directory should be 0755. > > $ ls -l /var/spool/cron > total 5 > drwxr-xr-x5 root root 1024 Aug 5 1998 . > drwxr-xr-x 14 root root 1024 Oct 28 01:31 .. > drwx--2 daemon daemon 1024 Nov 12 06:55 atjobs > drwx--2 daemon daemon 1024 Nov 12 06:55 atspool > drwxr-xr-x2 root root 1024 May 31 2000 crontabs > $ > > -- > BALI, Andra's GPG keyID: 78560E1C > [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Kernel
Denis wrote: > > rm -f include/asm > ( cd include ; ln -sf asm-i386 asm) > make -C scripts/lxdialog all > make[1]: Entering directory `/usr/src/kernel-source-2.2.12/scripts/lxdialog' > gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -DLOCALE -DCURSES_LO > C="" -c lxdialog.c -o lxdialog.o > In file included from lxdialog.c:22: > dialog.h:29: curses.h: No such file or directory > make[1]: *** [lxdialog.o] Error 1 > make[1]: Leaving directory `/usr/src/kernel-source-2.2.12/scripts/lxdialog' > make: *** [menuconfig] Error 2 > Magellano:/usr/src/kernel-source-2.2.12# > /usr/share/doc/kernel-package/README.gz lists all the required packages to build a kernel. curses.h is from the package libncurses4-dev `apt-get install libncurses4-dev` -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Making a boot floppy
David Smead wrote: > Sorry for being so unskilled - > > I just installed a new kernel and would like to make a boot floppy. I've > wasted an hour on google and debian looking for how that is done. I.e. > shove a floppy into the drive and type ENTER. > mkboot -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Testing a Floppy Drive
I suspect that the floppy drive on my computer has gone bad, but the diagnostic software from the manufacturer (Dell) says the drive is fine. Is there software to test whether a floppy drive has gone bad? TIA -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: How to mount partitions on boot
Tito wrote: > Hi everybody! > > Where have I to put the command to mount a partition on linux boot? > /etc/fstab Here are some examples: # /etc/fstab: static file system information. # # /dev/fd0/floppy autodefaults,users,noauto 0 0 /dev/fd0/machfs defaults,users,noauto 0 0 /dev/cdrom /cdrom iso9660 defaults,ro,users,noauto0 0 #Windows (mounts at boot) /dev/hda1 /mnt/win98 vfatdefaults,users,umask=0 0 0 /dev/hdb1 /mnt/hdb1 vfatdefaults,noauto 0 0 -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Where to put hdparm to be activated at boot time?
Andre Berger wrote: > * [EMAIL PROTECTED] <[EMAIL PROTECTED]>, 2001-04-12 11:49 +0200: > > Hello, > > > > What is the preferred file for hdparm to be activated at boot time? > > > > (/etc/init.d/bootmisc.sh ?) > > Either there, or in the /etc/init.d/ script that comes with the hwtools > package. > > Andre Berger[EMAIL PROTECTED] If you put the hdparm script in an existing /etc/init.d file, won't the script be lost if and when the existing file is upgraded? Isn't it better to create a new file for the script, something like /etc/init.d/local_hdparm? That way, no package will overwrite it. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: i386-none not in remapping table - FIXED
David Raeker-Jordan wrote: > I have an unstable system with a 2.2.19 kernel. I am trying to compile a > 2.4.17 kernel, but I get the following error when I run "make-kpkg clean" > > claire:/usr/src/linux-2.4.17/linux# make-kpkg clean > dpkg: warning, architecture 386-none' not in remapping table > rm -f modules/modversions.h modules/ksyms.ver debian/files stamp-build > stamp-configure stamp-source stamp-image stamp-headers stamp-src stamp-diff > stamp-doc stamp-buildpackage stamp-libc-kheaders stamp-debian > test ! -f .config || cp -pf .config config.precious > test -f Makefile && make ARCH=i386-none distclean > make[1]: Entering directory /usr/src/linux-2.4.17/linux' > Makefile:243: arch/i386-none/Makefile: No such file or directory > make[1]: *** No rule to make target rch/i386-none/Makefile'. Stop. > make[1]: Leaving directory /usr/src/linux-2.4.17/linux' > make: [clean] Error 2 (ignored) > test ! -f config.precious || mv -f config.precious .config > rm -rf debian/tmp-source debian/tmp-headers debian/tmp-image > test -f stamp-building || test -f debian/official || rm -rf debian > > > If I run "make-kpkg kernel_image" yields these error messages at the end > of the compile: > > make[1]: Entering directory /usr/src/linux-2.4.17/linux' > Makefile:243: arch/i386-none/Makefile: No such file or directory > make[1]: *** No rule to make target rch/i386-none/Makefile'. Stop. > make[1]: Leaving directory /usr/src/linux-2.4.17/linux' > make: *** [stamp-build] Error 2 > > > I have searched google and the debian mail archives, but the best answer I > could find was to make sure all required packages were up to date. (They > are) I think I recall reading about a problem with binutils, but the errors > do not seem to be the same as what I am getting. I even found one posting > with the same error, but it appears no one had an answer. > > Thanks in advance for any assistance. > > -- I ended up compiling a 2.4.17 kernel on another machine. Once I installed the new kernel on the machine in question, I could then recompile 2.4.17 kernels (to add the stuff I forgot during the first compile.) Don't know why it worked, but it did. Perhaps I could have installed a packaged deb kernel and then recompiled to get what I wanted. Thanks to Paolo Alexis Falcone for his assistance. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: Copying a whole subdirectory possible?
Steve Cooper wrote: > For the most accurate reproduction of a directory tree consider using > the tar command: > > tar cf - . | (cd "$1"; tar xvf -) > I always thought that: tar cf - . | (cd "$1"; tar xpvf -) was the correct way. The one time I forgot the -p during extraction, I had permission problems with several files in /dev. Or maybe that was caused by some other mistake I made. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Rsync hda to hdb
I am trying to use rsync (version 2.5.1 protocol version 25) to produce a backup of my Debian unstable system and my win98 system. Here is how my hda is organized: /dev/hda7 on / type ext2 (rw,errors=remount-ro,errors=remount-ro) proc on /proc type proc (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/hda6 on /usr type ext2 (rw) /dev/hda5 on /home type ext2 (rw,nosuid) /dev/hda1 on /mnt/win98 type vfat (rw,noexec,nosuid,nodev,umask=0) I want to create the debian backup on hdb3 and the win98 backup on hdb1. I want to copy the whole linux system onto one partition (hdb3). Here is the script I am using: #!/bin/bash #record all debian package info so it goes on the backup dpkg -l > /root/list mount -t vfat /dev/hdb1 /mnt/hdb1 mount /mnt/win98 rsync -avutP --delete --delete-after /mnt/win98/ /mnt/hdb1 umount /mnt/hdb1 mount -t ext2 /dev/hdb3 /mnt/hdb3 cd / rsync -avutP --delete --delete-after --exclude-from /backup.exclude . /mnt/hdb3 umount /mnt/hdb3 Here is my excludes file (backup.exclude) /usr/src/linux-2.4.17/linux/ /usr/src/linux-2.2.20/linux/ /dev/ /mnt/win98/ /mnt/hdb1/ /mnt/hdb3/ /mnt/hda4/ /mnt/hda7/ Everything seems to work for the win98 backup, (There are no error messages, I can boot it up and everything appears to be there. If I delete part of the win98 backup, rsync replaces it the next time the script runs.) The Debian portion of the script, however, does not seem to work. Here is what rsysnc says: (This is what I see when the script starts) building file list ... readlink proc/2/exe: No such file or directory readlink proc/3/exe: No such file or directory readlink proc/4/exe: No such file or directory readlink proc/5/exe: No such file or directory readlink proc/6/exe: No such file or directory readlink proc/7/exe: No such file or directory readlink proc/99/exe: No such file or directory readlink proc/313/exe: No such file or directory readlink proc/314/exe: No such file or directory readlink proc/315/exe: No such file or directory readlink proc/316/exe: No such file or directory readlink proc/317/exe: No such file or directory readlink proc/318/exe: No such file or directory readlink proc/319/exe: No such file or directory readlink proc/320/exe: No such file or directory readlink proc/321/exe: No such file or directory readlink proc/322/exe: No such file or directory done (Everything seems normal from here till near the end) ... var/state/samba/ var/state/samba/browse.dat 167 100%0.00kB/s0:00:00 var/state/samba/connections.tdb 8192 100%0.00kB/s0:00:00 var/state/samba/messages.tdb 696 100%0.00kB/s0:00:00 var/state/samba/nmbd.pid 20 100%0.00kB/s0:00:00 var/state/samba/smbd.pid 20 100%0.00kB/s0:00:00 var/state/samba/wins.dat 226 100%0.00kB/s0:00:00 var/tmp/ (Then I get these errors at the end) IO error encountered - skipping file deletion wrote 196459152 bytes read 17380 bytes 674018.98 bytes/sec total size is 2562444137 speedup is 13.04 rsync error: partial transfer (code 23) at main.c(537) ... I could use cp to backup the debian system, but that seems like a waste of time. I read many of the recent postings on rsync and I read the man page, but I could obviously use some pointers to make this work. Thanks for any assistance. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: lilo and moving IDE drives for dual booting?
Michael A. Miller wrote: > I have a Debian (testing) machine with a single hard drive that > is the master on the IDE bus. I've chosen to install win98 so > that I can dual boot. I've installed Win98 on a second hard > drive that I installed as the IDE master after unplugging the > original drive. Now what I'd like to do is to put the original > debian drive in as the IDE slave and install a boot block so that > I can dual boot between Debian and Win98. As it stands, I can > boot Debian or win98 by jumper'ing the appropriate drive to the > IDE master. I'd rather be able to boot either one by selecting > at the boot prompt. > > My current arrangement is hda = Debian with lilo/mbr and hdb = > Win98. I think that I can dual boot if I can arrange it so that > hda = Win98 with lilo/mbr and hdb = Debian. > I use the following to boot debian from hda and windows from hdb: /etc/lilo.conf lba32 boot=/dev/hda map=/boot/map install=/boot/boot.b prompt timeout=200 default=2.4.17 image=/boot/vmlinuz-2.4.17c label=2.4.17 root=/dev/hda7 read-only other=/dev/hdb1 label=win map-drive = 0x80 to = 0x81 map-drive = 0x81 to = 0x80 table=/dev/hdb -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: moving windows - again
Karsten Bolding wrote: > > However the reason being, I moved wife and kids from Windows 98 to Linux a > few weeks ago and they are all happy about it - so I just wanted to shrink > the Windows partition from 13GB before to 2-3GB - to keep a few essentials - > Lego Studios - in this case. And since I did not want to image the > partion but move it I thought tar was more appropriate than dd. I have moved several Win95 and Win98 partitions. Make sure you have a Windows 98 Start Up floppy (you will not need cdrom support) and a way to boot into linux via floppy (I use tmsrtbt.) You will need to use the Win 98 floppy to create the fat32 partitions. Don't use linux fdisk to create fat32 partitions. When you are ready to copy the old partition to the new partition, you can take your pick as to how you copy the old to the new. cd /mnt/old (the original Win98 partition) tar cf - . | (cd /mnt/new; tar xvf - ) or cp -vaf . /mnt/new or find . | cpio -puvmdB /mnt/new Note: If lilo does not work, boot with your linux floppy (tomsrtbt) and fix lilo. If you cannot boot Windows, boot off the Windows 98 Start Up floppy and run `sys c:` at the dos prompt. Remove the floppy and reboot your new Windows partition. When Windows is up and running, you should probably run scandisk just to make sure everything is OK. ** The tar trick comes from pp. 193-194 of Running Linux, 3rd Edition, by Welsh, Dalheimer & Kaufman. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: moving windows - again
Oops, I forgot the -p in the untar portion of the tar command; It should be: tar cf - . | (cd /mnt/new; tar xvfp - ) -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: kernel-package: --append-to-version ?
Chuck Bearden wrote: > > I'm running Potato r4, with Adrian Bunk's packages to upgrade to a > 2.4 kernel. I'm building a custom kernel with kernel-package, and > I'd like to have the modules for my custom kernel land in a directory > other than /lib/modules/2.4.17/ . Essentially, I'd like to emulate > the behavior of Adrian's 2.4 kernel: /lib/modules/2.4.17-586tsc/ > > The --revision and --flavour arguments to make-kpkg don't do the trick. > They change the name of the system map, kernel image, and kernel > config files, but the modules still wind up in /lib/modules/2.4.17/ . > I do not know if it is the proper way, but I routinely change the extraversion line in the top-level Makefile, i.e.: /usr/src/linux-2.4.17/linux/Makefile VERSION = 2 PATCHLEVEL = 4 SUBLEVEL = 17 EXTRAVERSION = f My current kernel is my 6th compile (I'm a slow learner), and each compile created a new package and installed modules in its own directory. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: swapped / and windoze, I can't boot now!
Marcelo Chiapparini wrote: > Hi!, > > ok, I messed up with my potato system. It is a dual boot system, windoze + > debian. Windoze was in hda1 and the root filesystem of debian in hda2. I > needed to increase the windoze partition. I used partition magic for doing > it. > But in order to keep the debian's root filesystem within the 2GB boot limit > I > swapped the windoze and debian's root partition. So that, now the debian's > root partition is hda1 and windoze is hda2. I use a boot manager, so I can > choose from what partition boot the system. But I can't boot debian now. I > guess > it is because the /etc/fstab file still contains the old information > regarding the partitions. I think that the solution is to edit the /etc/fstab > file and write the correct new partition information. But I don't > have a boot floppy. How can I make a generic boot floppy in order to boot > debian and modify the /etc/fstab file? my system can't boot from cd. I will > make the boot floppy from another debian machine. > You could use tomsrtbt. You can install it to a floppy from linux or from Windows. Just boot it up, mount /dev/hda1 and edit /etc/fstab. You will need a rudimentary knowledge of vi to do the editing. http://www.toms.net/rb/ tomsrtbt has saved me several times. It's a permanent part of my toolbox. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Re: dual boot Debian computer
One of the best explainations I have seen on how to setup a dual or triple boot lilo system is Litt's Lilo Lessons, located at: http://www.troubleshooters.com/linux/lilo.htm -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
lp0 on fire
I was printing a rather large label job from a local debian machine to a remote debian machine that has an old dot matrix printer attached to it. After about 10 minutes of printing to the remote printer, the message "lp0 on fire" popped up on the remote machine's terminal and the printer stopped for a minute or so. The printer then continued, but the "lp0 on fire" message keeps coming up every several minutes along with the corresponding pause in printing. I did not find a similar message on the local machine. I do not recall this message when I would attach the dot matrix printer to the local debian machine and use the printer as a local printer. Any ideas what is happening? BTW, the print job came out fine. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA
Setting up Courier-IMAP at Home
I have several computers at home, some of which are dual boot. I want to use courier-imap on a server at my house so that I can always access all of my mail, no matter which computer or OS I am using. Currently, I use fetchmail to get my email from my ISP. Fetchmail passes the mail to procmail, which uses a few rules and spamassasin to sort the mail into folders. I use exim, but I am afraid I am a bit fuzzy as to its role in delivering incoming mail. Does procmail pass the mail to exim, or does procmail deliver the mail it sorts? If I add courier-imap to the above system, I am not sure what changes I need to make. I think that fetchmail would stay the same. I think that I need to change my procmailrc to send the mail to ~/Maildir instead of the folders under ~/mail (mbox) that I am currently using? And I know that exim.conf needs to be changed, but I am not sure of all of the changes. Can anyone point me to a guide or article that explains what one must do to setup a simple imap system? Thanks for any help. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg30212/pgp0.pgp Description: PGP signature
Re: Setting up Courier-IMAP at Home
Jeffrey L. Taylor wrote: > Quoting David Raeker-Jordan <[EMAIL PROTECTED]>: > > > > Currently, I use fetchmail to get my email from my ISP. Fetchmail passes the > > mail to procmail, which uses a few rules and spamassasin to sort the mail > > into folders. I use exim, but I am afraid I am a bit fuzzy as to > > its role in delivering incoming mail. Does procmail pass the mail to exim, > > or does procmail deliver the mail it sorts? > > > > Procmail delivers the mail it sorts. It can accept mail directly from > fetchmail or fetchmail can hand the mail to exim. And exim hands it > to procmail. If fetchmail hands-off to procmail, and procmail delivers the mail, then how does procmail know to deliver in Maildir format (or even mbox format, for that matter) Here is my fetchmailrc: poll "in.epix.net" protocol pop3 username "david" here is "rkrjrdn" there password "itsasecret" mda "/usr/bin/procmail -d %s" options fetchall ## End of fetchmailrc Looks like fetchmail passes the mail directly to procmail. Here is my procmailrc: PATH=$HOME/bin:/usr/local/bin:/usr/bin:/bin MAILDIR=/var/spool/mail # make sure this is right DEFAULT=$MAILDIR/username # completely optional LOGFILE=/var/log/procmail.log # recommended SPAM=/home/david/mail/spam :0: * ^X-Mailing-List:.*[EMAIL PROTECTED] /home/david/mail/In-debian-user :0: * [EMAIL PROTECTED] /home/david/mail/In-down-syn :0: * To:.*rkrjrdn /home/david/mail/In-rkrjrdn ## End of procmailrc It looks like procmail delivers the mail, right? What would I change to get procmail to deliver the mail to directories under ~/Maildir? -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg30233/pgp0.pgp Description: PGP signature
Re: Setting up Courier-IMAP at Home
Matthew Weier O'Phinney wrote: > In a nutshell, you direct procmail to deliver in Maildir format. In the > above example, you are delivering to a standard mbox: > > :0: >the trailing ':' indicates file locking, a mechanism necessary >for mbox formats. You will omit this with Maildir, as each >message is given its own file. > > * ^X-Mailing-List:.*[EMAIL PROTECTED] >this will stay the same -- this is your filtering rule > > /home/david/mail/In-debian-user >this is the name of the mbox file you're using. *THIS* will also >change, as you want to go to a Maildir > > The revised version that would send this to a maildir is: > > :0 > * ^X-Mailing-List:.*[EMAIL PROTECTED] > .In-debian-user/ > > The leading '.' indicates that this directory is directly beneath the > IMAP inbox 'INBOX'; to indicate a hierarchy, you would do something > like: > .lists.In-debian-user/ > which indicates that it falls in the lists directory (which is under the > inbox). > > The trailing '/' tells procmail to send this to a maildir... It's as > simple as that. > Your example is clear and informative. Thank you very much. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg30311/pgp0.pgp Description: PGP signature
Re: Two network cards of same type, which eth0, which eth1?
--sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Mark Janssen wrote: > On Fri, 2003-03-07 at 13:26, Hugo van der Merwe wrote: > > I am going to be installing two new network cards soon, most likely > > I'll be getting that cheap junk that is the rtl8139. How do I choose > > which one must be eth0? Module parameters to the 8139too module? (In > > the past I simply loaded the correct module first. >=20 > THey are detected in PCI order... so the lowest numbered PCI slot first, > and then in order. So this depends on your motherboard. In my case they > are numbered from low to high in the case. Check your mobo > documentation. >=20 What if the cards are ISA? I have two identical ISA cards. They get assigned to eth0 and eth1 differently, depending on the kernel I boot. Is there a way to lock them down so that I always know which card will be eth0? Thanks. --=20 David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE+aO7JoGYsDs2VZggRAqm6AJ0bZtCte5s2U9jd7mQ64QzPex3APwCePgJ2 1CpDlaW36k5LyTaMvf4nY+Q= =2AbB -END PGP SIGNATURE- --sm4nu43k4a2Rpi4c-- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [OT] exim with multiple interfaces
--Nq2Wo0NMKNjxTN9z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable cirrus wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 >=20 > I'm trying to make exim listen on multiple interfaces. > I am running exim as a daemon and I want it to listen on two of my 5=20 > interfaces. > I tried: > local_interfaces =3D "xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy" > local_interfaces =3D "xxx.xxx.xxx.xxx, yyy.yyy.yyy.yyy" > local_interfaces =3D "xxx.xxx.xxx.xxx" "yyy.yyy.yyy.yyy" > and also putting them in a different line: > local_interfaces =3D "xxx.xxx.xxx.xxx" > local_interfaces =3D "yyy.yyy.yyy.yyy" >=20 > in the first one when I do a /etc/init.d/exim restart I get: > Restarting MTA: 2003-03-17 18:50:37 Malformed IP address "xxx.xxx.xxx.xxx= =20 > yyy.yyy.yyy.yyy" in local_interfaces > and in the last one: > 2003-03-17 18:51:32 Exim configuration error > "local_interfaces" option set for the second time in line 187 >=20 > Anyone know anything about it? I have local_interfaces =3D 192.168.1.2:127.0.0.1. Try a ":" with no spaces --=20 David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 --Nq2Wo0NMKNjxTN9z Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+dicEoGYsDs2VZggRAqxMAJ93TMtVK/giQgQJ52R1RI+bXHuSTACgk3OM Gmh/NjiWxxpHKHmZfy/NZrQ= =0n4b -END PGP SIGNATURE- --Nq2Wo0NMKNjxTN9z-- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Software for attorneys
--PW0Eas8rCkcu1VkF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable martin f krafft wrote: > We are looking for software for a law office. Currently, the folks > at the office run a proprietary piece of flying food that (a) is > damn expensive, (b) has crappy support, and (c) doesn't meet their > requirements anyway. And it runs on Windoze. >=20 > What we are looking for is an ERM tool with groupware functionality, > ideally already tweaked to handle attorney stuff. If it doesn't do > it already, maybe there's one that could easily be extended? >=20 > The Bazaar is open. Suggestions (even closed-source ) to me > off-list, please. I'll summarise when I have gotten enough > responses. >=20 You might want to start with this press release about a Detroit law firm that converted to linux/LTSP/wordperfect in 2000.=20 http://linuxpr.com/releases/1800.html --=20 David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 --PW0Eas8rCkcu1VkF Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+d3iGoGYsDs2VZggRAj4+AJ9bVrVKxJHKIud0KI5aVbpaFzEjmACfXf0s lFCD+hWn8gHr8fxmmjN2Pzg= =01Rr -END PGP SIGNATURE- --PW0Eas8rCkcu1VkF-- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Can't Send Mail, Mozilla Problem? Please Help
--gm5TwAJMO0F2iVRz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Emily Dryden wrote: > As in previous message, we have three computers in a local network=20 > linked through a route to a DSL modem. I am sending this message from=20 > my daughter's computer. She is the DSL subscriber and I send mail from= =20 > my computers through her SMTP link. Suddenly, after distribution=20 > upgrades of my two computers the SMTP link is refused. >=20 > History: All three computers use Debian, two Woody, one testing.=20 > Initially we tried to use kde konqueror but the outgoing connection=20 > failed as the konqueror email setup could not supply the user password.= =20 > The Mozilla email setup did ask for the password at the first attempted= =20 > transmission and all was well. We could send email from any of the=20 > three computers. I ran apt-get dist-upgrade from my two computers and=20 > now neither can send email. Fortunately, I only use my daughter's=20 > computer in emergencies like this and she has not upgraded so her=20 > connection still works. We need to solve this problem before we are=20 > completely shut off from the outside world. Please help, Sorry if this has already been asnwered, but do you know which packages were upgraded? --=20 David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 --gm5TwAJMO0F2iVRz Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+ehaIoGYsDs2VZggRAoQpAJ4rED4rB1GcElm7WtyduCgJljhIiwCfc1qh MOIoCryCh6IURjdHrK4G3ug= =CeQ+ -END PGP SIGNATURE- --gm5TwAJMO0F2iVRz-- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: mutt and aliases
--TakKZr9L6Hm6aLOc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Joao Pedro Clemente wrote: >=20 > "How can you take an adress out of a mail message and put it in an alias > file", that was the question. :-) >=20 Try "a" --=20 David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 --TakKZr9L6Hm6aLOc Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+ex+joGYsDs2VZggRAjpMAJsEgtsKAAoCWIEP6FB53bONQGfBlACeNJ1N U+s422r/DC4P+VEzRRYoHh8= =oSQU -END PGP SIGNATURE- --TakKZr9L6Hm6aLOc-- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Boot Disk
--Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Didier Caamano wrote: > Greetings: >=20 > I was wondering how can I crete a book disk (in Woody) in a floopy for an= =20 > old 486 that do not boot from the CD. >=20 man mkboot --=20 David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+gLgroGYsDs2VZggRAocaAJ45CBzipng9cwHO0twCtjacmPEqtACdHq3V IZAf3fGCr+YmicsXd7t8bsI= =ZXhW -END PGP SIGNATURE- --Q68bSM7Ycu6FN28Q-- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: philosophy mailing list
Natali Gulbahce wrote: > Hey all, > > Is this a philosophy mail list or Debian user list? > > I am getting tired of getting commentary emails long and philosophical. > Am I missing sth? > Is this the way mail lists work? You have posed some extremely interesting and important questions. I am sure that your questions will spark a lively debate about the proper use of this list. That was the point of your email, right? -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Fdisk sees only 33.8 out of 60 MB
--gBBFr7Ir9EOA20Yy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, I am running a mix of testing and unstable. I am using the unstable version of fdisk that comes with the util-linux package. I recently installed a new Samsung 60 MB HD into a 1998 "vintage" Celeron machine as /dev/hdb. The BIOS reports the drive as 30 MB. I thought that Debian would see the whole drive, but here is what dmesg reports: ide0: BM-DMA at 0x1420-0x1427, BIOS settings: hda:pio, hdb:DMA hdb: SAMSUNG SP6003H, ATA DISK drive hdb: setmax LBA 117304992, native 66055248 hdb: 66055248 sectors (33820 MB) w/2048KiB Cache, CHS=3D4111/255/63, UDMA(3= 3) hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 > Here is what Debian's fdisk reports: Disk /dev/hdb: 33.8 GB, 33820286976 bytes 255 heads, 63 sectors/track, 4111 cylinders Units =3D cylinders of 16065 * 512 =3D 8225280 bytes I then booted Knoppix, and it sees the whole 60 MB. Here is what fdisk on Knoppix reports: Disk /dev/hdb: 60.0 GB, 60060155904 bytes 255 heads, 63 sectors/track, 7301 cylinders Units =3D cylinders of 16065 * 512 =3D 8225280 bytes I then used Knoppix fdisk to create partitions, like this: Device BootStart EndBlocks Id System /dev/hdb1 1 609 4891761b Win95 FAT32 /dev/hdb2 610 1339 5863725 83 Linux /dev/hdb3 1340 5000 29406982+ 5 Extended /dev/hdb5 1340 1358152586 82 Linux swap /dev/hdb6 1359 1541 1469916 83 Linux Of course, now when I boot into Debian I get an error message that that the filesystem size of /dev/hdb2 (according to superblock) is 1588426 and the physical size of device is 1465931. What have I done wrong? --=20 David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 --gBBFr7Ir9EOA20Yy Content-Type: application/pgp-signature Content-Disposition: inline -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+jMYwoGYsDs2VZggRAndPAJ4zrAz0v1MNoPt0ponQQXbJ4+4zZQCfXH1z jFtV8Zpe3AyPw5bZnuysH4w= =EU6O -END PGP SIGNATURE- --gBBFr7Ir9EOA20Yy-- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Fdisk sees only 33.8 out of 60 MB
Kent West wrote: > David Raeker-Jordan wrote: > > >Here is what Debian's fdisk reports: > > > >Disk /dev/hdb: 33.8 GB, 33820286976 bytes > >255 heads, 63 sectors/track, 4111 cylinders > >Units = cylinders of 16065 * 512 = 8225280 bytes > > > >I then booted Knoppix, and it sees the whole 60 MB. Here is what fdisk on > >Knoppix reports: > > > >Disk /dev/hdb: 60.0 GB, 60060155904 bytes > >255 heads, 63 sectors/track, 7301 cylinders > >Units = cylinders of 16065 * 512 = 8225280 bytes > > > >What have I done wrong? > > > > > > > A friend of mine just wrestled with a similar problem. Turns out there > were some jumpers on the drive that selected between 82GB and 32GB (it's > an 82GB drive, and the BIOS on his new ABIT mobo as well as W2K both saw > it as 32GB). Changing the jumper from 32 to 82 made the difference. > > -- I just looked through the online manual and I find no reference to a jumper like you mentioned. Additionally, if the HD size was being "crippled" by a jumper, why does Knoppix see the entire drive, but Debian does not? Thanks for the idea. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 pgp0.pgp Description: PGP signature
Re: Fdisk sees only 33.8 out of 60 MB
Walther, Christoph wrote: > Hello David Raeker-Jordan, > > perhaps, that's the tip for you: > > keep the harddisk jumpered to use the _full_ capacity, e.g. 60GB, > use a 2.4.20-Kernel, > > .config-File: > > # > # IDE, ATA and ATAPI Block devices > # > CONFIG_IDEDISK_STROKE=y > > edited by make menuconfig. > Christoph, I am using the 2.4.20 kernel, but I see that CONFIG_IDEDISK_STROKE is not set. I'm off to rebuild my kernel. Wish me luck. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Dmesg & Fdisk see only 30 out of 60 MB--SOLVED
David Raeker-Jordan wrote: > > I recently installed a new Samsung 60 MB HD into a 1998 "vintage" Celeron > machine as /dev/hdb. The BIOS reports the drive as 30 MB. > > I thought that Debian would see the whole drive, but dmesg and fdisk only > report about 30 or 32 GB. > > I then booted Knoppix, and it sees the whole 60 MB. Here is what fdisk on > Knoppix reports: > > What have I done wrong? > Then Christoph Walther came to rescue with the following idea: Here's an idea that worked for me. Keep the harddisk jumpered to use the _full_ capacity, e.g. 60GB, use a 2.4.20-Kernel, and make sure the CONFIG_IDEDISK_STROKE kernel parameter is set to yes. (You can check the setting with "grep CONFIG_IDEDISK_STROKE /boot/config-insert_version_here") .config # # IDE, ATA and ATAPI Block devices # CONFIG_IDEDISK_STROKE=y edited by make menuconfig. That means, to activate in the kernel the resize-function for big IDE-Harddisks. Compile the Kernel and restart your system. Forget screwdrivers, BIOS-Updates, ATA100-Cards or a new Motherboards and , at last, avoid the fit of rage That's the easiest and the most intelligent way to get the full harddisk-capacity! I tried it successfully on my old (1997) Pentium I, 166MMX-System with a Western Digital 60GB-Harddisk on Debian 3.0r1 ! ___ Final Note: I recomplied the kernel and it worked like a charm. Thanks! -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 pgp0.pgp Description: PGP signature
Re: Easy firewall advice
Joel Konkle-Parker wrote: > I have a stock Woody system with Gnome 1.4 running, connected to the > 'net via a 802.11b connection. I want to put a simple firewall on there, > just to keep things locked down a little more than they are now. > > Is there anything real simple, user-friendly, configure-and-forget > available for Woody? I'm used to ZoneAlarm for Windows, so that gives > somewhat of an idea of how much I know about firewalls. > I have been pleased with the simplicity yet configurability of shoreline firewall (aka shorewall). One of the really nice things about shorewall is the easily understandable documentation. Here are the quickstart guides: http://www.shorewall.net/shorewall_quickstart_guide.htm If you like what you read, just "apt-get install shorewall" -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 pgp0.pgp Description: PGP signature
Re: exporting /var/spool/mail/user as mailbox
Matt Price wrote: > I get my mail through a university account, which I download and > filter every ten minutes on my work machine. > > I am about to go on an extended vacation, during which time I'll only > have access to a Windows pc and a modem connection. I would like to > be able to pick up my mai, which I can do already through my > university account; but I'd rather not have to refilter it and reread > it all when I get back home. so if possible, I'd like to export the > mailspool on my work computer as a pop or IMAP mailbox , which I can > then access from the net to download my mail. > You could setup an imap server on your work machine, but if your work machine is running linux, you may want to consider a ssh server on your work machine. Then just install putty (a ssh client for windows) on the windows machine and you can access your work machine. I use mutt for mail and find that this works very well when I am traveling. Alternatively, don't download any mail off your university account until you get back from vacation. That way you only have to deal with each piece of mail once. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 pgp0.pgp Description: PGP signature
Re: MMAP Error
Alexander Brill wrote: > Whenever I try to apt-get update a box I have here I get this error: > > Reading Package Lists... Error! > E: Dynamic MMap ran out of room > E: Error occured while processing liballegro3.9.36-dev-common > (NewPackage) > E: Problem with MergeList /var/lib/dpkg/status > E: The package lists or status file could not be parsed or opened. > > > Could someone shed some light on this, please? > Add the following to /etc/apt/apt.conf Apt::Cache-Limit 12582912; (Don't ask me why it works, but it worked for me.) -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg23072/pgp0.pgp Description: PGP signature
OT Aliasing Multiple Addresses in Mutt
How can I alias a bunch of addresses in Mutt so that only the alias name appears in the To: field? Example: alias Group <[EMAIL PROTECTED]>,\ <[EMAIL PROTECTED]>,\ <[EMAIL PROTECTED]>,\ <[EMAIL PROTECTED]>,\ <[EMAIL PROTECTED]>,\ <[EMAIL PROTECTED]> The alias Group shows up in my addressbook, but when I send mail to this group, every name appears in the To: field of each email. How can I modify the list so that only "Group" appears in the To: field. Thank you. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg23954/pgp0.pgp Description: PGP signature
Re: OT Aliasing Multiple Addresses in Mutt
sean finney wrote: > On Mon, Jan 13, 2003 at 04:20:04PM -0500, David Raeker-Jordan wrote: > > The alias Group shows up in my addressbook, but when I send mail to this > > group, every name appears in the To: field of each email. How can I modify > > the list so that only "Group" appears in the To: field. > > > > Thank you. > > how about sending it to Groupname <[EMAIL PROTECTED]> (you ought to have > a valid address in the to field otherwise you'll make a bounce somewhere), > and then bcc'ing it to members of the group? That is a good idea, and I will use it if I have to. It seems, however, that mutt would have a cleaner way to suppress the individual addresses in a list of addresses. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg23968/pgp0.pgp Description: PGP signature
Re: apt-get remove exim .... wants to remove more?
Andy wrote: > > I want to install qmail to give it a test drive and thought it might be a good > thing to remove exim. But look at all that will be removed below > Why does Debian want to remove all those other packages? > > steelhead:~# apt-get remove exim > Reading Package Lists... Done > Building Dependency Tree... Done > The following packages will be REMOVED: > anacron apache at exim leafnode logrotate mailagent mailx mutt qpopper samba > swat > 0 packages upgraded, 0 newly installed, 12 to remove and 0 not upgraded. > Need to get 0B of archives. After unpacking 15.9MB will be freed. > Do you want to continue? [Y/n] n > Abort. > steelhead:~# All of those packages depend on a MTA; try "apt-get install qmail." Apt will be much happier when it realizes that you are merely switching MTAs. Also, apt will leave your exim config files, so you can merely "apt-get install exim" at the end of your test drive and things should go back to the way they were. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg24089/pgp0.pgp Description: PGP signature
Re: apt-get remove exim .... wants to remove more?
David Raeker-Jordan wrote: > Andy wrote: > > > > I want to install qmail to give it a test drive and thought it might be a good > > thing to remove exim. But look at all that will be removed below > > Why does Debian want to remove all those other packages? > > > > steelhead:~# apt-get remove exim > > Reading Package Lists... Done > > Building Dependency Tree... Done > > The following packages will be REMOVED: > > anacron apache at exim leafnode logrotate mailagent mailx mutt qpopper samba > > swat > > 0 packages upgraded, 0 newly installed, 12 to remove and 0 not upgraded. > > Need to get 0B of archives. After unpacking 15.9MB will be freed. > > Do you want to continue? [Y/n] n > > Abort. > > steelhead:~# > > All of those packages depend on a MTA; try "apt-get install qmail." > Apt will be much happier when it realizes that you are merely switching > MTAs. Also, apt will leave your exim config files, so you can merely > "apt-get install exim" at the end of your test drive and things should go > back to the way they were. > Try this: apt-get -us install qmail The -us will show you exactly what apt will do, but will not install or remove any packages. I always run it before I install or remove packages. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg24092/pgp0.pgp Description: PGP signature
Re: apt-get remove exim .... wants to remove more?
Andy wrote: > > All of those packages depend on a MTA; try "apt-get install qmail." > > Apt will be much happier when it realizes that you are merely switching > > MTAs. Also, apt will leave your exim config files, so you can merely > > "apt-get install exim" at the end of your test drive and things should go > > back to the way they were. > > Can leave Exim installed if I install Qmail from source? > (Exim is not started at boot time) > > If so then I might just leave Exim alone and install Qmail from source. > I want to do Qmail from source so I know where things are. > Don't get me wrong, apt-get is my best friend, but sometimes I don't > learn what is going on behind the scenes. > The other day I decided to play with postfix; I ran "apt-get install postfix" and exim ended up being removed. After I had played with postfix for a while, I ran "apt-get install exim" and my system was returned to its former state. Exim worked just as it had before I installed postfix. Of course, YMMV. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: OT Aliasing Multiple Addresses in Mutt
Walt Mankowski wrote: > On Mon, Jan 13, 2003 at 07:09:58PM -0800, Paul Johnson wrote: > > What were you expecting? The only way you can suppress each recipient > > from knowing who else is recieving something is using BCC... > > That's not true. Mailing list managers do it (I don't know the > addresses of everyone subscribed to debian-user). You can also > supress the names of the recipients by adding an entry to /etc/aliases > (or whatever your MTA uses). > All of my entries in /etc/aliases associate one known user with one alias. What would one alias for many addresses look like? -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg24168/pgp0.pgp Description: PGP signature
Re: how to maintain /var on a debian system
nick lidakis wrote: > I have tried googling and looking at ldp.org for this answer, but I > can't seem to find anything relevant. How does one maintain /var? > I'm trying to apt-get dist-upgrade my laptop and it's telling me I dont > have enough space to hold all the debs. df shows 92% used out a 300MB > partition. /var seems to be slowly filling up, but what can I safely > delete from var to trim it down? > Have you tried "apt-get clean"? -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg24179/pgp0.pgp Description: PGP signature
Re: getting time from timeserver on a dial-up
[EMAIL PROTECTED] wrote: > Hi, >I'm using Debian 3.0r1 stable on a dialup in the UK. I'm using PAP > authentication that CHAT's to the modem then launches pppd and away we go. > What I'd like is for the machine to check and set (if necessary) the system > clock based on the time from one of the many timeservers on the internet. > > What package do I need to do this? > > How do I make it autorun once pppd has got the ppp connection up and > running (I use the pon script) > This is probably not a very elegant solution, but here is what I do: install ntpdate package Place the following into a script that runs when ppp comes up, or make it its own script in /etc/ppp/ip-up.d/set_time # Let's sync our watches when we go online ntpdate clock.name.com sleep 10s ntpdate clock.name.com -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg25951/pgp0.pgp Description: PGP signature
Re: sharing /var/mail/ with mutt and Evolution..
[EMAIL PROTECTED] wrote: > > Hi, >I have a problem with Evolution - I keep swinging from trees! :-) > > Seriously, using Debian 3.0r1 stable I've got mutt working beautifully > picking up mail from my /var/mail/kevin mbox. When I installed Evolution > and pointed it to this box and set it to 'use Unix mail spool file' it > cannot get the messages out of the spool. While mutt still works perfectly. > > If I set evolution to Local mbox support it gets the mail out of the spool > but doesn't leave it there so I cannot see it from mutt then, help! I think > there must be some trick to getting Evolution to leave the mail in > /var/mail/kevin or to have /var/mail/kevin act as my Inbox? > I created a link from /home/david/mail/Inbox to /var/spool/mail/david All of my mail stays in /var/spool/mail/david, but I point mutt and mozilla and evolution at /home/david/mail/Inbox. ln -s /var/spool/mail/david /home/david/mail/Inbox -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg27219/pgp0.pgp Description: PGP signature
Demand PPP
d? Thanks for any assistance. -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg28550/pgp0.pgp Description: PGP signature
Re: Demand PPP
Michael Wardle wrote: > On Wednesday, February 5, 2003 03:47, David Raeker-Jordan wrote: > > I know that this question has been asked recently, but I obviously must be > > missing something because I cannot get PPP to work on demand. > > I recently set up something similar on my home firewall box. > > Are you able to dial out using something like: > # pppd call provider Yes, I can dial my ISP using "pppd call provider" > > In my case, changing the script line from something like: > connect "/usr/sbin/chat -v -f /etc/chatscripts/provider" > > to something like: > connect "/etc/chatscripts/provider" > > made it work, however I think I'm currently using a modified wvdial script. > > I also had to add an entry: > user > > to make PAP authentication with my ISP work. > > Do the messages in /var/log/messages suggest that you have a firewall enabled? > I am using iptables and ipmasq; might that be preventing pppd from dialing out? I got ipmasq working, but I am not very conversant with it. > Sorry I don't have my exact configuration handy here. I might be able to get > it and mail it to you later. > I'd be grateful for any assistance. > Feel free to post most information, questions, or answers here, and I'll try > to help. > -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg28741/pgp0.pgp Description: PGP signature
Re: Demand PPP
> I am using iptables and ipmasq; might that be preventing pppd from dialing > out? I got ipmasq working, but I am not very conversant with it. > To answer my own question -- yes, ipmasq was preventing pppd from dialing out in demand mode. If I turn ipmasq off, then pppd will dial out on demand. Now I just need to determine what rule in ipmasq is causing the problem. Has anyone who has seen this before have any advice? -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg28802/pgp0.pgp Description: PGP signature
Re: LTSP & TFTP on Woody
sdownes wrote: > I've installed the Linux Terminal Server .debs on my file server & I'm > trying to run an old machine from it. I have got the DHCP working & the > terminal is finding its address & asking for the kernel but then nothing. > > I've installed TFTP & it is in inetd.conf & services but I think it isn't > listening fot the call from the workstation. > > I've tried the tftp -s option & normal & adjusted the dhcp command to suit > & everything else I can think of. > > How can I tell whether tftp is listening & if not why not? > Try looking in /var/log/syslog; that is where my tftp requests show up. I can't really help with the entry in /etc/inetd.conf since I use /etc/xinetd.conf. Here are my entries for LTSP in xinetd.conf: service bootps { socket_type = dgram protocol= udp wait= yes user= root server = /usr/sbin/bootpd server_args = -i -t 120 } service tftp { socket_type = dgram protocol= udp wait= yes user= root server = /usr/sbin/in.tftpd server_args = -s /tftpboot disable = no } -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 msg28992/pgp0.pgp Description: PGP signature
Re: Cannot login to netatalk server
[EMAIL PROTECTED] wrote: > I have a very small private LAN with only two machines: > > * a Debian box running netatalk 1.5.5 server > > * a TiBook running Mac OS X Jaguar > > and connected via Ethernet crossover cable. The network seems to work > fine for other network functions (for example, ping and ssh), but I am > unable to login to the Debian box from the TiBook via Appletalk. > > When I do Go -> Connect to server from the Finder on the TiBook, the > Debian box shows up in the "Connect to server" window. I then select it > and enter my username and password to the Debian box. After quite a > while, authentication fails and I get an error message > > "Login failed. Unknown user, incorrect password or log on disabled. Please > retype the name and password or contact the server's administrator." > I recall that I had to set up my IIsi Mac with a shorter and simpler password than I wanted to use. Try keeping the password 8 characters or less. If that does not work, try keeping the password all lower case. Of course, my problems could have caused by the age of my Mac. -- David Raeker-Jordan mailto:rkrjrdn@;epix.net -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: real player plugin only as root
Are you a member of the audio group? Aryan Ameri wrote: On Thursday 02 January 2003 21:37, ernst wrote: you scould check the rights (chmod a+rw /dev/dsp) # ls -la /dev/dsp crw-rw-rw-1 root audio 14, 3 Nov 4 2001 /dev/dsp # Well, I have RealPlayer, and all the permissions are correct and the mozilla plugin is loaded, but I can't use it. Mozilla doesn't bring the program up when needed, and when I run the program itself, I get an error message telling me that cannot open audio device, another program might be using it. Cheers Aryan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: weird but working triple boot with lilo on Woody
Benedict Verheyen wrote: > ... > > I put these lines in my lilo.conf > other=/dev/hda1 > label="Win98" > other=/dev/hdb1 > label="WinXp" > > I expected to be able to boot both win os's but it didn't work. When i chose > WinXp it said that that partition wasn't bootable. When i choose Win98, > and this is the weird thing, i got the dual boot loader from WinXP that > showed a list of XP and Win98 that could be booted. > I probably could have avoided it by hiding my Win98 disk so that XP wouldn't > touch the hda but install it's boot into hdb. ( is there a free tool that allows > to hide a disk/parition) > Here is the germane portion of my lilo.conf. I can boot Win98 or my backup Win98. The key is to temporarily switch the order of the partitions so that the one you want to boot appears as hda. other=/dev/hda1 label=win table=/dev/hda other=/dev/hdb1 label=winbak map-drive = 0x80 to = 0x81 map-drive = 0x81 to = 0x80 table=/dev/hdb -- David Raeker-Jordan mailto:[EMAIL PROTECTED] Harrisburg, PA, USA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: lilo and 2 diff distribs
messmate wrote: > Thanks Elimar, > but is the /boot partition the same for debian as for redhat > in your case ?? ( -> /boot/Debian and /boot/RedHat ) > Mine is not and can't. > Thanks for your advice. > mess-mate > This site clearly explains what you need to do to boot different distros from lilo. http://www.troubleshooters.com/linux/lilo.htm -- David Raeker-Jordan mailto:[EMAIL PROTECTED] GnuPG key: 1024D/CD956608 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]