Linux-Misc Digest #539, Volume #26               Wed, 13 Dec 00 15:13:01 EST

Contents:
  Re: ramdisk size (Timo Benk)
  Re: samba and win2k (Jeff Gerard)
  Does kernel 2.2.18 need to be patched for raid??? ([EMAIL PROTECTED])
  Re: Moving files w/ same extension (Frank da Cruz)
  insmod tulip.o failed on RH 7.0 ("Sudhakar R.")
  Re: Moving files w/ same extension (Stefano Ghirlanda)
  Re: insmod tulip.o failed on RH 7.0 (Stefano Ghirlanda)
  Re: Linux Type Opinion (Sinner from the Prairy)
  IP Alias does not seem to work on 6.2 RH (Neal Rhodes)
  RH Linux 7.0 Install Killed DOS -- HOW? (Bob Simon)
  Hard drive crashed; trying to recover (Tim Herzog)
  Re: Configuring ehternet card (JJK)
  linux on Sony F807k anyone ? (Andy Heath)
  sharing file linux and w2k (Andy Heath)
  allowing serial port logins when DCD (carrier detect) is not present ("trebor")
  Re: Why do I see a directory listing instead of my web page??? ("Dan Krones")
  Re: Why do I see a directory listing instead of my web page??? ("Dan Krones")
  Re: Star Office installation Q. ("Vladimir Florinski")
  Re: Linux freeze (Trevor Jenkins)
  Re: RH Linux 7.0 Install Killed DOS -- HOW? (Svend Olaf Mikkelsen)
  Mouse & Keyboard locks (Stu)

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

From: [EMAIL PROTECTED] (Timo Benk)
Subject: Re: ramdisk size
Date: 13 Dec 2000 17:22:23 GMT

Hi,

On 12 Dec 2000 04:17:07 GMT, Dances With Crows <[EMAIL PROTECTED]> wrote:
>To the original poster:  If you could post *why* you need to resize the
>RAMdisk, maybe someone could offer a workaround that involves something
>else?  Worth a shot, at least.  HTH, and remember that I'm probably
>wrong about a number of things here....
Building a rescue cd which dynamically copies the whole system into ram or,
if it's not enough memory is available, copy a minimal system into ram and
mount the rest on /usr.
My first idea was to have an initial ramdisk of some size on a boot cd(lets
say 4MB).
Then after booting into initrd I look if enough ram is available to set up a
root system on another ramdisk(lets say 32MB), else i set up only a minimal
root system( lets say 8MB)  in ram and mount the cd on /usr for the rest of 
the system.

I recognized that this isn't possible that way and just was interested. I
hoped that I can somehow change the ramdisk size on runtime to get the
above working. 
Now I will try it with a software raid.
Thanks to all who helped.

-timo

-- 

    .-'~~~-.       
   .'o oOOOo`.      | Timo Benk 
  ;~~~-.oOo   o`.   | Germany
   `. \ ~-.  oOOo.  | Registered Linux User #186431
     `.; / ~.  OO:  | 
     .'  ;-- `.o.'  | 
    ,' ; ~~--'~     | Fax/Voicemail:    +49891488214215
    ;  ;            | 
_\\;_\\//_          

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

From: Jeff Gerard <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: samba and win2k
Date: Wed, 13 Dec 2000 11:29:11 -0600

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> hi
> i tried to configure samba on my suse linux 7.0.
> i got no problems at all with all the windows98 clients, but whatever i do,
> i can't connect with windows2k professional.
> i think it has something to do with the security-model...?
> 

In /etc/smb.conf in the [global] secion, you must have:
encrypt passwords = yes
in order to use samba with Win2k

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

From: [EMAIL PROTECTED]
Crossposted-To: 
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.networking,comp.os.linux.hardware,comp.os.linux.setup,linux.dev.kernel
Subject: Does kernel 2.2.18 need to be patched for raid???
Date: Wed, 13 Dec 2000 17:41:20 GMT
Reply-To: [EMAIL PROTECTED]

Does mingo's raid patch raid-2.2.18-A2 get applied to kernel 2.2.18?

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

From: [EMAIL PROTECTED] (Frank da Cruz)
Subject: Re: Moving files w/ same extension
Date: 13 Dec 2000 17:43:49 GMT

