Linux-Networking Digest #815, Volume #11          Wed, 7 Jul 99 19:13:58 EDT

Contents:
  Re: Why not C++ (Mike McDonald)
  Re: DNS woes (Clifford Kite)
  D-Link/VIA Network Card Mystery ("Grisha")
  Re: ipchains help -  newbie ("Robert Glover")
  embedded Linux and I2O... (William Ryder)
  Looking for a cgi script so users can change their passwords through apache ("Chris")
  Re: Win98 to Linux speed problem ("D.A.K.")
  Re: ifconfig eth0 up fails... (JC Pollman)
  Re: Network Card Collisions (JC Pollman)
  Re: How to control when pppd demand dials out. (John McDonald, Jr.)
  Re: Ethernet problem??? ("D.A.K.")
  Re: Connecting to NetZero through Linux (John Assalone)
  Re: Could Microsoft Cheat On The New Mindcraft Benchmark? (I R A Aggie)
  Re: pppd die on mandrake 6.0 (Brice)
  Real NOWHERE question. ("Guo Quin")
  Re: 10BASE-T NIC and 100mbps NIC to a dual-speed hub doesn't work? (bill davidsen)
  Redirecting to cgi's with POST (Joshua Sarro)
  Re: Could Microsoft Cheat On The New Mindcraft Benchmark? ("Fredrich P. Maney")

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Mike McDonald)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 7 Jul 1999 18:15:36 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
        Craig Graham <[EMAIL PROTECTED]> writes:

> Compiled Java would have extra overheads relative to C++,
> due mostly to the absense of a delete operator.  You have to either:

  You think delete() is quick?

> Strangly hidden in your sig, your last comment is right - to an extent, but
> the garbage collectors are still going to hammer performance no matter
> how clever they are, it's just a matter of how they do it....
> I spent several months writing a JVM for TwoWayTV/Cable&Wireless
> (embedded system application), so I've spent a shit load of time looking
> at the garbage collector issue.
> Craig.

  A whole "several months"? Wow! I suggest you check out
cs.utexas.edu:/pub/garbage for real information on garbage collection of all
kinds, including malloc/free and their relative performance.

  Mike McDonald
  [EMAIL PROTECTED]

------------------------------

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: DNS woes
Date: 7 Jul 1999 13:08:32 -0500

Phillip Rubin ([EMAIL PROTECTED]) wrote:

: fine and login completely, i can also ping everywhere but only if i use the
: ip. If i use a domain name, it just sits there and i have to control-c it to
: quit. After i try looking up a domain name, i can no
: longer ping anything (even my host) using ip addresses (it just sits there).

: I have resolv.conf set up using correct DNS servers (the same ones im using
: on my windows computer)

Despite this assertion it still sounds like resolv.conf is where the
trouble lies.  Do you have the syntax right?

search prodigy.com
nameserver xxx.xx.xxx.xx
nameserver xxx.xx.xxx.x
nameserver xxx.xxx.xxx.xxx

--
Clifford Kite <kite@inet%port.com>                    Not a guru. (tm)
/* Governments should be changed like diapers - often and for the
 * same reason. */

------------------------------

From: "Grisha" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.slackware
Subject: D-Link/VIA Network Card Mystery
Date: Wed, 7 Jul 1999 15:01:35 -0700

Hi there,

I've got a box here with 2 PCI network cards and slackware 4.  One of the
cards is easily found by ne2k-pci, however the other one doesn't want to be
co-operative.

I _think_ it's a D-Link 530. However, I've tried both the via-rhine and
tulip drivers to no avail.  It looks like it just isn't announcing itself
properly-- here's an excerpt from my PCI bus:
======
Bus  0, device  10, function  0:
    Ethernet controller: VIA Technologies Unknown device (rev 6).
      Vendor id=1106. Device id=3043.
      Medium devsel.  IRQ 3.  Master Capable.  Latency=64.  Min Gnt=118. Max
Lat= 152.
      I/O at 0xa800 [0xa801].
      Non-prefetchable 32 bit memory at 0xe0000000 [0xe0000000].
=====

Anyone come across this problem before?  The one card is working, so at
least I have some internet access, but I would like to run IP Masquerading.
Am I going to have to go buy a better card? :)

Thanks!
- Greg
[EMAIL PROTECTED]



------------------------------

From: "Robert Glover" <rglover@air(dot)ups(dot)com>
Subject: Re: ipchains help -  newbie
Date: Wed, 7 Jul 1999 21:19:34 -0000

