Linux-Setup Digest #468, Volume #20              Sun, 21 Jan 01 20:13:09 EST

Contents:
  Re: RedHat installition kills WinME on Compaq Presario 1700T ([EMAIL PROTECTED])
  Re: Mounting DOS/WIN partitions under Linux (Noble Pepper)
  Re: Mounting DOS/WIN partitions under Linux ([EMAIL PROTECTED])
  Re: Stupid directory permission question (Ian Pilcher)
  Re: Configuring Mail (Michael Heiming)
  Re: Need help: sound with slackware7.1 ([EMAIL PROTECTED])
  Re: Stupid directory permission question (H.Bruijn)
  Re: I have a huge problem installing corel linux! ([EMAIL PROTECTED])
  Install several linux distributions on same disk ? (Rick)
  Re: RPM supports only package rev <= 3 (Bob Martin)
  Re: why can't modprobe find the module? (Bob Martin)
  Questions regarding device security (Hung Ngoc Lai)
  Re: LIlo / Grub (Mandrake update problem) ([EMAIL PROTECTED])
  Re: Install several linux distributions on same disk ? (H.Bruijn)
  Re: Best Linux Distro? (Michael Perry)

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.portable
Subject: Re: RedHat installition kills WinME on Compaq Presario 1700T
Date: Sun, 21 Jan 2001 22:57:18 GMT

Greeting,

  I don't really have enough information on your problem. BUT I think
this is what happen because it happened to me once.

  1. Right after the fresh reinstallation from the restore disk
     provided, you get two partition that fillup the entire disk right!

  2. So you have to defragment and move the extended partition to make
     room in between the original primary (c drive) and original
     extended partition to make a little from for your linux partition
     right.

  3. During the move, the tool you use probably move the partition up by
     copying the data to the other end of the partition so that you can
     resize the partition from the top. As illustrated. xxxx is the data
     partition marked P is the primary and partition marked E is the
     extended.

       |------ |                | --------- |
       |   E   |                |  xxxxxxx  |
       |       |                |  xxxxxxx  |
       | xxxxx |                |  xxxxxxx  |
       | xxxxx |                |           |
       | xxxxx |                |      E    |
       |-------|                | --------- |
       |   P   |                |   P       |
       |------ |                |---------- |

  4. Then if you resize the extended partition, you will get

                      | --------- |
                      |xxxxxxxxxxx|
                      |xxxxxxxxxxx|
                      |xxxxxxxxxxx|
                      |           |
                      |           |
                      |     E     |
                      | --------- |
                      |           |
                      |  EMPTY    |
                      |           |
                      | --------- |
                      |   P       |
                      |---------- |

  5. and you created the hda2 in the empty partition right!!

  The thing is that, for the file system in WINME, there is a huge
difference between the location of the data. The data located at the
begining of the partition is different from the data located at the end
of the partition as illustrated above. Everything in the extended
partition will be gone!!!!! It happened to me earlier, and for me, some
of the program in my WINME worked and some don't since part of the
program is located in C drive which was not touched.Those in the
relocated extended partition are gone!!!!!!You are lucky if it even boot
up since all the shortcut in the desktop are invalid and the OS will
attempt a infinited loop procedure to try to locate it!!!!

  I didn't try this, but you can try to move the data back to the
begining after the resizing!!!! MAYBE that will help.

  BUT my best guest will be to get another smaller hard disk ( about 100
MB) and put that in the IDE0 secondary and install the boot partition
there. Then, resize the d in extended partition ( not moving it from the
extended partition to a primary partition, just defragment and resize)
and create a linux partition within the extended partition and put your
RH there.

  This is why I hate the restore CD so much!!!!

  GOOD luck... and you are welcome to ask me directly [EMAIL PROTECTED] if
you think I may be of assistance.


Simon











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

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

From: Noble Pepper <[EMAIL PROTECTED]>
Subject: Re: Mounting DOS/WIN partitions under Linux
Date: Sun, 21 Jan 2001 17:17:41 -0600

[EMAIL PROTECTED] wrote:

> Hi all,
> 
> I just completed an installation of Red Hat Linux 6.1 on my system and
> have run into a bit of a snag and was hoping someone might be able to
> give me a hand.
> 
> I have 3 hard drives and one removable drive on my system, (all SCSI).
> The first two hard drives are devoted to Linux and the last drive and
> removable are fat partitioned. I have two fat partitions on the 3rd hard
> drive and 1 fat partition on the removable drive.
> 
> Now for my question, how do I get Linux to recognize the fat partitions
> on my 3rd hard drive and my removable so I can browse the partitions and
> access the files on them? I looked in all my books and found subtle
> hints, but nothing that provides me with stright answers on how to
> accomplish this.
> 
> Any help of information would be greatly appreciated.
> 
> TIA
> 
> Gordon Owens
> 
> 
> Sent via Deja.com
> http://www.deja.com/
> 
man fstab
man mount

here's my fstab line for a dos partition:
 /dev/hda1      /mnt/dos     vfat    user,exec,nodev,nosuid,rw,noauto 0 0

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

From: [EMAIL PROTECTED]
Subject: Re: Mounting DOS/WIN partitions under Linux
Date: Sun, 21 Jan 2001 23:08:33 GMT

Greetings,

  Two way:
  1. type in the command everytime you reboot your linux

     mount -t vfat /sd3a /windowDirectory1
         to mount your first partition of your 3rd drive
         IF it complain /sd3a not found try /dev/sda3


     mount -t vfat /sd3b /windowDirectory2
         to mount your second partition of your 3rd drive

  2. Edit your /etc/fstab file to add the information to it so that
     the partitions will be mounted everytime you reboot automatically

     I don't have access to my linux machine now and I forgot the exact
syntax. The bottom line is use vfat as your file system type instead of
ext2 for the linux partition. Use default for all other argument. You
can basically copy the line of your linux partition and replace the
device location and the file system type!!!

  Let me know if this fails ([EMAIL PROTECTED]) and I will look up the exact
syntax fro you. Please include your /etc/fstab file if you want to.

  Good Luck

Simon




> on my 3rd hard drive and my removable so I can browse the partitions
and
> access the files on them? I looked in all my books and found subtle
> hints, but nothing that provides me with stright answers on how to
> accomplish this.
>
> Any help of information would be greatly appreciated.
>
> TIA
>
> Gordon Owens
>
> Sent via Deja.com
> http://www.deja.com/
>


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

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

From: Ian Pilcher <[EMAIL PROTECTED]>
Subject: Re: Stupid directory permission question
Date: 21 Jan 2001 23:23:06 GMT

Noble Pepper wrote:
> 
> Is your lpd filter a member of the faxserv group?

lpd runs the filter as 'lp', which is a member of faxserv.
> 
> The totally insecure solution of course is chmod a+w
> /var/spoot/fax/outqueue,

That's what I've done for now for.  (I'm in the initial stages of
setting this up.)  It's not a viable long-term solution, though.
-- 
========================================================================
Ian Pilcher                                       [EMAIL PROTECTED]
========================================================================

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

Date: Mon, 22 Jan 2001 00:03:07 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Configuring Mail

Bentley wrote:

> Newbie question !!!!
>
> I am trying to configure mail such that I can execute a command like:
>
> ifconfig | mail [EMAIL PROTECTED]
>
> I am setting my my linux machine as an FTP server and would like to have the
> the current IP address when ever I re-boot.  I dont have a static IP
> address.  I configured the GUI mail client in KDE and it sends and recives
> mail with no problems.  When I use the command line version of mail (see
> line above), nothing happens.  The command retruns, but no mail is ever
> sent.  I am guess thing there is an config file or something where I must
> record my ISP mail servers address.
>
> OS: Read Hat 7.0
>
> Thanks

Hello,

you could try:

#!/bin/sh
mail -s "$HOSTNAME  IP has changed `date +%H:%I:%S` " [EMAIL PROTECTED] << EOF
`ifconfig | grep inet`
EOF

Good luck

Michael Heiming



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