In article <[EMAIL PROTECTED]>,
Joshua Beard  <[EMAIL PROTECTED]> wrote:
: I was wondering if there is a simple way to move multiple files with the
: same extension to a new extension, preserving the file's prefix.  For
: example, if I have  file1.abc, file2.abc, file3.abc  and want to move
: them to file1.123, file2.123, file3.123, can i do them all at once?  In
: DOS I would type "ren *.abc *.123" but I can't find an equivilent for
: that in Linux.  Please help!  Thank you.
: 
ftp://kermit.columbia.edu/kermit/scripts/ckermit/changetype

- Frank

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

From: "Sudhakar R." <[EMAIL PROTECTED]>
Subject: insmod tulip.o failed on RH 7.0
Date: Wed, 13 Dec 2000 12:43:06 -0500

I'm having trouble getting my RedHat 7.0 linux box to load the tulip.o
module for my ethernet card.

On booting i get the following error...

bringing up interface eth0: insmod /...../tulip.o failed

Any help in getting this to work will be highly appreciated

-sud


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

From: Stefano Ghirlanda <[EMAIL PROTECTED]>
Subject: Re: Moving files w/ same extension
Date: 13 Dec 2000 19:07:02 +0100

Joshua Beard <[EMAIL PROTECTED]> writes:

> I was wondering if there is a simple way to move multiple files with the
> same extension to a new extension, preserving the file's prefix.  For
> example, if I have  file1.abc, file2.abc, file3.abc  and want to move
> them to file1.123, file2.123, file3.123, can i do them all at once?  In
> DOS I would type "ren *.abc *.123" but I can't find an equivilent for
> that in Linux.  Please help!  Thank you.
> 

Conversion from extension a to extension b:

perl -e 'for(<*.a>){/(.+)\.a$/;rename $_,"$1.b" if -f}' 

A more robust version which you can save in a file called "ren":

#!/usr/bin/perl
($from, $to) = @ARGV;
($from && $to) || die "usage: ren <from extension> <to extension>";
for (<*.$from>) {
  next unless -f;
  /(.+)\.$from$/;
  rename $_, "$1.$to" || warn "could not rename $_";
}

-- 
Stefano

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

From: Stefano Ghirlanda <[EMAIL PROTECTED]>
Subject: Re: insmod tulip.o failed on RH 7.0
Date: 13 Dec 2000 19:20:24 +0100

"Sudhakar R." <[EMAIL PROTECTED]> writes:

> I'm having trouble getting my RedHat 7.0 linux box to load the tulip.o
> module for my ethernet card.

Try insmod -v tulip to hopefully see more messages.
Check that the module is there, for the right kernel version, and that
dependencies are right. Does /sbin/depmod -a complain about tulip.o?

-- 
Stefano

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

From: Sinner from the Prairy <[EMAIL PROTECTED]>
Subject: Re: Linux Type Opinion
Date: Wed, 13 Dec 2000 13:33:13 +0000

Jared wrote:
> 
> Hi, i'm planning on experimenting with web hosting using a DSL line to
> my house. I'd like to have a Linux box as the Name Server, and the
> Mail Server. So far i experimented with Slackware, i though it was
> pretty decent, but it didnt agree with my computer when i upgraded to
> the newer version. I played around with FreeBSD and it seems to work
> the best, a little easier to use and it seems to agree with my
> hardware better than slackware did. But before i go out and start
> buying books about BSD, i was wondering if maybe Redhat is an option.
> I've never used Redhat, so i was wondering if anyone has an opinion in
> general about which Linux OS they like the best. If you are working
> with a hosting company, it'd be great to hear which Linux you use, and
> how it is going. Thanks for your Help / Opinions.

If you like Slack, get a newer version of it. I mean it. RedHat (and
friends) and Debian do thing a little different.

If you would like to use *BSD, go forr it. Plenty of web servers use it
as their main OS.

And if you feel the need to go RedHat... well, try Mandrake 7.2 instead.

> -Jared



Salut,
Sinner
-- 
http://www.geocities.com/sinner_prairy
[MaDuiXa PoWeR] http://www.maduixa.net
__________________
                  |\                 Linux User # 89976
=====Sinner==== >=--[]>- a Mach 2.5!!  Running on Mandrake 7.2
__________________|/                     Linux Machine # 38068

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

Date: Wed, 13 Dec 2000 13:38:08 -0500
From: Neal Rhodes <[EMAIL PROTECTED]>
Subject: IP Alias does not seem to work on 6.2 RH