I recently posted this excerpt from my "input rules" firewall script.
Forwarding is another matter, but similar.  I'm posting it because
when this is just what I needed what I was an "ipchains newbie", but I
could never find it.  As a network professional you should be able to
get an idea of how ipchains can be used from this brief sample.  I
hope it helps!

Also, I'm no network pro like yourself, so my rules may not meet your
needs.  If there's anything stupid in there, let me know.

##############################################################
# Note, some of the syntax here may be wrong because I'm did this from
memory.
# It's close.  Doesn't that count?  :-)
#
# Note: you get a usage counter on each ipchains rule implicitly.  It
increments each time
# the rule is met.
#

# safety first! Set the default input policy to "deny"
ipchains -P input DENY
# now you must explicitly accept any packet types or they get denied

# first create user-defined chains for each network interface.
# You can think of a user-defined chain as a kind of subroutine (if
that helps)
ipchains -N eth0-in
ipchains -N eth1-in

# now divert the packets into a chain based upon the device they came
in on
# you don't have to do it this way, but I like to break things up.
You could put them all in the pre-defined input chain.
ipchains -A input -i eth0 -j eth0-in
ipchains -A input -i eth1 -j eth1-in
ipchains -A input -i lo -j ACCEPT

#############################################################
# now let's apply rules for eth0 (lets say it has an IP/netmask of
192.168.99.1/24)

# prevent spoofing of the attached subnet
ipchains -A eth0-in -s ! 192.168.99.0/24 -j DENY

# now apply other rules that accept the packet types that you want to
allow
ipchains -A eth0-in -p tcp -s 0/0 http -j ACCEPT
# i'm not going to enumerate anymore, you get the idea

# Finally add a rule to deny anything that was not excplicitly
accepted. You ask
# if the default policy is already DENY, then why deny it here?  Well,
personally, I'm
# bothered if I can't tell where the 37 packets that were denied
# by the default policy came to me from.  This let's me find out what
interface the
# packets are comming from by doing 'ipchains -nvL eth0-in'
ipchains -A eth0-in -j DENY

#############################################################
# now let's apply rules for eth1 (lets say it has an IP/netmask of
192.200.99.1/24)

# and so on...

Good luck and don't fear the Penguin!

> Rene Nunez wrote in message ...
> I have been trying to set a firewall using ipchains on RH 6.0.
Being a
> newbie with Linux i figured that reading a how-to
> (www.rustcorp.com/linux/ipchains would be enough...   WRONG
>
> I guess what I need is a detail description (cookbook ???) .  I
would really
> appreciate If anyone has such description or is kind enough to tell
me what
> steps to follow.
>
> btw, I am very familiar with networks (it is part of what I do for a
> living), just not familiar with either Linux or Unix.
>
> Rene.



------------------------------

From: William Ryder <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.os.linux.misc
Subject: embedded Linux and I2O...
Date: Wed, 07 Jul 1999 13:44:05 -0400

Does anyone know of work being done to port Linux as a RTOS in an
embedded, I2O environment.  That is, is there a Linux that will run on
embedded processors, complete with I2O API wrappers?  If so, may I
request appropriate websites and or e-mail addresses for the developers?

Thanks,
Bill Ryder


------------------------------

From: "Chris" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Looking for a cgi script so users can change their passwords through apache
Date: Wed, 07 Jul 1999 21:46:05 GMT

Looking for a cgi script so users can change their passwords through
apache...

anyone have any ideas, source of cource....

Chris



------------------------------

From: "D.A.K." <[EMAIL PROTECTED]>
Subject: Re: Win98 to Linux speed problem
Date: Wed, 07 Jul 1999 14:03:04 -0400

I have the same problem. I have a P2-300 laptop running Win 98 and a P2-400
desktop running RedHat 6.0. I re-configured the kernel to include the 3c515
ethernet driver. I get good telnet session response (win to linux login). I
get good response from the http running on linux. I get good throughput from
linux to win for ftp transfers. But, I get poor if any throughput when doing
ftp from windows to linux. I'm running 100base-T, so things should be pretty
zippy.
I'm going to try getting the linux box to login to the cable modem ISP and
test throughput that way. Still looking for the answer!

        David

Martin Larsson wrote:
> 
> Hi.
> 
> My equip.:
> P2 Win98 comp.
> 486 Linux server.
> 100 Mbit LAN.
> 
> When I try copying a file from the Linux server, the speed is quite high,
> about 4 MB/s. BUT, when I try copying a file the other way, from the Win98
> computer TO the Linux server, the speed is really poor, approximately 20
> kb/s. Why??
> 
> Thanks in advance.

-- 

PS. Please remove -ignore from my address when replying. It is there
    to keep the spammers at bay.

------------------------------

From: [EMAIL PROTECTED] (JC Pollman)
Subject: Re: ifconfig eth0 up fails...
Date: Mon, 5 Jul 1999 06:29:48 -03-59

In article <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] writes:
> I have the same problem with RH6.0 - and yes, eth0
> interfaces loads 'ok' at boot . . . . .

