Linux-Misc Digest #211, Volume #26 Thu, 2 Nov 00 12:13:03 EST
Contents:
Re: Linux Routing ([EMAIL PROTECTED])
Re: MOST NORMAL PPP EVER, can't surf anywhere?? (Steve)
Re: Need help (Steve)
Password authentications ("Bradley J. Bartram")
Re: Which LINUX (WebServer on MySQL) ("Bradley J. Bartram")
Re: Detect number of CPU's from within a program? (Paul Hughett)
which version do i use, now? (Chang-min Park)
Re: LinkSys betrayed us! Poor prospects for Linux. ("Clifton T. Sharp Jr.")
Re: I want to do weird SCSI sh*t... ("Tauno Voipio")
Re: Yamaha CRW8824 and Tekram 390F ([EMAIL PROTECTED])
Re: Which LINUX (WebServer on MySQL) ("Jason from The Workshop")
Re: AOL connection under linux ("Jason from The Workshop")
accessing files from within a kernel module ("aldo.gavioli")
Re: An appeal to experts for help! (Jack C Pinette)
Re: Corel WordPerfect 8 emulated on Linux ? ([EMAIL PROTECTED])
Re: Corel WordPerfect 8 emulated on Linux ? ([EMAIL PROTECTED])
Re: Corel WordPerfect 8 emulated on Linux ? ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking
Subject: Re: Linux Routing
Date: Thu, 02 Nov 2000 15:03:26 GMT
Which linux distro do u use?
In article <8troae$ulb$[EMAIL PROTECTED]>,
Quad <[EMAIL PROTECTED]> wrote:
> Thank you for your reply.
>
> As far as what info I read, it was man route man arp man ifconfig etc.
>
> I can set the ips and such on the nics, but what is 100% new to me is
> routing.
>
> What all has to be setup on the router for it to work, what commands I
> put in so that all 3 networks can passs through the router etc.
>
> I started on the adv-routing howto, then i tried going back to the
site
> where I had found it and it said the page was gone off the server. I
> am just not having much luck is all.
>
> I am sure that this setup couldnt be too hard to perform, its just I
am
> sooo ignorant to these proceedures, that there must be a good online
> resource I could read and get caught up on just how routing works and
> how to implement it?
>
> Again thanks SO much for your reply and I will read the mans again.
>
> When I do figure out, just what route add commands have to be
> implemented. Will I just place them in a script and call from
> rc.local? Or is there a better way to do this when routing?
In SuSE-Linux:
edit /etc/route.conf, which is read by /sbin/init.d/route
In RH.....???don�t know....
>
> Thanks
>
> Quad
>
> In article <8tpohs$qvq$[EMAIL PROTECTED]>,
> "David K. Means" <[EMAIL PROTECTED]> wrote:
> > This is pretty straightforward (where did you say you had
> > looked? :-) )
> > Your eth0 interface should have an address on 192.168.0.x
> > where x is in [1:254]
> > Your eth1 interface should have an address on 24.231.45.y
> > where y is in [1:6]
> > Your eth2 interface should have an address on 67.45.221.z
> > where z is in [1:126]
> > Then your routing table should look like this:
> > Destination Gateway Genmask Flags ...
> Iface
> > 192.168.0.0 0.0.0.0 255.255.255.0 U
eth0
> > 24.231.45.0 0.0.0.0 255.255.255.248 U eth1
> > 67.45.221.0 0.0.0.0 255.255.255.128 U eth2
> > 127.0.0.0 0.0.0.0 255.0.0.0
> U lo
> > 0.0.0.0 67.45.221.1 0.0.0.0 UG
> eth2
> > The only thing I am unsure of is the Gateway address in the last
line.
> > It should be the address of the *other* end of your link to the
> > Internet, not the address of your machine on that link.
> > To find out how to create this routing table, read man route
> > To find out how to set the IP addresses of the interfaces, man
> ifconfig
> > To make it all automatic (on reboot) use linuxconf, or dig through
> the
> > scripts beginning at /etc/rc.d/init.d/network
> >
> > "Quad" <[EMAIL PROTECTED]> wrote in message
> > news:8tp9ek$td3$[EMAIL PROTECTED]...
> > >
> > >
> > > I want to route a local subnet 192.168.0.* 255.255.255.0 through 2
> > > different gateways. Can reach this from(eth0)
> > >
> > >
> > > 1 will be a direct line to another company and I want all traffic
> for
> > > that company to go there. 24.231.45.1 SM 255.255.255.248. can
reach
> > > this from (eth1)
> > >
> > > 2 will be a route out to the internet so that users can check
email
> > > etc. 67.45.221.1 sm 255.255.255.128. this can be reached from
(eth2)
> > >
> > > I am sure linux can do this, I am wondering if someone will give
me
> > > some tips/tricks on this. I have read the man pages, and have
> searched
> > > on the net but it seems there is not much info...at least where I
> was
> > > looking.
> > >
> > > Any help here would be GREATLY appreciated.
> > >
> > > Thanks
> > > --
> > > Quad
> > >
> > >
> > >
> > >
> > > Sent via Deja.com http://www.deja.com/
> > > Before you buy.
> >
> >
>
> --
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Steve)
Subject: Re: MOST NORMAL PPP EVER, can't surf anywhere??
Date: 2 Nov 2000 15:16:03 GMT
Reply-To: [EMAIL PROTECTED]
On 2 Nov 2000 10:41:56 GMT, Andrew Purugganan wrote:
>
>This has me stumped. I have a Win98 box connected to this Mandrake 6.0
>2-2.13mdk (IIRC) kernel Linux box with IPmasq (that worked perfectly fine
>before!) The IPmasq could still be working,t here's just no way for me to
>tell. COuld Ethernet connection problems prevent netsurfing (don't get me
>started on pinging the Win98SE box)
>Thanks for any assistance.
If you're connecting OK but can't surf, it sounds like a DNS problem,
you will probably find that you can go to url's by putting the IP address
of the web server in instead of the usual URL. So on the win box DNS
needs to be enabled and it needs to be pointing at the right gatewary
you can get the IP of the DNS server and the default gateway from your
ISP.
--
Cheers
Steve email mailto:[EMAIL PROTECTED]
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
2:57pm up 22 days, 17:18, 3 users, load average: 1.01, 1.03, 1.06
------------------------------
From: [EMAIL PROTECTED] (Steve)
Subject: Re: Need help
Date: 2 Nov 2000 15:16:03 GMT
Reply-To: [EMAIL PROTECTED]
There's a g77 man page. I can't find a gpc man page though.
--
Cheers
Steve email mailto:[EMAIL PROTECTED]
%HAV-A-NICEDAY Error not enough coffee 0 pps.
web http://www.zeropps.uklinux.net/
or http://start.at/zero-pps
2:57pm up 22 days, 17:18, 3 users, load average: 1.01, 1.03, 1.06
------------------------------
From: "Bradley J. Bartram" <[EMAIL PROTECTED]>
Subject: Password authentications
Date: Thu, 02 Nov 2000 15:20:18 GMT
Hi all;
I am currently spearheading a program to roll out linux on our coporate
desktops and am hung up on one detail. Where can I get information about
centrally authenticating user passwords ala NT's PDC functions?
Any links or info would be a great help. Thanks.
--
Bradley J. Bartram
Database Administrator
DigiVision Satellite Services, Inc.
[EMAIL PROTECTED]
------------------------------
From: "Bradley J. Bartram" <[EMAIL PROTECTED]>
Subject: Re: Which LINUX (WebServer on MySQL)
Date: Thu, 02 Nov 2000 15:26:03 GMT
I've set up that config on RH and Mandrake. I like the ease with which
mandrake gets set up with these packages. Much quicker than with RH, IMHO.
Downside is that you have to take extra care to eliminate the unwanted
packages in mandrake as it installs more. RH is fine but it took longer to
collect the necessary source and install for me.
Basically, unless your serving a high traffic site, anything you choose as
long as it's configured properly will function superbly. Get what you're
comfortable with, lock it down as much as is reasonable, set up your site
and rock on.
--
Bradley J. Bartram
Database Administrator
DigiVision Satellite Services, Inc.
[EMAIL PROTECTED]
"Hello World" <[EMAIL PROTECTED]> wrote in message
news:8tr696$f0c$[EMAIL PROTECTED]...
> both are ok, if you compile the package from source. for myself, i am
using
> redhat 6.2.
>
> "marvin" <[EMAIL PROTECTED]> ���g��l��
> news:[EMAIL PROTECTED]...
> > Hi !
> >
> > I would like to have Linux as an OS for Webserver.
> > Packages on the systems will be:
> > - Apache WebServer
> > - PhP
> > - Perl
> > - MySQL Database
> >
> > Can you please tell me which Linux & Version should I get ?
> > Currently I am pretty much between Slackware 7 and RedHat 6 (I have
> > heard 7 is very bugy).
> >
> > Please only answers from the experienced people.
> >
> > Thanks in advance
>
>
------------------------------
From: Paul Hughett <[EMAIL PROTECTED]>
Subject: Re: Detect number of CPU's from within a program?
Date: 2 Nov 2000 15:26:22 GMT
: [EMAIL PROTECTED] wrote:
:> From within a C program, how can I tell how many processors
:> are in the system?
Jean-David Beyer <[EMAIL PROTECTED]> wrote:
: From a program-portability point of view, that may be a bad idea.
: Your program should not need to know how many CPUs there are. If
: the OS is working correctly, the only difference you should see if
: there are more processors would be more throughput. And you program
: should not need to know what that is. It should do the best it can.
: It seems to me that it will just make your program more complex to
: get this information (the easy part) and to use it (the hard part
: to get correct).
Actually, there are legitimate uses for this information. Many
compute-intensive algorithms can be parallelized and run faster on
multiple processors. However, if you try to start more threads than
there are actual processors, or if you're sharing the machine with
another compute-intensive program that's doing the same thing, then
you lose efficiency because of all the process- and thread-switching
overhead.
I'd suggest using an environment variable or command line argument to
specify the number of parallel threads to start. This is both
portable and leaves the final decision in the hands of the user(s) who
must manage the machine and who know what programs will be running.
Paul Hughett
------------------------------
From: Chang-min Park <[EMAIL PROTECTED]>
Subject: which version do i use, now?
Date: 2 Nov 2000 15:30:42 GMT
Reply-To: [EMAIL PROTECTED]
Hi, I have a question. If you have some clues, please help me.
If someone uses redhat distribution linux machines and he doesn't
know which version he installed, then how can he find out the
right version?
If he didn't change the issue or issue.net file, then he could
know which version he used. But, there are some problems. he changed
issue and issue.net files.
Even though, in redhat distributions, there are usually redhat-release
or any other kind of release notify file, but... all the files were
deleted.
Then, how can he find out the right version?
Thank you in your advance.
ps.
In order to update some rpm files, he who wants to fix or patch something,
he must know which version of redhat distribution he uses.
Am I right?
Or... Doesn't redhat distribution bother any minor version differences,
if major version is same?
------------------------------
From: "Clifton T. Sharp Jr." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Re: LinkSys betrayed us! Poor prospects for Linux.
Date: Thu, 02 Nov 2000 09:43:00 -0600
Eric Bourland wrote:
> clifto wrote:
> >[RTFM rant snipped]
> Respectfully, I don't agree with you. I have been trying for weeks to
> install a Netgear FA-311 card in Linux. I have read all kinds of HOW-TOs,
> been to scyld.com, and researched the matter at various web sites ... but I
> am unable to understand the instructions offered in any of these places.
> Don't get me wrong, I am very grateful that instructions are there, but I am
> having a devil of a time understanding something as basic as getting my
> Linux operating system to work with my network interface card. Arctic Storm
> is right -- in many places, Linux instructions are incomprehensible.
So tell me what progress, if any, you've made so far.
--
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Cliff Sharp | Hate spam? Take the Boulder Pledge! |
| WA9PDM | http://www.zdnet.com/yil/content/mag/9612/ebert9612.html |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
------------------------------
From: "Tauno Voipio" <[EMAIL PROTECTED]>
Subject: Re: I want to do weird SCSI sh*t...
Date: Thu, 02 Nov 2000 15:46:59 GMT
>
>[root@localhost /root]# mount -t affs ./amiga50m /mnt/amiga
>mount: ./amiga50m is not a block device (maybe try `-o loop'?)
>
>OK I'll try -o loop, but I really don't know how to mount a file, any
>help here?
>
mount -t affs -o loop ./amiga50m /mnt/amiga
Does the directory /mnt/amiga exist before mount? If not, create it.
Tauno Voipio
tauno voipio @ iki fi
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Yamaha CRW8824 and Tekram 390F
Date: 02 Nov 2000 08:12:15 -0800
"Aris Basic" <[EMAIL PROTECTED]> writes:
> Hi
> i have Tekram 390F controler adn it was working with very old CDROM
> and with external ORB Drive so i suppose its ok
> but i cannt bring it to work properly with Yamah8824 Drive i allways get
> some scsi errors
> (linux 2.2.16 sym875 kernal driver)
> on cdrecord -scanbus i usaly get some kernel SCSI errors and cdrecord tells
> something like
> Drive returned more data ten it should
> drive gets recognized on booting (i triedn turning on 512 block feature but
> that made more troubles)
> can anyone have an idea what could be wrong ?
> (Firmware upadate of controler or drive or both) ?
> or anything else
>
> thx
> Aris
The cables maybe? Do you use the same cables in all configurations?
---- Real email take the UhUh and Spam from [EMAIL PROTECTED] ----
------------------------------
From: "Jason from The Workshop" <[EMAIL PROTECTED]>
Subject: Re: Which LINUX (WebServer on MySQL)
Date: Thu, 2 Nov 2000 10:12:10 -0600
Where I work, we use Redhat 6.1 for all of our servers. Had great luck with
it. Tried 6.2 and the debian/SGI/VALinux whatever that came on a few of the
servers, but just seem to go back to RedHat. Just my comfort zone I guess.
Jason
www.cyborgworkshop.com
...and the geek shall inherit the earth...
------------------------------
From: "Jason from The Workshop" <[EMAIL PROTECTED]>
Subject: Re: AOL connection under linux
Date: Thu, 2 Nov 2000 10:22:57 -0600
Here is what I know on AOL/Linux....
You cant use a standard dialup to use AOL as your ISP. At one time, an AOL
tunnel client for linux was created, but AOL promptly got rid of that
project. As it stands, their is a client for AOL that runs in Linux.
Problem being is that its for internal development only, so unless you are
an AOL coder, it wont let your account connect to AOL. Its written in GTK
and looks to be pretty portable, so here's hoping.
As part of the AOL anywhere initiative, AOL has been working on a linux port
for sometime now. I gather the hold up is getting staff up to speed and
preparing for the support nightmare as the client seemed very stable and
uses Mozilla as its internal browser.
If you search for Gamera on inside-aol.com, that might give you something
encouraging to look at.
Jason
www.cyborgworkshop.com
...and the geek shall inherit the earth...
------------------------------
From: "aldo.gavioli" <[EMAIL PROTECTED]>
Subject: accessing files from within a kernel module
Date: Thu, 2 Nov 2000 17:53:49 +0100
How do I read/write normal files from within a kernel module? Where
shall I look in the source code for the implementation of read() system
call??? I couldn't figure out where it is.
Please help.
------------------------------
From: Jack C Pinette <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.powerpc,comp.os.linux.hardware
Subject: Re: An appeal to experts for help!
Date: Thu, 2 Nov 2000 10:47:12 -0600
On Thu, 2 Nov 2000, Anil Trivedi wrote:
> Jack C Pinette <[EMAIL PROTECTED]> wrote:
>
> >That truly depends. If you are able, find somebody with OS X Beta
> >installed and play with it for a while to get a feel. You can run many
> >but not all *n*x apps on Mac OS X, but the feel is very different from
> >Linux. As mentioned, I have both, and OS X has not made me stop using
> >Linux.
>
> Since you have both, I'd appreciate it if you could expand on this
> a little. Just how "Unix-like" is OSX? What can you not do there for
> which you need Linux? Or is it just a matter of feel?
>
> Thanks,
>
> Anil
It's Unix-like in the sense that core services are provided by Darwin,
Apple's open-source-ish, free but not Free *n*x operating system, which is
based on BSD. You can install Darwin by itself and (I'm told) it's a lot
like a *BSD system, although there are some key differences and it's
missing some things... actually, I'm not even sure they have X running on
Darwin yet, but I could be wrong about that.
OS X is basically this Darwin, CLI, *BSD-based system with a bunch of
stuff on top of it... stuff like an advanced graphics engine (Quartz)
which enables the widget set/look-and-feel setup (Aqua) and several sets
of APIs for different purposes. What's most likely interesting to you is
that you can open up a terminal window and run bash (or whatever you
like). You can use CLI tools like ftp, telnet, vi, emacs, etc. You can
get the GNU dev tools and compile your own stuff.
Now, I haven't spent a lot of time trying to get *n*x software running
under OS X, and I am by no means an expert on *n*x in general (newbie, in
fact), and furthermore I don't know exactly what you will need... which
is why I would suggest finding someone with OS X Beta if at all possible
and mucking with it yourself.
Reasons why I still use Linux include the fact that I can use whatever X,
gnome, or kde software I feel like under Linux... in order to use anything
X-based under Mac OS X, you have to run a VNC client and connect to a VNC
server running on your own machine, since OS X doesn't natively support X
in any way. Or at least that's my current understanding; you would do
well to go to osxtalk.com and browse their current and history articles
for more info on that.
-Jack
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Corel WordPerfect 8 emulated on Linux ?
Date: Thu, 02 Nov 2000 17:40:51 +0100
Reply-To: [EMAIL PROTECTED]
On Thu, 02 Nov 2000 01:43:25 GMT, Arctic Storm
<[EMAIL PROTECTED]> wrote:
>I'm trying to find a word processor for Linux, and there seems to be a
>lot of choices.
If you care to install the new kde2, you get kword and more office
applications.
--
Eggert Ehmke
Email: [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Corel WordPerfect 8 emulated on Linux ?
Date: Thu, 02 Nov 2000 17:51:41 +0100
Reply-To: [EMAIL PROTECTED]
On Thu, 02 Nov 2000 01:43:25 GMT, Arctic Storm
<[EMAIL PROTECTED]> wrote:
>I'm trying to find a word processor for Linux, and there seems to be a
>lot of choices.
If you care to install the new kde2, you get kword and more office
applications.
--
Eggert Ehmke
Email: [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Corel WordPerfect 8 emulated on Linux ?
Date: Thu, 02 Nov 2000 17:39:42 +0100
Reply-To: [EMAIL PROTECTED]
On Thu, 02 Nov 2000 01:43:25 GMT, Arctic Storm
<[EMAIL PROTECTED]> wrote:
>I'm trying to find a word processor for Linux, and there seems to be a
>lot of choices.
If you care to install the new kde2, you get kword and more office
applications.
--
Eggert Ehmke
Email: [EMAIL PROTECTED]
------------------------------
** 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
******************************