Ok, we've got four 6.2 RH systems in various places.  On all of them 
we have used linuxconf to add an IP alias to eth0.  On two of the 
servers an ifconfig -a shows the alias, and on two of them it does 
not.  

Question 1: Should I not in fact see the aliased address in the 
ifconfig -a? 
Question 2: Any clues on what is not working? 

Question 3: Can't I issue a manual ifconfig command to add the alias? 
                The man page seems ambiguous on the syntax. 

-- 

==============================================================================
Neal Rhodes                       MNOP Ltd                     (770)-
972-5430
President                Lilburn (atlanta) GA 30247             Fax: 
978-4741
                             [EMAIL PROTECTED]
                          http://www.mnopltd.com/

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

From: Bob Simon <[EMAIL PROTECTED]>
Subject: RH Linux 7.0 Install Killed DOS -- HOW?
Date: Wed, 13 Dec 2000 18:49:11 GMT

Hardware: Via Apollo Pro 133A chipset, P3/800, 128MB, 20GB 7200 ATA66,
AGP 4x Video, 2 ethernet, SB Live.

After installing Linux 7.0, LILO boots Linux fine, but DOS will not
start, even from a floppy.  I started with a 20GB drive, one single big
DOS partition (Win95 FAT32 (LBA)).  I used FIPS to reduce partition size
to cyl 1021 so it and /boot would be < 1024 cyl.  Rebooted and ran
autoboot.  Selected custom install and used Disk Druid to partition.
Deleted second primary DOS partition; added 15 MB (2 cyl) /boot
partition; added 2GB / partition; added 128MB Linux swap partition.  Set
LILO options: no linear, boot DOS.  Install completed successfully but
now DOS is dead.  NOTE: cfdisk now shows that the label for hda5 is /1
instead of / as I intended.  Is this significant?  If so, how do I fix
it?

The floppy drive and system diskette successfully boot another PC.  I
toggled the MB jumper to reset the BIOS, loaded the fail-safe defaults
(and also tested the optimized defaults) but this did not make any
difference.  Also, I tried rebooting with all cards removed except
video.  Do you have any other suggestions?  HELP!

--
Please address private email replies to bsimon at ATT dot Net.


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

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

From: [EMAIL PROTECTED] (Tim Herzog)
Subject: Hard drive crashed; trying to recover
Date: Wed, 13 Dec 2000 13:10:21 -0600


Running on an old Pentium, with the original 1.2Gb IDE hard drive and a
3.5Gb IDE hard drive that I added later.

Bad news:  the first hard drive died.

Good news:  I THINK most of the important stuff was on partition(s) on the
second hard drive, which is still working, to my knowledge.  As I recall,
the first (dead) drive only had boot information and perhaps a swap
partition.

So I went out and got a replacement drive for the 1.2Gb dead one.  This
time 15Gb (God, hard drives are cheap!), which I installed, so now I have
a virgin 15Gb and the 3.5Gb drive with most of my stuff on it.

Now I'm ready to reinstall Linux (RedHat v5.2), but here's my question: 
can I get the installation to recognize the partitions on my second drive
with their original mount points?  That is, without overwriting those
partitions or directory structures?  Unfortunately, I don't remember which
partitions went on which mount points.  fdisk tells me this:

   Device Boot    Start      End     Blocks     Id    System
/tmp/hdc1             1      174      82183+    92    Unknown
/tmp/hdc2           175     3503    1572952+    83    Linux native
/tmp/hdc3          3504     6832    1572952+    93    Amoeba

I'm not sure what's what, except hdc2 is probably what I'm most concerned with.

Or, can I just do a shiny new installation on my shiny new drive, and
(either as part of the installation, or afterwards), mount the original
partitions at different mount points, then "cp -pr" them over to the fresh
installation?  If so, how do I do that?  I assume I use mount, but my
/etc/mnttab file is on one of the partitions I can't access.  But I think
I can get that from a tape backup.


Any suggestions would be appreciated.  This is obviously new territory for me.

-- 
Tim Herzog

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

From: [EMAIL PROTECTED] (JJK)
Subject: Re: Configuring ehternet card
Date: Wed, 13 Dec 2000 22:15:07 GMT

