Linux-Setup Digest #907, Volume #20              Sun, 25 Mar 01 13:13:07 EST

Contents:
  Re: Re: setting up devices after installing new kernel ("seidel")
  Re: repartitioning fat32 partitions
  Re: Best E-mail Client? (Grant Edwards)
  Re: Need help with RedHat 7 and VMWare 2.04 install (Dan)
  Re: linksys lne100tx ("Marco Shaw")
  Help for playing VCD under linux? (OrangeDino)
  Re: aic7xxx is broken in Slackware 7.1 ([EMAIL PROTECTED])
  Re: cdrecord problem (Tony Hammitt)
  Re: linksys lne100tx (andi smart)
  PCI Modem??? ("CReal")
  Installing Linux
  Copying /etc/passwd from one machine to another ("L Mitchell")
  uname -r gives incorrect kernel version ("Mike Ruskai")
  PPP dropping carrier ([EMAIL PROTECTED])
  Re: Installing Linux (Bit Twister)

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

From: "seidel" <[EMAIL PROTECTED]>
Subject: Re: Re: setting up devices after installing new kernel
Date: Sun, 25 Mar 2001 18:22:11 +0200

In article <[EMAIL PROTECTED]>, "Peter T. Breuer"
<[EMAIL PROTECTED]> wrote:


> seidel <[EMAIL PROTECTED]> wrote:
>> after installing a new kernel (2.4.0) i found out it was necessary to
>> configure the devices in /dev
> 
>> for instance if i say "freeramdisk" it comes up with "/dev/ram0 is not
>> configured"
> 
>> can anyone tell me how to do this?
> Put some ramdisk in. You can't free a ramdisk until there is one!
>> thanks.
> Somehow I think you don't understand what you are doing! Why are you
> trying to free a ramdisk when you don't have (that) one??? Maybe you
> meant to free some other ramdisk? Or did you think that you had
> configured one when in fact you haven't?  Or have you misconstrued the
> sentence you quoted? It's saying that there isn't a ramdisk. I.e. The
> device has not yet been initialized, or configured (to size, blksize,
> etc.) by the driver. It isn't yet at the stage of having RUN, in
> colloquial terms.  Peter

of course you are right, i wrote complete nonsense

found out i haven't had a ramdisk yet, so it couldn't work, but i managed
to to so by now

thanks

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

From: <[EMAIL PROTECTED]>
Subject: Re: repartitioning fat32 partitions
Date: Sun, 25 Mar 2001 16:30:11 -0000

Assuming you are still running Windows also you should be able to use 
Partition Magic or System Commander to resize you partitions. However, 
with the price of hard drives vs. the cost of this software it's probably 
a better buy to purchase the hard drive.

Hope this help,

Mark

Jon wrote:
> 
> I installed Red Hat 7.0 recently and enjoyed the smooth installation.
> After reading many help documents I utilized linuxconf to mount my
> secondary drive which is fat32.  Before this it was used for my windows
> backup and data disk.  Information on it is very important.
> Unfortunately the two 4G fat32 partitions are being filled.  I need to
> remove all fat partitions and create a single disk partition.  But I
> need to save the data!!!  This is a 16G hard drive with two nearly full
> partitions and one 1/4 full.  Any suggestions??
> 
> Most likely it would be best if the drive was one partition primary
> partition of 16G in size.  I would rather not buy another drive yet.
> Parted is installed and seems to be working well.  I also attempted to
> install disk drake multiple times unsuccessfully.  Apparently it is
> tightly integrated in the mandrake operating system now.  Unless I can
> find the source or a clean rpm I doubt diskdrake will install on a Red
> Hat machine.
> 
> 


--
Posted via CNET Help.com
http://www.help.com/

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

From: [EMAIL PROTECTED] (Grant Edwards)
Crossposted-To: comp.os.linux.misc,comp.os.linux.networking
Subject: Re: Best E-mail Client?
Date: Sun, 25 Mar 2001 16:31:35 GMT

On Sun, 25 Mar 2001 10:29:37 +0100, John Beardmore <[EMAIL PROTECTED]> wrote:

>I was thinking of ease of use compared to say Adobe InDesign, Pagemaker, 
>GoLive which I've done good things in despite some bugs, or Quark 
>Express which costs more.

