Linux-Misc Digest #912, Volume #27               Sun, 20 May 01 20:13:01 EDT

Contents:
  Download via EuropeOnline (zac)
  Re: Problems with Netscape 4.51 and 6 (Ian Northeast)
  Re: child wait process hangs my outgoing emails (Jim Valavanis)
  Re: Tandy Model 100 as linux terminal (Thomas Weeks)
  Problem Mounting VFAT Disk ("Tim Brewer")
  What's the best newsreader for binary downloads? (Phillip Pi)
  Autostarting programs (Michael Byrne)
  Re: dummy interface (Michael Heiming)
  Re: child wait process hangs my outgoing emails (Neil W Rickert)
  Re: Shell script (Michael Heiming)
  Re: Autostarting programs ("Peter T. Breuer")
  Re: Shell script (John Cordes)
  Re: Autostarting programs (Michael Byrne)
  Re: A CPU cooler for Linux? ([EMAIL PROTECTED])
  Deleting a partition On Windows Me... (Amy)
  Re: A CPU cooler for Linux? (H Dziardziel)
  Re: Sharing net connection w/o LRP (Frank Johnson)
  Re: Autostarting programs ("Peter T. Breuer")

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

From: zac <[EMAIL PROTECTED]>
Subject: Download via EuropeOnline
Date: Sun, 20 May 2001 23:17:13 +0200
Reply-To: [EMAIL PROTECTED]

I have Telemann sm300 PCI card and it works OK
with my RH 6.2 krnl 2.2.19. but I don't now how to download
files via satelite.

Any help?

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

From: Ian Northeast <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Problems with Netscape 4.51 and 6
Date: Sun, 20 May 2001 22:35:22 +0100

Joachim Aurbacher wrote:
> 
> Hello,
> 
> I am running RedHat 6.0 (kernel 2.2.5-15) on a cyrix 6x86 machine.
> I have some Problems with Netscape:
> 
> Netscape 4.51 crashes suddenly stating "Bus Error" for no obvious
> reason.
> What can I do?

Netscape is notorious for crashing. I have found that it helps to run
the latest version (4.7.7 now, but 4.7 has been around for a while), and
to have plenty of memory. With 4.7 in 768Mb, it doesn't crash most
weeks. It wasn't bad in 128M. I recommend you upgrade to 4.7, and
upgrade your memory to at least 128M if this is practical. 

RH 6.0 is a bit old now too, but I wouldn't really recommend a RH
upgrade. You could upgrade the kernel from sources though. 2.2.19 would
probably be a good idea.

Regards, Ian

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

From: Jim Valavanis <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.mail.sendmail
Subject: Re: child wait process hangs my outgoing emails
Date: Sun, 20 May 2001 16:28:24 -0500

Neil W Rickert wrote:
> 
> Jim Valavanis <[EMAIL PROTECTED]> writes:
> >Neil W Rickert wrote:
> 
> >> Jim Valavanis <[EMAIL PROTECTED]> writes:
> 
> >> >OK, I've spent a lot of time trying to figure this out, but I haven't
> >> >gotten far.  I've setup sendmail many times before but this one, running
> >> >on Linux 2.2.16 on a DELL server, sendmail 8.11.13 (just upgraded this
> >> >to see if it helps), is causing me lots of problems.
> 
> >> >I have tried sending mail from different clients (eudora,netscape,etc)
> >> >but I just get timeouts.  On the server I see from ps
> 
> >> >sendmail: server mail-server [192.168.1.10] child wait
> 
> >> That's normal.
> 
> >> There should be two sendmail processes related to this message.
> >> That is one of them.  Check what the other is doing.
> 
> >Yea the other process is doing this...
> >sendmail: ./f4KFaJA14105  ppp1.mydomain.com [192.168.1.41]: DATA
> 
> Then the body of the message is currently being sent.
> 
> If there is a problem here, it is likely to be a network problem --
> not all of the message is getting through, and your sendmail is still
> waiting for that final "." on a line by itself, to indicate the end
> of transmission.



I've tested the mail from the localhost using standard mail with a "."
at the end, and this seems to work fine.  Why is that when I first
restart sendmail the first message from a pop client goes through fine,
though.  But after that the transmission does not complete properly.  