In article <[EMAIL PROTECTED]>, 
"Sudhakar R." <[EMAIL PROTECTED]> wrote:
>Hi all,
>
>I recently installed my Redhat 7.0 linux box and have been having trouble
>trying to configure it for the LAN here.
>
>I use a Linksys EtherFast 10/100 LAN card. On booting the kernel says.
>
>Bringing up interface eth0 insmod /...../tulip.o : insmod eth0 failed
>

check http://www.scyld.com/network/updates.html for updates on the Linksys 
cards - it seems the RH 7.0 kernel does not have the latest drivers for the 
Linksys card in it.

HTH,

JJK

===========================
JJK / Jan Just Keijser
Unix/Linux Systems Engineer
smtp: [EMAIL PROTECTED]

flames > /dev/null 2>&1
===========================

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

From: [EMAIL PROTECTED] (Andy Heath)
Subject: linux on Sony F807k anyone ?
Crossposted-To: comp.os.linux.portable
Date: Wed, 13 Dec 2000 19:16:39 GMT

Consindering purchase.  Anyone run linux on this box ?

Porblems ? Advice ?

Also - how to cope with w2k on the same box and share
files ?

Please COPY responses to

[EMAIL PROTECTED]

as well as the newsgroup.

Thankyou

Andy

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

From: [EMAIL PROTECTED] (Andy Heath)
Subject: sharing file linux and w2k
Crossposted-To: comp.os.linux.portable
Date: Wed, 13 Dec 2000 19:19:45 GMT

If I buy a laptop with w2k can I share files between
linux and w2k some way.  For example, could I have a
FAT32 partition on the same disk written to by both OS's
in the same way O can mount w95/8 partitions ?

Andy

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

From: "trebor" <[EMAIL PROTECTED]>
Subject: allowing serial port logins when DCD (carrier detect) is not present
Date: Wed, 13 Dec 2000 14:25:07 -0500

I am trying to login from a serial port using a remote access device which
is not raising the carrier detect line. I'm not getting a login prompt at
all - I'm assuming this is because DCD is not raised. Is there a way in
gettydefs to tell getty to ignore DCD? I know this can be done once you've
logged in, with 'stty -clocal', but my problem is BEFORE I login, while
getty has control of the port. This is on Red Hat 5.2 system.

Thanks,
-Bob
 Andover, MA



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

From: "Dan Krones" <[EMAIL PROTECTED]>
Subject: Re: Why do I see a directory listing instead of my web page???
Date: Wed, 13 Dec 2000 19:31:13 GMT

The DirectoryIndex is the same as yours below (I did not change it from the
one that comes in the start conf file).

Any other ideas?

Thanks for your help!!!

-Dan



"Kae Verens" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Dan Krones wrote:
> >
> > Why do I see a directory listing instead of my web page???
> >
> > Running Apache 1.3.12.  I think I set up the httpd.conf file correctly
to
> > point to my index page.  But I just get a directory listing.  Any
ideas???
>
> Make sure that the DierctoryIndex directive mentions your index page.
>
> for example:
> DirectoryIndex index.html index.php index.cgi index.htm
>
> Kae



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

From: "Dan Krones" <[EMAIL PROTECTED]>
Subject: Re: Why do I see a directory listing instead of my web page???
Date: Wed, 13 Dec 2000 19:32:00 GMT

There is already an index.html file in the directory the conf file is
pointing to.  Any other ideas or suggestions?

Thanks for your help!

-Dan