I don't think LaTeX (or any other mark-up language) is well
suited for doing things like magazine or newspaper layout where
there is a very irregular structure and you want to manually
place most of the objects.

>>Yes.  There are several packages that do that.  DocBook is one.
>
>Do they have a web site ?

http://www.oasis-open.org/docbook/

-- 
Grant Edwards                   grante             Yow!  Now I am depressed...
                                  at               
                               visi.com            

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

Date: Sun, 25 Mar 2001 11:54:51 -0500
From: Dan <[EMAIL PROTECTED]>
Subject: Re: Need help with RedHat 7 and VMWare 2.04 install

Since you are using 2.0.3 on rh7.0, my question is that I'm using 
rh7.0-smp and I'm trying to get 2.0.3 installed, but I'm having some 
sort of trouble with the  vmware-config.pl working with my autoconf.h, I 
was told that I can  comment out few lines that contains "SMP" on it in 
vmware-config.pl, but don't know what those lines are.


-dan


BetrOffDed wrote:

> In article <[EMAIL PROTECTED]>, "Paul Knopp"
> <[EMAIL PROTECTED]> wrote:
> 
> 
>> I am attemping to install VMWare 2.04 for Linux on a fresh Red Hat 7
>> install.  RH7 comes with the 2.2.16-22 kernel.  VMWare installs okay,
>> but I am getting the following error during the configuration portion;
>> "kernel headers (version 2.4.0-0.26) does not match your running kernel
>> (version 2.2.16-22)"  I searched Redhat's site, (as well as a ftp search
>> through Lycos) and there is not a matching version of kernel- headers
>> for 2.2.16-22 (it has to match exactly, so I tried 2.2.16-3, etc and it
>> did not work).  Since RedHat has not released the 2.4 kernel for V7 yet
>> (and I am not sure that I want to do a kernel recompile) I am stuck at
>> this point.  Any suggestions would be most appreciated.  Thank You
> 
> 
> 2.04? Is that an experimental release or something? I thought 2.03 was
> the newest...
> 
> Anyways...
> 
> Hopefully I'm not too confused here. Looks like RH did some funky stuff
> to make RH7 "2.4 ready".
> 
> Try this (all undoable if it for some reason doesn't work)
> 
> 1. mv /usr/include/linux /usr/include/linux-2.4.0-0.26
> 
> 2. then install the kernel-source-2.2.16-22 package from the CD if it isn't
> already.
> 
> 3. make sure that a symlink exists from /usr/src/linux to
> /usr/src/linux-2.2.16 by doing an "ls -l /usr/src/" You should see
> linux-> linux-2.2.16. if not, do an
> "ln -s /usr/src/linux-2.2.16 /usr/src/linux"
> 
> 4. ln -s /usr/src/linux/include/linux /usr/include/linux
> 
> 5. Then try vmware-config.pl again.
> 
> If it doesn't work, you can go back to the way it was by:
> 
> rm -f /usr/include/linux
> 
> mv /usr/include/linux-2.4.0-0.26 /usr/include/linux
> 
> in that order.
> 
> Did that make any sense?


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

From: "Marco Shaw" <[EMAIL PROTECTED]>
Subject: Re: linksys lne100tx
Date: Sun, 25 Mar 2001 16:52:57 GMT

> '[ -f /usr/include/linux/modversions.h ] && echo

Does that header file exist on your system?  You need to have the kernel
headers/source installed before compiling certain things.

Marco



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

From: OrangeDino <[EMAIL PROTECTED]>
Subject: Help for playing VCD under linux?
Date: Mon, 26 Mar 2001 00:46:01 +0800

As I run some vcd software(other than mpegtv) to play vcd, they always 
complains that "Xlib:extension "XVideo" missing" and terminated.  Can 
anyone give me some idea what is wrong with me, I am running XFree86 3.3.6?
Thanks a lot!


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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.system
Subject: Re: aic7xxx is broken in Slackware 7.1
Date: Sun, 25 Mar 2001 17:15:02 -0000

In comp.os.linux.development.system Mike Ruskai 
<[EMAIL PROTECTED]> wrote:

| The aic7xxx driver shipped with Slackware 7.1 (object file dated 6-20-2000
| -  153,576 bytes) is broken, at least for the Adaptec 2842VL.
|
| It dies with a BRKADRINT error after showing the first attached device.
|
| The driver shipped with Slackware 7.0 (dated 10-21-1999 - 126,964 bytes)
| works fine.
|
| Anyone know where updates to this driver are available?

I'm running Slackware 7.1 but with my own compiled kernel built from
the source code.  I was originally running 2.2.14 through 2.2.16
before I switched over to 2.4.0 and my aic7xxx was working fine in
all these versions.  However, I was not using the 2842VL so I cannot
say what your results will be.

The drivers are in the kernel.  A distribution just packages them up
in its own way, usually as modules.  If you want the latest drivers
then get them from the latest kernel.  Sometimes backversions work
better for some special cases.  If the kernel drivers don't work and
the vendor doesn't provide their own for you, then it's time to look
around for substitute hardware.  But I believe Adaptec hardware is
well supported in Linux, at least for hardware that has been out for
a few months.

I always recompile my own kernel (and with exactly the drivers I need
built in) from source.  I also do the same for the major services I
run on my servers (apache, bind, openssh, postfix).  That way I know
I can go tweak things if I ever need to, and know that when I decide
to do so I will be getting everything I didn't tweak exactly the same
as I have been running all along.  This can be especially helpful from
a security point of view since it gives me an additional option in the
event a package is discovered to be exploitable: I might be able to
figure out my own fix, or at least temporarily obscure the hole so the
current exploit scripts don't work.

Compiling from source is a skill worth learning.  And it doesn't take
as much personal time if you build scripts that do it all for you.

-- 
=================================================================
| Phil Howard - KA9WGN |   Dallas   | http://linuxhomepage.com/ |
| [EMAIL PROTECTED] | Texas, USA | http://phil.ipal.org/     |
=================================================================

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

From: Tony Hammitt <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: cdrecord problem
Date: Sun, 25 Mar 2001 17:17:00 GMT

Try saying:

cdrecord -v dev=3D1,0,0 fs=3D3m speed=3D<<your max speed>> progeny-rc1-i3=
86-1.iso

That's what I always use, I don't have any problems.  The 'fs=3D3m' limit=
s
the size of the shared memory segment to 3 MB, which is more than plenty
and complies with the old kernel shared memory maximums.  This is still
an issue on Alpha Linux kv 2.2.

Check the output of 'cat /proc/sys/kernel/shmmax' to see if the standard
4MB buffer is a limitation.  You can always push a bigger value into the
kernel with something like 'echo 8000000 > /proc/sys/kernel/shmmax' if
needed.

HTH,

        Tony Hammitt


[EMAIL PROTECTED] wrote:
> =

> Krzysztof Godlewski wrote:
> =

> > Ponurego dnia Thu, 22 Mar 2001 00:55:19 GMT William Jerrell spod swyc=
h
> > paluch=F3w wypu=B6ci=B3 te oto s=B3owa:
> > >I down loaded the iso off of thier site.
> > >I was able mount the file with the loopback filesystem. (I did this =
to
> > >test the file before I tried to burn it)
> > >This was the first file I tried to burn with cdrecord, but I'm getti=
ng the
> > >same error with all other files as well.
> >
> > Does /dev/zero exist ? If not, create it:
> >
> > mknod /dev/zero c 1 5
> >
> > --
> > Krzysztof Godlewski                Ale pod RedHatem wszystko robi sie=
 SAMO!!!
> > [EMAIL PROTECTED]          "Pioter" <[EMAIL PROTECTED]> na p.c.o=
=2El
> =

> /dev/zero does exist...
> =

> Thanks anyway....

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

From: [EMAIL PROTECTED] (andi smart)
Subject: Re: linksys lne100tx
Date: Sun, 25 Mar 2001 17:26:20 GMT

Yes, I do have a /usr/include/linux/modversions.h


On Sun, 25 Mar 2001 16:52:57 GMT, "Marco Shaw" <[EMAIL PROTECTED]>
wrote:

>> '[ -f /usr/include/linux/modversions.h ] && echo
>
>Does that header file exist on your system?  You need to have the kernel
>headers/source installed before compiling certain things.
>
>Marco
>
>


"A single open mind, can open any door" Sonia Rutstein

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

From: "CReal" <[EMAIL PROTECTED]>
Subject: PCI Modem???
Date: Sun, 25 Mar 2001 20:40:37 +0200

Wie kann man unter Linux ein PCI Modem installieren???
 Ich habe alles probiert, bei dem Befehl "lspci -v" bekomme ich einen Port
"3200"

Doch nach der Eingabe der Daten im "setserial" gehts trotzdem nicht?!!




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

From: <[EMAIL PROTECTED]>
Subject: Installing Linux
Date: Sun, 25 Mar 2001 17:30:02 -0000

I want to install linux red hat 7.0 on a partition so I can choose if I 
want to run linux or win98 at startup. I have only one HD and I use 
partition magic for creating partitions. Anyone know how to do that ?

 /alex

--
Posted via CNET Help.com
http://www.help.com/

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

From: "L Mitchell" <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.admin,comp.os.linux.admin
Subject: Copying /etc/passwd from one machine to another
Date: Sun, 25 Mar 2001 17:36:24 GMT

Hello all,

How do you folks move over users from one machine to another. Okay I'm
assuming you are not using NIS. I've to setup a new server and after
installing OS, I'll have to either recreate users (keeping the same UID's
and GID's or the file permissions will be screwed) or transfer the old user
account and data files to the new machine. The easiest way I can think of
is:

Copy only user entries from old /etc/passwd, /etc/group, and /etc/shadow
files and add them to the corresponding files on the new machine.
Copy old /home directory to the new machine

On a sidenote, how do you find out whether the encrypted passwords will work
on different versions of the same OS and on different flavours of UNIX? That
is, if I copy the user accounts from Solaris 7 to a Redhat Linux 7 box, will
that work?

Thanks










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

From: "Mike Ruskai" <[EMAIL PROTECTED]>
Reply-To: "Mike Ruskai" <[EMAIL PROTECTED]>
Subject: uname -r gives incorrect kernel version
Date: Sun, 25 Mar 2001 17:48:53 GMT

To install Slackware 7.1, I had to boot from the Slackware 7.0 scsinet.s
disk, because the aic7xxx driver compiled into the 7.1 version is broken.

Now I've recompiled the kernel (after putting the old aic7xxx sources in,
of course), but uname -r returns the incorrect kernel version, which
screws up some of the startup scripts.  It's saying 2.2.13, when the
kernel is in fact 2.2.16.