In netscape, for example,  I'll get "message sent" then waiting for
reply, until it just times out.

Any other clues?  You think something got broken in Redhat 7.0, which is
what I'm running with kernel 2.2.16 (smp)?

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

From: Thomas Weeks <[EMAIL PROTECTED]>
Crossposted-To: comp.sys.tandy,comp.os.linux.powerpc
Subject: Re: Tandy Model 100 as linux terminal
Date: Sun, 20 May 2001 21:35:10 GMT

James Campbell Andrew wrote:
[...]
> Oh, absolutely yes, I would imagine. You need to have a terminal running
> on one of your serial ports though, so read up on the relevent HOWTO's
> (I would imagine that the serial HOWTO is the one you want).
> 
> From there you're just a null-modem cable away from getting 'Logon
> please:" on that 40char display. Stick to a slowish baud rate - around
> 2400 baud should suffice, although it's been so long since I powered my
> 100 on that I can't remember if it even *supports* that baud rate!


You'll want to replace the "mgetty" RPM on LInux with "getty" so that
you can redirect console tot he serial port..

Then... you can even set up lilo so that it's i/o is pointed at the COMM
port also!  

Good luck..

Tweeks

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

From: "Tim Brewer" <[EMAIL PROTECTED]>
Subject: Problem Mounting VFAT Disk
Date: Sun, 20 May 2001 16:57:50 -0500

I have been unsuccessful mounting my FAT32 Windows98
onto RedHat Linux 7.0 file system.  I have had no problems
with my other devices including an IOMEGA ZIP drive and
DVD/CD-ROM device.

The command I am using is:

mount -t vfat /dev/hdb1 /mnt/cdrive
  where /mnt/cdrive exists.

The error message I get from this command is:
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
       or too many mounted file systems

Using fdisk to look at the device I get the following message:

The number of cylinders for this disk is set to 1653.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Then I print the information with the p command in fdisk, I get
the following:
Disk /dev/hdb: 255 heads, 63 sectors, 1653 cylinders
Units = cylinders of 16065 * 512 bytes

       Device Boot    Start     End    Blocks       Id  System
          Disk
  /dev/hdb1   *         1        1653     13273848    c  Win95 FAT32 (LBA)
Partition 1 does not end on cylinder boundary:
     phys=(1023, 132, 63) should be (1023, 254, 63)


Is this a major problem and the reason I can not mount the drive?  If it
is what can be done to fix the problem.


Any help would be appreciated.


--
Tim Brewer
Supporter of SETI@Home
Stats:6.6*@ 1.51 yrs




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

From: Phillip Pi <[EMAIL PROTECTED]>
Subject: What's the best newsreader for binary downloads?
Date: Sun, 20 May 2001 22:00:25 GMT

I am looking for an easy to use news reader that will let me connect to
multiple news server (must accept username and password prompt, and let
me add custom news server names/IP addresses), multiple connections to
download, be able to resume downloads, etc. The program should be
similar to Windows' NewsBin: http://www.newsbin.com, but I would like a
Linux version newsreader with similar features.

I used to use Tin, but it had problems saving files that had astrophes,
brackets, symbols, etc. Many times, file names would get cut off, get
overwritten, etc.

I am using a Pentium II 300 Mhz with 128 MB of RAM, RedHat Linux v7.1, a
slow PCI video card, and @Home cable modem service. I do not mind if the
newsreader is text-based like Tin (faster this way).

I look forward to receiving replies soon. Thanks in advance! :)
-- 
"What I fear most from the stars is not aliens for they have
intelligence, but I fear social creatures like ants, that can overrun
humans, that feel no emotion, and see us as an easy prey source."
--unknown
--
If you are replying to Ant's news post by e-mail, please kindly remove
ANT in the return e-mail address or the ones listed below. Note: CaSe!
======================================================================
  /\___/\                             Phillip Pi (Ant) from EarthLink.
 / /\ /\ \         E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED],
| |.   .| |                            or [EMAIL PROTECTED]
   \ _ /                     The Ant Farm: http://antfarm.home.dhs.org
    ( )   ICQ UIN: 2223658. Resume: http://apu.edu/~philpi/resume.html

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