"Sebastian Hans" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Dan Krones wrote:
> >
> > Why do I see a directory listing instead of my web page???
> >
> > Running Apache 1.3.12.  I think I set up the httpd.conf file correctly
to
> > point to my index page.  But I just get a directory listing.  Any
ideas???
>
> Maybe putting an index.html in the directory helps.
>
> HAND
> seb
>
> --
>    -------------------=====#####OOOOOOOO#####=====----c---c----------
> sebastian hans - [EMAIL PROTECTED]      `\O/'  don't panic
> student of comp sci - technical university of munich  \-^-/  ...just RUN
> i'm a .signature virus! copy me into your ~/.signature to help me spread



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

From: "Vladimir Florinski" <[EMAIL PROTECTED]>
Subject: Re: Star Office installation Q.
Date: Wed, 13 Dec 2000 12:40:17 +0700

In article <[EMAIL PROTECTED]>, "Vladimir Florinski"
<[EMAIL PROTECTED]> wrote:

> I just downloaded SO 5.2 from Sun. This comes in 10 files, plus 2 additional
> files with some extras. Noting this is clearly a multi-part archive, I thought
> I could just run the first file, the only one with the ELF header, and it'll
> extract everything for me. No luck: 'Text file busy'. Ok, so it's writing over
> itself (maybe a sensible thing to do for a self-extractor), but before it's
> even executed? ldd gives the same result.

Ok, silly me, I finally remembered to check the files with 'fuser' and indeed,
turned out gftp still had them open. Must be a bug in gftp.

-- 


Vladimir

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

From: Trevor Jenkins <[EMAIL PROTECTED]>
Subject: Re: Linux freeze
Date: Wed, 13 Dec 2000 19:43:54 +0000

Jean-David Beyer wrote:
> 
> [EMAIL PROTECTED] wrote (in part):
> >
> > dixon <[EMAIL PROTECTED]> wrote:
> > > On Mon, 11 Dec 2000 15:07:22 GMT, "korner" <[EMAIL PROTECTED]>
> > >>As shocking as the title may be, it just happened to me. I was surfing the
> > >>internet using netscape 4.7?, and suddenly everything freezed and I had to
> > >>hard-reboot the computer to regain control. The mouse pointer was moving,
> > >>but except that, the system didn't respond to anything.
> >
> > I've seen this. Way too many times, also under HPUX and Solaris.

You've each saved me lots of effort. I've also seen this frequently on
my RH6.2 system. The freeze usually happens as I return to the X virutal
console from one of the others, typically a root session. Though I did
have it happen today when I tried to navigate a 10,000 row gnumeric
spreadsheet, which I'd text imported.

> > On Linux, ctrl-alt-F1 to get to a virtual console, then use ps to find
> > the PID of netscape:

That hasn't been enough to free it up for me. Requires the wholescale
killing of X. :-(

Regards, Trevor

British Sign Language is not inarticulate handwaving; it's a living
language.
Support the campaign for formal recognition by the British government
now!

-- 

<>< Re: deemed!

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

From: [EMAIL PROTECTED] (Svend Olaf Mikkelsen)
Subject: Re: RH Linux 7.0 Install Killed DOS -- HOW?
Date: Wed, 13 Dec 2000 19:45:33 GMT

Bob Simon <[EMAIL PROTECTED]> wrote:

>Hardware: Via Apollo Pro 133A chipset, P3/800, 128MB, 20GB 7200 ATA66,
>AGP 4x Video, 2 ethernet, SB Live.
>
>After installing Linux 7.0, LILO boots Linux fine, but DOS will not
>start, even from a floppy.  I started with a 20GB drive, one single big
>DOS partition (Win95 FAT32 (LBA)).  I used FIPS to reduce partition size
>to cyl 1021 so it and /boot would be < 1024 cyl.  Rebooted and ran
>autoboot.  Selected custom install and used Disk Druid to partition.
>Deleted second primary DOS partition; added 15 MB (2 cyl) /boot
>partition; added 2GB / partition; added 128MB Linux swap partition.  Set
>LILO options: no linear, boot DOS.  Install completed successfully but
>now DOS is dead.  NOTE: cfdisk now shows that the label for hda5 is /1
>instead of / as I intended.  Is this significant?  If so, how do I fix
>it?
>
>The floppy drive and system diskette successfully boot another PC.  I
>toggled the MB jumper to reset the BIOS, loaded the fail-safe defaults
>(and also tested the optimized defaults) but this did not make any
>difference.  Also, I tried rebooting with all cards removed except
>video.  Do you have any other suggestions?  HELP!

Get Findpart at http://inet.uni2.dk/~svolaf/utilities.htm, temporarily
set the disk to none in BIOS, boot to a DOS floppy, do (assuming the
disk is primary master):

findpart pm fp.txt

and insert (not attach) the content from fp.txt in an follow-up to
this message.
-- 
Svend Olaf

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

From: Stu <[EMAIL PROTECTED]>
Subject: Mouse & Keyboard locks
Crossposted-To: comp.os.linux.setup
Reply-To: [EMAIL PROTECTED]
Date: Wed, 13 Dec 2000 19:55:48 +0500

I have a strange problem. Ocaisonally when I boot up my machine (about 1 in 
5 but it seems random) my keyboard and mouse don't work. This is whether I 
boot into console or graphical login mode. I am sure it is not a hardware 
problem as the keyboard, at least, always works at the lilo prompt.

Anyone any ideas what the problem may be ?

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


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