Linux-Misc Digest #136, Volume #28 Sun, 17 Jun 01 17:13:02 EDT
Contents:
Re: Opening tgz files in MS Windows (Robert Heller)
Which Linux distribution should I better install ? (Olivier Mascia)
how do i network a linux box with win98? (alpha)
Re: Splitting large OGG or WAV files (quasimoto)
Re: Opening tgz files in MS Windows (Greg Chicares)
Lilo and IDE2/primary (Darian Patrick)
Re: Can you make your own "Tivo"? (William Burrow)
Re: how do i network a linux box with win98? (Chris Bragg)
Re: Linux, DAT and DOS Tapes (Jean-David Beyer)
Re: HELP: restore linux from backup (Carl Fink)
Re: any Iomega ZIP USB users? (Leonard Evens)
Pan newsreader program - can't post (maddman)
----------------------------------------------------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Opening tgz files in MS Windows
Date: 17 Jun 2001 19:21:37 GMT
[EMAIL PROTECTED] (phil hunt),
In a message on Sun, 17 Jun 2001 17:08:46 +0100, wrote :
ph> On Sun, 17 Jun 2001 14:22:30 GMT, Isaac <[EMAIL PROTECTED]> wrote:
ph> >On Sun, 17 Jun 2001 12:53:09 +0100, phil hunt <[EMAIL PROTECTED]>
ph> >wrote:
ph> >>
ph> >>I was under the impression that WinZip could deal with .tgz
ph> >>and .tar.gz files (same file format, different extension)? Is
ph> >>this not the case? Or is there some subtle problem with GNU tar?
ph> >
ph> >I have been able to open tar files using WinZip on windows NT. I
ph> >know I opened a couple last week at work.
ph>
ph> Could you do me a favour please and have a look at:
ph>
ph> http://www.vision25.demon.co.uk/oss/parrot/parrot-0.2.6.tgz
ph>
ph> and:
ph>
ph> http://www.vision25.demon.co.uk/oss/stes/stes-0.1.tgz
ph>
ph> Can you unpack these correctly?
I just did an experiment:
sauron.deepsoft.com% lynx -mime_header
http://www.vision25.demon.co.uk/oss/stes/stes-0.1.tgz | & less -X
HTTP/1.0 200 OK
Date: Sun, 17 Jun 2001 18:49:15 GMT
Server: thttpd/1.00.disbu
Content-type: text/plain
Content-length: 36755
Last-modified: Fri, 01 Sep 2000 01:24:54 GMT
...
Something noteworthy:
'Content-type: text/plain' -- I *know* this is not right!
I think you need to add a line like:
AddEncoding x-gzip tgz
to one of the config files for your webserver
Assuming that your server is a UNIX box, transmitting a *binary file*
to another UNIX box in text mode is *generally* harmless, but to a
MS-Win box, all of the '\n' line characters are being replaced with
'\r\n' sequences, which is sure to confuse WinZip.
ph>
ph> > I didn't notice
ph> >whether those files had .tgz or tar.gz extensions but I suspect
ph> >that they were tar.gz. I really don't see many files with .tgz
ph> >extentions anymore. I think that naming practice was more popular
ph> >when both windows and linux allowed fairly short file names.
ph>
ph> I started using .tgz in 1999 when I released parrot, which is
ph> written in Python and should run on Windows and Mac boxes as
ph> well as Linux/Unix.
ph>
ph> >>Do I need to save the packages as .zip archives, for Windows
ph> >>users to be able to unpack them?
ph> >
ph> >A zip would be best because not everyone has WinZip, but infozip
ph> >is free. It's reasonable to tell people to grap Infozip's unzip
ph> >program, but that won't handle tar files. Hopefully you
ph> >are providing the Windows users with files that use the DOS
ph> >line terminators which means a separate archive anyway.
ph>
ph> At the moment there is only one archive per package, the .tgz
ph> one. A complexity here is that just because it's a .zip file,
ph> doesn't mean it will be used by a Windows user -- it could be
ph> a Unix or Mac user. Of the open source programs available on my
ph> site, one is Unix-specific but the other 3 should run on Win
ph> of Mac boxes with few changes, or indeed on other environments that
ph> run C++ or Python.
ph>
ph> I am thinking of writing a utility that will do the tarring and
ph> zipping, and automatically upload to the website and other stuff.
ph> It'll be written in Python and user configurable so people can
ph> adapt it to their requirements.
ph>
ph> > I think
ph> >you can use infozip with the right parameters to fix the line
ph> >terminations on the fly.
ph>
ph> Yes, in infozip the -l and -ll options do this.
ph>
ph> --
ph> ## Philip Hunt ##
ph> ## [EMAIL PROTECTED] ##
ph>
ph>
ph>
ph>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: Olivier Mascia <[EMAIL PROTECTED]>
Subject: Which Linux distribution should I better install ?
Date: Sun, 17 Jun 2001 21:21:27 +0200
Hi, That's surely a dumb classical question.
I was used to unixes until 1995 and developed a lot of applications (C) on
multiple Unix systems by that time.
Had to switch to Windows 'Chicago' (became '95), NT4 and Windows 2000 since
then for business reasons. Now, want to come back to Unixes more and more,
for professionnal and hobby reasons.
I have installed a Red Hat 7.1 distribution (from ISO images available on
their servers). Just spent two days (and nights) shaking that install to
discover a lot and refresh my mind, both on user point of view, but also on
C/C++ developer point of view.
If you have been kind enough to read this until here, based on your own
personal experience, what distribution would you recommend me for my
pleasure ?
( The kernel itself is what is most important to me, so a distribution
known to track kernel development closely will be higher on my shopping
list. But among those (I hope there are some filling at least that
requirement), I'd like to select a distribution which bring some goodies. I
need an office suite, excellent email connectivity (I already miss IMAP
which I was used to under Windows). As much developer's tools as possible
(C/C++ compiler, and all that could follow). Web server (development
purposes), ftp server (same reason). My choice of database is InterBase /
Firebird. )
Thank you very much,
--
Olivier <omascia (at) ieee (dot) org>
( if you need to email me, you'll know how to correct the above address :-)
------------------------------
From: [EMAIL PROTECTED] (alpha)
Subject: how do i network a linux box with win98?
Date: 17 Jun 2001 12:26:19 -0700
Hi everyone
right now, i have a small Lan of two computers running win98 &
connected to the internet through a cable. i am determined to format
one of them & put linux in... (probably Libernet since my friend said
it's a pretty good distro for newbies) My qusetion now is, if i set up
my linux box as a server , win98 as a client, how do i get them
connected? i heard that i can install samba on linux. is it easy to
use? do i have to install samba on the win98 machine also? can samba
be set up so that i can share the internet access? if i dont use
samba, can i use VMware, set up virtual win98 on the linux then share
the internet using ICS inside virtual win98?
i know that 's a lot a questions.. thx in advance
[EMAIL PROTECTED]
------------------------------
From: quasimoto <[EMAIL PROTECTED]>
Subject: Re: Splitting large OGG or WAV files
Date: Sun, 17 Jun 2001 12:37:01 -0700
florian schmidt wrote:
> On Sat, 16 Jun 2001 10:34:25 -0700, quasimoto <[EMAIL PROTECTED]>
> wrote:
>
>>I've got an audio file in WAV format that is 1.1 GB in size--too big for a
>>CD. The original file was in OGG format (22 MB) which I needed to convert
>>to WAV in order to distribute to friends who use Windows exclusively.
>>Initially, the converted file is <only> 547 MB but I can't burn it to CD
>>using cdrecord, because cdrecord will only accept stereo WAV and the file
>>is mono. When I use sox to create a stereo (2-channel) WAV the file
>>balloons to 1.1 GB.
>>
>>Is there a way to split an OGG or a WAV file so that it can be burned to
>>two CDs? If not, is there any other way around this problem? (I don't
>>have a DVD.)
>
> sure there is splitting programs. i don't know any title, but with the
> aid of search engines it shouldn't be no prob to find one..
>
> but another thing: why don't u just burn a data-cd. as i can see it, u
> are trying to burn the track as an audio-cd. and the audio cd format
> is 44.100khz, sterero, 16 bits. but nobody keeps u from just burning
> this file as ordinary data. then it can't be played in a cd player,
> but your frinds with their computers can play it..
>
>
> p.s. the programs to split and join are called ... yup
>
> "split" and "join"
>
> type in "man split"nd u will be happier..
>
To be honest, I didn't know that cdrecord was converting the WAV to audio
cd format--but that is irrelevant, since the size of the file (1.1 GB) is
too big to fit on CD even as a simple data file. In any case, the solution
proved to be simple as your suggestion to use the "split" utility did the
trick. It seems there is no end to the variety of LInux tools
available--the biggest problem is knowing where to look!
--
I use GNU/Linux and support the Free Software Foundation. This message was
composed and transmitted using Free software, licensed under the General
Public License.
------------------------------
From: Greg Chicares <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.apps.misc,gnu.misc.discuss
Subject: Re: Opening tgz files in MS Windows
Date: Sun, 17 Jun 2001 16:18:10 -0400
[comp.os.ms-windows.programmer.misc trimmed only because I don't read it]
phil hunt wrote:
>
> On Sun, 17 Jun 2001 14:22:30 GMT, Isaac <[EMAIL PROTECTED]> wrote:
> >On Sun, 17 Jun 2001 12:53:09 +0100, phil hunt <[EMAIL PROTECTED]>
> >wrote:
> >>
> >>I was under the impression that WinZip could deal with .tgz
> >>and .tar.gz files (same file format, different extension)?
Yes, that works here.
> >I have been able to open tar files using WinZip on windows NT. I
> >know I opened a couple last week at work.
>
> Could you do me a favour please and have a look at:
>
> http://www.vision25.demon.co.uk/oss/parrot/parrot-0.2.6.tgz
>
> and:
>
> http://www.vision25.demon.co.uk/oss/stes/stes-0.1.tgz
>
> Can you unpack these correctly?
No. I suspect this file is corrupt:
C:\>gzip -d stes-0_1.tgz
gzip: stes-0_1.tgz: invalid compressed data--crc error
Try creating the archive again and see whether you can
extract from it; perhaps there was a transmission error
when it was uploaded.
This file seems to have a different problem:
C:\JUNK>gzip -d parrot-0_2_6.tgz
parrot-0_2_6.tgz: file not found
Yet it really does exist:
C:\>attrib *.tgz
A STES-0_1.TGZ C:\JUNK\stes-0_1.tgz
A PARROT~1.TGZ C:\JUNK\parrot-0_2_6.tgz
> >>Do I need to save the packages as .zip archives, for Windows
> >>users to be able to unpack them?
Personal opinion: don't change.
------------------------------
From: Darian Patrick <[EMAIL PROTECTED]>
Subject: Lilo and IDE2/primary
Date: 17 Jun 2001 20:29:44 GMT
I've been struggling to get Linux to but from Win2K loader. Normally this is
a simple task for me to do. However the problem is that /boot is not above
cylinder 1024 and is not on the primary hard drive. It is on IDE2 as the
primary drive. I need Lilo to write the boot record to /dev/hdc2 and it
appears to do that but it gives me a warning saying "/dev/hdc2 is not on the
first hard drive" or something in along those lines. I've read the manpage
for Lilo and can't figure out if I'm missing any particular command hooks.
If anyone has had this problem before, or knows of a possible solution, your
help would be greatly appreciated.
dap
http://home.config.com/~dpatrick/
------------------------------
From: [EMAIL PROTECTED] (William Burrow)
Subject: Re: Can you make your own "Tivo"?
Date: Sun, 17 Jun 2001 20:29:06 -0000
Reply-To: [EMAIL PROTECTED]
On Sun, 17 Jun 2001 01:21:34 -0400 in comp.os.linux.misc,
Glitch <[EMAIL PROTECTED]> wrote:
>> So Tivo runs Linux... Surely there is a way to make your own home-brewed
>> Tivo machine, isn't there? I suppose the most important part would be
>> the software -- any GPL Tivo-like software out there for KDE or Gnome?
>>
>> I really want a Tivo but I don't have the $$$ and I have a spare Pentium
>> II box and several 17 gig hard drives..
I think, depending on the screen size you choose, screen captures run at
about a gig a minute (without compression). Hope you have lots of hard
drives.
>The biggest problem is finding an app that captures video thru a tv
>tuner card. I have an ATI AIW card and the way GATOS captures video with
>it is horrendously stupid and awkward so i never do it. It does however
>work fine in Windows (usually, but at least it goes directly to AVI
>format, not so in linux..i get a YUV File for some damn awkward reason).
Sheesh, if you have a btNNN based card, you can use something like
xawtv. Captures to .avi. Unfortunately, something in my machine
cannot keep up (not sure if it is the CPU, disk or both).
Perhaps somebody needs to design a decent capture board with hardware
compression on it. Hmm, sounds like an O2. Decent sound quality and
digital cable capable would also be interesting, but I digress.
--
William Burrow -- New Brunswick, Canada o
Copyright 2001 William Burrow ~ /\
I'd rather listen to Isaac Newton, also. ~ ()>()
------------------------------
From: Chris Bragg <[EMAIL PROTECTED]>
Subject: Re: how do i network a linux box with win98?
Date: Sun, 17 Jun 2001 22:35:17 +0200
Reply-To: [EMAIL PROTECTED]
On 17 Jun 2001 12:26:19 -0700, alpha wrote:
> Hi everyone
Hey there.
> right now, i have a small Lan of two computers running win98 &
> connected to the internet through a cable. i am determined to format
> one of them & put linux in...
Good for you! Welcome to a better world!
> (probably Libernet since my friend said
> it's a pretty good distro for newbies) My qusetion now is, if i set up
> my linux box as a server , win98 as a client, how do i get them
> connected?
After you've successfully installed Linux on one of your systems, and got a
working system complete with networking, you should find that your systems
can already speak to each other via TCP/IP. What you want to learn to do is
have your Linux box route packets to the Internet for your Windows box.
This is easy to do, but as a newbiw you'll need to read up on it a bit.
> i heard that i can install samba on linux. is it easy to
> use?
Samba can easily be installed at system installation time. Just select it
as one of the packages you'd like installed. Depending on which distro you
choose (I'm unfamiliar with the one you mentioned), it may or may not be
installed by default. Go to www.samba.org to read up on Samba before you
try and configure it for your LAN.
> do i have to install samba on the win98 machine also?
Nope. Just on the Linux box. Samba is what allows your Linux system to
speak the native language of Windows. It's not a great protocol to have to
use, but when the world runs on Windows, you do what you can, even if it's
a step down in quality.
> can samba
> be set up so that i can share the internet access?
You won't use Samba for Internet access. You'll only be using it for file
and printer sharing between Linux and Windows.
> if i dont use
> samba, can i use VMware, set up virtual win98 on the linux then share
> the internet using ICS inside virtual win98?
Not necessary. If your new Linux box is going to be the server, you'll also
need to configure your cable Internet service on it. This may involve
setting up DHCP, unless your ISP gave you a static IP address (meaning it
never changes). My best recommendation is to just take it one step at a
time. Linux is great, and very powerful. It isn't something you want to
walk into unprepared, regardless of how easy someone tells you the
installation is. Installing Linux these days is IMHO much easier than
installing Windows. Anyone who tells you different has obviously never had
to setup both before. Do some research, read all you can, and try and find
a couple people who use Linux you can ask questions to. Perhaps there's a
LUG (Linux Users Group) in your area.
> i know that 's a lot a questions.. thx in advance
> [EMAIL PROTECTED]
Good Luck to You!
--
Chris Bragg
OS: SuSE Linux 7.1
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Linux, DAT and DOS Tapes
Date: Sun, 17 Jun 2001 16:36:50 -0400
Peter Kohut wrote:
>
> Hi All,
>
> I've got a problem at hand for which I don't seem to find an easy solution:
>
> I have a machine running Redhat Linux with a SCSI interface and a SONY 4mm
> DAT hanging of it. I also have a bunch of tapes which were originally
> written using NT Backup and Restore. My question is
>
> a) is there any way that I can restore the content of the tapes using Linux?
> b) I also have a second machine running Win 2000, but unfortunately without
> SCSI. The Win 2000 machine is connected to the Linux machine using simple
> TCP/IP and SAMBA shares. Is it possible to configure the systems such that I
> can use the Windows 2000 Backup/Restore application with the DAT drive
> hanging of the Linux machine?
>
I have two machines linked together with 100MHz NIC cards. This one,
that runs Linux-0nly, has a tape drive on an Ultra-2 SCSI controller.
The other machine is a dual-boot machine with Windows 95 and Red Hat
Linux 6.0, and it runs as Linux most of the time, grinding out
SETI@home stuff. When I need Windows, I boot it up that way.
The way I back up the other machine is that I mount the two partitions
over there that I wish to back up on this machine with nfs. The other
machine exports that stuff read-only. One of those partitions is the
Window partition that Linux can read (and write) perfectly well.
On this machine I run BRU to do my backups, but a combination of find
and cpio would do just as well.
I imagine you could do the same thing with your machine, provided you
can run Linux on it enough to do the backups.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 4:30pm up 10 days, 5:25, 4 users, load average: 2.27, 2.14, 2.07
------------------------------
From: [EMAIL PROTECTED] (Carl Fink)
Subject: Re: HELP: restore linux from backup
Date: 17 Jun 2001 20:33:48 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 17 Jun 2001 10:28:35 -0700 Lupei Zhu <[EMAIL PROTECTED]> wrote:
[tale of woe deleted]
Might I suggest that you go ahead and install Red Hat again, which should
give you access to the disks and to restore?
--
Carl Fink [EMAIL PROTECTED]
Manager, Dueling Modems Computer Forum
<http://dm.net>
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: any Iomega ZIP USB users?
Date: Sun, 17 Jun 2001 15:44:07 -0500
Ray wrote:
>
> hi
>
> i'm considering buying an external Iomega Zip 100 USB drive to use with
> my laptop (toshiba sat pro 4340) which has an Intel 82371AB PIIX4 USB
> controller and running linux 2.4.3.
>
> i've looked at
> http://www.linux-usb.org (this list the mass storage drv in the
> kernel as experimental?)
> http://www.qbik.ch/usb/devices
> http://www.iomega.com/software/linuxtools.html
>
> and they seem to indicate that the Iomega zip 100 USB does work,
> although there is mixed reports about the drivers that are availbel for
> this device - the kernel ubs_storage.o and the iomega provided utils
> (for 2.4.0pre).
>
> also, i have heard/read somewhere that different versions of the zip100
> use different protocols, and wondered if this would be a problem when
> using the kernel driver (which i would prefer to use)
>
> if anyone could give me any hints on their current working
> configurations; part numbers from the devices/kernel output would also
> be useful.
>
> thanks for any info
> ray
>
> ps - could ppl CC me on replies - thanks again...
I have a USB Iomega 100 MB zip drive which I use with my laptop
which is running RedHat 7.1 with the 2.4.2 kernel. It just works
with no special effort on my part. If it is plugged in, it
appears by magic in /etc/fstab and is mounted on /mnt/zip100.0
or something similar. The appropriate modules are loaded without
my doing anything. The mass storage drivers work fine not only
for the zip drive but also for smartmedia card readers.
I haven't checked speed or really pushed the drive, but for the
normal sorts of things I use it for, it works fine. For example,
I tarred my home directory to a file on it at one point, I think.
I am sending you a copy to you as well as posting it to the
newsgroup, but I'm afraid I don't believe your respond e-mail
address "whatdoineed2do" is real.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: [EMAIL PROTECTED] (maddman)
Subject: Pan newsreader program - can't post
Date: 17 Jun 2001 14:05:29 -0700
I'm a relative linux newbie. I've been running the Pan newsreader for
the last couple days, and I absolutely love it! The only problem is I
can't figure out how to post. It looks like everything is posting
okay, but the messages never show up in the newsgroups.
I looked in the configuration, and the line for default mail was
something like xterm -e mutt and then the %t,%R stuff for sender etc.
>From what I gathered from the man pages, xterm -e starts up another
program in this case mutt. But I couldn't find anything on mutt. I
use kmail for my mail client. Am I correct in thinking I need to
point pan to kmail to send a message out, or need to configure mutt to
send the mail out to my mail server? Anyone who could tell me how to
do either of these things would be much appreciated.
Thanks in advance,
maddman
------------------------------
** 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
******************************