Linux-Misc Digest #213, Volume #27 Sat, 24 Feb 01 13:13:02 EST
Contents:
Re: usb mass storage support (Rod Smith)
Re: Web page publishing (Doug O'Leary)
Re: kernel traffic page not updated since Feb 9 (Dances With Crows)
Re: get POP3 accounts ("Jean-Pierre Bergamin")
Re: Substitute for Microsoft Outlook? (Grant Edwards)
Re: Web page publishing (Grant Edwards)
Re: RAID-1 under 2.2.18 or 2.4.2? (=?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?=)
Re: Mandrake: Can't login! (sherror)
Re: bash scripting tips needed (sherror)
The Best (FREE) Linux Tutorial Yet (J J)
Re: Does JDK 1.3 work with kernel 2.4? (Jan Schaumann)
Re: kernel traffic page not updated since Feb 9 (Robert Lynch)
Re: linux only know first 8 char of password! (David Griffith)
Re: trouble compiling gnome-utils (Markus Kossmann)
Re: Help--Program exists, but can't execute (Chris Carlen)
Could Linux be used in this factory environment ? (peter)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: usb mass storage support
Date: Sat, 24 Feb 2001 15:34:01 -0000
Reply-To: [EMAIL PROTECTED]
[Posted and mailed]
In article <[EMAIL PROTECTED]>,
Vandenheede Bjorn <[EMAIL PROTECTED]> writes:
> Vandenheede Bjorn wrote:
>>
>> Hello
>>
>> I would like to compile support for usb mass storage in a 2.2.18 kernel,
>> but I'm not able to select the option. What other option do I have to
>> select before I can select the usb mass storage option.
>>
> I found out on www.linux-usb.org that USB-storage is not supported in
> the 2.2 line of kernels.
Actually, 2.2.18 adds most or all of the USB drivers from the 2.4.x
kernels. This includes mass storage devices (Zip disks, etc.), IIRC.
Your problem is most likely caused by the fact that the USB mass storage
drivers are handled by the SCSI subsystem, so you must first enable
basic SCSI support; without that, the option is meaningless, and so will
be disabled. As a practical matter, you also need to enable SCSI disk
support (for disk devices), or presumably CD-ROM, tape, or generic SCSI
support for some devices. I don't know if the USB mass storage option
will be unavailable if these options are disabled, though.
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
From: Doug O'Leary <[EMAIL PROTECTED]>
Subject: Re: Web page publishing
Date: Sat, 24 Feb 2001 09:35:58 -0800
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> What are you people using to create and maintain your web pages. I've
> searched and so far found nothing which is powerful and easy.
I use vi; works like a champ!
Doug
--
===================
Douglas K. O'Leary
Senior System Admin
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: kernel traffic page not updated since Feb 9
Date: 24 Feb 2001 15:47:10 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 24 Feb 2001 02:06:41 -0500, [EMAIL PROTECTED] staggered into
the Black Sun and said:
>I always like to read the kernel traffic page at
>
>http://kt.linuxcare.com/kernel-traffic/latest.epl
>
>which usually updates every week. It's currently still back on the Feb
>9 issue. Is there something wrong or did every one just get too busy
>with the new kernel being out to write stuff? I'm hoping it's not
>going away.
http://kt.zork.net/kernel-traffic/latest.html
They could've at least put a redirect up on the old page.
--
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....
------------------------------
From: "Jean-Pierre Bergamin" <[EMAIL PROTECTED]>
Subject: Re: get POP3 accounts
Date: Sat, 24 Feb 2001 17:11:48 +0100
"Michael Heiming" <[EMAIL PROTECTED]> schrieb
Hello Michael
> > Could you give me a hint how I can get all POP3 accounts?
> you could just cat them of /etc/passwd, asuming they are UNIX users on
your
> system. Now, use awk or perl, or whatever you prefer and manipulate the
data to
> your needs.
Thanks!
Why making things complicated when you can do it this easy :-)
Regards
James
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: Substitute for Microsoft Outlook?
Date: Sat, 24 Feb 2001 16:23:37 GMT
In article <977m36$ekb$[EMAIL PROTECTED]>, Georg Schwarz wrote:
>[EMAIL PROTECTED] (Grant Edwards) writes:
>
>>>Is there any Linux mail client that can work with Microsoft Exchange mail
>>>servers?
>
>>Depends.
>
>>Most will work if POP/IMAP/SMTP is enabled on Exchange server.
>
>I don't thibk POP3 and IMAP are enabled, and I don't think they will be.
>
>>Use IMAP rather than POP if given a choice. If they aren't enabled, then
>>you're pretty much screwed. Bynari.com has a sort
Oops. That should be bynari.net, not binary.com.
>>of a solution where you run have the a server-app on a Windows machine and a
>>client-app under Linux.
>
>I see. That's not a feasable option.
>
>>Nobody has a MAPI client under anything but MS-Windows, and nobody ever
>>will.
>
>do you happen to know whether the Mac version of any MS app does support it,
>BTW?
Good question. I don't know. There is somebody at our company who uses an
iMac and seems to have working e-mail, so Outlook under MacOS under Linux
might work.
If you can scrape up a second box on which you can run Windows, you can go
the Bynary.com route, or use some other gateway program (I wrote an
Exchange->SMTP mail fetcher in Python). Or, you might be able to run the
gateway app under vmWare or something like that.
--
Grant Edwards grante Yow! O.K.! Speak with a
at PHILADELPHIA ACCENT!! Send
visi.com out for CHINESE FOOD!! Hop
a JET!
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: Web page publishing
Date: Sat, 24 Feb 2001 16:27:15 GMT
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>>>What are you people using to create and maintain your web pages. I've
>>>searched and so far found nothing which is powerful and easy.
>>
>> A text editor with an HTML mode (emacs/jed/vim/nedit) and a
>> brain. ;)
>
>I use emacs and brain.
>
>> Oh, and a good HTML checker.
>
>I use brain and Netscape.
Netscape will tolerate an awful lot of illegal HTML without any
indicication. Of course, maybe you never generate bad HTML to start with.
;)
--
Grant Edwards grante Yow! Half a mind is a
at terrible thing to waste!
visi.com
------------------------------
From: =?ISO-8859-1?Q?Rasmus_B=F8g_Hansen?= <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: RAID-1 under 2.2.18 or 2.4.2?
Date: Sat, 24 Feb 2001 17:36:42 +0100
On Sat, 24 Feb 2001, Ken Williams wrote:
> I plan on implementing software RAID1 on my new linux box with twin scsi
> barracudas. Can 2.2.18 do it well or should I be looking at 2.4.2 instead? I
> need it to work well the first time with no problems.
With 2.2.18, you have to download a raidpatch if your distro does not
include it. But it will work fine.
> Can anyone suggest anything? What should I know or do? Is the RAID code in
> 2.2.18 just as good as it is in 2.4.2?
I have set up a machine, which does it perfectly well with 2.2.17, so I
believe the code is very stable in 2.2.X.
Rasmus
------------------------------
From: sherror <[EMAIL PROTECTED]>
Subject: Re: Mandrake: Can't login!
Date: Sat, 24 Feb 2001 06:02:31 +0000
i had a similiar error, this might or might not be yours depending on what you did
beforehand. did you recently upgrade initscripts?
http://www.mail-archive.com/[email protected]/msg27507.html
sherror
"John Bonner" <[EMAIL PROTECTED]> wrote in article
<CSxl6.4631$[EMAIL PROTECTED]> :
>Mark,
>Thanks for the reply.
>In answer to your questions:
>
>I get a "localhost" login prompt.
>
>When I type "root" I see it on the screen but when I press return , it
>disappears and I do not get a password prompt but am still being asked for a
>login name.
>
>I was asked for both root and a user passwords which I set.
>Is there a specific requirement for mandrake passwords, i.e. set number of
>characters or mixture of letters and numbers??
>
>There are no error messages.
>
>Hope you can help.
>
>John Bonner.
>
>----------------------------------------------------------------------------
>---
>
>
>Mark Bratcher <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> In article <Qqdl6.4061$[EMAIL PROTECTED]>, John Bonner wrote:
>> >I have just installed Mandrake 6.1(Helios) on a standalone machine
>(custom
>> >installation). (It came on a magazine disk.)
>> >
>> >When I get to the login prompt at localhost, it will not accept root or
>> >username and acts as if I did not type anything. I don't even get an
>error
>> >messsage.
>> >What is the problem here? Have I overlooked something? Should I just
>choose
>> >the "workstation" option?
>> >
>> >Any ideas welcome.
>> >John Bonner.
>> >
>>
>> John,
>>
>> Can you be more specific?
>>
>> - Did you get a "login:" prompt?
>> - When you type, do the characters appear on the screen?
>> - When you type in 'root' at the login prompt and press Enter, do you get
>> a "Password:" prompt?
>> - When you did the install, it asked you for a root password or admin
>> password, right?
>> - What specific error message(s) are you getting?
>>
>> --
>> Mark Bratcher
>> To reply direct, remove both underscores (_) from my email name
>> ---------------------------------------------------------------
>> Escape from Microsoft's proprietary tentacles: use Linux!
>
>
_______________________________________________
Submitted via WebNewsReader of http://www.interbulletin.com
------------------------------
From: sherror <[EMAIL PROTECTED]>
Subject: Re: bash scripting tips needed
Date: Sat, 24 Feb 2001 05:53:32 +0000
thanks for the help, and your right; better question = better response.
that is what i was looking for, though! thanks.
"Werner Fangmeier" <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]> :
>I'm not really sure what you mean.
>Aliases are a means for abbreviating commands, so they are only honoured
>when appearing on the start of a commad line.
>To provide shorter names for directories, it's more likely to use
>environment variables:
> export BIGDIRPATH='/usr/local/src/big/long/pathname'
>Then, after typing e.g.
> vi $BIGDIRPATH/
>hitting TAB will also let you select files from this folder.
>(But to see files in a directoy, I usually use the "ls" command :-))
>As you see, the main problem is asking the right question :-)
>If you take the time to provide a reasonable question, you will notice, that
>90 percent of a problem is solvable by simply bringing the problem in a
>clear and comprehensive form.
>
><sherror> schrieb im Newsbeitrag news:[EMAIL PROTECTED]...
>>
>> Need some tips on making some scripts.
>> Is it possible to parse an alias like a command?
>> Say you have an alias, using bash, that is something like:
>>
>> alias bigdirpath='/usr/local/src/big/long/pathname'
>>
>> And say that directory has a bunch of files in it.
>> How could I parse the alias so I could use the TAB key afterwards
>> to see the files in that directory?
>> I'm sure there is a billion ways to do this, but I'm just learning and in
>need of some tips. Or maybe there is a totally different way to do this,
>like making a executable script?
>>
>> ==================================
>> Posted via http://nodevice.com
>> Linux Programmer's Site
>
>
_______________________________________________
Submitted via WebNewsReader of http://www.interbulletin.com
------------------------------
From: J J <[EMAIL PROTECTED]>
Subject: The Best (FREE) Linux Tutorial Yet
Date: Fri, 23 Feb 2001 14:21:28 +0000
Go to:
http://rute.sourceforge.net/
JJ
_______________________________________________
Submitted via WebNewsReader of http://www.interbulletin.com
------------------------------
From: [EMAIL PROTECTED] (Jan Schaumann)
Crossposted-To: comp.lang.java.misc
Subject: Re: Does JDK 1.3 work with kernel 2.4?
Date: Sat, 24 Feb 2001 16:52:55 GMT
* [EMAIL PROTECTED] wrote:
> Does the Sun JDK 1.3 work with Kernel 2.4? Anyone out there using it?
Yes - it does. I'm working with it:
[jschauma@www development]$ java -version
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Java HotSpot(TM) Client VM (build 1.3.0, mixed mode)
[jschauma@www development]$ uname -a
Linux www 2.4.0 #3 SMP Mon Jan 15 18:11:15 EST 2001 i686 unknown
[jschauma@www development]$cat HelloWorld.java
public class
HelloWorld
{
public static void
main(String[] args)
{
System.out.println("Hello, World!");
System.exit(0);
}
}
[jschauma@www development]$ javac HelloWorld.java
[jschauma@www development]$ java HelloWorld
Hello, World!
[jschauma@www development]$
-Jan
--
Jan Schaumann <http://www.netmeister.org>
This Message has been modified to fit your IQ. As a result, the content
might be contradictory to "known facts" and/or offend you. Sorry.
------------------------------
From: Robert Lynch <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: kernel traffic page not updated since Feb 9
Date: Sat, 24 Feb 2001 09:12:38 -0800
[EMAIL PROTECTED] wrote:
>
> I always like to read the kernel traffic page at
>
> http://kt.linuxcare.com/kernel-traffic/latest.epl
>
> which usually updates every week. It's currently still
> back on the Feb 9 issue. Is there something wrong
> or did every one just get too busy with the new
> kernel being out to write stuff? I'm hoping it's
> not going away.
>
> Mark
It moved:
http://kt.zork.net/kernel-traffic/latest.html
Bob L.
--
Robert Lynch-Berkeley CA USA: [EMAIL PROTECTED] <== NOTE:
**New address! Please CHANGE your addressbook listing.***
------------------------------
From: David Griffith <[EMAIL PROTECTED]>
Subject: Re: linux only know first 8 char of password!
Date: Sat, 24 Feb 2001 17:17:53 +0000
Jean-David Beyer wrote:
> Lee Webb wrote:
> >
> > On Sat, 17 Feb 2001 09:27:50 -0500, Jean-David Beyer wrote:
> > >Carfield Yim wrote:
> > >>
> > >> I have set the root password of my machine have more than 8 char for
> > >> security reason, but I find that everyone can login as root if he know
> > >> the first 8 char of root password. How can I tell linux to know all
> > >> password?
> > >
> > >You need to enable the MD5 password mechanism. I enabled it during
> > >the install and do not remember how to do it later.
> > >
> > >I looked around in my Red Hat control-panel, but could not find it
> > >there.
> > >
> > For Redhat (and variants), edit /etc/pam.d/passwd to include:
> >
> > password required /lib/security/pam_pwdb.so use_authtok nullok shadow md5
> >
> >How do you tell which file to edit? I looked at /etc/pam.d/passwd
> >and /etc/pam.d/login. They both seem involved.
>
> >I did not mention that because fiddling around in those files is
> >probably a bad idea for a newbie. I was wondering if there was a
> >handy-dandy tool that would take care of it.
>
Yes. Try
#/sbin/authconfig
it should (on RH) give you a ncurses based tool to edit the pam. You can flip
between shadow on/off. MD5/DES, and whether or not you use NIS
Hope this helps
David Griffith
------------------------------
From: Markus Kossmann <[EMAIL PROTECTED]>
Subject: Re: trouble compiling gnome-utils
Date: Sat, 24 Feb 2001 17:24:15 +0100
Robert Schweikert wrote:
>
> Hi,
>
> I am trying to set up a linux system completely from scratch, i.e.
> compile all the source myself. Following the LFS (linux from scratch)
> instructions compiling the basic system was no problem. However, trying
> to compile gnome is a different story. When I try to compile gnome-utils
> I get the following link error.
>
> gcc -g -o gfloppy main.o gfloppy.o progress.o fdformat.o badblocks.o
> -rdynamic -L/usr/lib -L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl
> -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome
> -lgnomesupport -lesd -laudiofile -lm -ldb-3 -lglib -ldl -lxml -lglade
> -lglade-gnome -lext2fs
> /usr/lib/libxml.so: undefined reference to `gzopen'
> /usr/lib/libxml.so: undefined reference to `gzread'
> /usr/lib/libxml.so: undefined reference to `gzdopen'
> /usr/lib/libxml.so: undefined reference to `gzclose'
> /usr/lib/libxml.so: undefined reference to `gzwrite'
> collect2: ld returned 1 exit status
>
> when I look at the symbl table in lixml.so these are not defined (the
> linker is not lieing to me). However, when I check for the symbols in
> libxml.so on my working setup they are undefined as well. Thus I do not
> understand how this works, or maybe it doesn't and I just don't know
> it.
>
> The question now is how do I get the symbols defined in libxml.so?
If you do a "ldd libxml.so", it will probably show you, that libxml is
dynamically linked against libgz. So you have to add a -lgz right of the
-lxml.
--
Markus Kossmann
[EMAIL PROTECTED]
------------------------------
From: Chris Carlen <[EMAIL PROTECTED]>
Subject: Re: Help--Program exists, but can't execute
Date: Sat, 24 Feb 2001 09:41:33 -0800
Uwe Malzahn wrote:
> /usr/local/bin/eagle seems to be a script (wrapper) and it seems to try to
> access another script/program/file/directory which is simply not there. I
> guess you have to kind of "debug" the script to find out what's missing.
No, *I created the wrapper script* as a way to satisfy myself that a
program called eagle in the directory /opt/eagle/bin could in fact
execute. This is why I showed originally:
~ $ ls -l /opt/eagle/bin/eagle
-rwxr-xr-x 1 root root 3924300 May 30 1999
/opt/eagle/bin/eagle
and now additionally:
~ $ file /opt/eagle/bin/eagle
/opt/eagle/bin/eagle: ELF 32-bit LSB executable, Intel 80386, version 1,
dynamically linked (uses shared libs), stripped
Thus it is clear that the *original* eagle program is not a script.
What I had originally posted was that when eagle is run directly (or
indirectly by just typing eagle at the $):
~ $ /opt/eagle/bin/eagle
bash: /opt/eagle/bin/eagle: No such file or directory
Then I made a script called eagle and moved the real eagle to the saved
file name:
~ $ ll /opt/eagle/bin/eagle*
-rwxr-xr-x 1 root root 65 Feb 23 08:59
/opt/eagle/bin/eagle
-rwxr-xr-x 1 root root 3924300 May 30 1999
/opt/eagle/bin/eagle.sav
Now eagle is a script. It contains the following:
~ $ cat /opt/eagle/bin/eagle
#!/bin/sh
echo "Eagle script executing"
/opt/eagle/bin/eagle.sav
When I run the script it runs OK. When it tries to execute the real
eagle program (now called eagle.sav) the same error occurs:
~ $ /opt/eagle/bin/eagle
Eagle script executing
/opt/eagle/bin/eagle: /opt/eagle/bin/eagle.sav: No such file or
directory
The nature of the error is very peculiar. It seems to be saying that
the file /opt/eagle/bin/eagle.sav doesn't exist, although we can clearly
see it exists and has correct permissions to execute. In fact, that
very file will execute successfully, when it is executed from the
environment of Suse Linux 6.2 That says that the problem is not 1.
there is a missing file (if there was a missing file then I couldn't run
eagle from the Suse 6.2 environment) 2. there are missing libraries (if
there are missing libraries, then the typical error message is a list of
libraries needed but not found. Also, if libraries were missing, then
installation of the program with rpm would fail. But it didn't because
before installing I made sure the needed libs were installed.) 3. there
is something wrong with the wrapper script (no, I repeat that the
wrapper was an experiment designed by me to rule out the possibility of
a path or permission problem causing the error. The fact that I can
run a script called eagle means that the problem is something more
subtle.)
Also the fact that I can run the eagle binary that is on the Suse 7.0
system by mounting the Suse7.0 partition from Suse 6.2, cd to
/s70/opt/eagle/bin, and execute ./eagle shows that all is well with the
eagle installation itself.
There is something different about the Suse 7.0 environment from that of
Suse 6.2 What is that difference? If we can figure that out, maybe we
will solve the problem.
Please see new post about "Broken ldd in Suse 7.0?"
Thanks
--
PLEASE REPLY TO THE NEWSGROUP OR REMOVE BOGUS FIELD FROM EMAIL
ADDRESS!!!
Christopher R. Carlen
[EMAIL PROTECTED]
------------------------------
From: peter <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.hardware
Subject: Could Linux be used in this factory environment ?
Date: Sat, 24 Feb 2001 17:40:48 GMT
Could Linux be used in this factory environment ?
What I'm trying to do, is design a factory inventory system. To keep
cost down I want to use Linux. The model I'm using, is a furniture
factory. I want to design a system that will allow the factory to
keep track of their "work in progress" and finished goods. I'm
guessing that this will be a little more complicated than your
average inventory system?
Of course the workers would have to access the system to enter data,
etc, so the user interfaces can't be too complicated (GUI?).
SOFTWARE
Is there any "open source" software that can help me with the
inventory and tracking ? or
Would I have to write a program from scratch or could I modify some
existing software ? or
Would it make more sense to just buy the software (for linux) ?
HARDWARE
This is an easy (well easier) one for me, first I would make sure the
hardware (I'm buying) is linux compatible. I would go out and buy B/W
9" monitors, those cool small cases (with the 810e chipset, if the
810e is linux compatible), and celeron cpus, etc. I would pick up
some retractable keyboard and mouse holders and set up several rack
mount style data centers throughout the factory (I would love to set
this up!!!)
On the server side, things get a little tricky, maybe (just maybe) tie
into a win 2000 server (A lot depends on what existing system they
already have, and we all know that many of the existing systems will
be win98, etc). I guess the management would need to access the data
entered by the factory workers to check progress, productivity, etc.
A linux server could be used and we could somehow give the management
access to this server though their existing win boxes (secure CRT ?).
Or we could design a simple way to access and read the data in linux
(write a small reporting program or use some simple database program)
and also have the forms printed automatically at the end of the day.
SUPPORT
Depending on the size of the factory, in-house linux/windows support
would be smart, But if it's a small company, then they could call on
the systems/software provider (me) for support. From what I read
about linux, if I design the system right, there won't be to many
problems. I would probably set up a service contract where I would
come in every month and check things out.
SECURITY
This system would not be accessible from the outside, This is a lone
factory (pretty rare in today's world, but let's keep things simple :)
Managers would have internet access, so normal virus protection, and
other precautions would be in place.
FORGET LINUX
If, for some strange reason it would be better to do this on some
other platform, like freeBSD, or windows 2000, please tell me. Let's
assume that the factory is a midsize factory (40-60 factory workers,
10-12 manager/sales/etc, and that they will need about 10 data entry
terminals, and every manager already has a windows 98 box.
NOTE
I know I've left out a lot a details, I've never worked in a factory
and I'm trying to understand how this can all work together. I think
if we let are imaginations loose we can all have some fun with this;
and a lot of the newbies to Linux and IT can learn a little.
------------------------------
** 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.misc.
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-Misc Digest
******************************