Where does this program get the version from?  It's definitely not from
the kernel itself.  I've seen references to System.map when searching for
an answer, so I copied the one from /usr/src/linux-2.2.16, but that
changed nothing.

How do I fix this?


--
 - Mike

Remove 'spambegone.net' and reverse to send e-mail.



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

From: [EMAIL PROTECTED]
Subject: PPP dropping carrier
Date: Sun, 25 Mar 2001 11:52:47 -0600


My ISP has changed in the past couple of months and a PPP connection
that used to work is no longer working.

I have two boxes.  The one with the 56K modem still works.  The one with
the 14.4K modem doesn't.  The one with the 14.4K modem does work under
Win98 so I know the modem works and I know the ISP supports 14.4K.

My chat script is:

exec chat -V \
     TIMEOUT 5 \
     ABORT '\nBUSY\r' \
     ABORT '\nNO ANSWER\r' \
     ABORT '\nRINGING\r\n\r\nRINGING\r' \
     "" \rAT \
     'OK-+++\c-OK' 'AT&F&K3E1Q0S0=0&C1&S0' \
     'OK-+++\c-OK' ATH0 \
     TIMEOUT 30 \
     OK ATDT$TELEPHONE \
     CONNECT '' \
     ogin: $ACCOUNT \
     assword: $PASSWORD 