I just had a similar problem. Everything was working fine and then I moved.
After the move eth0 loaded ok, but was unusable. Turns out that the mother
board decided to change the irq of the network card to the same irq of another
card. After I changed it back, all is well.

JC Pollman
 



------------------------------

From: [EMAIL PROTECTED] (JC Pollman)
Subject: Re: Network Card Collisions
Date: Mon, 5 Jul 1999 06:33:03 -03-59

I had a similar problem when I upgraded the kernel from 2.0 to 2.2 without
upgrading all the necessary other programs. Once I upgraded all the programs
everything started working correctly.

JC Pollman

------------------------------

From: [EMAIL PROTECTED] (John McDonald, Jr.)
Subject: Re: How to control when pppd demand dials out.
Date: Wed, 07 Jul 1999 21:22:22 GMT

On Wed, 07 Jul 1999 17:09:15 GMT, [EMAIL PROTECTED] wrote:

>I have several Win95 boxes masqueraded behind a linux box which is set
>up to use the pppd demand option (i.e. dial on demand).  Win95's
>Multiple Protocol Router service (MPREXE.EXE), wakes up about every 10
>or 15 minutes and makes a DNS request.  Since the Win95 boxes are
>configured with my ISP's DNS addresses, this is an "out of LAN" request
>and therefore causes the linux box to dial out.  I have hosts and
>lmhosts set up with all names for addresses on my LAN and localhost so
>MPREXE.EXE must be looking for something else (perhaps sending my SSN
>and bank balance to noprivacy.microsoft.com or something ;o).

I believe this would work for you, if I'm reading you correctly... You
could set up DNS caching on the linux box, tell the windows boxes to
use the linux box for DNS and the linux box to use yer ISP.. There's
HOWTOs for DNS caching...

Hope this helps.

[-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-]
 John K. McDonald, Jr.      Alcatel, USA

 [EMAIL PROTECTED]
 please remove -delete- for responses.
 --
 "I speak for me and not this company"

 TO SPAMMERS:
 Please  view   the  definitions   for 
 "telephone     facsimile    machine," 
 "unsolicted  advertisement,"  and the
 prohibition  and penalty  for sending
 unsolicited faxes before sending  Un-
 solicited  Commercial   E-mail to the 
 above   address.   Violators  WILL BE 
 PROSECUTED.   These   can   be  found
 in:
 
 The Telephone Consumer Protection Act
 of  1991,    Title   47,   Chapter 5,
 Subchapter II, Section 227.
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]

------------------------------

From: "D.A.K." <[EMAIL PROTECTED]>
Subject: Re: Ethernet problem???
Date: Wed, 07 Jul 1999 13:54:24 -0400

I had to rebuid my kernel to support the card I have (3Com 3c515). It works
pretty well. The kernel re-build was not hard, just time consuming. Look in
the "Kernel" HOWTO file. I took the defaults for most of the configuration
questions.

        David

"--==[bolMyn]==--" wrote:
> 
> Did you try to go through available cards and see if any of them would
> "autoprobe" yours?  That's how I got mine to work (I have syslink etherfast
> card).  If none of the options do not work for you, change the card... :-)
> 
> [EMAIL PROTECTED] wrote:
> 
> > When I installed Redhat Linux 6.0 it did not detect my ethernet which is
> > a SMC EtherEZ (8416). Could someone give me instructions concerning what
> > would the best way to get my ethernet card found by the system?
> > Many thanks to anyone who wishes to help.
> >
> > Larry
> 
> --
> Bolek,
> 
> URL: http://www.bolek.com
> e-mail: [EMAIL PROTECTED]

-- 

PS. Please remove -ignore from my address when replying. It is there
    to keep the spammers at bay.