From: [EMAIL PROTECTED] (Michael Byrne)
Subject: Autostarting programs
Date: Sun, 20 May 2001 22:15:27 GMT

Hi, How do i start a program such as a mp3player at bootup?

I am running redhat 7

thanks michael

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

Date: Mon, 21 May 2001 00:20:03 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: dummy interface

Dances With Crows wrote:
> 
> On Sat, 19 May 2001 18:34:09 +0200, Michael Heiming staggered into the
> Black Sun and said:
> >"David." wrote:
> >> What happens if I change the name of my dummy interface? I won't
> >> change the numbers, but I find localhost and localdomain a bit too
> >> naf naf...  Couldn't I change it to something "cooler"?
> >Sure you can can change the 127.0.0.1 lo interface to what you want,
> >however this "dummy interface" is not only what it's name suggests,
> >some sw needs it, and is normally pre configured to use "localhost",
> >you would have to change the config. So, I would suggest to really
> >leave the name localhost as it is...
> 
> I think some terms are getting confused here.
>  The dummy network device,
> /dev/dummy0 , is not the same as the loopback network interface
> (127.0.0.1), 

True, that's why I wrote ""dummy"" and "you would have to change the
config", as I assumed the OP really meant lo.

> which is not the same as the machine's hostname
> ("localhost".)  If your machine is not connected to the Net at large, or
> only connected via dialup, then the hostname you choose for the machine
> doesn't matter.
> 
> You can set the hostname for your machine with the "hostname"
> command--generally the boot scripts read a configuration file,
> /etc/rc.config or /etc/sysconfig/hostname , and do this automatically.
> No system software should have hostnames hardcoded,

I meant some system scripts that contain the name localhost.

> although /etc/hosts
> should have an entry for "localhost" that points to 127.0.0.1 .

True and this shouldn't be changed unless someone knows what
he's doing...:-)

[snip]
> --
> Matt G|There is no Darkness in Eternity/But only Light too dim for us to see

Regards

Michael Heiming

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

From: Neil W Rickert <[EMAIL PROTECTED]>
Crossposted-To: comp.mail.sendmail
Subject: Re: child wait process hangs my outgoing emails
Date: 20 May 2001 17:35:59 -0500

Jim Valavanis <[EMAIL PROTECTED]> writes:
>Neil W Rickert wrote:
>> Jim Valavanis <[EMAIL PROTECTED]> writes:

>> >Yea the other process is doing this...
>> >sendmail: ./f4KFaJA14105  ppp1.mydomain.com [192.168.1.41]: DATA

>> Then the body of the message is currently being sent.

>> If there is a problem here, it is likely to be a network problem --
>> not all of the message is getting through, and your sendmail is still
>> waiting for that final "." on a line by itself, to indicate the end
>> of transmission.

>I've tested the mail from the localhost using standard mail with a "."
>at the end, and this seems to work fine.  Why is that when I first
>restart sendmail the first message from a pop client goes through fine,
>though.  But after that the transmission does not complete properly.  

>In netscape, for example,  I'll get "message sent" then waiting for
>reply, until it just times out.

>Any other clues?  You think something got broken in Redhat 7.0, which is
>what I'm running with kernel 2.2.16 (smp)?

You can look in the queue directory.  Corresponding to message
f4KFaJA14105, we would expect the file "dff4KFaJA14105".  What
is in there will tell you roughly what sendmail has received
so far.  Since you can expect some data to be sitting in
buffers, this won't tell you everything.

Also look at the "netstat" line for this connection, to see if it
indicates any data sitting in system network buffers, but not read or
not sent.

>From the PC that is sending the mail, try uploading a moderatly large
file (20K or more) with FTP.  See if that also hangs.


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

Date: Mon, 21 May 2001 00:43:16 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Shell script

Billy wrote:
> 
> If I want to search all the files with .txt which contains the string
> "coomputer". How to write a shell script to sort them out and retrieve top
> 10? I have already write one but not so good. Can I minimize the usage of
> temp file? Thanks.
> 
> !#/bin/sh
> list=`ls | grep .txt`
> for s in $list
> do
> cat $s | grep computer >> temp1
> done
> sort temp1 > temp2
> head -10 temp2 > output

