Linux-Setup Digest #395, Volume #20 Wed, 10 Jan 01 21:13:10 EST
Contents:
How to d/l POP3 mail & serve it as IMAP? ([EMAIL PROTECTED])
Re: filesystem corruption (Graham Wilson)
Re: xinetd & inetd (drumvudu)
RPM 4.0 foxhole (hi_potent)
Re: can't execute an executable file..... (Michael V. Ferranti)
Re: How to d/l POP3 mail & serve it as IMAP? (H.Bruijn)
Re: rh 6.2 and ATAPI cdrw (hp 9300), how to get scsi emulation to work (Claude
Vaillancourt)
Re: CA810 Mother Boards (Zed)
Re: i810 sound problem (Zed)
Re: kernel build error: `smp_num_cpus' undeclared (Linux User)
Re: CA810 Mother Boards (Linux User)
Re: Help with modem (etc.) in SuSe 7.0 (please!) (Glitch)
Re: I need an advice for Zip USB, (Dances With Crows)
Re: NEWBIE QUESTION: Linux issues and performance tuning (Glitch)
2.4 boot w/scsi issue on RH6.2 (mark kennett)
change partitioning for freeBSD install ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: How to d/l POP3 mail & serve it as IMAP?
Date: Wed, 10 Jan 2001 23:57:05 GMT
I have my own domain name. All emails directed to
<anything>@mydomain.com are forwarded to my actual email address as
provided by my ISP.
I have more than one PC. One is a Linux box - RedHat 6.2 kernel 2.2.13
but that will probably change soon so anything you suggest as an
alternative, if necessary, is ok...
I would like to set up this PC so that:
- my linux box regularly checks my ISPs POP3 server for new mail.
- if there is new mail it downloads it and deletes it off the ISP
server.
- I would then like the Linux box to act as an IMAP server to my
internal network
- I would like mail addressed to different email addresses in my
domain directed into different mailboxes ie [EMAIL PROTECTED] ->
account for user 'jeremy'; [EMAIL PROTECTED] -> account for user 'ng' etc
As a side issue - probably something that can be handled independently
as a separate issue - the Linux box will not be connected 100% of the
time to the ISP, but rather by 56k dialup line. The Linux box should
dial up when required (if not already on-line).
As a side issue of the side issue, I am also looking at ways of getting
the linux box to dial up the ISP at any time a PC on the internal
network is looking for a connection to the internet, and providing a
shared link to all the PCs on the network via IP masquerading.
(a) is any of this stuff possible
(b) if it is, how should I go about setting it up? (I'm not looking for
you all to do all my work for me, so I don't expect an detailed
step-by-step set of inst4ructions, but I'd appreciate a few pointers to
start me looking in the right direction, and then I can do the leg work
with the HOWTOs etc. I just need to have a few of the principles pointed
out to me...)
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Graham Wilson <graham01~[EMAIL PROTECTED]>
Subject: Re: filesystem corruption
Date: Wed, 10 Jan 2001 16:15:17 -0800
Eric wrote:
>
> > Is this a gotcha I should be aware of (and defend against)
>
> Yes, partition tables are monsters
>
<chomp>
>
> You should post the *full* output of `fdisk -l /dev/hdc`
> I suspect that the problem is there, but as you stripped the important
> stuff, I can't tell yet.
>
> very likely, hda4 has the wrong partition ID
>
> Eric
Thanks for your quick response, Eric. Here's the full output:
Disk /dev/hdc: 16 heads, 63 sectors, 38792 cylinders
Units = cylinders of 1008 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 19 9544+ 83 Linux
/dev/hdc2 20 3894 1953000 83 Linux
/dev/hdc3 3895 7769 1953000 83 Linux
/dev/hdc4 7770 18449 5382720 5 Extended
/dev/hdc5 7770 8017 124960+ 82 Linux swap
/dev/hdc6 8018 8265 124960+ 82 Linux swap
/dev/hdc7 8266 12140 1952968+ 83 Linux
/dev/hdc8 12141 12636 249952+ 83 Linux
/dev/hdc9 12637 18449 2929720+ b Win95 FAT32
Thanks for your help. G.
------------------------------
From: drumvudu <[EMAIL PROTECTED]>
Subject: Re: xinetd & inetd
Date: Thu, 11 Jan 2001 00:37:45 GMT
Posting as root? scary mann......
"Nothing astonishes men so much as common sense and
plain dealing"...Ralph Waldo Emerson
"It takes a wonderful brain and exquisite senses to produce a few
stupid ideas"...George Santayana
Confucious say "If you play in root,
eventually you will kill tree"
Linux: t h e c h o i c e o f a
G N U g e n e r a t i o n . . .
------------------------------
From: hi_potent <[EMAIL PROTECTED]>
Subject: RPM 4.0 foxhole
Date: Thu, 11 Jan 2001 00:38:10 GMT
Hello,
I wanted to upgrade RPM to RPM 4.0 because i was getting the now
infamous "only packages with major nos <= 3 are supported by this
version of RPM" error. So i carefully removed the rpm package manager
and all programs with associations with it and tried to install
rpm-4.0.tar.gz in /usr/local/bin where it lived before. The ./autogen
command complained i needed libtool-1.3.5, autoconf-2.13 and
automake-1.4 (which i did have but earlier versions). I downloaded the
gzipped tape archives of those files, of which autoconf and automake
installed but not libtool. libtool during ./configure says:
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
I changed the path in .bash_profile so it would find the compiler:
export PATH=$PATH:/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.6 and it
still didn't work. Doesn't seem to matter anyway, because in frustration
i tried to install rpm 4.0 anyway without libtool and it doesn't
acknowlege the upgraded versions of autoconf or automake. With all this
in mind, how do i accomplish installing rpm 4.0?
Many, many thanks in advance.
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Michael V. Ferranti <[EMAIL PROTECTED]>
Subject: Re: can't execute an executable file.....
Date: Thu, 11 Jan 2001 01:00:13 +0000
And "JJ" <[EMAIL PROTECTED]> spoke thusly:
>What can be wrong? Why doesn't it execute?
It has to be called explicitly, since it's probably not in your $PATH.
You can do this by prepending "./" to the filename (ie: "./a.out"). It's a
Unix anti-trojan security measure to prevent users from executing jobs that
don't exist in the far more well-protected $PATH directories.
-- Michael V. Ferranti [blades&inreach*com]
Linux Counter Reg.ID# 177869 http://counter.li.org GNUke The Planet!
Sign The Linux Driver Petition: www.libralinux.com/petition.english.html
------------------------------
From: [EMAIL PROTECTED] (H.Bruijn)
Subject: Re: How to d/l POP3 mail & serve it as IMAP?
Date: 11 Jan 2001 01:04:04 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 10 Jan 2001 23:57:05 GMT, [EMAIL PROTECTED] allegedly wrote:
>I have my own domain name. All emails directed to
><anything>@mydomain.com are forwarded to my actual email address as
>provided by my ISP.
>
>I have more than one PC. One is a Linux box - RedHat 6.2 kernel 2.2.13
>but that will probably change soon so anything you suggest as an
>alternative, if necessary, is ok...
>
>I would like to set up this PC so that:
>- my linux box regularly checks my ISPs POP3 server for new mail.
>- if there is new mail it downloads it and deletes it off the ISP
>server.
use fetchmail in daemon mode. It will regularly check mail from your
specified accounts and deliver it to a local account.
>- I would then like the Linux box to act as an IMAP server to my
>internal network
There are number of different imap daemons so no problem there. That
should work out of the box.
>- I would like mail addressed to different email addresses in my
>domain directed into different mailboxes ie [EMAIL PROTECTED] ->
>account for user 'jeremy'; [EMAIL PROTECTED] -> account for user 'ng' etc
You should use procmail for that. Filter on the To: lines and have those
delivered to different accounts on the linux box. Search for a decent
set of procmail recipes : http://www.uwasa.fi/~ts/info/proctips.html
The problem may be that the user is one of a list that the For may not
contain the username you're looking for. Then get craetive.
>As a side issue - probably something that can be handled independently
>as a separate issue - the Linux box will not be connected 100% of the
>time to the ISP, but rather by 56k dialup line. The Linux box should
>dial up when required (if not already on-line).
>
>As a side issue of the side issue, I am also looking at ways of getting
>the linux box to dial up the ISP at any time a PC on the internal
>network is looking for a connection to the internet, and providing a
>shared link to all the PCs on the network via IP masquerading.
Both of those can be handled by diald or something equivalent. Detects
requests that go outside the localnetwork and then establishes the
connection. after specified amount of time break the connection.
--
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn mail: [EMAIL PROTECTED]
The Netherlands website: http://hermanbruijn.com
------------------------------
From: Claude Vaillancourt <[EMAIL PROTECTED]>
Subject: Re: rh 6.2 and ATAPI cdrw (hp 9300), how to get scsi emulation to work
Date: Wed, 10 Jan 2001 20:06:02 -0500
After digging the newsgroup, I found a reference to this Linux Gazette
article:
http://www.linuxgazette.com/issue57/stoddard.html
With a lot of experimentation, I managed to make it work perfectly for me.
Hope it can help you too!
I leave the "/sbin/modprobe ide-scsi" in the rc.local script file but add
these lines to the /etc/modules.conf file
(Note that the article state /sbin/insmod, I'm not sure if it does the same
with these parameters)
alias parport_lowlevel parport_pc
alias sound-slot-0 emu10k1
alias usb-controller usb-uhci
alias eth0 ne
options ne io=0x220 irq=5
# added this for ide-scsi of my CD-RW on hdd
# and a regular cdrom on hdc
alias scd0 srmod
alias scsi_hostadapter ide-scsi
options ide-scsi
options ide-cd ignore=hdd
# end
and most important, I modified my image section of lilo.conf as follow:
image=/boot/vmlinuz-2.2.16-22
label=linux
read-only
root=/dev/hda2
append="hdc=ide-cd hdd=ide-scsi"
and of course, run /sbin/lilo to apply changes and reboot.
Now, cdrecord -scanbus reports correctly and I can mount my regular CDROM. I
havent tried to burn a cd yet but I'm confident it will work fine as it used
to work with my previous installation.
Thanks for your observations, it really helped me get on the right track.
John Foster wrote:
> I've now found a similar problem (to the one quoted below): my IDE ZIP
> drive doesn't work after the mods, and the messages I get are like the
> ones in the quote (including the fact that the ZIP drive gets listed as
> the first in the list from cdrecord -scanbus).
>
> If I remove the line
> /sbin/modprobe ide-scsi
> from /etc/rc.d/rc.local (and reboot)
> then the ZIP drive works fine again but of course the CD-RW doesn't.
>
> My guess is that what's happening is that ide-scsi is coming in and
> grabbing all the devices it can see that haven't been claimed yet, but
> that allowing it to do that within /etc/rc.d/rc.local lets it do its
> work too early.
>
> What does work (for me) is to leave the modprobe line out from
> /etc/rc.d/rc.local and then enter it manually after the machine has
> booted. I'd like not to have to do that, though, so does anyone know
> where the "best" place would be to put the modprobe command?
>
> John Foster
>
> Claude Vaillancourt wrote:
> >
> > I have the same problem with RH7, that link says nothing about sr_mod. I
> > followed those instructions carefully, now cdrecord -scanbus reports ok
> >
> > Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
> > Linux sg driver version: 2.1.38
> > Using libscg version 'schily-0.1'
> > scsibus0:
> > 0,0,0 0) 'MATSHITA' 'CD-ROM CR-586 ' 'KS15' Removable CD-ROM
> > 0,1,0 1) 'HP ' 'CD-Writer+ 8200 ' '1.0f' Removable CD-ROM
> > ...
> >
> > Problem, my matshita is a cd reader, and I can't mount it anymore. Same
> > for the CD-Writer.
> >
> > for cd-writer it says:
> >
> > [root@local /etc]# mount /mnt/cdrom1
> > mount: block device /dev/cdrom1 is write-protected, mounting read-only
> > mount: wrong fs type, bad option, bad superblock on /dev/cdrom1,
> > or too many mounted file systems
> >
> > and for the matshita:
> >
> > [root@local /etc]# mount /mnt/cdrom
> > mount: wrong fs type, bad option, bad superblock on /dev/cdrom,
> > or too many mounted file systems
------------------------------
From: Zed <[EMAIL PROTECTED]>
Subject: Re: CA810 Mother Boards
Date: Wed, 10 Jan 2001 17:16:25 -0800
Finn wrote:
>
> I was woundering if any one could help me. I'm trying to install Red
> Hat 7.0 to a system with an Intel CA810 Mother Board and I can't get a
> GUI up and running. During installation I am not given the opportunity
> to configure X, as I normaly do when I install to other Systems. It is
> detected as an 810 graphics chipset but I can not "Test it" or select
> a specific screen mode. If any one has any idea's could they please
> reply to the news group. Thanks a lot.
>
> Finn.
The video works fine for me. 1280x1024 at 16bpp. I don't run Redhat
however.
I use Slackware 7.0, Xfree86 3.3.6. Sorry can't help you much. I
could send you my X config if you want so you can check it out. I
might even still have a Mandrake 7.1 config laying around that used
Xfree4.0. FWIW the audio uses the ES1371 audio driver if you haven't
found that out by now. the CA810 is kind of a toad to get working so
you'll gain some gray hair. I got mine tweaked pretty good....
--
Russell Perkins
http://24.234.62.154
AIM id: espireLVnode
------------------------------
From: Zed <[EMAIL PROTECTED]>
Subject: Re: i810 sound problem
Date: Wed, 10 Jan 2001 17:18:56 -0800
Joachim Rahmfeld wrote:
>
> Hi,
>
> I am setting up Suse linux on an hp 8756c Pavilion.
> The motherboard has an integrated i810 sound card,
> which is supposed to be supported. On installation
> it recognizes the sound card, but it still cannot configure
> it. Also, when I run "soundcard setup" from the KDE
> menu it recognizes the card, says it will be configured,
> but it claims it cannot load the module snd-card-intel8x0.
>
> I recompiled the kernel in every possible way, it just does
> not work...
>
> Any ideas?
>
> Thanks so much,
>
> Joachim
Try the ES1371 driver. If it is integrated audio, that should work.
Does for me anyway...
--
------------------------------
From: Linux User <[EMAIL PROTECTED]>
Subject: Re: kernel build error: `smp_num_cpus' undeclared
Date: Wed, 10 Jan 2001 17:25:11 -0800
Hello,
That error usually occurs when you don't 'make mrproper' before you 'make
xconfig'.
Regards,
Jim H
5:26pm up 78 days, 21:13, 2 users, 0.23, 0.14, 0.10
doug reeder wrote:
>
> I'm trying to recompile the kernel (kernel 2.2.12 from the Red Hat 6.1
> distribution) on a HP Visualize PC (like an HP Kayak, but with a
> slot for a second processor). Only one processor is installed, so I
> said NO to 'symmetric multi-processing support' in 'make xconfig' so
> the kernel would run a tad faster.
>
> make dep and make clean run without problems.
>
> But, when I run 'make bzdisk', compilation halts with the error:
>
> In file included from ksyms.c:17:
> /usr/src/linux-2.2.12/include/linux/kernel_stat.h:44: `smp_num_cpus'
> undeclared (first use in this function)
> /usr/src/linux-2.2.12/include/linux/kernel_stat.h:44: (Each undeclared
> identifier is reported only once
> /usr/src/linux-2.2.12/include/linux/kernel_stat.h:44: for each function it
> appears in.) make[2]: *** [ksyms.o] Error 1
>
>
>
> I've never encounted this problem when rebuilding the kernel on our Kayaks
> running Red Hat 6.1.
>
> The processor is a 600 MHz Pentium III.
>
> Any suggestions other than re-compiling with 'Symmetric multi-processing
> support' set to YES ?
------------------------------
From: Linux User <[EMAIL PROTECTED]>
Subject: Re: CA810 Mother Boards
Date: Wed, 10 Jan 2001 17:29:12 -0800
Hello,
Try running Xconfigurator to reconfigure your X settings.
Regards,
Jim H
5:31pm up 78 days, 21:18, 2 users, 0.02, 0.09, 0.08
Finn wrote:
> I was woundering if any one could help me. I'm trying to install Red
> Hat 7.0 to a system with an Intel CA810 Mother Board and I can't get a
> GUI up and running. During installation I am not given the opportunity
> to configure X, as I normaly do when I install to other Systems. It is
> detected as an 810 graphics chipset but I can not "Test it" or select
> a specific screen mode. If any one has any idea's could they please
> reply to the news group. Thanks a lot.
>
>
> Finn.
------------------------------
Date: Wed, 10 Jan 2001 20:45:07 -0500
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: Help with modem (etc.) in SuSe 7.0 (please!)
> Also I have an internal ISA Modulartech(nologies) v90 modem and I cannot
> get it to work. Yast2 will not pick it up. I followed these instructions
> on the install for isa/pnp modems:
>
> pnpdump -c > /etc/isapnp.conf
> isapnp /etc/isapnp.conf
>
> then setserial /dev/modem irq 3 port 0x2F8
is the modem PnP? if not why are u using pnpdump? What settings does
the modem use in Windows (if u have windows on the same machine)?
>
> isapnp reported 2 sets of irqs the first one with a DMA (?) The card
> also has some video capture ready thing so I'm not sure if that explains
> the DMA. Anyway, the dev/modem didnt exist so I checked the SUSE website
> and it had setserial /dev/ttyS5 instead. Also it said copy the command
> to /sbin/init.d/boot.local which I did. However Yast2 still doesn't
> detect it. I also tried Suse automated pnpconfig script to no avail. The
> strange thing is the last time I ran isapnp it gave an error that the
> modem was already on, or active or some such. I didn't save the error
> unfortunately. I remember reading a while back the hardware linux
> database that my modem (or what appeared to be) was reported to work
> with Linux.
>
> Any help/suggestions would be much appreciated.
>
> Van der Ivor
>
> --
>
> '666 is no longer alone
> He's getting out the marrow in the backbone
> And the seven trumpets blowing sweet rock and roll
> Gonna blow right down inside your soul'
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.hardware,comp.os.linux.misc
Subject: Re: I need an advice for Zip USB,
Date: 11 Jan 2001 01:42:47 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 10 Jan 2001 16:14:08 GMT, ME staggered into the Black Sun and said:
>I am trying to mount (dev/sda4) a Zip 100 USB drive under Kernel 2.2.16
>(Suse 7.0). The modules usbcore, usb-ohci and usb-storage are loaded,
>but yet the system fails to communicate with the Zip drive. While
>booting up the system it finds the Zip drive. The error message is:
>sda: Read Capacity failed
>sda: status=0, message=00, host=7, driver=00
>sda: sense not available
>sda: block size assumed 512 bytes, disk size 1 GB
> sda: scsidisk I/O Error: dev08:00, sector 0
> unable to read partition table.
>
>My USB Sony CD/RW drive is also seen but can not be mounted. I think it
>is a SCSI issue, which I have tried to remedy with the insertation of
>module sg, but that did not help either. Perhaps somebody has an advice
>for me, any input is appreciated.
Is this the stock SuSE 7.0 2.2.16 kernel? They shipped a kernel with a
bunch of USB stuff backported in, but things have improved since then,
especially wrt USB support. http://www.qbik.ch/usb/devices/ says the
USB-Zip-250 should work just fine with a recent kernel release (2.2.18
or 2.4.0) and the appropriate USB stuff compiled. My advice is to grab
one of those kernels and try it out.
BTW, don't even try to patch the SuSE kernel with the official kernel
patch-2.2.xx.gz files. It won't work, as SuSE engineers have hacked on
their distro kernel, getting it out of sync with the official one.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
Date: Wed, 10 Jan 2001 20:48:09 -0500
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: NEWBIE QUESTION: Linux issues and performance tuning
[EMAIL PROTECTED] wrote:
>
> Hi there,
[snip]
>
> 3. X-Window is too slow. Both gnome and KDE. My machine is PII 300 with
> 300M RAM. Should be a neat one, right? It's so slow that even mouse can
> not follow my move, not to mention windows, menu, etc. But for this
> issue, I won't complain about Linux. I'm sure there're lot of
> performance tuneup I have missed. So do you have any suggestion about
> it? One thing I noticed in TurboLinux 6.0 is I always see couple of
> rvxt processes are taking about 25% CPU time respectively. That's why
> my CPU usage is always at about 75%. I'm using a TurboxLinux for
> Simplified Chinese now.
>
That would probably explain why X seems slow to you. Try to find out why
the rxvt processes are hogging your CPU or just try killing them and see
if things speed up for you.
[snip]
------------------------------
From: mark kennett <[EMAIL PROTECTED]>
Subject: 2.4 boot w/scsi issue on RH6.2
Date: Thu, 11 Jan 2001 01:43:37 GMT
I have updated modutils and mkinitrd to recommended version as per
Documentation/Changes. Have compiled kernel without problem when I go
to make the initrd-2.4.0 file to load my scsi adapter I get following
response:
[root@home1 /boot]# mkinitrd /boot/initrd-2.4.0.img 2.4.0
/sbin/mkinitrd: [: /lib/modules/2.4.0/./kernel/drivers/scsi/aic7xxx.o:
binary operator expected
error: -d option is not supported on Linux
error: -d option is not supported on Linux
Error creating temporaries. Try again
Yes I have made and installed the modules. Any one have an idea what is
going on? If I compile the low-level scsi support for my card into the
kernel will it remove my problem? My compressed kernel file
"vmlinuz-2.4.0" be getting to large, isn't the limit like 1 meg? Thanks
Mark
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: change partitioning for freeBSD install
Date: Thu, 11 Jan 2001 02:04:54 GMT
I have a win98 machine that I want to dual boot with FreeBSD. Win98
is installed on a 6GB drive. I have a 40GB secondary disk that
currently has the following partitions:
1: PRI DOS 28.6 G FAT32
2: EXT DOS 10.4 G
logical: 8.4 G FAT32
logical: 2.0 G FAT32
I'd like to install FreeBSD on this drive. Do I have to repartition
so that the FreeBSD partition starts in the first 1024 cylinders? Or
will I just be able to repartition the "EXT DOS" partition above?
I guess I'm just trying to avoid having to backup 17 GB of stuff. I
could make backups, if necessary, to CDs, but that would, in a word,
suck.
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.setup.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Setup Digest
******************************