From: [EMAIL PROTECTED]
Subject: Re: Need help: sound with slackware7.1
Date: Sun, 21 Jan 2001 23:15:36 GMT

Greetings,

   Not trying to be funny. But if sound files played from the harddisk
worked and if you are playing the song directly from the CD using the
player, I think you did not connect the audio wire from your CDROM drive
to your sound card. Check that, the wire will help!!!

NOTE: Please get professional help if you have not openup your PC case
before. I am NOT responsible for any possible physical injuries
resulted from opening up the case!!!

  Good luck.

Simon



In article <[EMAIL PROTECTED]>,
  Denis Sevee <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  I just upgraded to slackware7.1 from an old slackware installation.
> I am trying to get my sound working (on an HP pavilion 7420).
> I wrote a script which does:  insmod soundcore
>                               insmod soundlow
>                               insmod sound
>                               insmod uart401
>               insmod sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
>
> After I run this script then "play test.au" works, and all the Gnome
> system sounds can be heard. The problem is when I try to play a CD
> there is no sound. Ive tried workman, workbone, and the Gnome and KDE
> players without success. Any ideas what the problem might be? (The CD
> is being read from. The kight is on. Workman displays the correct
number
> of CD tracks, etc. But there is no sound.)
>
> Thanks for any help
> Denis Sevee
>
>


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

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

From: [EMAIL PROTECTED] (H.Bruijn)
Subject: Re: Stupid directory permission question
Date: 21 Jan 2001 23:37:31 GMT
Reply-To: [EMAIL PROTECTED]

>I am working on setting up a fax server, which will accept print jobs
>via lpd and let users manage them with a web interface.  I have created
>a directory, /var/spool/fax/outqueue, which needs to be writeable by
>both my lpd filter (which runs as lp) and my CGI program (which runs as
>apache).
>
>I've created a new group, faxserv, and made both apache and lp members
>of faxserv.  Here are the permissions of the directory tree:
>
>[root@localhost /]# ls -ld /var /var/spool /var/spool/fax
>drwxrwxr-x    2 root     faxserv      1024 Jan 21 14:16  fax/outqueue
>
>Despite all this, I still get a "permission denied" error when my lpd
>filter attempts to write to /var/spool/fax/outqueue.
>
>What am I missing?  Thanks!

Have you restarted those daemons (or the machine) since adding them to
those groups, because the groups file is only read once, not
continiously checked for updates. 
-- 
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: [EMAIL PROTECTED]
Subject: Re: I have a huge problem installing corel linux!
Date: Sun, 21 Jan 2001 23:30:27 GMT

Greetings,

  To be frank, there is nothing I can say to help you with the
installation from what you described. Why buy the LINUX os when you can
download it from the website? If you are as fresh as you sound, you
should probably try RedHat installation. There is no benefit to me
personally if you use RedHat just that it is the only linux distrbution
that I have tried and it is pretty strainght forward. Version 7.0 to me
is as good as the window ME or w2k installation (provided all your
hardware is older than 6 months) I am also a CS student and I completely
understand your dilemma!!!

  Another thing, it is always a good practice to try your very first
linux installation on a blank hard disk so that you can't lost anything.
After you started, you can ask specific question and many on this news
group will be more than happy to help. When I started, most my questions
were answered within hours.

  Good luck.....


Simon


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

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

From: [EMAIL PROTECTED] (Rick)
Subject: Install several linux distributions on same disk ?
Date: Mon, 22 Jan 2001 00:23:09 GMT

        I currently run Win95 on a 2.1G SCSI and have a 13G IDE disk
with Redhat 5.2 occupying 12G and MSDOS on a 1G partition in the same
P100 computer.  Using LILO, I can boot into any of the op sys.

        I am considering purchasing a 30 G disk, and I would like to
temporarily install several different distributions on the same disk.
I want the capability of comparing the different distributions without
having to wipe the current one off the disk in order to install
another.  I've checked the linux doc project, but I only found
information about booting one version of linux with different op
systems (Win95, Win98, WinNT) or booting different op systems from
different removable drives.  Can different distributions of Linux
exist on the same hard drive ?

