Linux-Networking Digest #767, Volume #11 Sat, 3 Jul 99 01:13:31 EDT
Contents:
Re: downloads slow with 2.2 kernel ([EMAIL PROTECTED])
Re: how do I turn off broadcast (Sudsy)
Re: Trouble with DNS and Routing ("Andrey Smirnov")
Re: localhost does not load in apache (David Efflandt)
Co-location server (Larry)
Wvdial and diald SuSE 6.1 (waco)
What How-To's do I need to read to set up a small network? (Stephan)
Re: d-link card (waco)
Re: PPP: /dev/ttyS1 permission denied (David Efflandt)
Re: PPP and win95 dailin (David Efflandt)
Re: ppp server (David Efflandt)
Re: Problem: ftp -- get logged in but way too slow (David Efflandt)
Newbie Apache Question (Vincent)
Re: C++ templates: More than Turing Complete? (Davin McCall)
Re: Why not C++ (Christopher Browne)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Re: downloads slow with 2.2 kernel
Date: Sat, 03 Jul 1999 03:03:51 GMT
Hi All,
Any new updates on this problem? I have exactly the same situation where
I get download stalls in 2.2.15 and was ok in 2.0.36.
Tried to surf in the archives and found none so far.
Gilbert
In article <[EMAIL PROTECTED]>,
greg rudd <[EMAIL PROTECTED]> wrote:
> Joey Olson wrote:
>
> Check your /var/log/messages file and see if you have an error about
> ppp-compress-21 it means you do not have compression enabled on the
> modem. Add this to /etc/conf.modules and reconnect.
>
> alias ppp-compress-21 bsd_comp
> alias ppp-compress-24 ppp_deflate
> alias ppp-compress-26 ppp_deflate
>
> Hope this helps.
>
> #RedHat OnLine
> http://www.thecomputergallery.com/redhat
>
> > Gene Heskett wrote:
> >
> >> Unrot13 this;
> >> Reply to: <[EMAIL PROTECTED]>
> >>
> >> Gene Heskett sends Greetings to greg rudd;
> >>
> >> gr> Problem is with ppp performance on RedHat 6.0 system with
> >> 2.2.5
> >> gr> kernel compared to performance on RedHat 5.2 system with
2.0.36
> >>
> >> gr> kernel. Problem is downloading of large (200 to 400K) JPEG
and
> >>
> >> gr> GIF files on RedHat 6.0 system causes Netscape to continually
> >> gr> stall and stop receiving data many times during the download.
> >> If
> >> gr> you leave Netscape along, eventually the link will begin
> >> sending
> >> gr> data again, and the status message will change from stalled to
> >> gr> the amount of data coming over the connection. Do not have
> >> this
> >> gr> problem with RedHat 5.2 with 2.0.36 kernel. Using same ppp
> >> gr> scripts and serial port setup on both systems. It seems to me
> >> gr> that the 2.2 series kernels may be having a flow control or
> >> some
> >> gr> other problem with large downloads. Has anyone else
> >> experienced
> >> gr> similar problems with the 2.2 series kernels?
> >>
> >> So am I, same Zoom modem via switchbox is used on this machine, and
> >> a
> >> linux box running 2.2.10 and netscape 4.61 us/ca ssl version.
> >>
> >> Here, with a 56k connection at 50k, I get 2k-3k speeds total, even
> >> with
> >> several parallel conections.
> >>
> >> On the linux box, I get 700 cps per connection until I've used up
> >> the
> >> bandwidth somewhere around the 5000 cps mark. So it appears to be
> >> a
> >> per connection limit.
> >>
> >> I've no idea where its at. The linux box is a 400mhz AMD K6-2, 128
> >> megs pc100 memory, DMA is working on all drives, and it *should* be
> >> able
> >> to handle 5,000,000 cps without even showing up in a top report.
> >>
> >> I did play with the modem init a bit last night, and that seems to
> >> have
> >> reduced the re-negotiations, but hasn't helped the speed all that
> >> much.
> >>
> >> But we need answers, thats why we lurk, and occasionally respond.
> >>
> >> Cheers, Gene
> >> --
> >> Gene Heskett, CET, UHK |Amiga A2k Zeus040 50 megs fast/2
> >> megs chip
> >> Ch. Eng. @ WDTV-5 |A2091,GuruRom,1g
> >> Seagate,CDROM,Multiface III
> >> |Buddha + 4 gig WDC drive, 525 meg
> >> tape
> >> |Stylus Pro, EnPrint, Picasso-II,
17"
> >> vga
> >> RC5-Moo! 690kkeys/sec isn't much, but it all helps
> >
>
> Greetings----
>
> There was a error in /var/log/messages about ppp-compress-21.
> I fixed this error per above reply by adding :
>
> alias ppp-compress-21 bsd_comp
> alias ppp-compress-24 ppp_deflate
> alias ppp-compress-26 ppp_deflate
>
> to /etc/conf.modules.
>
> The results downloading with RedHat 6.0(2.2.5 kernel) are the same,
> Netscape continually
> stalls and stops receiving data many times during the download of
large
> graphics.
>
> Downloading the same files with RedHat 5.2 are results in completely
> difference behavior.
> The link will start at about 3 k/sec and immediately climb to about 5
> k/sec and lock in at this
> rate for the duration of the download. Have experienced almost no
> stalling with RedHat
> 5.2 ppp setup.
>
> Regards,
> Greg Rudd
>
> >
>
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Sudsy <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.misc
Subject: Re: how do I turn off broadcast
Date: Fri, 02 Jul 1999 22:48:43 -0400
{MoosEMaN} wrote:
> How do I turn off broadcast ???
>
> The terminal keeps beeping me broadcasting that I'm on battery power....
> (running on a laptop of course)
>
> --
> Daniel Tatone , Network Analyst
> Webcam: http://mooseland.montreal.qc.ca/webcam ICQ: 843922
> Personal HomePage: http://www.richterit.ca/mooseman
> e-mail @ Work: mailto:[EMAIL PROTECTED]
Okay, so now I'm confused. Here's a posting from someone who claims to
be a Network Analyst, using a laptop which appears to be suggesting that
he's running on battery power. Let's see...is this a question for a Linux
newsgroup or a (manufacturer) newsgroup? Je ne parle pas Francais,
mais Joyeux St. Jean Baptiste. I hope your employer appreciates the full
breadth and depth of your skills.
------------------------------
From: "Andrey Smirnov" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.ppp,linux.redhat.misc
Subject: Re: Trouble with DNS and Routing
Date: Fri, 2 Jul 1999 20:15:29 -0700
Hello,
What you need to do is setup your Linux machine with IP_MASQUERADING.
Check out the following site for more information:
ftp://ftp.rubyriver.com/pub/jhardin/masquerade/ip_masq_vpn.html#HOWTO
Another thing is that DNS (Domain Name Service) has very little to do with
routing, but you will need properly setup DNS in order to use Internet from
your internal machines. But DNS is whole another story (check out DNS HOWTOs
on http://www.linux.org --> support).
Good luck!
root wrote in message <[EMAIL PROTECTED]>...
>I am a newbie to networking. I have a small 2 PC home LAN which I was
>successful in setting up. My Linux box (Red Hat 5.2 ) is set up as my
>DNS server. My other machine is a Win 98 box.
>
>I am trying to use my Linux machine as my gateway to the outside world,
>through a dial up (PPP) connection to my ISP. Is there a way to give my
>Win machine access to the internet by having it routed through the linux
>box? I have tried adding my ISP's DNS address as a forwarding option
>in my named.config file and it did not work. I am able to ping both
>machines locally, but I can not ping anything outside my local network
>from my Windows machine.
>
>Any help would be greatly appreciated.
>
>Thanks,
>
>David
>
>
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: localhost does not load in apache
Date: 3 Jul 1999 03:34:28 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 29 Jun 1999 15:36:51 +0000, Micahel <[EMAIL PROTECTED]> wrote:
>I am running RedHat 5.2 on a standalone machine.
>When I enter http://localhost in the Netscape browser I get DNS errors.
>
>It seems there is something wrong with my host name, as Linux halts for
>about 60 secs during boot up when starting sendmail. The sendmail error
>log indicates problems with the hostname.
>
>The computer is set up as standard:
>127.0.0.1 localhosts
Is that a typo or does it really say 'localhosts' (plural)? Did you
change if from what it originally was. My Redhat 5.2 set it as:
127.0.0.1 localhost localhost.localdomain
I tried removing the localhost.localdomain at one point, but ran into some
sort of error during boot, so I put it back in. Other systems like
Slackware just have the localhost without the localhost.localdomain.
--
David Efflandt [EMAIL PROTECTED] http://www.xnet.com/~efflandt/
http://www.de-srv.com/ http://cgi-help.virtualave.net/
------------------------------
From: Larry <[EMAIL PROTECTED]>
Subject: Co-location server
Date: Fri, 02 Jul 1999 22:40:01 -0500
Hello,
I tried to setup an e-mail/web server by using co-location service with
my ISP.
I have my own registered domain, which different from my ISP domain.
My box connects to ISP hub using ethernet card. My ISP runs WindowsNT.
I filled out gateway address and netmask in linuxconf.
I assign the given ip address that matches with my registered domain to
the ethernet card.
I also checked the box that says "DNS required for normal operation" and
filled out my ISP
default domain and name server in linuxconf.
I ran ifconfig and it did say eth0 with the assigned ip address, but the
connection does not
work. I tried to ping some addresses, nothing happened.
2 questions please:
1. Do I need to run route command?
2. Under Adapter 1 configuration in linuxconf, it asks for primary name
+ domain, which
confuses me. WHich one should I put there? My ISP domain or my own
domain?
Thank you for your help.
Larry
------------------------------
From: waco <[EMAIL PROTECTED]>
Subject: Wvdial and diald SuSE 6.1
Date: Fri, 02 Jul 1999 23:30:29 -0400
Is it possible to get Wvdial to automatically sense when a ppp
connection needs to be dialed??
How?
------------------------------
From: Stephan <[EMAIL PROTECTED]>
Subject: What How-To's do I need to read to set up a small network?
Date: 3 Jul 1999 03:30:50 GMT
Specifically, I'd like to set up a small computer with Debian and have
it dial into my ISP. On that computer I'd have a firewall setup. That
comp would then be hooked to my Win98 comp via ethernet. I would like,
after I dial into my ISP from Linux, I would be able to view the internet
with Netscape, check e-mail, read newsgroups, telnet, and ftp. I already
know how to do the ethernet. But the otherstuff I don't know what's
involved. I figure I need to read the Firewall How-To and the PPP How-To.
Which others do I need to read?
Thanks in advance,
Stephan
--
To reply by e-mail, remove ".NOSPAM" from the end of my e-mail address.
------------------------------
From: waco <[EMAIL PROTECTED]>
Subject: Re: d-link card
Date: Fri, 02 Jul 1999 23:28:03 -0400
You need to load a module for Via-Rhine chipset. I'm not sure if is there by
default in RH 5.2.
In SuSE 6.1 (2.2.5) it is...
Jim Ingram wrote:
> Does any one have any information about getting Red Hat 5.2 to work with a
> d-link DFE-50TX? Any help would be appreciated.
>
> -Jim
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: PPP: /dev/ttyS1 permission denied
Date: 3 Jul 1999 03:50:10 GMT
Reply-To: [EMAIL PROTECTED]
On 29 Jun 1999 14:41:38 GMT, Lo Yat Nam <[EMAIL PROTECTED]> wrote:
>hi,
> Only root can start up pppd, all other users are not allowed the access
>the com port /dev/ttyS1! What gives? I have already done "chmod u+s pppd"
>as root......
> I am using Redhat 6.0.
I am not sure if 6.0 is much different from RH 5.2, but there is probably
a netconfig tool in X or linuxconf in the console that can set up a ppp
connection for you and all you have to do is check the box to allow other
users to control that connection. Then anyone can do /sbin/ifup ppp0,
etc. in the console or run 'usernet' to control the connection in X.
--
David Efflandt [EMAIL PROTECTED] http://www.xnet.com/~efflandt/
http://www.de-srv.com/ http://cgi-help.virtualave.net/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: PPP and win95 dailin
Date: 3 Jul 1999 04:01:17 GMT
Reply-To: [EMAIL PROTECTED]
On 30 Jun 1999 18:51:35 GMT, Bill Unruh <[EMAIL PROTECTED]> wrote:
>In <7ld6ev$7uc$[EMAIL PROTECTED]> "J. 'FIK' Brand" <[EMAIL PROTECTED]> writes:
>
>>I want to use a Linux machine as a ppp-server, the clients are Win95
>
>>How do i set up 'pap' so that it works with dialin-adapter from Win95
>
>
>Set up mgetty
>Set up the AutoPPP option in /etc/mgetty*/login.config
>Use the
>require-pap
>option in the /etc/ppp/options file or on the command line to pppd on
>the AutoPPP line in login.config
>Set up your pap-secrets file.
Almost. Use the 'login' and 'auth' options. This takes care of
authenticating the user by comparing username and password entries in the
DUN connectoid with pap-secrets (which can have just * for the password)
and then with /etc/passwd.
Do not require pap or chap since this will ask the other 'machine' to
authenticate itself and Windows does not do that. This is somewhat
confusing in 'man pppd' because it is not really clear whether a 'peer' is
a machine or a person. It took me awhile to debug this, especially since
my Win95 box had the same name as me.
I have an example http://www.xnet.com/~efflandt/linux/dialin.txt
--
David Efflandt [EMAIL PROTECTED] http://www.xnet.com/~efflandt/
http://www.de-srv.com/ http://cgi-help.virtualave.net/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: ppp server
Date: 3 Jul 1999 04:11:37 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 30 Jun 1999 21:14:56 -0800, gronkster
<[EMAIL PROTECTED]> wrote:
>I have managed to sucessfully set up a ppp server with red
>hat 6.0 for use with win95. There is only one problem
>though. I can successfully ping the ppp server from the
>win95 machine but when i try to ping any other address it
>just times out. The ppp server can ping anywhere so i am
>assuming that it is set up properly.
>
>I have include the ms-dns, netmask and proxyarp options in
>my options file.
>
>I am only a newbie and i am unsure where to look next for
>the problem. Your help would be most appreciated.
Have you enabled ip_forward? There are 2 such files in the /proc tree (if
it is compiled into the kernel), but the wrong one contains firewall and
forwarding rules. In RedHat you typically need to change the contents of
/proc/sys/net/ipv4/ip_forward from 0 (zero) to 1 to enable ip forwarding.
I have not seen this explained in any of the HOWTO's.
--
David Efflandt [EMAIL PROTECTED] http://www.xnet.com/~efflandt/
http://www.de-srv.com/ http://cgi-help.virtualave.net/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Problem: ftp -- get logged in but way too slow
Date: 3 Jul 1999 04:16:50 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 30 Jun 1999 16:45:02 GMT, David Yuan <[EMAIL PROTECTED]> wrote:
>hi,
>
>I have set up 2 RH6.0 machine connected with a crossover cable with
>IP masquerading and chaining. Web access and telnet work just fine. But
>after I entered the other machine using ftp. It just stoped responding.
>Sometimes even "dir" command would take forever. I checked /etc/services
>and /etc/tcpd.conf, ftp is indeed enabled. I am wondering what is wrong.
Could be the ever popular DNS problem. Unless you are running a properly
configured DNS server, make sure that there are names for any IP's on your
LAN in /etc/hosts of each machine (or \windows\hosts of Win boxes if you
want to access Linux by name). Also if /etc/resolv.conf contains
nameservers that are not actually connected it can slow some commands like
'who' from remote telnet.
--
David Efflandt [EMAIL PROTECTED] http://www.xnet.com/~efflandt/
http://www.de-srv.com/ http://cgi-help.virtualave.net/
------------------------------
From: [EMAIL PROTECTED] (Vincent)
Subject: Newbie Apache Question
Date: Sat, 3 Jul 1999 00:31:10 -0400
Hi,
I need a little direction in Apache. I installed the Red Hat 5.2 Apache
1.3.3-1 package. The Apache books I'm using, a "Dummies" book and
"Apache Server Bible", mention the the ServerRoot should contain under
one branch all the directories that contain the configuration, errors and
log files I'll need. But it looks like the Red Hat distribution put
these files under several different branches. For example, the Red Hat
5.2 Installation guide says that he config files are located in
/etc/httpd/conf, and the log files are kept in /var/log/httpd. Shouldn't
these files reside under the same tree branch? Should I create an Apache
root directory and move these and other directories under it? Or am I
missing something really basic?
Thanks,
Vinnie
------------------------------
From: [EMAIL PROTECTED] (Davin McCall)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: C++ templates: More than Turing Complete?
Date: Sat, 03 Jul 1999 04:33:25 GMT
On 2 Jul 1999 13:49:34 -0700, [EMAIL PROTECTED] (Nathan Myers)
wrote:
>"Indefinite time and coding effort", then, if you like.
>But by quibbling you have missed the point.
I was just repressing what seemed to me to be an exaggeration.
As for the point, I worry that I'm still missing it.
>>I would say "approaching sensible" and almost completely disagree with
>>the performance statement. In most cases a compiled program written in
>>a high level language performs very acceptably, but not nearly as well
>>as an equivalent program hand coded in assembly language (or machine
>>code).
>
>This may have been true at one time. Modern CPUs are so complex
>that hand-coding is unlikely to do better than a good compiler
>on a significant program.
Yet this I still disagree with. My line would be something like:
"Modern CPUs are so complex that compilers hardly have a chance of
achieving the efficiency of good hand-coded assembly (or machine
code)."
Why? Because current compilers just don't take all the necessary
things into account.
This has been argued about before. Take a good read of
http://www.geocities.com/SiliconValley/9498/optimize.html
Even two different compilers can give dramatic differences in
efficiency of the code they produce. I have lost the URL but recently
was reading a web site comparing the performance of code generated by
different compilers, which included a dumping of the machine code and
clear analysis of why particular code was faster.
>The point you missed by quibbling is that once you cleave the solution
>space along a library boundary, you have left the domain of "computer
>science" and are firmly in the domain of "engineering" where your
>precious axioms are just obvious facts, and the hard problems
>involve tradeoffs and organizational choices.
I'm really not sure what you mean. "Cleave the solution space along a
library boundary"??
>>I take it that you mean they must understand the principles, although
>>not necessarily how they are applied in C++.
>
>No, absolutely the opposite! Real, useful programs are written
>using real language features. To understand principles you must
>first understand the specific application. All valid principles
>are derived from experience, however they may be dressed up after
>the fact.
Perhaps I was taking you too literally again. If not: Maybe principles
are derived from experience (that is probably arguable in itself), but
not necessarily from experience with C++. Even the principles of the
C++ language can be seen in use in other languages. I can envisage the
indirect studying of the C++ principles, whether knowingly or
unknowingly, by studying various other languages (including those
which C++ has borrowed its principles from).
Davin.
__________________________________________________________
*** davmac - sharkin'!! [EMAIL PROTECTED] ***
my programming page: http://yoyo.cc.monash.edu.au/~davmac/
------------------------------
From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Reply-To: [EMAIL PROTECTED]
Date: Sat, 03 Jul 1999 04:28:07 GMT
On 02 Jul 1999 14:37:55 -0400, Johan Kullstam
<[EMAIL PROTECTED]> wrote:
>o r c @ p e l l . p o r t l a n d . o r . u s (david parsons) writes:
>
>> In article <[EMAIL PROTECTED]>,
>> Bruce Hoult <[EMAIL PROTECTED]> wrote:
>>
>> >Dylan is not several hundred percent slower than C as Java is.
>>
>> Have you benchmarked Java vs C on the same machine? (No, I don't
>> mean benchmarking C on a machine vs Java running on a p-machine
>> on that machine); there's certainly nothing in the design of
>> Java that would make it much slower than C on the same machine.
>>
>> Dylan is Yet Another Pascal, isn't it? It looks like the bastard
>> child of a shotgun marriage between Ada and Pascal.
>
>afaict dylan is the bastard child of lisp and the algol family (which
>includes pascal, ada and sort of includes C and C++). this isn't to
>say that dylan is all bad. it is taking some good ideas of both.
Paul Graham, author of "Common Lisp" and "On Lisp" characterizes Dylan
thus:
"Dylan is a hybrid of Scheme and Common Lisp, with a syntax like
Pascal."
--
"Let me get this straight:
A company that dominates the desktop, and can afford to hire an army of
the world's best programmers, markets what is arguably the world's LEAST
reliable operating system?
What's wrong with this picture?" -- <[EMAIL PROTECTED]>
[EMAIL PROTECTED] <http://www.ntlug.org/~cbbrowne/langlisp.html>
------------------------------
** 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.networking) 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-Networking Digest
******************************