Linux-Misc Digest #859, Volume #26               Fri, 19 Jan 01 16:13:02 EST

Contents:
  Re: Time to compile a kernel
  Re: ssh (Matt Haley)
  What distribution seems the most popular and easy to work with? ("jt")
  Re: Linux on a 64MB flash disk ("Buzz Lightyear")
  Gnuplot filled box issue (Bosco Tsang)
  Re: System date and file dates not showing in same time zone (Cris Fuhrman)
  Re: Why can't I login as root in my 2.4.0 kernel??? (Mike E.)
  Re: audio tape to mp3 (Rob Reid)
  Re: What distribution seems the most popular and easy to work with? (milanuk)
  3c905 at kernel 2.4 (Tobias Schenk)
  Re: What distribution seems the most popular and easy to work with? (Johnny Kitchens)
  Re: What distribution seems the most popular and easy to work with? (Harlan Grove)
  Re: freaky netscape stuff (Vilmos Soti)

----------------------------------------------------------------------------

From: <[EMAIL PROTECTED]>
Subject: Re: Time to compile a kernel
Date: Fri, 19 Jan 2001 14:13:47 -0500

and "make bzImage > compile.log  2>&1 "
                                                            ^^^^^^
          To redirect error messages as well. You can grep through it later.
 Or is it "2&>1" ? I forget..