My options file is:
   
   defaultroute
   asyncmap 0
   crtscts
   modem
   lock
   noipdefault
   mru 552
   debug
   /dev/modem 19200 

It seems to connect and stay connected for about ten seconds, then it
hangs up.  My log file shows the following:

   Mar 25 11:27:43 myp166 pppd[283]: pppd 2.2.0 started by root, uid 0
   Mar 25 11:28:05 myp166 pppd[283]: Serial connection established.
   Mar 25 11:28:06 myp166 pppd[283]: Using interface ppp0
   Mar 25 11:28:06 myp166 pppd[283]: Connect: ppp0 <--> /dev/modem
   Mar 25 11:28:10 myp166 pppd[283]: local  IP address 208.228.172.76
   Mar 25 11:28:10 myp166 pppd[283]: remote IP address 66.6.196.134
   Mar 25 11:28:15 myp166 pppd[283]: Hangup (SIGHUP)
   Mar 25 11:28:15 myp166 pppd[283]: Modem hangup
   Mar 25 11:28:15 myp166 pppd[283]: Connection terminated.
   Mar 25 11:28:15 myp166 pppd[283]: Exit.

Any suggestions about what I'm doing wrong, or not doing right, would be
greatly appreciated.

--


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

From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: Installing Linux
Reply-To: [EMAIL PROTECTED]
Date: Sun, 25 Mar 2001 17:56:32 GMT