grep computer *.txt | sort | head -10

Michael Heiming

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Autostarting programs
Date: Mon, 21 May 2001 00:30:39 +0200

Michael Byrne <[EMAIL PROTECTED]> wrote:
> Hi, How do i start a program such as a mp3player at bootup?

You don't. It would have to display on an X display, and there isn't one,
until you login. (well, I assume you mean you want the X11 driver output
from mplayer, but then you didn't say a whole lot about what you want).

> I am running redhat 7

I suggest you configure it to start an X session automatically on
some console, on your behalf, and stick mplayer whassit in your session
startup files. Somewhere in your .Xsession or .Xclient or .xinitrc should
do fine.

Peter

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

From: [EMAIL PROTECTED] (John Cordes)
Subject: Re: Shell script
Date: Sun, 20 May 2001 23:03:46 +0000 (UTC)

On Mon, 21 May 2001 00:43:16 +0200, Michael Heiming <[EMAIL PROTECTED]> wrote:
> Billy wrote:
>> 
>> If I want to search all the files with .txt which contains the string
>> "coomputer". How to write a shell script to sort them out and retrieve top
>> 10? I have already write one but not so good. Can I minimize the usage of
>> temp file? Thanks.
>> 
>> !#/bin/sh
>> list=`ls | grep .txt`
>> for s in $list
>> do
>> cat $s | grep computer >> temp1
>> done
>> sort temp1 > temp2
>> head -10 temp2 > output
> 
> grep computer *.txt | sort | head -10
> 
> Michael Heiming


 I'd be inclined to suggest something along the lines of

 find . -type f -name '*.txt' | xargs grep -l computer | sort | head -10

 This will just list the names of the files found which match the
 conditions.

  -- 
  John


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

From: [EMAIL PROTECTED] (Michael Byrne)
Subject: Re: Autostarting programs
Date: Sun, 20 May 2001 23:10:48 GMT

Hi, Michael again
Thankyou for replying
I actually have a console mp3player (mp3blaster) which is quite good.
you can start it playing a play list with one command. but I dont know
if i can start it at boot without logging in. Perhaps not, from what
you are saying!

Michael

On Mon, 21 May 2001 00:30:39 +0200, "Peter T. Breuer"
<[EMAIL PROTECTED]> wrote:

>Michael Byrne <[EMAIL PROTECTED]> wrote:
>> Hi, How do i start a program such as a mp3player at bootup?
>
>You don't. It would have to display on an X display, and there isn't one,
>until you login. (well, I assume you mean you want the X11 driver output
>from mplayer, but then you didn't say a whole lot about what you want).
>
>> I am running redhat 7
>
>I suggest you configure it to start an X session automatically on
>some console, on your behalf, and stick mplayer whassit in your session
>startup files. Somewhere in your .Xsession or .Xclient or .xinitrc should
>do fine.
>
>Peter


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

From: [EMAIL PROTECTED]
Subject: Re: A CPU cooler for Linux?
Date: 21 May 2001 07:16:28 +0800

>>>>> "SammyTheSnake" == SammyTheSnake  <[EMAIL PROTECTED]> writes:

    SammyTheSnake> In article <[EMAIL PROTECTED]>, John
    SammyTheSnake> Hasler wrote:
    >> SammyTheSnake writes:
    >> 
    >>> if the cpu'd understood hlt (didn't, crappy 386 ;)...
    >>  My 386 Reference Manual disagrees with you on this point.

    SammyTheSnake> my 386 cpu disagrees with your manual on this
    SammyTheSnake> point, though!

I think the  HLT instruction have been there in  the ix86 family since
the 8086.  (I remember learning this instruction during the DOS era.)


-- 
Lee Sau Dan                     ���u��(Big5)                    ~{@nJX6X~}(HZ) 
.----------------------------------------------------------------------------.
| e-mail: [EMAIL PROTECTED]                     http://www.csis.hku.hk/~sdlee |
`----------------------------------------------------------------------------'

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

From: Amy <[EMAIL PROTECTED]>
Subject: Deleting a partition On Windows Me...
Date: Sun, 20 May 2001 23:30:07 -0000

I just recently tried installing linux on my computer, and I partitioned 
my hard drive.
My computer messed up after I installed linux so I reinstalled Windows ME
and formatted my hard drive and everything, I thought it all would be the 
way it first was, now I notice instead of having a 20 GB hard drive it is 
now only 11 GB I have a feeling it has something to do with the partition.
Can anyone tell me how to get rid of it so I can have my full hard drive 
again? It would be preffered if it didn't erase any of my Data, Thank 
you :)

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

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

From: [EMAIL PROTECTED] (H Dziardziel)
Subject: Re: A CPU cooler for Linux?
Date: Sun, 20 May 2001 23:44:00 GMT

On Sat, 19 May 2001 13:21:54 +0100, [EMAIL PROTECTED]
(SammyTheSnake) wrote:


snips
>>
>>> which indicates that your kernel successfully found and has activated use of
>>> the hlt instruction.
>>
>>>>> Of course, you may have more processes running in linux than in windows
>>>>> that would prevent the cpu from staying idle long.  :)
>>>>
>>>>I let Linux idled for a few hours :).
>>
>>> I think he means the multitude of background processes that run on a typical
>>> linux box, telnetd, inetd, apache (on a surprisingly large number of boxen
>>> when it's really not needed on most!) and a squillion other little daemons.
>>> OTOH, even between them they tend to spend most of their time waiting for
>>> something to do and v. little of it actually doing anything :) for example:
>>
>>Even if the CPU load is at 0? Hmm... Windows was cooler in idled mode [grin].
>
>well, as I don't own any M$ stuff, I can't investigate this interesting
>situation myself...
>
>Cheers & God bless
>SammyTheSnake
>-- 

Hello, this thread had been very instructive, thank you all.  If I
could add to it;  my ammeter checks on several laptops (fairly easy to
tap into the power for measuring) have have shown that for the mobile
pentium family, hlt enabled w9x (either intrinsic or with a utility)
gave about 10-20% better (lower) consumption when ostensibly idle ie.,
no keyboard, network, program etc input, over Linux in terminal and/or
X.     I have not checked the wNT family.  Based on my very limited
knowledge of Linux I wonder if perhaps the clock being a soft clock as
opposed to w9x using the hardware clock, and the other Linux network,
housekeeping scheduled processes are what account for the difference?
This small difference would be significant in a laptop only if the
normal laptop usage pattern is well ruminated text (adding perhaps
10-15 minutes to the average battery life)?  And the cooling equally
not that much different.  Regards


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

From: Frank Johnson <[EMAIL PROTECTED]>
Subject: Re: Sharing net connection w/o LRP
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.setup
Date: Sun, 20 May 2001 23:43:57 GMT

Michael Pye wrote:

> I am going to get cable access and I would like to distribute it all round
> my home network with an old P100.
> 
> However, I don't wish to use the Linux Router Project for this sort of
> thing because it would also like to run a web server etc on it. Can anyone
> point me in the right direction?
> 
I think you can use Freesco www.freesco.oorg but I might be wrong.  You 
could also take a look at http://clarkconnect.org.  Personally I use 
smoothwall because I don't need a webserver and it is more secure to have 
as few services as possible running on your internet gateway machine.

Frank


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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Autostarting programs
Date: Mon, 21 May 2001 01:35:51 +0200

Michael Byrne <[EMAIL PROTECTED]> wrote:
> On Mon, 21 May 2001 00:30:39 +0200, "Peter T. Breuer" <[EMAIL PROTECTED]> wrote:
>>Michael Byrne <[EMAIL PROTECTED]> wrote:
>>> Hi, How do i start a program such as a mp3player at bootup?
>>I suggest you configure it to start an X session automatically on
>>some console, on your behalf, and stick mplayer whassit in your session
>>startup files. Somewhere in your .Xsession or .Xclient or .xinitrc should
>>do fine.
> I actually have a console mp3player (mp3blaster) which is quite good.
> you can start it playing a play list with one command. but I dont know
> if i can start it at boot without logging in. Perhaps not, from what

Well, of course you can. What stops you adding it to one of the bootup
scripts? rc.local is precisely for that.

Peter

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


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