Has anyone else considered this problem ?  Thanks.

Rick



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

From: Bob Martin <[EMAIL PROTECTED]>
Subject: Re: RPM supports only package rev <= 3
Date: Sun, 21 Jan 2001 18:32:29 -0600

Swapnajit Mittra wrote:
> 
>    Hello,
> 
>    I have official RH6.1 installed on a pentium m/c. Now
>    whenever I try to install a new version of an
>    rpm, I get the following message:
> 
> [root@bhalobasa mittra]# rpm -i netscape-common-4.75-2.i386.rpm
> only packages with major numbers <= 3 are supported by this version of
> RPM
> 
>    This is not specific to just netscape installation.
>    It has come up in almost all new installations,
>    including a new version of rpm.
> 
>    What is wrong ?
>    Thanks.
> 

The package you downloaded requires a newer version of rpm,
upgrade to 3.0.6. This is on the RH site, 3.0.6 will allow you to
transition to rpm 4.x
-- 

Bob Martin

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

From: Bob Martin <[EMAIL PROTECTED]>
Subject: Re: why can't modprobe find the module?
Date: Sun, 21 Jan 2001 18:34:18 -0600

Dave Brondsema wrote:
> 
> I'm trying to install the tulip module on RH6.2.  I have tulip.o and
> pci-scan.o in /lib/modules/`uname -r`/net/.
> 
> But if I do "modprobe tulip.o", it says that it cannot find module
> tulip.o
> 
> This seems pretty simple, but I'm obviously doing something wrong.  Can
> anyone help?
> 
> Thanks,
> 

because you don't put the .o unless you are specifying the
complete path. man modprobe.
-- 

Bob Martin

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

From: Hung Ngoc Lai <[EMAIL PROTECTED]>
Subject: Questions regarding device security
Date: 22 Jan 2001 00:37:40 GMT

Hi Everyone,
I scan a range of network devices on my company network and the scan 
result comes across several devices with the following message:

Vulnerability found on port general/tcp 
The TCP sequence numbers of the remote host are
always incremented by 64000, so they can be
guessed rather easily. A cracker may use
      this flaw to spoof TCP connections easily.

My question is:  how serious is this security flaw?  How easy is it for someone
to hijack or spoof TCP connecsions (or sessions) from this  device?  The 
reason I am concerned is because this device is directed to the Internet and
it could put the entire corporation at risk.  Thanks.

David

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,alt.os.linux.mandrake,alt.os.linux.redhat
Subject: Re: LIlo / Grub (Mandrake update problem)
Date: Mon, 22 Jan 2001 00:44:47 GMT

I got a hold of partition magic and it doesnt recognize the partition.
gives is a type 44 instead of FAT32.  So the installation did more than
just rewrite the boot sector.




In article <94fo0p$6m4$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> Thanks for the input so far.
>
> I have more information.  I had removed this drive( so I could get
into
> the internet to post the original question).  After I read the
messages
> I though I remembered that when I had booted into a win boot floppy, I
> was not able to see the C: drive.
>
> So I reinstalled the drive as a slave to this ome and it looks like
> Windows does not see that partition(slave c:, which would now be d:).
>
> the only place I had seen the contents of that partition was in a
linux
> command prompt
>
> So, can I do Fdisk /MBR if I cant get to that partition?  If I make it
> the primary drive again and boot to the floppy, will it know there is
a
> C: partition even though I cant cd to it?
>
> finally, would a better approach be to use something like partition
> magic?  I have not used that program but I was wondering if it had
> repair tools?
>
> Thanks again,
> Noel
>
> Sent via Deja.com
> http://www.deja.com/
>


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

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

From: [EMAIL PROTECTED] (H.Bruijn)
Subject: Re: Install several linux distributions on same disk ?
Date: 22 Jan 2001 01:00:16 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 22 Jan 2001 00:23:09 GMT, Rick allegedly wrote:
>
>       I am considering purchasing a 30 G disk, and I would like to
>temporarily install several different distributions on the same disk.
>I want the capability of comparing the different distributions without
>having to wipe the current one off the disk in order to install
>another.  I've checked the linux doc project, but I only found
>information about booting one version of linux with different op
>systems (Win95, Win98, WinNT) or booting different op systems from
>different removable drives.  Can different distributions of Linux
>exist on the same hard drive ?
>
>Has anyone else considered this problem ?  Thanks.

