bad dist-upgrade - starting over
Unfortunately on the way from potato to sid, my upgrade froze on one of the main lib6 packages. Now I have a really disturbed package database. I don't care if I have to start from scratch by removing all packages. What's the best and surest way to get a working installation going - any distribution. thanx -- Eric Smith -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
printcap setting for lexmark 100XL
I cannot get this printer to work when I boot into linux. With the same hardware it works perfectly in windows. Other printers I have no problem with from my Debian. Anyone have any success with this printer? thanx -- Eric Smith -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
printcap setting for lexmark 100XL
Thats the cheapest smallest of the range, but I cannot get it to print with linux, even as a straight text only printer. Anyone have any success? -- Eric Smith -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
aspelling an grammer checking
Two questions in one ( I know it ain't good practice). I was looking for a grammar checker in the unstable repository - is there anything that will check for obvious errors silly ;) While foraging I came across aspell and thought that might be a good replacement for ispell, so installed it but get this: Sorry, I can't read the file /usr/lib/aspell/english. Then looked at the contents of the deb and saw this: /usr/bin/aspell /usr/bin/word-list-compress /usr/bin/run-with-aspell /usr/share /usr/share/doc /usr/share/doc/aspell /usr/share/doc/aspell/copyright /usr/share/doc/aspell/changelog.gz /usr/share/doc/aspell/README.gz /usr/share/doc/aspell/changelog.Debian.gz /usr/share/man /usr/share/man/man1 /usr/share/man/man1/word-list-compress.1.gz /usr/share/man/man1/aspell.1.gz /usr/share/man/man1/run-with-aspell.1.gz There seem to be some files missing - what gives? -- Eric Smith
setting up printer (ps)
I can only print text. How do I set up support for ps? using one of the recent deskjets. thanx -- Eric Smith
Re: 8 character filenames on msdos floppy
According to dman on Sun, Dec 09, 2001 at 07:58:40AM -0500: On Sun, Dec 09, 2001 at 02:56:04AM -0800, Erik Steffl wrote: | Eric Smith wrote: | | How do I get unabridged filenames viz project_one.doc insead of | projec~1.doc on floppies where files have been saved in windows. | | mount it as vfat (mount -t vfat)? The easiest way is to edit /etc/filesystems and list vfat above msdos. When you specify a type of auto, mount must try things (in some order) to find one that works. For some reason it defaults to trying msdos before vfat, it works, and you only get 8.3 characters. You can specify a preferred order in /etc/filesystems and have it try vfat first. excellent. Wish the package maintainers would attend to these annoying little things - how many ppl really want 8.3 dos filenames as their default? -- Eric Smith
Re: 8 character filenames on msdos floppy
According to Eric Smith on Mon, Dec 10, 2001 at 11:09:23AM +0100: According to dman on Sun, Dec 09, 2001 at 07:58:40AM -0500: On Sun, Dec 09, 2001 at 02:56:04AM -0800, Erik Steffl wrote: | Eric Smith wrote: | | How do I get unabridged filenames viz project_one.doc insead of | projec~1.doc on floppies where files have been saved in windows. | | mount it as vfat (mount -t vfat)? The easiest way is to edit /etc/filesystems and list vfat above msdos. When you specify a type of auto, mount must try things (in some order) to find one that works. For some reason it defaults to trying msdos before vfat, it works, and you only get 8.3 characters. You can specify a preferred order in /etc/filesystems and have it try vfat first. excellent. Wish the package maintainers would attend to these annoying little things - how many ppl really want 8.3 dos filenames as their default? oops - now I get this: [EMAIL PROTECTED] ~] 2 $ cp Samenwerkingsovereenkomst.doc /floppyls /floppy projec~1.dot samenwer.doc samenw~1.doc which I prefer to the ~1 type but it still aint what I want :( -- Eric Smith
8 character filenames on msdos floppy
How do I get unabridged filenames viz project_one.doc insead of projec~1.doc on floppies where files have been saved in windows. thanx -- Eric Smith
zsh_history mangled on unstable
Often when I restart my machine, I get my .zsh_hostory file truncated and this (garbage) left behind: -rw-r--r--1 eric eric4 Nov 5 17:57 .zsh_history.2628 -rw-r--r--1 eric eric3 Nov 5 17:57 .zsh_history.227 -rw-r--r--1 eric eric3 Nov 24 12:55 .zsh_history.457 -rw-r--r--1 eric eric4 Nov 25 14:29 .zsh_history.6363 -rw-r--r--1 eric eric4 Nov 25 14:29 .zsh_history.5997 -rw-r--r--1 eric eric4 Nov 25 14:29 .zsh_history.1140 -rw-r--r--1 eric eric3 Nov 26 00:30 .zsh_history.540 -rw-r--r--1 eric eric3 Nov 26 00:30 .zsh_history.514 -rw-r--r--1 eric eric4 Nov 26 00:30 .zsh_history.1152 -rw-r--r--1 eric eric4 Nov 26 00:30 .zsh_history.1027 -rw-r--r--1 eric eric3 Dec 2 23:09 .zsh_history.957 -rw-r--r--1 eric eric3 Dec 3 09:47 .zsh_history.674 -rw-r--r--1 eric eric3 Dec 4 00:39 .zsh_history.430 -rw-r--r--1 eric eric3 Dec 4 00:39 .zsh_history.424 -rw-r--r--1 eric eric3 Dec 4 00:39 .zsh_history.405 -rw-r--r--1 eric eric3 Dec 4 15:31 .zsh_history.551 -rw-r--r--1 eric eric3 Dec 4 15:31 .zsh_history.507 -rw-r--r--1 eric eric3 Dec 4 15:31 .zsh_history.328 -rw-r--r--1 eric eric3 Dec 4 15:31 .zsh_history.545 -rw-r--r--1 eric eric3 Dec 4 15:31 .zsh_history.508 -rw-r--r--1 eric eric3 Dec 4 15:31 .zsh_history.372 -rw-r--r--1 eric eric3 Dec 4 15:31 .zsh_history.329 -rw-rw-r--1 eric eric55281 Dec 5 23:22 .zsh_history I am trying to fix it with toggling these setting but they do not seem to be influencing the problem. export HISTFILE=~/.zsh_history export HISTSIZE=5 export SAVEHIST=5 # see if this helps HISTFILESIZE=8000 zsh Version: 4.0.4-3 Any ideas? -- Eric Smith
Re: sid - new lilo installed and boot error - SOLUTION?
Could some one please advise whether this is the best / safest way to recover a bootable system? backup the / partition. reinstall a base system - upgrade this to sid - copy back the / omitting /boot (I actually have /boot on another partition). Thanks for an answer. According to Eric Smith on Wed, Nov 28, 2001 at 01:01:34AM +0100: I installed the new lilo and let debconf create a new lilo.conf and add a boot sector. Before restarting, however I added an entry for Windows, then /sbin/lilo -v which reported nothing abnormal. However when i tried to reboot, I get: unable to mount root fs add a root= entry (or something to that effect) enclosed is the relevant lilo.conf which does show the root fs pointing to /dev/hda3, which is correct (as per original lilo.conf. Here are the contents of the /boot - however I must admit that i seem to have lost the map file while trying to correct the problem :( Is it possible to copy the files I need to the /boot directory and recover the boot? Thanx total 5656 -rwxr-xr-x 1 root root 1001473 Oct 25 03:31 vmlinuz-2.2.19pre17 -rw-r--r-- 1 root root 272592 Oct 25 03:31 System.map-2.2.19pre17 -rw-r--r-- 1 root root14685 Oct 25 03:31 config-2.2.19pre17 -rw-r--r-- 1 root root 512 Oct 25 03:38 boot.0300 -rw-r--r-- 1 root root33506 Nov 9 10:20 config-2.4.14-586 -rw-r--r-- 1 root root 382516 Nov 9 13:36 System.map-2.4.14-586 -rw-r--r-- 1 root root 587996 Nov 9 13:36 vmlinuz-2.4.14-586 lrwxrwxrwx 1 root root 17 Nov 13 10:55 boot.b - /boot/boot-menu.b -rw-r--r-- 1 root root 3407872 Nov 17 21:38 initrd-2.4.14-586 lrwxrwxrwx 1 root root 23 Nov 17 21:38 initrd - /boot/initrd-2.4.14-586 -rw-r--r-- 1 root root 7708 Nov 20 00:30 boot-bmp.b -rw-r--r-- 1 root root 7680 Nov 20 00:30 boot-menu.b -rw-r--r-- 1 root root 5920 Nov 20 00:30 boot-text.b -rw-r--r-- 1 root root 5920 Nov 20 00:30 boot-compat.b -rw-r--r-- 1 root root 656 Nov 20 00:30 os2_d.b -rw-r--r-- 1 root root 728 Nov 20 00:30 chain.b -rw-rw-r-- 1 root root0 Nov 27 22:31 bootmess.txt -rw--- 1 root root 512 Nov 27 22:47 boot.0303 -rw--- 1 root root 6656 Nov 27 22:49 map -- Eric Smith lba32 # Generated by liloconfig # Specifies the boot device boot=/dev/hda3 # Specifies the device that should be mounted as root. # If the special name CURRENT is used, the root device is set to the # device on which the root file system is currently mounted. If the root # has been changed with -r , the respective device is used. If the # variable ROOT is omitted, the root device setting contained in the # kernel image is used. It can be changed with the rdev program. root=/dev/hda3 # Enables map compaction: # Tries to merge read requests for adjacent sectors into a single # read request. This drastically reduces load time and keeps the map # smaller. Using COMPACT is especially recommended when booting from a # floppy disk. compact # Install the specified file as the new boot sector. # If INSTALL is omitted, /boot/boot.b is used as the default. install=/boot/boot.b # Specifies the number of _tenths_ of a second LILO should # wait before booting the first image. LILO # doesn't wait if DELAY is omitted or if DELAY is set to zero. delay=60 # Specifies the location of the map file. If MAP is # omitted, a file /boot/map is used. map=/boot/map # Specifies the VGA text mode that should be selected when # booting. The following values are recognized (case is ignored): # NORMAL select normal 80x25 text mode. # EXTENDED select 80x50 text mode. The word EXTENDED can be # abbreviated to EXT. # ASK stop and ask for user input (at boot time). # number use the corresponding text mode. A list of available modes # can be obtained by booting with vga=ask and pressing [Enter]. vga=ask image=/vmlinuz label=Linux read-only image=/dev/hdc1 label=Windows # If you have another OS on this machine (say DOS), # you can boot if by uncommenting the following lines # (Of course, change /dev/hda2 to wherever your DOS partition is.) # other=/dev/hda2 # label=dos -- Eric Smith Fruitcom.com Benelux Phone: +31 70 313 0240 Mobile:+31 6 551 76300
Re: new lilo installed and boot error
According to Donald R. Spoon on Wed, Nov 28, 2001 at 04:28:17AM -0600: See comments in your text copied below. Thank you for a complete and very informative answer - Well I have not managed to Fix the /boot for my 2.4 kernel, i did manage for the previous 2.19 though. I re-installed the kernel-image for 2.4, lilo and mbr The kernel-image complained there was no mbr and I should reinstall that package but that did not give me any mbr in the /boot dir. I am now booting off a 2.19 floppy and have a reasonably working system as we talk. I am sure it will all come right - its just burning a lot of time. The error with 2.4: request-module[block-major-3] root fs not mounted VFS: cannot open root device 303 or 03:3 Please append a correct root= boot option unable to mount root fs on 03:03 or some rant to that effect. Then with some more uninstalling and reinstalling of the above 3 mentioned packages in both kernel falcours i now get a flashing 40 40 over the screen when I try to boot either kernel. So why is this so difficult, I though a package install that you allow to overwrite broken configurations just fixed things and worked ;) Anyway FWIW, here are the tortured results of my efforts: /boot: total 5540 -rw-r--r--1 root root24232 Apr 8 2001 config-2.2.19-ide -rw-r--r--1 root root 613339 Apr 8 2001 vmlinuz-2.2.19-ide -rw-r--r--1 root root 213840 Apr 8 2001 System.map-2.2.19-ide -rw-r--r--1 root root14685 Oct 25 05:31 config-2.2.19pre17 -rw-r--r--1 root root 272592 Oct 25 05:31 System.map-2.2.19pre17 -rw-r--r--1 root root 512 Oct 25 05:38 boot.0300.bak -rw-r--r--1 root root33506 Nov 9 11:20 config-2.4.14-586 -rwxr-xr-x1 root root 587996 Nov 9 14:36 vmlinuz-2.4.14-586 -rw-r--r--1 root root 382516 Nov 9 14:36 System.map-2.4.14-586 lrwxrwxrwx1 root root 23 Nov 17 22:38 initrd - /boot/initrd-2.4.14-586 -rw-r--r--1 root root 656 Nov 20 01:30 os2_d.b -rw-r--r--1 root root 728 Nov 20 01:30 chain.b -rw-r--r--1 root root 5920 Nov 20 01:30 boot-text.b -rw-r--r--1 root root 7680 Nov 20 01:30 boot-menu.b -rw-r--r--1 root root 5920 Nov 20 01:30 boot-compat.b -rw-r--r--1 root root 7708 Nov 20 01:30 boot-bmp.b -rw---1 root root 512 Nov 27 23:47 boot.0303.1.bak -rw-r--r--1 root root 512 Nov 28 01:46 boot.0303.bak -rw-r--r--1 root root 512 Nov 28 16:51 boot.0300 -rw-rw-r--1 root root 14 Nov 28 16:56 bootmess.txt -rw-r--r--1 root root 512 Nov 28 17:21 boot.0303 lrwxrwxrwx1 root root 11 Nov 28 19:59 boot.b - boot-menu.b -rw-r--r--1 root root 3407872 Nov 28 21:46 initrd-2.4.14-586 -rw---1 root root 6144 Nov 28 21:48 map.old lrwxrwxrwx1 root root 11 Nov 28 23:42 vmlinuz-2.2.19pre17 - vmlinuz.old -rw---1 root root 5120 Nov 29 2001 map /: lrwxrwxrwx1 root root 23 Nov 28 21:46 /vmlinuz.old - boot/vmlinuz-2.4.14-586 lrwxrwxrwx1 root root 24 Nov 28 23:45 /vmlinuz - /boot/vmlinuz-2.2.19-ide /etc/lilo.conf: boot=/dev/hda3 root=/dev/hda3 compact install=/boot/boot.b map=/boot/map vga=normal delay=20 image=/vmlinuz label=hohohoh read-only Thanx Don for your help - wish it was alla lot easier though. Cheers, -Don Spoon- Eric Smith [EMAIL PROTECTED] wrote: I installed the new lilo and let debconf create a new lilo.conf and add a boot sector. Before restarting, however I added an entry for Windows, then /sbin/lilo -v which reported nothing abnormal. However when i tried to reboot, I get: unable to mount root fs add a root= entry (or something to that effect) See my comment on /etc/lilo.conf boot command below enclosed is the relevant lilo.conf which does show the root fs pointing to /dev/hda3, which is correct (as per original lilo.conf. Here are the contents of the /boot - however I must admit that i seem to have lost the map file while trying to correct the problem :( It isn't lost...you still seem to have it listed. Is it the wrong map file?? Is it possible to copy the files I need to the /boot directory and recover the boot? Yes. You will have to boot up using a rescue disk, mount /dev/hda3 and chroot to that mounted directory. You can then edit your /etc/lilo.conf and re-run lilo to install the new (modified per below) lilo to the MBR. Be careful... your paths will be all screwed up, so use the FULL path to the file you want to run. This mainly applies to running /sbin/lilo. Also, you may have limited choice of editors available...hope you can run vi grin. Thanx total 5656 -rwxr-xr-x 1 root root 1001473 Oct 25 03:31 vmlinuz-2.2.19pre17
sid - new lilo installed and boot error
I installed the new lilo and let debconf create a new lilo.conf and add a boot sector. Before restarting, however I added an entry for Windows, then /sbin/lilo -v which reported nothing abnormal. However when i tried to reboot, I get: unable to mount root fs add a root= entry (or something to that effect) enclosed is the relevant lilo.conf which does show the root fs pointing to /dev/hda3, which is correct (as per original lilo.conf. Here are the contents of the /boot - however I must admit that i seem to have lost the map file while trying to correct the problem :( Is it possible to copy the files I need to the /boot directory and recover the boot? Thanx total 5656 -rwxr-xr-x 1 root root 1001473 Oct 25 03:31 vmlinuz-2.2.19pre17 -rw-r--r-- 1 root root 272592 Oct 25 03:31 System.map-2.2.19pre17 -rw-r--r-- 1 root root14685 Oct 25 03:31 config-2.2.19pre17 -rw-r--r-- 1 root root 512 Oct 25 03:38 boot.0300 -rw-r--r-- 1 root root33506 Nov 9 10:20 config-2.4.14-586 -rw-r--r-- 1 root root 382516 Nov 9 13:36 System.map-2.4.14-586 -rw-r--r-- 1 root root 587996 Nov 9 13:36 vmlinuz-2.4.14-586 lrwxrwxrwx 1 root root 17 Nov 13 10:55 boot.b - /boot/boot-menu.b -rw-r--r-- 1 root root 3407872 Nov 17 21:38 initrd-2.4.14-586 lrwxrwxrwx 1 root root 23 Nov 17 21:38 initrd - /boot/initrd-2.4.14-586 -rw-r--r-- 1 root root 7708 Nov 20 00:30 boot-bmp.b -rw-r--r-- 1 root root 7680 Nov 20 00:30 boot-menu.b -rw-r--r-- 1 root root 5920 Nov 20 00:30 boot-text.b -rw-r--r-- 1 root root 5920 Nov 20 00:30 boot-compat.b -rw-r--r-- 1 root root 656 Nov 20 00:30 os2_d.b -rw-r--r-- 1 root root 728 Nov 20 00:30 chain.b -rw-rw-r-- 1 root root0 Nov 27 22:31 bootmess.txt -rw--- 1 root root 512 Nov 27 22:47 boot.0303 -rw--- 1 root root 6656 Nov 27 22:49 map -- Eric Smith lba32 # Generated by liloconfig # Specifies the boot device boot=/dev/hda3 # Specifies the device that should be mounted as root. # If the special name CURRENT is used, the root device is set to the # device on which the root file system is currently mounted. If the root # has been changed with -r , the respective device is used. If the # variable ROOT is omitted, the root device setting contained in the # kernel image is used. It can be changed with the rdev program. root=/dev/hda3 # Enables map compaction: # Tries to merge read requests for adjacent sectors into a single # read request. This drastically reduces load time and keeps the map # smaller. Using COMPACT is especially recommended when booting from a # floppy disk. compact # Install the specified file as the new boot sector. # If INSTALL is omitted, /boot/boot.b is used as the default. install=/boot/boot.b # Specifies the number of _tenths_ of a second LILO should # wait before booting the first image. LILO # doesn't wait if DELAY is omitted or if DELAY is set to zero. delay=60 # Specifies the location of the map file. If MAP is # omitted, a file /boot/map is used. map=/boot/map # Specifies the VGA text mode that should be selected when # booting. The following values are recognized (case is ignored): # NORMAL select normal 80x25 text mode. # EXTENDED select 80x50 text mode. The word EXTENDED can be # abbreviated to EXT. # ASK stop and ask for user input (at boot time). # number use the corresponding text mode. A list of available modes # can be obtained by booting with vga=ask and pressing [Enter]. vga=ask image=/vmlinuz label=Linux read-only image=/dev/hdc1 label=Windows # If you have another OS on this machine (say DOS), # you can boot if by uncommenting the following lines # (Of course, change /dev/hda2 to wherever your DOS partition is.) # other=/dev/hda2 # label=dos
insmod errors with 2.4.14
I am getting the following errors: Using /lib/modules/2.4.14-586/kernel/net/ipv4/netfilter/ipchains.o Warning: loading /lib/modules/2.4.14-586/kernel/net/ipv4/netfilter/ipchains.o will taint the kernel: non-GPL license - BSD without advertisement clause /lib/modules/2.4.14-586/kernel/net/ipv4/netfilter/ipchains.o: init_module: Device or resource busy Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters Using /lib/modules/2.4.14-586/kernel/net/ipv4/netfilter/ipfwadm.o Warning: loading /lib/modules/2.4.14-586/kernel/net/ipv4/netfilter/ipfwadm.o will taint the kernel: no license /lib/modules/2.4.14-586/kernel/net/ipv4/netfilter/ipfwadm.o: init_module: Device or resource busy Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters How do I avoid these? Here is the /etc/modules - those not mentioned above loaded fine: ip_gre ipip ip_tables ip_conntrack ip_conntrack_ftp iptable_nat iptable_filter iptable_mangle # ip_nat_ftp ip_queue # ipt_LOG ipt_MARK ipt_MASQUERADE ipt_MIRROR ipt_REDIRECT ipt_REJECT ipt_TCPMSS ipt_TOS ipt_limit ipt_mac ipt_mark ipt_multiport ipt_owner ipt_state ipt_tcpmss ipt_tos ipt_unclean # ipchains ipfwadm -- Eric Smith
going back to Xfree86 3.x in unstable
How do I go back to the previous version as the new Xfree dont support some old monitor that I am using? -- Eric Smith
eth0 - eth1
According to dman on Tue, Nov 20, 2001 at 08:14:49PM -0500: On Tue, Nov 20, 2001 at 07:10:19PM +0100, Eric Smith wrote: | Its been quite a saga - I have lost my (limited) hacking instinct. | Having failed to get ipmasq to work on 2.2.19 (possibly something to | do with eth0 eth1 being reversed i.e. eth0 on LAN side), I am now on | the 2.4.14 precompiled and hoping for better things. You can specify the address for each card on the kernel command line, only if you compile the drivers into the kernel or just switch the cables on the back of your box. the cable company locks in on the MAC address :( -- Eric Smith
Re: eth0 - eth1
According to Kelley, Tim (CBS-New Orleans) on Wed, Nov 21, 2001 at 09:26:16AM -0500: dhcpcd can pass whatever Mac address you want to a dhcp server ... just what I wanted to hear (but was afraid to ask). I was wondering about that and tried it once and failed - now will try again. Though the cable companies managed to lock in on the hardware of the card by the mac address. kewl -- Eric Smith
2.4.14 ...Masquerade has not been enabled in the kernel.
Its been quite a saga - I have lost my (limited) hacking instinct. Having failed to get ipmasq to work on 2.2.19 (possibly something to do with eth0 eth1 being reversed i.e. eth0 on LAN side), I am now on the 2.4.14 precompiled and hoping for better things. I want to get on with other things, no desire to config my own kernel, compile modules, hack the interfaces file to switch eth{0,1} ... so, please can someone offer a simple solution out of the box solution - all I want to do is give internet access to a connected machine. Embarrasing when it is such a no-brainer to config winroute on a blows box. BTW Osamu Aoki [EMAIL PROTECTED] advised: I have followings in /etc/modules # net/ipv-4 # ip_gre # ipip # ## net/ipv-4/netfilter # iptable (in order) # ip_tables # ip_conntrack # ip_conntrack_ftp # iptable_nat # iptable_filter # iptable_mangle # # # ip_nat_ftp # ip_queue # # # ipt_LOG # ipt_MARK # ipt_MASQUERADE # ipt_MIRROR # ipt_REDIRECT # ipt_REJECT # ipt_TCPMSS # ipt_TOS # ipt_limit # ipt_mac # ipt_mark # ipt_multiport # ipt_owner # ipt_state # ipt_tcpmss # ipt_tos # ipt_unclean # # # ipchains # ipfwadm # -- Eric Smith
eth0 - eth1
According to Daniel Serodio on Tue, Nov 20, 2001 at 07:20:01PM -0200: If your NIC's are different, try creating a file in /etc/modutils (eg, 'nic') with eg: alias eth0 ne2k-pci alias eth1 fealnx Run 'update-modules'. Then 'apt-get install ipmasq'. That's how I do it (actually, I compiled my own kernel, but this should work for any kernel where the NIC's drivers are modules). Hope this helped. thanx I tried that before and again now - get same non-result viz. [EMAIL PROTECTED] ~] $ head /etc/modutils/ethernet alias eth0 8139too alias eth1 3c59x [EMAIL PROTECTED] ~] $ ifconfig/tmp/if1 [EMAIL PROTECTED] ~] $ update-modules [EMAIL PROTECTED] ~] $ ifconfig/tmp/if2 [EMAIL PROTECTED] ~] $ diff /tmp/if1 /tmp/if2 13,14c13,14 RX packets:74002 errors:0 dropped:0 overruns:0 frame:0 TX packets:3801 errors:0 dropped:0 overruns:0 carrier:0 --- RX packets:75669 errors:0 dropped:0 overruns:0 frame:0 TX packets:4296 errors:0 dropped:0 overruns:0 carrier:0 16c16 RX bytes:5181078 (4.9 Mb) TX bytes:341950 (333.9 Kb) --- RX bytes:5297365 (5.0 Mb) TX bytes:378347 (369.4 Kb) 22,23c22,23 RX packets:372464 errors:0 dropped:0 overruns:0 frame:0 TX packets:372464 errors:0 dropped:0 overruns:0 carrier:0 --- RX packets:403035 errors:0 dropped:0 overruns:0 frame:0 TX packets:403035 errors:0 dropped:0 overruns:0 carrier:0 25c25 RX bytes:37332423 (35.6 Mb) TX bytes:37332423 (35.6 Mb) --- RX bytes:39611275 (37.7 Mb) TX bytes:39611275 (37.7 Mb) :( -- Eric Smith Fruitcom.com Benelux Phone: +31 70 313 0240 Wireless: +31 617 232 304
RealTek RTL8129/8139 Fast Ethernet driver for kernel 2.4.14
IS ther a module for this driver - seems nothing available in modconf. -- Eric Smith
Re: masquerading for internet access
According to Michel Loos on Fri, Nov 16, 2001 at 09:54:53PM -0200: I thought this would just work out of the box :( It works out of the box if eth0 is external and eth1 is local. In your case you have to modify the 00Interfaces(?sp I use iptables now) file in order to switch external and internal ethernet cards. that did not work for me - but this entry in modules.conf did: ### update-modules: start processing /etc/modutils/ethernet alias eth0 rtl8139 alias eth1 3c59x Now I have the eth0 pointing to the cable modem and eth1 to the lan as suggested. But I still get this kernel pollution from ipmasq: Packet log: input DENY eth0 PROTO=2 62.108.30.1:65535 224.0.0.1:65535 L=28 S=0xC0 I=33568 F=0x T=1 (#9) Packet log: input DENY eth0 PROTO=2 62.108.30.1:65535 224.0.0.1:65535 L=28 S=0xC0 I=34426 F=0x T=1 (#9) whats up? -- Eric Smith
best chart authoring tools
For flow charts and commercial diagrams - what is the most convenient with auto-alignment, snap to etc. xfig dont work (for me) as advertised for one thing. suggestions? -- Eric Smith
masquerading for internet access
I am on unstable and trying to give a client machine internet access. eth1 on the server gets internet access via cable modem via dhcpcd and the eth0 to the local LAN. The client and server communicate fine but the client does not get internet access. Also the default ipmasq installation results in the following kernel messages Packet log: output DENY tap0 PROTO=17 192.168.0.1:1025 62.108.1.65:53 L=61 S=0x00 I=45 F=0x T=64 (#2) Packet log: input DENY eth1 PROTO=2 62.108.30.1:65535 224.0.0.1:65535 L=28 S=0xC0 I=15219 F=0x T=1 (#9) I thought this would just work out of the box :( -- Eric Smith
Re: masquerading for internet access - swopping eth0 and eth1
According to Michel Loos on Fri, Nov 16, 2001 at 09:54:53PM -0200: On Fri, 2001-11-16 at 21:41, Eric Smith wrote: I am on unstable and trying to give a client machine internet access. eth1 on the server gets internet access via cable modem via dhcpcd and the eth0 to the local LAN. The client and server communicate fine but the client does not get internet access. Also the default ipmasq installation results in the following kernel messages Packet log: output DENY tap0 PROTO=17 192.168.0.1:1025 62.108.1.65:53 L=61 S=0x00 I=45 F=0x T=64 (#2) Packet log: input DENY eth1 PROTO=2 62.108.30.1:65535 224.0.0.1:65535 L=28 S=0xC0 I=15219 F=0x T=1 (#9) I thought this would just work out of the box :( It works out of the box if eth0 is external and eth1 is local. In your case you have to modify the 00Interfaces(?sp I use iptables now) file in order to switch external and internal ethernet cards. Oh, So I adapted one of the given examples thusly: auto eth0 eth1 iface eth0 inet dhcp pre-up /usr/share/doc/ifupdown/examples/check-mac-address.sh eth0 00:50:Fc:43:Cd:F0 up /etc/init.d/ipmasq start iface eth1 inet static pre-up /usr/share/doc/ifupdown/examples/check-mac-address.sh eth1 00:50:04:11:F3:EB address 192.168.0.1 netmask 255.255.255.0 up /sbin/dhcpcd But still cannot switch the cards after a reboot. Anything wrong with the above? -- Eric Smith
ipmasquerading on unstable
I am trying to get ipmasq to work for the purpose of providing a client machine with internet access. Firewall security is not a priority right now. I configure my LAN side eth, then I ipmasq start and get the following kernel messages: What is the minimum, simplest procedure to achieve my goal? thanx Nov 14 10:44:20 cherry kernel: eth0: Initial media type Autonegotiate. Nov 14 10:44:20 cherry kernel: eth0: MII #24 status 786d, link partner capability 41e1, setting full-duplex. Nov 14 10:45:42 cherry kernel: Packet log: input DENY eth1 PROTO=2 62.108.30.1:65535 224.0.0.1:65535 L=28 S=0xC0 I=39372 F=0x T=1 (#14) [EMAIL PROTECTED] ~] $ Packet log: input DENY eth1 PROTO=2 62.108.30.1:65535 224.0.0.1:65535 L=28 S=0xC0 I=39552 F=0x T=1 (#14) -- Eric Smith
configuring X in unstable
I do not like to hack Xf86Config and xf86config dont work in unstable, what should I use to optimise the display? -- Eric Smith
Re: configuring X in unstable
According to D. on Wed, Nov 14, 2001 at 04:39:12AM -0800: try dpkg-configure xserver-xfree86 That is assuming that it downloaded when you upgraded. Check to make sure that you have it installed. nope [EMAIL PROTECTED] ~] $ dpkg --configure xserver-xfree86 dpkg: error processing xserver-xfree86 (--configure): package xserver-xfree86 is already installed and configured I am looking for I think the debconf interface - like when you do a fresh install -- Eric Smith
Re: 404 Not Found when upgrading to unstable - next morning
According to Andras BALI on Mon, Nov 12, 2001 at 11:13:29PM +0100: On Mon, Nov 12, 2001 at 10:43:34PM +0100, Eric Smith wrote: Err http://ftp.nl.debian.org unstable/main binutils 2.11.92.0.10-3 404 Not Found The reason is: $ ncftpls ftp://ftp.nl.debian.org/debian/ | head -1 Archive-Update-in-Progress-open.hands.com $ Its still marked this way. The archive is just being updated, therefore it may happen that the Packages file is new, but the new files it refers to are not yet downloaded. Check back later. This morning things are _slightly_ better viz. Should I force it to continue - how? apt-get --fix-missing dist-upgrade Reading Package Lists... 0%Reading Package Lists... 100%Reading Package Lists... Done Building Dependency Tree... 0%Building Dependency Tree... 0%Building Dependency Tree... 3%Building Dependency Tree... 50%Building Dependency Tree... 50%Building Dependency Tree... 59%Building Dependency Tree... 72%Building Dependency Tree... 86%Building Dependency Tree... 98%Building Dependency Tree... Done Calculating Upgrade... Done The following packages will be REMOVED: python-base The following NEW packages will be installed: autoconf2.13 autotools-dev bonobo console-common debconf-utils defoma dict-gcide gcc-3.0-base gnome-pim groff-base gs gs-common gsfonts host html2text ifupdown ipchains ipppd isdnlog isdnlog-data isdnutils-base isdnutils-xtools isdnvboxclient isdnvboxserver klogd libbonobo2 libbz2-1.0 libcap1 libcupsys2 libdb3 libdns4 libefs1 libesmtp5 libexpat1 libgal15 libgal17 libgc6 libgcc1 libgdk-pixbuf-gnome2 libgdk-pixbuf2 libgimpprint1 libgmp3 libgnomeprint-bin libgnomeprint-data libgnomeprint15 libgtkhtml18 libisc3 liblcms libldap2 libltdl3 liblwres1 libmagick5 libmysqlclient10 libnetpbm9 liboaf0 libpcre3 libpspell4 librep9 libsasl7 libscrollkeeper0 libssl0.9.6 libstdc++3 libttf2 libungif4g libwmf0.2-1 libxml2 mysql-common net-tools netkit-inetd netkit-ping oaf perl-doc portmap powertweak-extra powertweak-gtk powertweak-text powertweakd python python2.1 scrollkeeper tcl8.3 xutils The following packages have been kept back w3m 302 packages upgraded, 82 newly installed, 1 to remove and 1 not upgraded. Need to get 8927kB/188MB of archives. After unpacking 143MB will be used. Do you want to continue? [Y/n] Do you want to continue? [Y/n] Err http://ftp.nl.debian.org unstable/main python2.1 2.1.1-4 404 Not Found [IP: 195.129.111.9 80] Err http://ftp.nl.debian.org unstable/main python 2.1.1-4 404 Not Found [IP: 195.129.111.9 80] Get:1 http://ftp.nl.debian.org unstable/main libfreetype6 2.0.5-2 [182kB] Get:2 http://ftp.nl.debian.org unstable/main libgnomeprint-bin 0.32-1 [20.6kB] Get:3 http://ftp.nl.debian.org unstable/main libgnomeprint-data 0.32-1 [201kB] Get:4 http://ftp.nl.debian.org unstable/main libgnomeprint15 0.32-1 [207kB] Get:5 http://ftp.nl.debian.org unstable/main binutils 2.11.92.0.10-3 [1278kB] Err http://ftp.nl.debian.org unstable/main procmail 3.21.2001.3.23pre-1 404 Not Found [IP: 195.129.111.9 80] Err http://ftp.nl.debian.org unstable/main mysql-common 3.23.43-4 404 Not Found [IP: 195.129.111.9 80] Err http://ftp.nl.debian.org unstable/main libmysqlclient10 3.23.43-4 404 Not Found [IP: 195.129.111.9 80] Get:6 http://ftp.nl.debian.org unstable/main dhcp 2.0pl5-6.2 [202kB] Err http://ftp.nl.debian.org unstable/main libwine 0.0.20011108-2 404 Not Found [IP: 195.129.111.9 80] Err http://ftp.nl.debian.org unstable/main wine-doc 0.0.20011108-2 404 Not Found [IP: 195.129.111.9 80] Fetched 2091kB in 21s (99.5kB/s) Failed to fetch http://ftp.nl.debian.org/debian/pool/main/p/python2.1/python2.1_2.1.1-4_i386.deb 404 Not Found [IP: 195.129.111.9 80] Failed to fetch http://ftp.nl.debian.org/debian/pool/main/p/python2.1/python_2.1.1-4_all.deb 404 Not Found [IP: 195.129.111.9 80] Failed to fetch http://ftp.nl.debian.org/debian/pool/main/p/procmail/procmail_3.21.2001.3.23pre-1_i386.deb 404 Not Found [IP: 195.129.111.9 80] Failed to fetch http://ftp.nl.debian.org/debian/pool/main/m/mysql/mysql-common_3.23.43-4_all.deb 404 Not Found [IP: 195.129.111.9 80] Failed to fetch http://ftp.nl.debian.org/debian/pool/main/m/mysql/libmysqlclient10_3.23.43-4_i386.deb 404 Not Found [IP: 195.129.111.9 80] Failed to fetch http://ftp.nl.debian.org/debian/pool/main/w/wine/libwine_0.0.20011108-2_i386.deb 404 Not Found [IP: 195.129.111.9 80] Failed to fetch http://ftp.nl.debian.org/debian/pool/main/w/wine/wine-doc_0.0.20011108-2_i386.deb 404 Not Found [IP: 195.129.111.9 80] Unable to correct missing packages. E: Aborting Install. thanx -- Eric Smith
recovering apt-get --fix-missing dist-upgrade
According to Colin Watson on Tue, Nov 13, 2001 at 03:42:41AM -0600: Should I force it to continue - how? I'd pick another mirror for now. From what you've posted, it looks like ftp.nl is having problems. Archive maintenance happens around 20:00 GMT, lasts for a couple of hours, and then the mirrors update; by the next morning GMT all primary mirrors should easily have synced. Thanx Finally found a working mirror: deb ftp://ftp.us.debian.org/debian/ unstable main non-free contrib deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free #deb ftp://debian.crosslink.net/debian/ unstable main non-free contrib #deb ftp://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free #deb http://ftp.nl.debian.org/debian unstable main non-free contrib #deb http://ftp.nl.debian.org/debian-non-US unstable/non-US main non-free contrib after succesfully installing a large number of packages it dropped out of the routine with this: Preparing to replace glibc-doc 2.1.3-18 (using .../glibc-doc_2.2.4-5_all.deb) ... Unpacking replacement glibc-doc ... Preparing to replace mc 4.5.42-11.potato.6 (using .../archives/mc_4.5.55-1_i386.deb) ... Unpacking replacement mc ... Errors were encountered while processing: /var/cache/apt/archives/dictd_1.5.5-4_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) cherry# How do I recover the apt-get --fix-missing dist-upgrade? -- Eric Smith
404 Not Found when upgrading to unstable
I am upgrading as follows: deb http://ftp.nl.debian.org/debian/ unstable main non-free contrib deb http://ftp.nl.debian.org/debian-non-US unstable/non-US main non-free contrib I tried to install firstly debconf and apt-options and got this: Err http://ftp.nl.debian.org unstable/main binutils 2.11.92.0.10-3 404 Not Found Get:17 http://ftp.nl.debian.org unstable/main cpp 2:2.95.4-8 [3282B] Get:18 http://ftp.nl.debian.org unstable/main cpp-2.95 1:2.95.4-0.011006 [128kB] Get:19 http://ftp.nl.debian.org unstable/main g++ 2:2.95.4-8 [1186B] Get:20 http://ftp.nl.debian.org unstable/main g++-2.95 1:2.95.4-0.011006 [1028kB] Get:21 http://ftp.nl.debian.org unstable/main gcc 2:2.95.4-8 [3278B] Get:22 http://ftp.nl.debian.org unstable/main gcc-2.95 1:2.95.4-0.011006 [951kB] Get:23 http://ftp.nl.debian.org unstable/main libstdc++2.10-dev 1:2.95.4-0.011006 [301kB] Get:24 http://ftp.nl.debian.org unstable/main libc6-dev 2.2.4-5 [2352kB] Get:25 http://ftp.nl.debian.org unstable/main locales 2.2.4-5 [3337kB] Get:26 http://ftp.nl.debian.org unstable/main apt-utils 0.5.4 [173kB] Get:27 http://ftp.nl.debian.org unstable/main libdb2-util 2:2.7.7.0-2 [107kB] Get:28 http://ftp.nl.debian.org unstable/main libdps1 4.1.0-9 [156kB] Err http://ftp.nl.debian.org unstable/main libfreetype6 2.0.5-2 404 Not Found Get:29 http://ftp.nl.debian.org unstable/main xlib6g 4.1.0-9 [47.1kB] Then tried to install login and got this: cherry# apt-get install login Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: binutils cpp cpp-2.95 debconf dialog g++ g++-2.95 gcc gcc-2.95 libc6 libc6-dev libdb2 libdb2-util libdps1 libfreetype6 libgtk1.2 libncurses5 libperl5.6 libpopt0 libstdc++2.10-dev libstdc++2.10-glibc2.2 libxaw6 libxaw7 locales perl perl-5.005 perl-5.005-base perl-5.005-suid perl-base perl-modules perl-suid whiptail xbase-clients xfree86-common xlib6g xlibs The following packages will be REMOVED: xpm4g The following NEW packages will be installed: cpp-2.95 g++-2.95 gcc-2.95 libdps1 libfreetype6 libperl5.6 libstdc++2.10-glibc2.2 libxaw6 libxaw7 perl perl-modules perl-suid xlibs 24 packages upgraded, 13 newly installed, 1 to remove and 299 not upgraded. Need to get 1569kB/21.6MB of archives. After unpacking 13.2MB will be used. Do you want to continue? [Y/n] Get:1 http://ftp.nl.debian.org unstable/main login 2902-8 [110kB] Err http://ftp.nl.debian.org unstable/main binutils 2.11.92.0.10-3 404 Not Found Err http://ftp.nl.debian.org unstable/main libfreetype6 2.0.5-2 404 Not Found Fetched 110kB in 2s (46.6kB/s) Failed to fetch http://ftp.nl.debian.org/debian/pool/main/b/binutils/binutils_2.11.92.0.10-3_i386.deb 404 Not Found Failed to fetch http://ftp.nl.debian.org/debian/pool/main/f/freetype/libfreetype6_2.0.5-2_i386.deb 404 Not Found E: Unable to fetch some archives, maybe try with --fix-missing? What solecism have I committed? If I wanted to make a CD first to mound with apt-cdrom. what would I make the root of the CD? Thanx -- Eric Smith
svg authoring
Is there a debian package for a scalable vector graphics authoring tool? -- Eric Smith
DHCP Servr configuration
I am attempting to set up a dhcp server and its going rather slowly. Would like to have the bare minimum config for a single networked (windows) machine which I want to give internet access to from my debian server. The debian runs the dhcpcd and is configured thus by the ISP: inet addr:24.132.170.14 Bcast:24.132.171.255 Mask:255.255.254.0 So now this machine has internet access. I configure eth0 as follows: ifconfig eth0 204.254.239.10 up Here is the dhcp.conf which I had a go at: --- option domain-name loots.com; default-lease-time 600; max-lease-time 7200; subnet 128.164.1.0 netmask 255.255.255.0 { range 128.164.1.0 128.164.1.20; option broadcast-address 128.164.1.10; } --- I am sure the broadcast-address is wrong. /usr/sbin/dhcpd eth0 This manages to configure the client windows machine and I may telnet from it to the debian. To get internet access, however, I experimented manually adding a default route (to both eth0 and eth1 of the debian). Nothing works to give the windows machine internet access. What could I be missing? -- Eric Smith
IRQ conflict on ethernet cards
I have a RealTek and a 3com card which are both sharing the same irq viz. /proc/interrups: CPU0 0: 899149 XT-PIC timer 1: 20820 XT-PIC keyboard 2: 0 XT-PIC cascade 6:106 XT-PIC floppy 8: 1 XT-PIC rtc 10: 0 XT-PIC eth0, eth1 13: 1 XT-PIC fpu 14: 90746 XT-PIC ide0 NMI: 0 Here is the grepped /proc/ioports: f800-f87f : eth1 fc80-fcff : eth0 and part of the dmesg: 3c59x.c 18Feb01 Donald Becker and others http://www.scyld.com/network/vortex.html eth0: 3Com 3c905B Cyclone 100baseTx at 0xfc80, 00:50:04:11:f3:eb, IRQ 10 8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface. MII transceiver found at address 24, status 7849. Enabling bus-master transmits and whole-frame receives. rtl8139.c:v1.07 5/6/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html eth1: RealTek RTL8139 Fast Ethernet at 0xf800, IRQ 10, 00:40:f4:2e:41:c8. eth0: Initial media type Autonegotiate. eth0: MII #24 status 7849, link partner capability , setting half-duplex. I can get both eth0 and eth1 to work (support a network connection) strangely but not simultaneously, although modprobe only works on eth0 and not eth1. I did all I could on the simplistic CMOS that I have but I cannot allocate IRQ specifically to ports. I also ran the reltek dos diagnostics and setting utility and all is fine but I cannot change the IRQ from 10 with it. How do I manually force the IRQ to be different on the two cards? Thank you. -- Eric Smith
Re: IRQ conflict on ethernet cards - a solution
According to Oleksandr Moskalenko on Tue, Nov 06, 2001 at 12:05:43PM -0500: Eric, I had such a problem and solved it by changing the IRQ on a 3Com card. Their diagnostics and install floppy works wonders in most cases. Have you tried that one? This is the way that I've seen advised on this list many times. Thanx to you and schnobs - good answers. I solved the problem soon after sending the email by disabling irq 10 in the bios, then one card caught irq 9 and the other 4 - I thought there was meant to be some science in this stuff ;) ciao -- Eric Smith
docs on upgrading potato - woody
looked around on debian.org and found nothing. Please supply pointer to documentation on (safe(er)) ways of upgrading. thanx -- Eric Smith