Steve Withers <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> [EMAIL PROTECTED] wrote:
> >
> > Did you have all the text output to the console ?
> >
> > redirect them to a file, and it should speed up things.
> >
> > Eric Ho <[EMAIL PROTECTED]> wrote in message
> > news:9461sa$mdq$[EMAIL PROTECTED]...
> > > Hi,
> > >
> > > I am still using a K6-2 450 with 128M EDO Ram, running kernel 2.4.0.
> > > It takes me about 9.5 minutes to compile the kernel :(
> > > Could some of you running fast machines (Thunderbird, P-III, P-4)
> > > tell me how long it takes you to compile your kernel ?
> > >
> > > By the way, will changing the cpu to K6-2+ 500 or K63+ 450/500
> > > improve the performance a lot ?
> > >
> > > Best Regards,
> > > Eric Ho
>
> and "make bzImage > compile.log" would do that?
>
> --
>  Regards,
>
>  Steve Withers
>  [EMAIL PROTECTED]
>
>  Registered Linux user #24688
>  http://counter.li.org



------------------------------

From: [EMAIL PROTECTED] (Matt Haley)
Subject: Re: ssh
Date: Fri, 19 Jan 2001 19:18:33 -0000

On Wed, 17 Jan 2001 14:09:43 -0800,
 Edwin Robert Tisdale <[EMAIL PROTECTED]> wrote:
>Secure shell fails when I try to login to a Solaris machine:
>
>linux$ ssh solaris
>Disconnecting: Corrupted HMAC on input.
>
>solaris$ ssh linux
>warning: Authentication failed.
>Disconnected; MAC error (Message authentication check fails.).

I recieved a similar error when trying to connect to a server
running sshd version 1.x with a ssh client version 2.x. Get the 
1.x version client and you should be fine.


------------------------------

From: "jt" <[EMAIL PROTECTED]>
Subject: What distribution seems the most popular and easy to work with?
Date: Fri, 19 Jan 2001 19:20:30 GMT

Okay, going to take the Linux plunge...

I'm looking at all distribution packages, pluses and minus on all of them
for sure.

My main purpose is to do C development....

What would you recommend and why?

Appreciate you input.

Thanks,
jt




------------------------------

From: "Buzz Lightyear" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.embedded
Subject: Re: Linux on a 64MB flash disk
Date: Fri, 19 Jan 2001 14:35:33 -0500

> > I'm about to install Linux on a PC/104 card with a 64MB flash disk.
> > Most of the Linux distributions I've seen requires a lot more than 64MB,
> so
> > I'm wondering if anyone have suggestions on a Linux distribution I can

I am running FREESCO which is a small distribution of Linux intended
for use as a router and firewall.  It will run from a floppy and has a
script included called move2hdd to move the system over to a dos formatted
"hard disk."  In my case a bootable 16MB CF card.

When it is up and running it runs completely from RAM.  FREESCO has
an easy way to extend its capabilities by means of an installpkg script that
will pull packages from another system.  It defaults to FREESCOs main
download area..Do a listpkg to see the available packages.

http://www.freesco.org




------------------------------

From: Bosco Tsang <[EMAIL PROTECTED]>
Crossposted-To: redhat.general
Subject: Gnuplot filled box issue
Date: Fri, 19 Jan 2001 19:26:10 GMT

I am trying to creating bar charts using gnuplot, via the "with boxes"
option. However, the bars drawn are not filled with color. I've noted from
the faq that some modification request which can be download from
ftp://grebe.geog.ubc.ca/pub/gnuplot as box.tar, but seems that this is not an
anonymous site. Wonder if where else can I download this file, or is there
any other way to have the bars filled with color?

Also, will it be possible for me to hide just the x-grid, while keeping the
xtic labels?

--
/+++++++++++++++++++++++++++++++++++++++++
WARNING: Spam & Junk Mail Protection strictly enforced
Unsolicited Mail will be handled via http://spamcop.net
+++++++++++++++++++++++++++++++++++++++++/


Sent via Deja.com
http://www.deja.com/

------------------------------

From: Cris Fuhrman <[EMAIL PROTECTED]>
Subject: Re: System date and file dates not showing in same time zone
Date: Fri, 19 Jan 2001 19:29:08 GMT

I'm replying to my own post with the answer for the benefit of others
who stumble across this one...

The TZ environment variable has to be set to something like "xxxN"
where N is the difference in hours between the local time zone and the
UTC. I have not found the official explanation of why "US/Eastern"
or "America/New_York" are not valid TZ values with respect to ls.
Perhaps the binary I have for ls doesn't support these formats.

-Cris

In article <94a0lt$rej$[EMAIL PROTECTED]>,
  Cris Fuhrman <[EMAIL PROTECTED]> wrote:
> Hi,
>
> My Redhat 6.2 system has a peculiar configuration, the system date is
> set for EST, but the file dates on "ls -l" appear to have UTC by
> default. Look what happens when I do the following (I have edited this
> slightly to avoid username info):
>
> -------
>
> $ date
> Fri Jan 19 13:06:09 EST 2001
> $ touch here
> $ ls -l here
> -rw-rw-r--   1 xxxx xxxxxx       0 Jan 19 18:06 here
> $ date -u
> Fri Jan 19 18:06:24 UTC 2001
>
> -------
> I have tried changing the UTC=true and UTC=false in
> the /etc/sysconfig/clock with no improvement (the file dates and the
> default "date" dates are always off by the timezone difference between
> UTC and EST).
>
> I have set my "TZ" environement variable in my shell, and that doesn't
> seem to help either.
>
> Intuitively the "ls -l" dates should show up in the time zone of the
> system, right? How can I set Redhat do be this way.
>
> Thanks,
>
> -Cris
>
> Sent via Deja.com
> http://www.deja.com/
>

--
Cris Fuhrman, [EMAIL PROTECTED]
Sr. Software Engineer
ProLogic, Inc. / 1000 Technology Dr.
Fairmont WV 26554


Sent via Deja.com
http://www.deja.com/

------------------------------

From: Mike E. <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.development.system,comp.os.linux.secutity,comp.os.linux.setup
Subject: Re: Why can't I login as root in my 2.4.0 kernel???
Date: Fri, 19 Jan 2001 19:39:41 GMT

In article <[EMAIL PROTECTED]>,
  David Vidal Rodriguez <[EMAIL PROTECTED]> wrote:
> Hi there! (and excuse my bad English!)
>
> My Linux is an hybrid of SuSE 6.2 and 6.4...
>
> I've installed the 2.4.0 kernel with devfs support and solved almost
all
> the problems I've encountered by now. But the really big thing is
still
> there: I can't start a login session as root! I always have to enter
as
> a normal user and then use the su-command. However, I by giving the
"-b"
> kernel option I can login; thus I **think** it could have something to
> do with PAM,  /etc/securetty and the new /dev structure.
>
> The only things I've changed were, as said, the kernel, the /dev and
the
> start scripts so that they point to the right devices. Could somebody
> point me to the right direction in finding a solution for this
> (embarrasing) problem?
>
> Thanks in advance,
> --
>
========================================================================
>  David Vidal R. ([EMAIL PROTECTED])
>  http://dvr.ismad.com
>  "Ein Computer ohne Windows ist wie ein Fisch ohne Fahrrad."
>
>

/etc/securetty lists the terminals that root CAN login at.  After making
sure at least one is listed there, go to your PAM configuration if you
still cannot login as root at that terminal.  Of course, after finding
the problem you may decide to change it back because not logging in as
root and su'ing over when needed is not a bad way of doing things.  In
fact, it is pretty good.  Or maybe even use sudo instead.

Mike
--
Support provided by Linuxgruven, Inc.
http://www.linuxgruven.com
314-727-0918


Sent via Deja.com
http://www.deja.com/

------------------------------

From: Rob Reid <[EMAIL PROTECTED]>
Subject: Re: audio tape to mp3
Date: Fri, 19 Jan 2001 18:36:16 GMT

    >> Alessandro Magni wrote:
    >>> How can I automagically recognize when one song ends and another
    >>> begins?  I know in the Win world there is some program able to do it,
    >>> and in Linux???

Toby Jaffey's tape2mp3
 URL: http://www.earth.li/projectpurple/progs/tape2mp3.html
can often do it, using the silences between songs.  It doesn't always work
because tapes always hiss and more importantly songs can run into each other or
include gaps.  It says that its minimum gap is 2 seconds, but I hacked it down
to 1 sec without much trouble.

If the above fails, I use gnoise (see http://freshmeat.net) to split by hand or
record using a command like
rectap synchronicity_i.wav ; rectap walking_in_their_footsteps.wav ; rectap ...
in an rxvt and listen with a headphone coming out of my soundcard to control-c
when I hear a song change.  This saves time and disk space if you start
encoding while recording.  rectap is just my alias to sox with the right
options for recording from tape.

Nobody asked, but I found typing in ID3 tags annoying enough that I wrote the
following script, since I doubt CDDB lookups work for tapes.  The GPL is the
Gnu Public License of course.  The script currently depends on id3ed and lame,
but apparently lame can do the ID3 tagging itself, and maybe even handle field
overruns better.  Let me know if you improve it, and don't bug me to port it
from zsh.

#!/bin/zsh

# wa2mp3
# Converts *.wav to *.mp3 with lame and at least partially fills out the
# id3(v1) tags. The song titles are taken from the filenames with .wav stripped
# off and underscores converted to spaces, using id3ed.

# GPLed by Rob Reid, [EMAIL PROTECTED], 1/14/2001.

lamecommand='/usr/bin/lame -h'
id3command='/usr/bin/id3ed'
id3args=()

give_instructions() {
    cat >&2 <<EOF
Unknown option "-${1}". Use:
`basename $2` [-i|I] -[s|S] [-m] [-v] [-V digit] [-c comment] [-y year]
              [-g genre] [-C] [-u|[-a artist] [-A album]] wavfiles
  -i: Interactive, will prompt (with defaults if supplied) for each field in
      the id3 tag.
  -I: Will interactively prompt only for tracks with fields that are too
      long.  Overrides -i.
  -s: Source (tape, CD, live, whatever).  This will be added to the default
      comment and if appropriate appended to "lame --preset".
  -S: -s without the comment mangling.
  -m: Encode as mono.  (Joint stereo otherwise)
  -v: Encode with a variable bitrate.
  -V: Encode with a variable bitrate and quality level "digit".
  -C: Capitalize the song, artist, and album names.
  -u: Get the artist and album name from the path, assuming the files are
      stored in the format /x/y/.../z/artist_name/album_name/song_name.wav
      Underscores will be converted to spaces.
  -c: Comment, limited to 30 characters.
  -g: Genre as given by "id3ed -l".  Number or name, but exact match only.
  -y: Year, 4 digits.
EOF
}

checkfieldlength() {
    if [ ${#${1}} -gt $2 ] ; then
        echo "$1 > $2 characters."
        exit 1
    fi
}

while getopts ":iIs:S:mvV:c:g:y:a:A:Cu" opt ; do
    case $opt in
        I)
            prompt=l
            ;;
        i)
            prompt=${prompt-y}
            ;;
        C)
            cap=y
            ;;
        S|s)
            checkfieldlength $OPTARG 30
            case $OPTARG in 
                phone|voice|fm|tape|hifi|cd|studio)
                lamecommand="$lamecommand --preset ${OPTARG}"
                ;;
            esac
            if [ $opt = s ] ; then
                cmed="from ${OPTARG}"
            fi
            ;;
        m)
            lamecommand="$lamecommand -m m -a"
            ;;
        v|V)
            vbr=y
            if [ $opt = V ] ; then
                case $OPTARG in
                    0|1|2|3|4|5|6|7|8|9)
                        qlev=$OPTARG
                        ;;
                    *)
                        echo "The quality level must be a single digit."
                        exit 1
                        ;;
                esac
            fi
            ;;
        c)
            checkfieldlength $OPTARG 30
            comment=$OPTARG
            ;;
        a)
            checkfieldlength $OPTARG 30
            artist=$OPTARG
            ;;
        A)
            checkfieldlength $OPTARG 30
            album=$OPTARG
            ;;
        u)