make different partitions for each of the intended distributions, an
extra partition for /boot and let all of them share the same swap
device. The result would be a lilo.conf useable by all distributions:
/dev/hda1 /boot
/dev/hda2 swap partitions
/dev/hda3 / RedHat
/dev/hda5 / debian
/dev/hda6 / Suse

Move after every install the distribution specific kernel to
/boot/distrib_kernel and copy lilo.conf to /boot as well or rather use a
symlink to point /etc/lilo.conf to /boot/lilo.conf to have a single
lilio.conf for all distributions

# /etc/lilo.conf
# boot partition
boot=/dev/hda1
# display a text message for usage instructions (which lilo options are
# available)
message=/boot/lilo.message
# prompt the user for his/her choice of distribution and kernel
prompt
# prompt times out after 100/10 = 10 seconds and default is loaded
timeout=100
default=debian
image=/boot/redhat-2.2.17
        label=redhat-2.2.17
        alias=redhat
        map=/boot/redhat-system.map-2.2.17
        root=/dev/hda3
        read-only
image=/boot/debian-stock-2.0.36
        label=debian-2.0.36
        alias=debian-stock
        map=/boot/debian-system.map-2.0.36
        root=/dev/hda5
        read-only
image=/boot/debian-homebrew-2.2.17
        label=debian-2.2.17
        alias=debian-old
        map=/boot/debian-system.map-2.2.17
        root=/dev/hda5
        read-only
image=/boot/debian-homebrew-2.2.18
        label=debian-latest
        alias=debian
        map=/boot/debian-system.map-2.2.18
        root=/dev/hda5
        read-only

-- 
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: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: Best Linux Distro?
Date: Sun, 21 Jan 2001 14:13:25 -0800

On Sun, 31 Dec 2000 20:20:47 GMT, Rod Smith 
<[EMAIL PROTECTED]> wrote:
>[Posted and mailed]
>
>In article <[EMAIL PROTECTED]>,
>       Michael Madden <[EMAIL PROTECTED]> writes:
>> Hello:
>> 
>> I've been using Redhat since 5.0.  However, I find with each
>> release it gets more buggy, bloated, insecure, and unreliable.
>> What is considered the most reliable, secure, high performance
>> Linux distribution.  Many of my pro-Debian friends have 
>> suggested that I try out Debian 2.2.  Any opinions?
>
>I've got some thoughts, although not much bloat-related, at:
>
>http://www.rodsbooks.com/distribs/
>
>As a general comment about bloat, the last I checked Caldera, Corel, and
>TurboLinux all came on just one CD-ROM for the main distribution; Red
>Hat, Debian, Mandrake, and SuSE all use at least two, although some can
>install from just one, and some (most notably Debian) can install pretty
>slim systems. If you dislike disc-juggling and have a DVD-ROM drive,
>SuSE is available in a "Professional" package that includes the whole
>thing on a single DVD-ROM disc.
>
And if you want the non-dvd version of SuSE prepare for about 9000 cds; all
with software packages on them for just about everything under the sun :)
Honestly though, I like SuSE and you can pick and choose but it is a "rich"
distribution in software and stuff.  I like the debian way better.  You can
start out lean, pick the things you want, control how and what the system
has on it much better, etc.  The installer is fun but apt-get is beautiful. 
I use debian slink on two servers at home and potato on a laptop and two
desktops.  They work great!  I tend to mix and match stable and testing a
bit to keep things interesting.  I don't tread into unstable too much.

You really do not even need the cd for debian.  If you have a network
connection you can do the floppy installation.  With a dsl line, I have a
pretty nice debian system in about 2 hours of apt-getting.  It is nice
though to have the iso images.


-- 
Michael Perry
[EMAIL PROTECTED]
==================

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


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