------------------------------

From: John Assalone <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.misc,linux.redhat.misc
Subject: Re: Connecting to NetZero through Linux
Date: Wed, 07 Jul 1999 14:07:13 -0400

I don't see how this wouldn't be able to be done, considering NetZero is
a java app

Monte Phillips wrote:
> 
> I may be dead wrong on this, having only set up two NetZero accounts
> and both on windows machines, but it is my understanding that NetZero
> runs on only Win & MAc's.  One of the setups I did was for a Win box
> networked through a linux server to a modem, that worked fine. But a
> direct access from linux to NetZero I have not done, nor seen.   If it
> is possible I would certainly give it a shot.
> 
> Further, YAY! on you if you do write a HOWTO thats uptodate. :)
> 
> g'Luk
> 
> , [EMAIL PROTECTED] wrote:
> >I am attempting to set up my Netzero account through my Linux.
> >I was wondering if any has done it or if anyone can point me in the
> >correct direction? I have seen posts on this but they have all been
> >incomplete. I am new to Linux and I am unfamiliar with just about every
> >thing. But as I can not connect to the internet from home it becomes
> >difficult to Dload How-tos etc.
> >

------------------------------

From: [EMAIL PROTECTED] (I R A Aggie)
Crossposted-To: 
omp.os.ms-windows.nt.advocacy,comp.os.linux.advocacy,comp.infosystems.www.servers.unix,comp.os.linux.misc
Subject: Re: Could Microsoft Cheat On The New Mindcraft Benchmark?
Date: 7 Jul 1999 18:01:44 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 07 Jul 1999 17:05:23 GMT, Anthony Ord
<[EMAIL PROTECTED]>, in
<[EMAIL PROTECTED]> wrote:

+ So let me see - excluding Europe and going for the bigger
+ countries I can think of from the top of my head...

You can skip members of the Commonwealth. To call them "independent"
is a bit disingenuous -- did they *really* have an option of "hell no,
we won't go"? didn't think so. Zapping them, we get...

+ Japan was involved, China was involved,

They where figting each other, and where not engaged with England/France
or Germany/Italy until December 1941.

+ the Soviet Union was involved,

Not until June 1941. But you knew that. Up to that time, they where
busy splitting Poland with Hitler and invading Finland. And Hitler
gave the Finns more aid against Stalin that either Britan or France,
even tho they talked about it...but that's all they did...

+ and it was a mainly European war...

About half in Europe and half in Asia.

James

------------------------------

From: Brice <[EMAIL PROTECTED]>
Subject: Re: pppd die on mandrake 6.0
Date: Wed, 07 Jul 1999 18:30:53 GMT


Xav wrote:
>     I'am trying to connect on internet with mandrake 6.0
> 
> Dialling is good but when pppd try to connect to network , nothing
> append and after few seconds, pppd die.. certainly due to timeout
> passwd and login are good !!!
> 
> Is there any problemes known on mandrake 6.0
> 
> What can i do ???
> 
> 
> 
> Opinions expressed herein are my own and may not represent those of my 
employer.
> 

I have the same problem on Mandrake 6.0. I know someone who help me but we 
don't have any answer yet. 

But we have checked everything until know... password, login, timeout.... 
EVERYTHING !!! but I think there is a problem with pppd or kppp... 

As soon as I get an answer, I will give.

Bye...


==================  Posted via SearchLinux  ==================
                  http://www.searchlinux.com

------------------------------

From: "Guo Quin" <[EMAIL PROTECTED]>
Subject: Real NOWHERE question.
Date: Wed, 07 Jul 1999 22:41:15 GMT

Hello.
I 've got problems in SAMBA.
I can telnet; ftp and http in and out or it is RHtoW98; W98toRH; RHtoRH:
W95to E98; RHtoW95 or W95toRH.
I can "smbclient" from RH5.0 to Windozes.
I can "nethood" from Windozes to RH5.0.
The only thing doesn't work is "smbmount".
Note:I used to use "enter" for password (me set it up like that).

It did work if I "smbmount" RHtoRH at root directory only, since
I could use my root login password, all other directory failed.
This is meaningless since I would like to "smbmount" a windoze
directory or drive.
I configged and configegd and then configged.....but
First "nethood" went blank in Windoze, then I try to restore
smb.conf by configging and configging.... then
Second, now I can't even "smbclient" RH to Windozes.

