Linux-Misc Digest #943, Volume #26 Sat, 27 Jan 01 21:13:02 EST
Contents:
Re: what news reader do you use? (Edwin Johnson)
Re: making copy of RH bootable CD on Windoze box (Paul Lew)
Does this Linux application exist? (Robert Jones)
zip usb (Patrick Machado)
Issues with RPC & NFS (not happy!) (Michael D Lee)
Re: How to put LILO in 1st sector of boot partition ? (Patrick Machado)
Re: kernel 2.4.0 ate my eth0; att@home cable modem (Pat Heuvel)
Re: <time.h> clock() function in gcc 2.91.66 on Linux (Rene Girard)
Linux on eTower 600is (Phillip Lineburg)
Re: How to put LILO in 1st sector of boot partition ? ("Arctic Storm")
Re: How to put LILO in 1st sector of boot partition ? ("Arctic Storm")
Re: How to use VNC? ([EMAIL PROTECTED])
Re: Linux on eTower 600is (Dances With Crows)
Re: How to put LILO in 1st sector of boot partition ? (Patrick Machado)
Re: channel 0: istate 4 != open (John Gotts)
Re: MS to Enforce Registration - or Else (Johan Kullstam)
Re: $/.bashrc aliases que (Mike Mcclain)
Re: Inodes (Mike Mcclain)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Edwin Johnson)
Crossposted-To: linux.redhat.misc
Subject: Re: what news reader do you use?
Reply-To: [EMAIL PROTECTED]
Date: 28 Jan 2001 00:12:16 GMT
slrn is a great and efficient little reader. ...Edwin
On Sat, 27 Jan 2001 01:32:59 -0500, JuanMa <[EMAIL PROTECTED]> wrote:
>On Sat, 06 Jan 2001 04:19:22 GMT, "blix" <[EMAIL PROTECTED]>
>wrote:
>
>>I am currently using PAN... it seems to be the closest to the newsreader
>>I am used to on my Windows machine (MS Outlook Express).
>>
>>But I've been trying to use emacs to read the news but find it very
>>non-intuitive and cumbersome. Is it worth it to learn to read the news in
>>emacs?
>>
>>What news readers do you all use?
>>
>>Thanks in advance,
>>blix
>
>
>Newbie wise. Which one would you recommend?
>
>Thank You.
>
>
>
>Take Care.
>
>JuanMa
>[EMAIL PROTECTED]
>
>Remove the last .com to reply
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Edwin Johnson ....... [EMAIL PROTECTED] ~
~ http://www.shreve.net/~elj ~
~ ~
~ "Once you have flown, you will walk the ~
~ earth with your eyes turned skyward, ~
~ for there you have been, there you long ~
~ to return." -- da Vinci ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------
From: [EMAIL PROTECTED] (Paul Lew)
Subject: Re: making copy of RH bootable CD on Windoze box
Date: Sun, 28 Jan 2001 00:25:34 GMT
On Sat, 27 Jan 2001, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>OK, so I have RH 6.0 purring along, and would like to make a copy of
>the bootable install CD. However, I only have CD burners for my
>various Windoze boxes. I tried doing a basic disk copy using the
>latest flavour of Adaptecs software for doing same, but the copied CD
>does not boot when I restart the Linux box.
>
>I'm sure there are a few switches that need to be flipped - 'little
>help'? :-)
>
How about using the "disk at once" feature of ez cd creator? or just their
cd to cd copy? Just don't do the copy like files copying as what you want
is to do a cdcopy version of the dos diskcopy for a floppy.
------------------------------
From: Robert Jones <[EMAIL PROTECTED]>
Subject: Does this Linux application exist?
Date: Sat, 27 Jan 2001 18:28:00 -0600
I have a project in mind and I'd like to use existing software if it
exists. Any URLs or "man xxx" replies would be appreciated. What I'd
like to do is monitor a serial port for a contact closure and when one
is detected, dial several (3 or 4) phone numbers. I know the UPS
software I use (powstatd) could probably be bent a little to handle the
first requirement, but I don't know about having it dial phone numbers.
TIA
------------------------------
From: Patrick Machado <[EMAIL PROTECTED]>
Subject: zip usb
Date: Sun, 28 Jan 2001 00:28:46 +0000
does anybody know how to setup a usb zip in linux?
tanx
------------------------------
From: Michael D Lee <[EMAIL PROTECTED]>
Subject: Issues with RPC & NFS (not happy!)
Date: Sun, 28 Jan 2001 00:31:53 -0800
The scenario is thus:
One pure linux box running 2.2.16, being used as firewall & IP
masquerade & httpd server.
Second Box - Dual boot Linux/Windoze machine acting as NFS for web
server & SMB file server for 3 further Windoze boxes.
Problem - cannot mount NFS filesystems on any remote machines either SMB
windows or NFS
to linux. Linux reports that RPC is not registered, and now I'm lost
:-o
I've followed the Samba How-to, but it's a little out of date and not
too much use. I'm not sure,
but I believe it has something to do with the order the daemons are run
in. I'm not sure what daemons/ files are associated with RPC,NFS & SMB,
and need a little help here.
Anyone care to puppy walk me through this one? (I am a Linux newbie btw)
Please copy me by email also - news evaporates a little too quickly.
Regards
Mick
------------------------------
From: Patrick Machado <[EMAIL PROTECTED]>
Subject: Re: How to put LILO in 1st sector of boot partition ?
Date: Sun, 28 Jan 2001 00:38:30 +0000
you can use lilo.conf specifying the boot partition or you can simply use dd
to work with bootsectors. for example, to make a backup copy of a bootsector
in a partition, say, hda1, you could do:
dd if=/dev/hda1 of=bootsect.hda1 bs=512 count=1
if you want to recover later you do:
dd if=bootsect.hda1 of=/dev/hda1 bs=512 coount=1
in the same way you could copy hda1 bootsector to hda2 bootsector:
dd if=/dev/hda1 of=/dev/hda2 bs=512 count=1
--Patrick Machado
Arctic Storm wrote:
> How to put LILO in 1st sector of boot partition ?
> When I installed RedHat 7, I was given the option to put LILO boot
> record on the MBR (Master Boot Record) or the first sector of the boot
> partition. I chose to put the LILO on the first sector of the boot
> partition. This setup worked great for triple boot with Win2K &
> Win98SE; I gave control to NT Loader.
> How do you do this is Mandrake? Mandrake gives you an option between
> LILO and Grub, but doesn't allow you to specify the location. LILO was
> put in the MBR, and I'm not happy with that.
> If you know how to put LILO in the first sector of the boot partition in
> Mandrake, please share.
> Thanks.
------------------------------
Date: Sun, 28 Jan 2001 11:38:46 +1100
From: Pat Heuvel <[EMAIL PROTECTED]>
Subject: Re: kernel 2.4.0 ate my eth0; att@home cable modem
Gday John,
John Hunter wrote:
>
> When I installed
>
> I recently installed the 2.4.0 kernel and found I had lost my network
> connection (ATT@home cable modem w/ ethernet card).
>
> According to 'dmesg', when run on the kernel that it is working under
> 2.2.14 (RHL 6.2), that card is:
>
> eth0: SMC1211TX EZCard 10/100 (RealTek RTL8139) at 0xda00, IRQ 10, 00:e0:29:6e:81:d7.
>
If you are using the 8139too.o module, you'll also need to check
/etc/modules.conf, and change the line "alias eth0 rtl8139" to "alias
eth0 8139too".
<...>
>
> Thanks,
> John Hunter
HTH,
Pat
------------------------------
From: Rene Girard <[EMAIL PROTECTED]>
Subject: Re: <time.h> clock() function in gcc 2.91.66 on Linux
Date: Sun, 28 Jan 2001 01:03:47 GMT
"D. Stimits" wrote:
> Rene Girard wrote:
> >
> > I do not know if this is the appropriate newsgroup to ask the question
> > below. If it is not , please
> > indicate to which newsgroup I should submit the question below.
> >
> > I am running Caldera eDesktop 2.4 Linux OS on a P166 with 80 MB of RAM.
> > I am trying to use
> > the "clock()" function of the <time.h> header to time the execution of a
> > set of C++ statements with
> > gcc 2.91.66. A sample of the code look like this:
> >
> > #include <time.h>
> >
> > clock_t tstart, tend;
> > double t1;
> >
> > tstart = clock();
> > .
> > .
> > set of C++ statements ( mainly loops)
> >
> > .
> > .
> > tend = clock();
> >
> > // calculate the execution time
> >
> > t1 = (tend - tstart)/CLK_TCK;
>
> I noticed in the man page that CLK_TCK is the incorrect thing to divide
> by in linux. According to the man page, you should divide by
> CLOCKS_PER_SEC.
>
> >
> > I tried this code with Borland C++ v4.52 and v5.01 under Win95, Win
> > NT4.0 and Win 2000 and it works fine i.e. the values obtained for "t1"
> > are reasonable when compare to my watch. Of course the values calculated
> > by the program under thos OS is more accurate than my watch but the time
> > measured by the watch is of the same order of magnitude. Under these OS
> > CLK_TCK which is the number of "tick" per second, is equal to 1000. When
> > I am trying to do the same thing with gcc 2.91.66 under Linux the
> > program calculates very large execution time i.e. "t1" above is very
> > large > 10000 seconds and CLK_TCK is equal to 100.
> >
> > I would like to know what I should do to use the function clock() of
> > <time.h> corectly. I am puzzled that it does not work well with gcc
> > 2.91.66 under Linux as it is an ANSI C++ function.
> >
> > Thank for your help
> >
> > [ Send an empty e-mail to [EMAIL PROTECTED] for info ]
> > [ about comp.lang.c++.moderated. First time posters: do this! ]
Thank you for your help. I am new to Linux and I did not realise that the
"man" command covers
these aspect of gcc.
Regards
------------------------------
From: Phillip Lineburg <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.help
Subject: Linux on eTower 600is
Date: Sun, 28 Jan 2001 01:17:13 GMT
Hi folks.
I bought an eTower machine not that long ago and just installed Mandrake
7.0
The system has been unable to recognize my video "card," sound "card,"
and a generic PCI 10/100 NIC.
I've been able to run X windows in vga 16.
Any help would be appreciated.
Hardware (eTower 600is):
Video: Intel(r) 82810 Graphics Controller
Sound: Crystal SoundFusion CS4281
NIC: Generic PCI 10/100 Fast Ethernet adapter
Thanks and all the best,
Phil
------------------------------
From: "Arctic Storm" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: How to put LILO in 1st sector of boot partition ?
Date: Sun, 28 Jan 2001 01:31:11 GMT
> >How to put LILO in 1st sector of boot partition ?
> >When I installed RedHat 7, I was given the option to put LILO boot
> >record on the MBR (Master Boot Record) or the first sector of the boot
> >partition. I chose to put the LILO on the first sector of the boot
> >partition. This setup worked great for triple boot with Win2K &
> >Win98SE; I gave control to NT Loader.
> >How do you do this is Mandrake? Mandrake gives you an option between
> >LILO and Grub, but doesn't allow you to specify the location. LILO was
> >put in the MBR, and I'm not happy with that.
> >If you know how to put LILO in the first sector of the boot partition in
> >Mandrake, please share.
> >Thanks.
>
> Taken from the Linux/NT HOWTO
> (http://www.linuxdoc.org/HOWTO/mini/Linux+NT-Loader-3.html):
>
> "When you caome to the Lilo-Section, specify your Linux root-partition as
your
> boot device because the Master Boot Record (MBR) of your harddisk is owned
by
> Windows NT. This means that the root-entry and the boot-entry in your
> /etc/lilo.conf have the same value. If you have a IDE-harddisk and your
> partition is the second partition, your boot-entry in /etc/lilo.conf
looks
> like:
>
> boot=/dev/hda2"
>
> I.E. for installing on first sector, specify the disk with partition
number,
> rather than just the disk.
When you install Mandrake, the option to specify the location is never
presented.
------------------------------
From: "Arctic Storm" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: How to put LILO in 1st sector of boot partition ?
Date: Sun, 28 Jan 2001 01:34:41 GMT
> > How to put LILO in 1st sector of boot partition ?
>
> Edit the file /etc/lilo.conf, change the line boot=/dev/hda to point
> to your boot partition (/dev/hda0, or whatever), then run /sbin/lilo
You seem to have misunderstood my question.
The LILO boot record is placed on the MBR by Mandrake.
MBR originally had info regarding Win2K boot, but now, it has LILO boot
record.
Your proposal does not correct the problem.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: How to use VNC?
Date: Sun, 28 Jan 2001 01:36:56 GMT
Arctic Storm <[EMAIL PROTECTED]> wrote:
> Hmmm,.... I thoughth that telnet transmits passwords in clear text, raising
> the issue of security risk.
VNC does not encrypt either, so I'd only use it if you trust everyone
who can sniff your packets. IOW, not on the Internet, at least w/o
adding encryption.
I do remember reading something about adding encryption on the VNC web
page. (http://www.uk.research.att.com/vnc/)
Here is an excerpt:
After that the data is unencrypted and could, in theory, be
watched by other malicious users, though it's a bit harder to snoop a
VNC session than, say, a telnet, rlogin, or X session. Since VNC
runs over a simple single TCP/IP socket, it is easy to add support for
SSL or some other encryption scheme if this is important to
you, or to tunnel it through something like SSH or Zebedee.
BTW, VNC is a really handy program, I highly recommend it.
--
Jim Buchanan [EMAIL PROTECTED] [EMAIL PROTECTED]
=================== http://www.buchanan1.net/ ==========================
"A distributed system is one in which the failure of a computer you
didn't even know existed can render your own computer unusable."
-Les Lamport
================= Visit: http://www.thehungersite.com ==================
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: alt.os.linux,comp.os.linux.help
Subject: Re: Linux on eTower 600is
Date: 28 Jan 2001 01:49:55 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 28 Jan 2001 01:17:13 GMT, Phillip Lineburg staggered into the
Black Sun and said:
>I bought an eTower machine not that long ago and just installed Mandrake
>7.0
>The system has been unable to recognize my video "card," sound "card,"
>and a generic PCI 10/100 NIC.
>I've been able to run X windows in vga 16.
>Any help would be appreciated.
>Hardware (eTower 600is):
>Video: Intel(r) 82810 Graphics Controller
Ah yes, the i810. Get a newer kernel; Mandrake 7.0's stock kernel is
kind of old and doesn't have the /dev/agpgart device support you need to
make the i810 work. You'll probably need a newer X-server too. Search
comp.os.linux.hardware for keyword "i810" using deja.com/home_ps.shtml
and see what you dig up; there are a few guides to doing this right but
I disremember the exact URL.
>Sound: Crystal SoundFusion CS4281
Again, get a newer kernel; the 4281 isn't supported in (..looks...)
2.2.15 or previous models, but it is in 2.2.18.
>NIC: Generic PCI 10/100 Fast Ethernet adapter
No such thing as a generic NIC. What's "cat /proc/pci" tell you about
the Ethernet card? Either it's an NE2000 compatible (use ne2k-pci) or
it's an RTL8139 (use rtl8139) most likely, as these are the cheapest
NICs around.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: Patrick Machado <[EMAIL PROTECTED]>
Subject: Re: How to put LILO in 1st sector of boot partition ?
Date: Sun, 28 Jan 2001 01:51:39 +0000
Arctic Storm wrote:
> > > How to put LILO in 1st sector of boot partition ?
> >
> > Edit the file /etc/lilo.conf, change the line boot=/dev/hda to point
> > to your boot partition (/dev/hda0, or whatever), then run /sbin/lilo
>
> You seem to have misunderstood my question.
> The LILO boot record is placed on the MBR by Mandrake.
> MBR originally had info regarding Win2K boot, but now, it has LILO boot
> record.
> Your proposal does not correct the problem.
I think once overwritten, the bootsector cannot be recovered unless you got
a copy
------------------------------
From: [EMAIL PROTECTED] (John Gotts)
Crossposted-To: alt.os.linux.mandrake,alt.os.linux
Subject: Re: channel 0: istate 4 != open
Reply-To: [EMAIL PROTECTED]
Date: Sun, 28 Jan 2001 01:52:46 GMT
On Fri, 26 Jan 2001 09:40:11 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>I get this weird error when I try to start a graphical application on
>the server after logging in with ssh:
>channel 0: istate 4 != open
>channel 0: ostate 64 != open
>X connection to my.host.name:11.0 broken (explicit kill or server
>shutdown).
>I did enable XForwarding in sshd_config and I login with
>ssh -X my.host.name
>so XForwarding is supposed to work, but it doesn't. What can be wrong?
Are you trying to run something as root?
John
------------------------------
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: Sun, 28 Jan 2001 02:03:40 GMT
"Aaron R. Kulkis" <[EMAIL PROTECTED]> writes:
> Johan Kullstam wrote:
> >
> > "Aaron R. Kulkis" <[EMAIL PROTECTED]> writes:
> >
> > > "." wrote:
> > > >
> > > > In comp.os.linux.advocacy Harlan Grove <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > Finally, as for US politics, better bland/boring politics and a diverse
> > > > > and vibrant society than the reverse.
> > > >
> > > > I think we can all agree that what happened in florida during this past
> > > > election could be defined at the very least as a highly disorganized and
> > > > flawed state electoral system.
> > >
> > >
> > > No...merely corrupt Demoncrook National Committee people playing
> > > footsie with corrupt Demoncrook county election officials and even
> > > more corrupt Demoncrook Florida Supreme Starchamber
> > > dictat^H^H^H^H^^H^Hjustices.
> >
> > the only difference was that the republicrooks owned the higher
> > court. they are both equally bogus.
> >
>
> What part of "Federal law dictates that the rules of an election
> can NOT be changed after the voting has started" do you not
> understand?
what part about vote fraud do you not understand?
--
J o h a n K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!
------------------------------
From: [EMAIL PROTECTED] (Mike Mcclain)
Subject: Re: $/.bashrc aliases que
Date: Sun, 28 Jan 2001 02:04:01 GMT
Howdy,
Maybe this is simplistic, but based in what you've posted
I'd suggest a typo.
-=> [EMAIL PROTECTED] wrote to ALL <=-
PA> Okay, I tried
PA> export BASH_ENV=$HOME/.bashrc
PA> . $HOME/.bashrc
^ is there really a space here?
PA> in my .bash_profile, and it just gets me a message saying:
PA> bash: ./home/pargoo/.bashrc: No such file or directory
^ this implies not.
PA> I am REALLY confused...
We've all been there.
Good luck,
MiKe
--- MultiMail/Linux v0.31
------------------------------
From: [EMAIL PROTECTED] (Mike Mcclain)
Subject: Re: Inodes
Date: Sun, 28 Jan 2001 02:04:01 GMT
Howdy,
Here's what I get:
slak70:~> df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/hdc8 257040 67389 189651 26% /
slak70:~> df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hdc8 995115 908041 35668 96% /
My /tmp tends to collect little files that are never touched again
unless I clean them out occasionally. I've run across references
to scripts that run from cron cleanout /tmp regularly, but haven't
messed with it, maybe you need to check it out. You might away with
making /tmp a link to /home/tmp, not sure. Anybody know if /tmp is
needed durring boot?
Good luck,
Mike
-=> [EMAIL PROTECTED] wrote to ALL <=-
KI> when I run df -i I get the following
KI> Filesystem Inodes IUsed IFree IUse% Mounted on
KI> /dev/sda5 189k 189k 40 100% /
KI> /dev/sda1 3.9k 59 3.9k 1% /boot
KI> /dev/md0 864k 46k 818k 5% /home
KI> How do I free up the root directory? I have removed all the .core
KI> files, removed excess log files.
--- MultiMail/Linux v0.31
------------------------------
** 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
******************************