# Get the artist and album names from the last 2 directories of the path.
            pa=`pwd`
# Split the path into individual directory names.
            paar=(${(s:/:)pa})
# The number of directories in the path.
            integer pale=${#paar}
            album=$paar[$pale]
            artist=$paar[`expr $pale - 1`]
            album=`echo $album | tr '_' ' '`
            artist=`echo $artist | tr '_' ' '`
            ;;
        y)
            checkfieldlength $OPTARG 4
            id3args=($id3args -y $OPTARG)
            ;;
        g)
# Warning: no sanity checking of this option.
            id3args=($id3args -g $OPTARG)
            ;;
        *)
            give_instructions $OPTARG $0
            exit 1
            ;;
    esac
done

shift `expr $OPTIND - 1`

if [ x$prompt = x ] ; then
    id3args=($id3args -q)
fi

if [ x$cmed != x ] ; then
    if [ x$comment != x ] ; then
        comment="${cmed}, ${comment}"
    else
        comment=$cmed
    fi
fi
if [ x$comment != x ] ; then
    if [ ${#${comment}} -gt 30 ] ; then
        echo "The comment has overflowed."
        exit 1
    else
        id3args=($id3args -c "${comment}")
    fi
fi

if [ x$vbr = xy ] ; then
    lamecommand="$lamecommand -v"
    if [ x$qlev != x ] ; then
        lamecommand="$lamecommand -V ${qlev}"
    fi
fi

# Capitalization for those who hate using the shift key.
if [ x$cap = xy ] ; then
    artist=${(C)artist}
    album=${(C)album}
fi

# Artist
if [ x$artist != x ] ; then
    id3args=($id3args -n "$artist")
fi

# Album
if [ x$album != x ] ; then
    id3args=($id3args -a "$album")
fi

# Now that the options are settled, start encoding!
for s in $@ ; do
# This will help put Album.m3u in the right order.
    touch -r $s ${s:r}.timestamp
# For consistency lamecommand should be an array like id3args, but it works as
# is.  
    ${=lamecommand} $s ${s:r}.mp3 && rm -f $s
    t=`echo ${s:r} | tr '_' ' '`
    if [ x$cap = xy ] ; then
        t=${(C)t}
    fi
    $id3command $id3args -s "$t" ${s:r}.mp3
    touch -r ${s:r}.timestamp ${s:r}.mp3 && rm -f ${s:r}.timestamp
done

if [ x$pa != x ] ; then
    ls -rt1 *.mp3 >! Album.m3u
fi

------------------------------

From: milanuk <[EMAIL PROTECTED]>
Subject: Re: What distribution seems the most popular and easy to work with?
Date: Fri, 19 Jan 2001 20:33:31 GMT

In article <2s0a6.57085$[EMAIL PROTECTED]>,
  "jt" <[EMAIL PROTECTED]> wrote:
> Okay, going to take the Linux plunge...
>
> I'm looking at all distribution packages, pluses and minus on all of
them
> for sure.
>
> My main purpose is to do C development....
>
> What would you recommend and why?
>
> Appreciate you input.
>
> Thanks,
> jt
>
>

Geez!  If I didn't know better, I'd say that this was a troll to start
a distribution holy war!

You can check out the Distro-NHF at LinuxNewbie.org.  There is also a
Distribution-HOWTO at the Linux Documentation Project
(www.linuxdoc.org).

One way is to order one of the 'power-pack's from someplace like
CheapBytes or LinuxMall, where you can get multiple distro's for not
much more than the cost of packaging+shipping.  Granted, you won't get
a pretty box and manual, or email support from the company, but you
will be able to 'test drive' several versions of Linux for minimal cost
and see which one suites you the best.

That's what it's really all about:  which one suites your style and you
feel comfortable with.  Some people start out w/ one distro, and learn
the in's and out's of it and that's what their perception is based on.
Others start out w/ one of the glitzier ones aimed at 'newbies' and end
up going to the other extreme w/ something like Debian or Slackware.

Now, fwiw, here's my 'take' on various distro's:

Slackware:  good, old (i.e. been around a _long_ while) distro.  Has a
minimal package management system, uses BSD style init scripts vs SysV
init scripts (most others are SysV).  Learning curve can be pretty
steep.

Debian:  100% volunteer distro, w/ strict guidelines for what can and
can't be included in the main distribution, etc.  Has probably hands-
down the best package management system.  Downside is that the 'stable'
version basically never changes (i.e. no new packages) and the time
btwn stable releases can be interminable.  Plus is that w/ apt-get
(package management system), you can stay on the edge w/ the 'unstable'
version pretty easily.

TurboLinux:  originally a RedHat clone for the asian market, I'm not
sure where this one is at today.  Excellent asian language support.

Mandrake:  originally another RedHat clone, pentium-optimized and came
w/ KDE standard.  Now has evolved to it's own flavour, definitely the
one w/ the most flash and glitz for the desktop.  Considered very easy
to install.

SuSE:  german distro, based off another _old_ distro (SLS).
Corporately, basically the RedHat of Europe.  Very nice install, very
stable, has relatively nice integrated setup/config tool (yast).
Unfortunately, in the name of marketing, SuSE is trying to phase out
the old screen-based yast in favor of a newer GUI yast2, which most
people I've talked to consider horrible, at least at this point.

RedHat:  Everyone's favorite whipping boy.  Seems like RedHat can't win
for losing, at least in the 'community's eyes.  Every thing they do is
severely criticized (not saying I approve of all that RedHat does, but
I do think they get overly abused just because they are 'big').  Even
so, a fair bit of the commercial software starting to peek out in the
Linux market is AFAIK set up for RedHat, or at least supported only on
RedHat.  The choice of RedHat to ship a formally-unreleased compiler in
it's main distro was ill-received, to say the least.

In all reality, all the distro's have ample support for C/C++
programming, or anykind of programming you want to do.  For the most
part, Linux is Linux is Linux. (or GNU/Linux, if you're a Stallmanite)

Even the weird compiler in RedHat is easily replaceable.  If you want
to get a system up and running in minimal amount of time, and then
_use_ it, and learn later as you go, I'd say try any of the RPM based
distro's (TurboLinux, RedHat, SuSE, Mandrake, Caldera) or Storm or
Libranet (Debian-based w/ pretty faces).  If you want to learn the guts
of your system in a hurry, go w/ pure Debian or Slackware.

HTH,

Monte


--
There are basically three kinds of men.  There
are the ones who learn by reading.  Then there are
the few who learn by observation.  The rest just
have to pee on the electric fence for themselves.


Sent via Deja.com
http://www.deja.com/

------------------------------

From: Tobias Schenk <[EMAIL PROTECTED]>
Subject: 3c905 at kernel 2.4
Date: Fri, 19 Jan 2001 21:48:36 +0100

Hi,

I tried to upgrade to linux kernel 2.4 but a problem occurred. I use
the 3c905C-TX-NM NIC. But the kernel files from www.kernel.org dont
support my it (means dont ships a driver ). So I looked at
www.3com.com and found a linux driver for 2.2.x.
Now: Can I use this driver  on Kernel 2.4? How to compile it and add
it to my modules?

Thank you,

Tobias

------------------------------

From: Johnny Kitchens <[EMAIL PROTECTED]>
Subject: Re: What distribution seems the most popular and easy to work with?
Date: Fri, 19 Jan 2001 15:51:52 -0500


==============0DE76001C23145F018BE12A6
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Mandrake:  originally another RedHat
clone, pentium-optimized and came
w/ KDE standard.  Now has evolved to it's
own flavour, definitely the
one w/ the most flash and glitz for the
desktop.  Considered very easy
to install.

Mandrake gets my vote. and I've always liked slakeware

==============0DE76001C23145F018BE12A6
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<i><font color="#FF0000"><font size=-2>Mandrake:&nbsp; originally another
RedHat</font></font></i>
<br><i><font color="#FF0000"><font size=-2>clone, pentium-optimized and
came</font></font></i>
<br><i><font color="#FF0000"><font size=-2>w/ KDE standard.&nbsp; Now has
evolved to it's</font></font></i>
<br><i><font color="#FF0000"><font size=-2>own flavour, definitely 
the</font></font></i>
<br><i><font color="#FF0000"><font size=-2>one w/ the most flash and glitz
for the</font></font></i>
<br><i><font color="#FF0000"><font size=-2>desktop.&nbsp; Considered very
easy</font></font></i>
<br><i><font color="#FF0000"><font size=-2>to install.</font></font></i><i><font 
color="#FF0000"><font size=-2></font></font></i>
<p><i><font color="#000000">Mandrake gets my vote. and I've always liked
slakeware</font></i></html>

==============0DE76001C23145F018BE12A6==


------------------------------

From: Harlan Grove <[EMAIL PROTECTED]>
Subject: Re: What distribution seems the most popular and easy to work with?
Date: Fri, 19 Jan 2001 20:45:10 GMT

In article <2s0a6.57085$[EMAIL PROTECTED]>,
 "jt" <[EMAIL PROTECTED]> wrote:
...
>I'm looking at all distribution packages, pluses and minus on all of
>them for sure.
>
>My main purpose is to do C development....
>
>What would you recommend and why?

Anything but Red Hat 7.0 because it's C compiler/libraries are
incompatible with the rest of the linux universe.

Once installed most other distributions shipped with GLIBC 2.1 would be
pretty much the same with respect to C development facilities.
Distributions are differentiated mainly by their installation programs,
software package installers, use of /opt or /usr in which to store KDE
and other major packages, and bundled software (aside from architecture-
specific ones like Yellow Dog). Aside from C development (the [lowest?]
common denominator of all linux and unix systems), what else is
important to you?


Sent via Deja.com
http://www.deja.com/

------------------------------

Crossposted-To: alt.os.linux
Subject: Re: freaky netscape stuff
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Fri, 19 Jan 2001 21:07:33 GMT

[EMAIL PROTECTED] writes:

>> when I sit at Linux Box A and 'ssh' to Linux Box B and start
>> netscape-navigator from the command line, it gives me a few surprises:
>>
>> a) it can access files on A
>> b) it saves files to A
>
> BTW, for this to happen, I have to be already running a netscape process
> on A. Still.

I can confirm this, I also experienced such strange behavior. I was
sitting at my computer at work and ssh'd to home. I already had a
netscape running at the work machine. I started another netscape from
the home machine, and IIRC it used the bookmarks from the work machine.

Vilmos

------------------------------


** 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
******************************

Reply via email to