Linux-Misc Digest #984, Volume #25 Sun, 8 Oct 00 22:13:02 EDT
Contents:
Re: ipchain firewall pb ("David ..")
Re: Favorite learning tool ("David ..")
Re: Netscape problem on attaching a doc file in email (E J)
Re: Netscape problem on attaching a doc file in email (E J)
Re: Cable modem, ethernet, and DHCP ([EMAIL PROTECTED])
Re: copying and pasting? (sfcybear)
Re: copying and pasting? (sfcybear)
Re: Microsoft owns a piece of Corel (John Hasler)
Re: Microsoft owns a piece of Corel (brian moore)
Sound modules ("Jim Young")
Re: Netscape problem on attaching a doc file in email (Dances With Crows)
Re: CDRW support broken in 2.2.16/17? (Dances With Crows)
Re: Making my own single floppy distribution: HOWTO?? (mpulliam)
Re: Microsoft owns a piece of Corel (Christopher Browne)
Re: How to install the C compiler? ("Arctic Storm")
----------------------------------------------------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: ipchain firewall pb
Date: Sun, 08 Oct 2000 18:01:41 -0500
[EMAIL PROTECTED] wrote:
>
> I've just installed a firewall based on ipchains on linux RH 6.2.
> Tried to call it manually by executing :
> ./firewall.sh <external Interface> <internal interface>
> in the correct directory.
> I just want to protect my box from intrusions from internet so I only
> have to give the external interface=my IP address, right. I have a
> dynamic IP address so I have to see which address has been affected to
> my box before typing it to activate the firewall (quite a burden...).
> The problem is that by implementing that, it displays the following
> message :
> Checking External Interface 212.27.44.254 .Unavailable. Aborting.
>
> Why this message? What must I put as "external interface"? (must surely
> look like a stupid question but I'm still quite newbie)
>
> Other question : does someone over there know a script that could start
> the firewall automatically?
The external interface is the device (ppp0, eth0) you use to connect to
the internet.
If you are on a dial-up connection you can place the path to the script
in /etc/ppp/ip-up.local and it will be ran when the connect to your ISP.
You might also check here:
http://linux-firewall-tools.com/linux/firewall/index.html
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Favorite learning tool
Date: Sun, 08 Oct 2000 18:18:18 -0500
[EMAIL PROTECTED] wrote:
>
>
> I want as many opinions as I can get. Tell us how you came to know
> what you know now.
Time, Patience, a Hunger for knowledge, reading documents, and a
connection to the internet. The rest is up to you and how much you want
to know about linux. News groups are a great help also for getting ideas
on how to do things, since everyone doesn't do the same thing the same
way.
Also helpful are searches at:
http://www.google.com/linux/
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: E J <[EMAIL PROTECTED]>
Subject: Re: Netscape problem on attaching a doc file in email
Date: Sun, 08 Oct 2000 16:27:49 -0700
Check your sent box and retrieve your sent email with the Word
attachment. Does it look OK?
It might be a Word problem. Word 95 cannot read Word 97 files.
Te-Cheng Shen wrote:
> Hello
> When I sent other people with an Word attachment in it using
> Netscape 4.72. Other parties could not read this attached file. I am
> pretty sure this file is complete because I copied this file using
> floppy then Word can read it without any problems.
> Sometimes I received emails attached with Windate formate. Can
> anyone tell me what's this?
>
> Thank you very much
>
> STC
------------------------------
From: E J <[EMAIL PROTECTED]>
Subject: Re: Netscape problem on attaching a doc file in email
Date: Sun, 08 Oct 2000 16:28:21 -0700
Check your sent box and retrieve your sent email with the Word
attachment. Does it look OK?
It might be a Word problem. Word 95 cannot read Word 97 files.
Te-Cheng Shen wrote:
> Hello
> When I sent other people with an Word attachment in it using
> Netscape 4.72. Other parties could not read this attached file. I am
> pretty sure this file is complete because I copied this file using
> floppy then Word can read it without any problems.
> Sometimes I received emails attached with Windate formate. Can
> anyone tell me what's this?
>
> Thank you very much
>
> STC
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux.mandrake,comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: Cable modem, ethernet, and DHCP
Date: Sun, 08 Oct 2000 23:34:12 GMT
and if that doesn't work wait for mandrake 7.2 with its special config tool
for seting up cable, isdn, or dsl modems.
In article <Qa3E5.7439$[EMAIL PROTECTED]>,
"G" <[EMAIL PROTECTED] <replace spam-me-not with graha.ms)> wrote:
>
> > > Hey guys, thanks for all the help. But it is STILL not working. Now, I
> am
> > > either a complete idiot or tremendously unlucky. I went into netconf
> and
> > > set everything to blank except kernel module and net device.
> > > kernel module = 3c509
> > > net device = eth0
> > > of course
> > > Then I tried rebooting. During the initialization, I got to "booting up
> > > eth0" and then it hung for a while. Then I got the error again, unable
> to
> > > setup eth0 via dhcpcd..failed. But this time, the PC light on the cable
> > > modem actually turned on and the data light was blinking.
> > >
> > > Then when I was logged in, as root, I typed "pump -i eth0" and then the
> PC
> > > light came on again, it hung for a while, then it said "operation
> failed"
> > > and the light went off. I even tried typing "dhcpcd -r" and the same
> thing
> > > happened. The light goes on then off. Please don't hate me for
> bothering
> > > you guys but I really wish to learn Linux. But I can't when some things
> > > don't work. BTW, the ethernet isn't the only thing working. But I'm
> taking
> > > it step by step.
> > >
> > > thanks again
> > >
> > > James wrote:
> > >
> > > > Arg, linux newbie here with some problems setting up my cable modem
> with
> > > > dhcp. I have Mandrake 7.1. I type in "netconf" which takes me to the
> > > > network configurator. In "Basic Host Info" there is a "hostname +
> > > > domain" entry which is set to "localhost.localdomain".
> > > > Under the "adapter1" tab is the following info:
> > > > net device: eth0
> > > > kernel module: 3c509
> > > > irq: 10
> > > > ip: my ip
> > > > the dhcp radio button is selected
> > > >
> > > > When I close out of netconf and tell is to activate changes I get an
> > > > error. Here it is:
> > > >
> > > > Executing /etc/rc.d/rc5.d/S10network reload:
> > > > > Bringing up device eth0 Determining IP information for eth0 via
> > > > dhcp...faile
> > > > > [FAILED]
>
> I had exactly the same prob with mandrake 7.1
>
> what I did was just to statically assign an IP address to eth0
> and then once it had booted run "dhclient eth0"
> and that did the trick
>
> G
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: sfcybear <[EMAIL PROTECTED]>
Subject: Re: copying and pasting?
Date: Sun, 08 Oct 2000 23:32:42 GMT
In article <[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]> wrote:
> > > > In the terminal window, just highlight the url. By highlighting,
> > > > you will place it into the clipboard. You can paste it with the
>
> Does it matter which terminal window you're using (xterm,
gnome-terminal=
> ,=20
> kterm, telnet?!?, etc...)
>
> - Mark R. Sizer
Telnet is not a terminal window. But no, it does not matter what window
you are running (I don't know if you can go from vmware to a linux app)
>
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: sfcybear <[EMAIL PROTECTED]>
Subject: Re: copying and pasting?
Date: Sun, 08 Oct 2000 23:30:54 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Vilmos Soti <[EMAIL PROTECTED]> wrote:
>
> > In the terminal window, just highlight the url. By highlighting,
> > you will place it into the clipboard. You can paste it with the
> > middle buton (or if two buttons then the two together).
>
> I tried all of your suggestions and it simply does not work between
> a term window and Netscape. There has to be an easy way to do this
that
> I am missing.
Once you highlite the text do not highlight text in the second document.
If you do something that make the "copy" highlight go away, then it will
not "past"
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: Microsoft owns a piece of Corel
Date: Sun, 8 Oct 2000 23:47:27 GMT
amunk writes:
> Well, those are all open source programs (loosely speaking in the case of
> KDE though,...
Nothing "loose" about it. KDE is free software released under the GPL.
> It seems to me that if "CorelDRAW Suite for Linux" requires WINE to run,
> it was compiled to run on Windows & is using WINE as an interpreter, so
> therefore it isn't "truly `for Linux`".
It wasn't. It was compiled for Linux and linked to libwine.
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI
------------------------------
From: [EMAIL PROTECTED] (brian moore)
Subject: Re: Microsoft owns a piece of Corel
Date: Mon, 09 Oct 2000 01:12:25 -0000
On 08 Oct 2000 13:01:18 -0700,
Whammalhammadingdongbingbangagogo <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] (Christopher Browne) writes:
>
> > By the same token, if requiring a library called libwine somehow implies
> > that it's not "truly for Linux," then utilizing any of the following
> > components would similar indicate that software was not made "truly
> > for Linux":
>
> It just requires the libwine library? When I've run programs under WINE,
> I've needed to run the "wine" program in the bin directory.
But you didn't have source and compile it to link to libwine. (Corel is
a major contributor to the WINE project for a reason: it makes their job
of porting to Unix a lot easier.)
> > Presumably "being truly for Linux" means that an application uses
> > some NON-portable layer that forcibly ties it to Linux. VMWare for
> > Linux is probably thus tied to Linux...
>
> No! By "truly `for Linux`", I was not referring to programs which are
> _only_ capable of running on Linux. (In fact, I hate programs like
> that!) I was using that phrase to refer to programs _compiled for
> Linux_. It seems to me that if "CorelDRAW Suite for Linux" requires WINE
> to run, it was compiled to run on Windows & is using WINE as an
> interpreter, so therefore it isn't "truly `for Linux`". (Another
> example: if I'm running a pre-compiled-on-Linux installation of Emacs on
> my FreeBSD box, it's not "truly `for FreeBSD`", but if I downloaded the
> source of Emacs & compiled it on my FreeBSD box, then it _would_ be
> "truly `for FreeBSD`".)
No, it was compiled on Linux and used '-lwine' as part of the
compilation process.
BTW, I suggest you read up on how WINE works. WINE Is Not an Emulator.
It does not "interpret" programs. It is basically a set of
compatibility libraries (good old 'libwine') that make it possible to
use the 'Win32' API calls under Linux. Add on the 'wine' executable
itself (which merely allocates some memory and initializes some hooks
that a .exe file would call to access the Win32 API) and you're still
running a pure binary.
This is why WINE -only- works on x86: because it is -not- an emulator.
(You may even find some programs that run faster under WINE than on
Windows due to optimizations in Linux that Windows doesn't have: I've
heard that Starcraft, for example, runs faster under WINE due to
Windows' crappy memory management.)
If WINE were an emulator, it would be possible to use it to run
Windows apps on Alpha or SPARC machines... but it's not.
--
CueCat decoder .signature by Larry Wall:
#!/usr/bin/perl -n
printf "Serial: %s Type: %s Code: %s\n", map { tr/a-zA-Z0-9+-/ -_/; $_ = unpack
'u', chr(32 + length()*3/4) . $_; s/\0+$//; $_ ^= "C" x length; } /\.([^.]+)/g;
------------------------------
From: "Jim Young" <[EMAIL PROTECTED]>
Subject: Sound modules
Date: Mon, 09 Oct 2000 01:33:16 GMT
Hi y'all.
i have a noname sound card using the Yamaha Legacy chip set ( DS-XG sound
driver in windows, also with PCI AUDIO CODEC in windows)
my version of linux (slakware, newest) has a Yamaha Legacy module in the
kernel config. so i installed it, played witht he HOWTO's, even tried to
manually insmod them, but to no avail.
if anyone has any hints, please let me know! :)
thankie
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Netscape problem on attaching a doc file in email
Date: 9 Oct 2000 01:58:36 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 08 Oct 2000 15:30:47 -0700, Te-Cheng Shen wrote:
> When I sent other people with an Word attachment in it using
>Netscape 4.72. Other parties could not read this attached file. I am
>pretty sure this file is complete because I copied this file using
>floppy then Word can read it without any problems.
> Sometimes I received emails attached with Windate formate. Can
>anyone tell me what's this?
Not sure about the M$ Word problem, but take other peoples' suggestions
about possible file format mismatches. '97, '95, and '00 are all
partially incompatible with one another. (surprised?)
If by "Windate" you mean "MS-TNEF" encoding, there's a tool available on
http://freshmeat.net/ that can turn TNEF crap into useful files. Go
there and search for "tnef".
--
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: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: CDRW support broken in 2.2.16/17?
Date: 9 Oct 2000 01:58:37 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 08 Oct 2000 12:34:38 -0400, Peter Eddy wrote:
>It's an early Acer 2x (burn speed) which I'd used extensively in the
>past with no problem. I just tried burning another CD and got the
>following error:
>[root@calypso iso]# cdrecord -dev=2,0,0 speed=2 zoot-i386.iso
>scsidev: '2,0,0'
>scsibus: 2 target: 0 lun: 0
[snip]
Hmm. SCSI bus 2? Is this a parallel-port device? (Very few people
have 3 SCSI cards in their machines; if you have that many,
congratulations.) I ask because I had a hell of a time getting an HP
parallel-port CD-RW to work correctly with kernel 2.2.16, and going back
to kernel 2.2.15 fixed that problem. I'd check this out further, but I
don't have any parallel-port devices sitting around atm. If this is
indeed the case, you may want to file a kernel bug report. Grrr.
--
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: [EMAIL PROTECTED] (mpulliam)
Subject: Re: Making my own single floppy distribution: HOWTO??
Date: 9 Oct 2000 01:54:28 GMT
On Sun, 08 Oct 2000 11:58:39 +0200, Martin
Herrman <[EMAIL PROTECTED]> wrote:
>
>I would like to make my own small linux
distribution that fits on a single
>floppy to burn cd's on a windows machine
that contains the cd (re)writer.
>So I want to put a kernel, modules,
fat32 support, mount,umount,cdrecord,
>mkisofs,sox,mpg123 and maybe irqtune
and hdparm in it. But how to start?!?
take a look at
http://www.linuxdoc.org/HOWTO/Bootdisk-HOWTO/index.html
for answers to just a few of your questions
MP
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: Microsoft owns a piece of Corel
Reply-To: [EMAIL PROTECTED]
Date: Mon, 09 Oct 2000 02:00:16 GMT
In our last episode (08 Oct 2000 13:01:18 -0700),
the artist formerly known as Whammalhammadingdongbingbangagogo said:
>[EMAIL PROTECTED] (Christopher Browne) writes:
>
>> In our last episode (07 Oct 2000 15:22:53 -0700),
>> the artist formerly known as Whammalhammadingdongbingbangagogo said:
>> >[EMAIL PROTECTED] (John Jordan) writes:
>> >
>> >> And CorelDRAW Suite for Linux says right on the box "minimum 200 MHz."
>> > ^^^^^^^^^
>> >> It runs even slower.
>> >>
>> >> The problem is that these programs are all running under WINE, which
>> >> adds a layer and slows everything down.
>> >
>> >I don't understand this. If it's truly "for Linux", why is it running
>> >under WINE? Or is is not truly "for Linux"?
>>
>> By the same token, if requiring a library called libwine somehow implies
>> that it's not "truly for Linux," then utilizing any of the following
>> components would similar indicate that software was not made "truly
>> for Linux":
>
>It just requires the libwine library? When I've run programs under WINE,
>I've needed to run the "wine" program in the bin directory.
That would indicate Windows programs written to run on MSFT Win32 that
are run totally via emulation.
CorelDRAW for Linux is not such a program.
>> - XFree86 [used on diverse OSes including OS/2 and various BSDs]
>> - GLIBC [also used on Hurd and usable on other OSes]
>> - GTK [usable on *BSD, Win32, possibly even MacOS]
>> - GNOME [usable on a wide variety of Unix-like systems]
>> - KDE [also usable on a variety of Unix-like systems]
>> - GNU File and Binary Utilities [used on many Unix-like systems]
>> - Tcl-related libraries [Unix, Win32, MacOS]
>> - Perl, Python [Unix, Win32, MacOS, BeOS]
>>
>> All the Gnome programs run "under libgnome and libgtk and a cast of
>> dozens"; all sorts of GUIed applications run "atop XFree86, under
>> libXt and other such libraries;" those may be assessed blame for an
>> application "not being truly for Linux."
>
>Well, those are all open source programs (loosely speaking in the case
>of KDE though, but in this discussion, the only thing that matters is
>that the source code is released), so they obviously weren't written
>specifically for Linux. However, that's not what I'm asking.
... And libwine (and WINE) is an "open source" program, which should
mean that the parallels are perfectly proper.
>> Presumably "being truly for Linux" means that an application uses
>> some NON-portable layer that forcibly ties it to Linux. VMWare for
>> Linux is probably thus tied to Linux...
>
>No! By "truly `for Linux`", I was not referring to programs which are
>_only_ capable of running on Linux. (In fact, I hate programs like
>that!) I was using that phrase to refer to programs _compiled for
>Linux_. It seems to me that if "CorelDRAW Suite for Linux" requires WINE
>to run, it was compiled to run on Windows & is using WINE as an
>interpreter, so therefore it isn't "truly `for Linux`". (Another
>example: if I'm running a pre-compiled-on-Linux installation of Emacs on
>my FreeBSD box, it's not "truly `for FreeBSD`", but if I downloaded the
>source of Emacs & compiled it on my FreeBSD box, then it _would_ be
>"truly `for FreeBSD`".)
No, instead, "CorelDRAW for Linux," written to use the Win32 graphical
API, goes through libwine to provide those graphical services.
(Which then passes on to X11...)
It is entirely likely that the source code for CorelDRAW was compiled
from C/C++ sources on a Linux box using GCC, linking to libwine. _No_
notion of "compiled to run on Windows" found here...
This is the very interesting part of libwine that rather parallels LessTif
("emulation" of Motif) as well as Willows TWIN (a Win16 emulator);
in all three cases, the _original_ purpose was to provide emulation of
the original system.
Nothing then prevents the gentle developer from developing applications
specifically for use with LessTif/WINE/TWIN that in no way involve the
original environment being emulated.
One might consider it preferable to use libraries of "more native
genesis" such as GTK, particularly since the need to improve emulative
capabilities in a system in as much flux as Win32 may require breaking
existing applications. Mind you, that also works against anyone
deploying applications on Windows natively, which is why Microsoft has
moved functionality out of Win32 and into the COM side of things...
But I digress...
--
[EMAIL PROTECTED] - <http://www.ntlug.org/~cbbrowne/lsf.html>
"Laugh-a while you can, Monkey Boy." -- Dr. Lizardo - Buckaroo Banzai
------------------------------
From: "Arctic Storm" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: How to install the C compiler?
Date: Mon, 09 Oct 2000 02:07:32 GMT
Thanks.
It worked.
=======================================================================
"J00st" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Arctic Storm,
>
> Your C compiler is probably allready installed. If you don't know where it
> is, do a "which cc" or "which gcc" to find out where it is installed (it
> is probably somewhere under /usr/bin or /usr/local/bin).
>
> Once you found out where it is, you can set a CC-variable to point to your
> C compiler like this:
>
> # export CC=/usr/bin/cc or /usr/bin/gcc (which one you prefer).
> Do a echo $CC to see if is actually set now.
>
> If you haven't got it installed, you can either download it from
> http://gcc.gnu.org/ or install thr rpm from your RH7 cd.
>
> rpm -vhU /mnt/cdrom/Redhat/RPMS/gcc*
>
> This will install all the gcc's on your CD.
>
> Hope this helps!!
>
> Regards,
>
> -Joost
>
> Remove the "AT" from the emailaddress to reply.
>
> Arctic Storm wrote:
>
> > I have RedHat Linux 7.0.
> > I get an error when I type "make". It says that "make" command cannot
> > be found because the C compiler may not have been installed.
> > Originally, I chose the custome installation, and it's possible that
> > I did not install the compiler. How can I install the C compiler after
> > installation of the operating system?
> > Thanks.
> >
> > ----------
>
------------------------------
** 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 (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
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
******************************