On Sun, 25 Mar 2001 17:30:02 -0000, [EMAIL PROTECTED] 
> <[EMAIL PROTECTED]> wrote:
>I want to install linux red hat 7.0 on a partition so I can choose if I 
>want to run linux or win98 at startup. I have only one HD and I use 
>partition magic for creating partitions. Anyone know how to do that ?

empty your trash can of all files then defrag the disk.
Using partition magic create an extended partition, if you do not
already have one. 

Now create the following partitions in the extended partition.
        swap (2xmemory) swap
        / ~4gig ext2

The following was how I did it with an older partition magic
which did not support linux.

       This is one method to partition a disk.
       Partition Magic or fips (on cd) can shrink dos partitions.
       Linux fdisk can change ids.
       dos fdisk wipes out win9x

       You change e: and g: ids to swap, ext2

      before                after
   dos fdisk             linux fdisk id changes
.------------------.   .------------------. Used dos fdisk to create
| Primary Partition|   | Primary Partition| logical disks with lables.
| c:    win9x      |   | c:    win9x      |
| 1.5  gig         |   | 1.5 gig          | Used linux fdisk to change
`------------------'   `------------------' logical disk ids to swap/ext2
.------------------.   .------------------. ids for disk durid
| Extended         |   | Extended         |
|         Partition|   |         Partition|
| .-------------.  |   | .-------------.  |
| |d:           |  |   | |d:           |  |
| `-------------'  |   | `-------------'  | Linux install needs to
| .-------------.  |   | .-------------.  | know where "/" and swap
| |e:           |  |   | |e:           |  | are to be installed
| `-------------'  |   | `-------------'  |
| .-------------.  |   | .-------------.  |
| |f:  swap     |  |   | | swap        |  | linux swap
| |  128m       |  |   | |  128m swap  |  | 
| `-------------'  |   | `-------------'  |
| .-------------.  |   | .-------------.  |
| |g:  linux    |  |   | |  /          |  |
| | 4gig        |  |   | | 4gig ext2   |  | linux's main
| `-------------'  |   | `-------------'  | partiton
`------------------'   `------------------'

Swap should be at least as big as your memory or 2x.

Extended partiton can be created on a second disk if you like.
You might want to select custom/expert type install.
Redhat and Mandrake will wipe the C: disk and auto-partition
when you pick without custom/expert installation.

The size of / depends on how much stuff you load.
I used up almost 4 gig with the Mandrake Deluxe 4 cd set.
Picked Development install, and loaded sql servers, Star Office,
4 or 5 window managers,......


PS:

This built me a tight ipchain/iptable firewall rule set
   http://linux-firewall-tools.com/linux/firewall/index.html
I used DENY, hardcoded external addresses, logged everything.

As part of the instruction and if you read the script, it will
give several suggestions as to where you install the firewall
and turn on IP Masquerading if you need it.

You might want to read Armoring Linux 
                http://www.enteract.com/~lspitz/linux.html
and             http://www.securityportal.com/lasg/
and             http://www.securityportal.com/lskb/articles/
and             http://www.cert.org/advisories/
and             http://www.memeticcandiru.com/colsfaq.html#5.6


-- 
The warranty and liability expired as you read this message.
If the above breaks your system, it's yours and you keep both pieces.
Practice safe computing. Backup the file before you change it. 
Do a,  man command_here or cat command_here, before using it.

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


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

Reply via email to