This means Samba is all out, what a "fight".

Kieu



------------------------------

From: [EMAIL PROTECTED] (bill davidsen)
Subject: Re: 10BASE-T NIC and 100mbps NIC to a dual-speed hub doesn't work?
Date: 7 Jul 1999 18:27:28 GMT

In article <7lic1n$jkb$[EMAIL PROTECTED]>,
Todd Knarr  <[EMAIL PROTECTED]> wrote:
| TURBO1010 <[EMAIL PROTECTED]> wrote:
| > Is this the reason why if I'm copying something from my desktop to linux,
| > the light on the nic on my laptop blinks too?
| 
| More than likely. It's a simpler design, hence why hubs are cheaper
| than switches. The tradeoff is efficiency.

Efficiency is a somewhat broad term, bandwidth is the issue. In a hub,
if A has a socket to B and C to D, they each see every packet, a so have
only 10Mbit (or 100Mbit) to share for all machines. In a switch the
shared limit is the bandwidth of the backplane of the switch, usually
500MB to 5GB, so both sockets can run at full speed.

This can make a huge difference in latency and throughput for a system
where traffic is distributed.

-- 
bill davidsen <[EMAIL PROTECTED]>  CTO, TMR Associates, Inc
  The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.


------------------------------

From: Joshua Sarro <[EMAIL PROTECTED]>
Subject: Redirecting to cgi's with POST
Date: Wed, 7 Jul 1999 18:20:03 -0400

I couldn't find an apache newsgroup (pretty surprising to me) so I am posting
my apache question here:

I am trying to create a centralized cgi machine to service a lab which I work
in. It seems, however, when I try set up the servers in the lab to redirect
cgi requests to the cgi machine a problem occurs. The problem is that cgi
data sent by the POST method is not being sent through the redirect. I am
redirecting using apache's Redirect directive. Is there a different directive
to get around this problem, or any kind of fix? Please email me any insight
you may to fixing this problem. Thanks.



        -mthed "There's a madness to my method."


------------------------------

From: "Fredrich P. Maney" <[EMAIL PROTECTED]>
Crossposted-To: 
omp.os.ms-windows.nt.advocacy,comp.os.linux.advocacy,comp.infosystems.www.servers.unix,comp.os.linux.misc
Subject: Re: Could Microsoft Cheat On The New Mindcraft Benchmark?
Date: 7 Jul 1999 18:38:32 GMT

In comp.infosystems.www.servers.unix [EMAIL PROTECTED] wrote:

[deletia]

: After WWII, yes. Before that, you were NOT a "superpower". 
: Your country was the only one in the northern hemishpere that was NOT
: totally trashed in the war, therefore, you had no infrastructure to rebuild,
: therefore, you had plenty of money to put elsewhere.

Not true. Canada for example was in pretty good shape (I'm not sure if it
was still subject to English rule at the time though). As for the superpower
quip, the USA most definitely was a SuperPower by the time of WWII, we
just weren't recognized as such by the arrogant Europeans who seemed to
feel they had some Divine Destiny to rule the world.

: The only countries that really BENEFITTED from the war were Germany and the
: USA (Because it bumped the usa several rungs up the ladder of world power,
: and everyone else down a couple.)

Complete Bullshit. Even now Germany is *still* rebuilding and repairing
from WWII. As for the USA benefitting from WWII, have you even *read*
history concerning the war and just how many US troops died? If I remember
the population numbers of England correctly, it was more than your entire 
country (not just your combat dead, but your whole country).

: Our farmers feed the US
: = population and 25% of the rest of the world. The American people
: = freely give of their time and money to those less fortunate.

: And people from other countries DON'T?

Not in anywhere near the numbers that the US does they don't.

[deletia]

: The rest of the world (tm) dates WWII as 1939 to 1945.

Sources? I personally doubt that. I would be much more inclined to think
that each country dated WWII as lasting for the time of their involvement
in it. Just like the English do. Just like the US does.

[deletia]

fpsm
-- 
| Fredrich P. Maney                            [EMAIL PROTECTED] |
| President, Seventh Floor Communications, Inc.  www.seventhfloor.com |
| 167 West Main Street, Lexington, KY 40507                           |
| [EMAIL PROTECTED]     [EMAIL PROTECTED]    www.maney.org   ICQ# 5632845 |
=======================================================================
            'An it harm none, do what thou will.

------------------------------


** 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
******************************

Reply via email to