Linux-Networking Digest #727, Volume #11         Wed, 30 Jun 99 06:13:32 EDT

Contents:
  Re: Banner after print job. ("Tozz")
  Re: Linux - Win networking ([EMAIL PROTECTED])
  Re: Red Hat (Ben B)
  ISA EtherLink III ([EMAIL PROTECTED])
  Re: Best settings for 3c5x9cfg?? (Andreas Vierengel)
  Re: Banner after print job. ("Tozz")
  Re: If I had a gun.... ("James R. Barnett, Jr.")
  Re: unknown ip on network (Harry Park)
  Preventing inbound packets w/ ipfwadm ("John Wolanski")
  Re: Radius Server Detail file ([EMAIL PROTECTED])
  Re: diald compile failure (Villy Kruse)
  Using (Trying to?) DEC EtherWorks 204 (Michael Burns)
  Re: ISA EtherLink III (Todd Knarr)
  Re: PPP won't compress - regardless of options... (Villy Kruse)
  UUCP and ttyS? ("J. 'FIK' Brand")
  problem with sendmail (lello)
  Re: Swap over NFS ([EMAIL PROTECTED])
  Re: IP Alias Timeout??? ("Ricky J. Sethi")
  Re: ([EMAIL PROTECTED])
  Re: Why not C++ (Martin Aupperle)
  eth0 not gateway  (JC Pollman)
  Re: I need help setting up my network. (Duncan Simpson)

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

From: "Tozz" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux
Subject: Re: Banner after print job.
Date: Wed, 30 Jun 1999 09:02:34 +0200

Like I said before, I'm 100% procent SURE it's coming from the linux box!

You see, when I install th printer directly (sending directly to the
printer, instead of linux) I don't got the problem.

It's really linux...

[EMAIL PROTECTED] wrote in message <7lcade$594$[EMAIL PROTECTED]>...
>In article <[EMAIL PROTECTED]>,
>  "Rich Sena ras*at*tiac.net" <[EMAIL PROTECTED]> wrote:
>> Actually defining :sh: in the printcap *should* do it - but it does
>not...
>> - the only thing that I can think of - is because redhat's printool is
>> redirecting to a filter file with an if (input filter)
>> statement :if=/var/spool/lpd/lp/filter: *and* since in the
>> man page and HOWTO it is specifying :sh: as the final argument in the
>> entry - it is ignoring it...  don't know if that floats - I played
>with
>> positioning it before and after the filter redirections tyo no avail -
>it
>> may need to be defined in that actual filter itself...
>
>
>hi guys,
>
>someone pointed it out already, i'm just a repeater:
>( let me tell you, it worked for me!!)
>if the page comes AFTER the printjob, this is from the printer(box,
>maybe) NOT from the spooler!!!
>so telnet to your printer(box) and look at the configuration.
>btw, what puzzled me, the same printer did NOT print any extra pages
>when printing from winnt.
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.



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

From: [EMAIL PROTECTED]
Subject: Re: Linux - Win networking
Date: Wed, 30 Jun 1999 05:04:01 GMT

I read the IPCHAINS HOWTO and can't quite figure
out how to translate ipmasqadm or ipfwadm
commands to ipchains.  I'm trying to set up my
system to permit any internal ip to go out and
deny all inbound, except for port 80, 1494, 1604
and those should be redirected to 10.1.1.3.

So far I've got:
ipchains -P forward DENY
ipchains -A forward -i eth0 -j MASQ
echo 1 > /proc/sys/net/ipv4/ip_forward

and want to add the following translated:
ipmasqadm portfw -a -P tcp -i eth0 80 -R 10.1.1.3
80
ipmasqadm portfw -a -P tcp -i eth0 1494 -R
10.1.1.3 1494
ipmasqadm portfw -a -P tcp �I eth0 1604 -R
10.1.1.3 1604

*eth0 = external interface
*eth1 = internal interface


In article <7lai1g$[EMAIL PROTECTED]>,
  "Bob Glover" <app1rtg_at_air.ups.com> wrote:
> [snip]
> ># cat rc.firewall
> >#!/bin/sh
> >/sbin/depmod -a
> >/sbin/modprobe ip_masq_ftp
> >echo "1" > /proc/sys/net/ipv4/ip_forward
> >ipchains -M -S 7200 10 60
> >ipchains -P forward DENY
> >ipchains -A forward -s 192.168.0.0/24 -j MASQ
> >
> >Any obvious problems with the above?
>
> Ping data is carried by ICMP packets (not TCP
or UDP packets).  So you must
> specifically allow ICMP packets to pass through
the firewall.  I can't
> remember the syntax for sure but I think it's
something like:
>
> ipchains -A forward -p icmp -j MASQ
>
> Try 'man ipchains'.  I think that's where I saw
it.
>
> Also, a word of warning:
>
> You should have all your services commented out
in inetd.conf.  Odds are you
> don't need any of them.  And personnaly I have
the following firewall rule
> (among others).
>
> ipchains -A input -i ppp* -s0/0 -j DENY
>
> This drops all packets comming from the
internet unless they were
> masqueraded.  Masqueraded packets will bypass
this rule and not be affected.
>
> Good luck and don't fear the Penguin.
>
>



Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: Ben B <[EMAIL PROTECTED]>
Subject: Re: Red Hat
Date: 29 Jun 1999 23:31:46 PDT
Reply-To: [EMAIL PROTECTED]

Hello Ahmed Aden,

I am running RH6.0, and setup a ppp with PAP using linuxconf.  Linuxconf
also has menu option for connect and disconnect; alternately I can type
/etc/ifup ppp0 and ifdown...

Hope that helps,

Ben

Ahmed Aden wrote:
> 
> I need to setup Red Hat 6.0 for a friend and I need someting as
> straightforward as minicom, but less complicated.  Does anybody know of
> any such dialers for RedHat 6.0.  I personally use Slackware Linux and
> I'm aware of a program called pppsetup which asks you questions about
> DNS (ip of DNS server), and the authentication method, modem port, etc.
> and then it spits out a script which you can run and modifies your
> /etc/resolv.conf, and other options files files enabling you to connect
> with little or no problems.  I have all the info necessary, but I'm
> looking for some sort of script that comes with Red Hat that would make
> this easy, provided his modem works for it
> 
> ____________________________________________________________________
>  Ahmed Aden                            Internet Systems Engineer
>  High Speed Installation               Reseller Division
>  UUNET, an MCI WorldCom Company        Email: [EMAIL PROTECTED]
>  Phone: 703.744.2583                   Hours: 10am - 7pm Eastern

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

From: [EMAIL PROTECTED]
Subject: ISA EtherLink III
Date: Wed, 30 Jun 1999 07:10:50 GMT


Does Linux support 3COM ISA EtherLink III ?  I am talking about the
one included in their 3COM OfficeConnect Networking Kit with a 4 port
hub.

I could not really decide from RedHat's hardware list whether or not
the ISA EtherLink III has a tier 1 support.

Thanks

Sandy

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

From: Andreas Vierengel <[EMAIL PROTECTED]>
Subject: Re: Best settings for 3c5x9cfg??
Date: Wed, 30 Jun 1999 08:39:29 +0200

Mallinson Theo wrote:
> 
> Andreas,
> 
> How did you set up your card? I have mine set up for i/o 300 and irq 10,

I did it the same way. Remember to test with the dos-utility if the setting are
working !

> and have pnp disabled with the 3COM DOS utility. I have kernel support
> included statically. When I boot I get eth0 failed, dalying
> initialization. If I try to run pnpdump, it shows no cards detected. In
> the bios I have disabled PnP and have manually reserved irq 10 as being
> used by an ISA card.

Correct.

> 
> What else do I need to do to get this to work? I thought the process was
> fairly simple - get a dump from pnpdump and set up isapnptools to run
> with the appropriate configuration file at boot. What's going on?

try the following option at the boot prompt, if you have two cards, one (eth0)
at io:0x300 and irq:5 the other (eth1) at io:0x0280 irq:15
ether=5,0x300,eth0 ether=15,0x280,eth1

or in lilo.conf:
append="ether=5,0x300,eth0 ether=15,0x280,eth1"

This is also documented in the Ethernet-HOWTO.
It is located (at least on my distribution -> RedHat 5.2) in /usr/doc

Hope that helps !

--Andy

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

From: "Tozz" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux
Subject: Re: Banner after print job.
Date: Wed, 30 Jun 1999 09:03:50 +0200

Well, I'm sure it's from the linux box. What could be possible is that my
printer sorts the pages (It prints the last page first!).

But I'm sure it's from the linux machine.

Stuart R. Fuller wrote in message ...
>Tozz ([EMAIL PROTECTED]) wrote:
>: Hello,
>:
>: When I print something to my HP LaserJet 4000 TN, I get a banner page
after
>: each print job when I send a print job to my linux box.
>:
>: If I print to the printer on my NT Terminal server, everything works
fine,
>: so it's linux who adds the banner.
>:
>: I tred some things in the PRINTCAP file, like :sh: etc, etc.. but they
>: didn't wokr
>
>Banners that appear AFTER the print job are added by the printer.  Banners
>that appear BEFORE the print job are added by lpr.
>
>Are you using lpd to print to the printer from Linux, and some other
protocol
>from NT?  If so, then the printer likely has banner printing enabled on the
>lpd protocol.
>
>        Stu



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

From: "James R. Barnett, Jr." <[EMAIL PROTECTED]>
Subject: Re: If I had a gun....
Date: Wed, 30 Jun 1999 02:31:21 -0500

Andrey Smirnov wrote:
> 
> No arp entries on both machines (incomplete means nothing) only means that
> you have a hardware issue. Check your nics, hub, check if you have proper
> drivers for nic card under Linux. May be try to use crossover cable instead
> of a hub, etc.
> 
> When you solve your hardware issue, then you can focus on setting up TCP
> network.
> 
> Good luck!
> 
I compiled a kernel with support for the 3Com3c509 built-in. Still no
luck. Intuitively, I would think the hub would be OS independent. Am I
wrong? Can anyone think of a reason the a hub would not work under Linux
but would work with win98? Has anyone had driver problems with the
3Com509? I am running Kernel 2.2.5-15. 

JamesB

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

From: Harry Park <[EMAIL PROTECTED]>
Subject: Re: unknown ip on network
Date: Wed, 30 Jun 1999 03:27:14 -0400

Bob wrote:

> A simple traceroute would show Where the address is connected to!
>
> From there you can gleam all sorts of info....

Traceroute, from outside the firewall just runs and returns nothing, although I
can ping to it.


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

From: "John Wolanski" <[EMAIL PROTECTED]>
Subject: Preventing inbound packets w/ ipfwadm
Reply-To: "John Wolanski" <[EMAIL PROTECTED]>
Date: Tue, 29 Jun 1999 21:48:51 GMT

Just have a question.  I am using a cable modem hooked up to my Linux box
(RH 5.2) and am using ipfwadm to masquerade it to another computer so both
can share the cable modem, using the following commands:

ipfwadm -F -p deny
ipfwadm -F -a m -S 192.168.1.0/24 -D 0.0.0.0/0

and of course, the 192.168.etc... is my internal network address.

If I wanted to prevent inbound access from a certain IP address, from what
I gathered of the ipfwadm man page, I would do it thusly:

ipfwadm -I -a deny -S nnn.nnn.nnn.nnn

Is this correct?  Will this prevent others from the specified IP address
from accessing my computer, telnetting, FTPing, NFSing (heheh), etc...?

-- 
--John Wolanski
email:  jpw AT columbus DOT rr DOT com

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

From: [EMAIL PROTECTED]
Subject: Re: Radius Server Detail file
Date: Wed, 30 Jun 1999 07:40:15 GMT

HI,
I've got an subdirectory with the name of the terminal Server but itz
doesn't work!!!
HAve you an other idea?????
cu ycae
In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (Hannu) wrote:
> Radius needs a subdirectory named after your terminal server.
> If your terminal server is box.domain.com, create a subdir for it:
> cd /var/adm/radacct/box.domain.com
> then restart radiusd:
> /etc/radiusd -a /var/adm/radacct
> Now, the first incoming authentication will create a file:
> /var/adm/radacct/box.domain.com/detail
> and this keeps building up as your radius gets to work.
> Hannu
>
> On Thu, 24 Jun 1999 11:39:37 GMT, [EMAIL PROTECTED] wrote:
>
> >hi,
> >i've installed the Radius server but i've got a Problem:
> >The radius server doesn't write the detail file in
> >/var/log/radacct/detail.
> >So i don't know long a user was here!
> >Can somebody help me to solve this Problem????
> >Thanks a lot
> >cu ycae
> >
> >
> >Sent via Deja.com http://www.deja.com/
> >Share what you know. Learn what you don't.
>
>


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: diald compile failure
Date: 30 Jun 1999 10:26:40 +0200

In article <[EMAIL PROTECTED]>,
Magnus Svensson  <[EMAIL PROTECTED]> wrote:

>Is there some binarys elsewhere?? 

Try look at ftp://contrib.redhat.com



>Any help is very much appreciated!

What version fo diald and where did you donwload it from?

Version 0.16 has long been obsolete, and whereever it is available
for download it should realy be replaced with a more uptodate version
or removed.


Currents version should be available at http://diald.unix.ch



Villy

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

From: Michael Burns <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,redhat.networking.general
Subject: Using (Trying to?) DEC EtherWorks 204
Date: 30 Jun 1999 08:30:43 GMT

I am trying to do my first Linux install (RedHat v6) on an old P90 system 
(32MB/1.2Gig).

Using the DOS nicsetup.exe from Digital's site, I have verified that the 
card is working, and is set at IO port 300, IRQ 5.

When installing RedHat, when it prompts for the driver, I select "Digital 
Etherworks 3" which uses the ewrk3 module. Since autoprobing doesn't work, 
I specify the options specifically -- "io_port=0x300 irq=5" however, this 
still doesn't work. I keep getting "I can't find that device on your 
system!" messages. I am going bald through the hair I am pulling out!!

Hopefully someone out there has used this card/driver and got it to work? 
Any suggestions (and I apologize right away if it's something obvious I 
missed...as I mentioned, first time and all...).

Thanks!


-Michael Burns
8mbb@*nospam*qlink.qu

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

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

From: Todd Knarr <[EMAIL PROTECTED]>
Subject: Re: ISA EtherLink III
Date: 30 Jun 1999 08:32:02 GMT

[EMAIL PROTECTED] wrote:
> Does Linux support 3COM ISA EtherLink III ?  I am talking about the
> one included in their 3COM OfficeConnect Networking Kit with a 4 port
> hub.

If you're talking about the 3C509B network cards, it does. You can use
it in PnP mode with the isapnp utility, but I recommend booting into
DOS and using 3Com's config utility to set the card to non-PnP mode
and configure the I/O address and IRQ manually. There's a 3c5x9utils
package that contains Linux programs to configure the 509 cards, but
I don't believe it allows toggling the PnP setting.

-- 
Collin was right. Never give a virus a missile launcher.
                                -- Erk, Reality Check #8

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

From: [EMAIL PROTECTED] (Villy Kruse)
Crossposted-To: 
comp.protocols.ppp,linux.redhat.misc,redhat.config,redhat.networking.general
Subject: Re: PPP won't compress - regardless of options...
Date: 30 Jun 1999 10:34:31 +0200

In article <hwee3.16482$[EMAIL PROTECTED]>,
Eric Livingston <[EMAIL PROTECTED]> wrote:
>I'm trying to establish a connection between two machines, one running pppd
>2.3.5 and the other 2.3.7, and regardless of my using "bsdcomp x,x" and
>"deflate x,x" options (or both simultaneously), pppstats (and /proc/net/dev)
>report that I'm getting zero compression.


Often the two sides can't agree on a compression protocol, and only 
the logfiles in connection with the debug option to pppd can tell what
compression was negotiated.


Villy

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

From: "J. 'FIK' Brand" <[EMAIL PROTECTED]>
Subject: UUCP and ttyS?
Date: Wed, 30 Jun 1999 10:24:58 -0000

Hi

I'am using uucp to copy files between  linux (RedHat 6.0) and SCO unix 4.3.

This works but the permissions on the ttyS0 device on de linux machine are
set 'rw' for the user only ( crw--------- uucp uucp  4, 64, jun 29 22:05
ttyS0).

When a user wants to connect to the SCO host with cu the have no permission.
I can set the permissions by hand but linux wil reset them back to only 'rw'
for the user.

How do I set the permissions so that uucp will work and that users can
connect to the SCO host.

Jurgen



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

From: lello <[EMAIL PROTECTED]>
Subject: problem with sendmail
Date: Wed, 30 Jun 1999 11:02:02 +0200

Hello, I have a problem with sendmail, I hope that someone can help me
(peaseee :-)))
Here it is: I hava compile the last version of sendmail (8.9.3) without
any flag, created sendmail.cf getting for the alias of the domain e of
the users

> # Virtual user table (maps incoming users)
> Kvirtuser dbm -o /etc/mail/virtusertable
>
> # Access list database (for spam stomping)
> Kaccess dbm -o /etc/mail/access

created the two databases with:

> /usr/sbin/makemap dbm virtualuser < virtualuser
> /usr/sbin/makemap dbm access < access
>
so far no problems following the instructions of the various  README...

executing sendmail however I get the following error messages:

> 554 /etc/sendmail.cf: line 91: readcf: map virtuser: class dbm not
> available
> 554 /etc/sendmail.cf: line 94: readcf: map access: class dbm not
> available
>
so I tried to compile everything stating explicitly in

> Makefile.m4
> MAPDEF=-DNDBM

but in this case I cannot even link the *.o files:

> > Build -c
> Configuration: os=Linux, rel=2.0.34, rbase=2, rroot=2.0, arch=i586,
sfx=
> Clearing out existing obj.Linux.2.0.34.i586 tree
> Using M4=/usr/bin/m4
> Creating obj.Linux.2.0.34.i586 using ../BuildTools/OS/Linux
> Making dependencies in obj.Linux.2.0.34.i586
> cc -M -I.  -DNDBM  *.c >> Makefile
> Making in obj.Linux.2.0.34.i586
> cc -O -I.  -DNDBM    -c alias.c -o alias.o
> cc -O -I.  -DNDBM    -c arpadate.c -o arpadate.o
> cc -O -I.  -DNDBM    -c clock.c -o clock.o
> [...]
> cc -O -I.  -DNDBM    -c util.c -o util.o
> cc -O -I.  -DNDBM    -c version.c -o version.o
> cc -o sendmail   alias.o arpadate.o clock.o collect.o conf.o control.o

> convtime.o daemon.o deliver.o domain.o envelope.o err.o headers.o
> macro.o main.o map.o mci.o mime.o parseaddr.o queue.o readcf.o
> recipient.o safefile.o savemail.o snprintf.o srvrsmtp.o stab.o stats.o

> sysexits.o trace.o udb.o usersmtp.o util.o version.o  -ldb
> map.o: In function `ndbm_map_open':
> map.o(.text+0x11aa): undefined reference to `dbm_pagfno'
> make: *** [sendmail] Error 1
>

I use gcc version 2.7.2.3 and GNU ld version 2.9.1 (with BFD
2.9.1.0.19), but even on other machine with more up-to-date versions I
get the same results ;((((
I anyone can help me I would be very very grateful
bye
Marco Minotto




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

From: [EMAIL PROTECTED]
Subject: Re: Swap over NFS
Date: Wed, 30 Jun 1999 08:42:55 GMT

In article <[EMAIL PROTECTED]>,
  Gary Helbig <[EMAIL PROTECTED]> wrote:

> Correct me if I'm wrong, but....  I don't think it can be done.

Okay, I will and it can. :)

> Swap is not a file system.  I haven't tried it recently, but I'm
> pretty darn sure that fsck would choke on a swap partition.

fsck choking on something isn't a valid test of whether or not that
something is a filesystem.  I've had fsck choke on things that were very
definitely filesystems before.

> And if it's not a file system, NFS can't deal with it.

Very true, but there are people developing a network swap system that [I
believe... please correct me if *I'm* wrong :)] uses NFS protocols.

Since I just got back from the bar and am in no condition to mount a
search, I'll have to leave that until morning.  I suppose I should've
left this entire post until morning, but what fun would that've been?

In all seriousness, somebody posted here a few months ago regarding a
system that some university was developing for doing network swapping.
It might be right up the alley of what the original poster was looking
for.

--
Bill Clark
Systems Architect
ISP Channel
http://neighborhood.ispchannel.com/


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: "Ricky J. Sethi" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: IP Alias Timeout???
Date: Wed, 30 Jun 1999 01:54:18 -0700

Hi guys,

Okay, a couple of (very) kind souls asked for the ifconfig output so here
goes...

eth0      Link encap:Ethernet  HWaddr 00:A0:CC:26:4C:5E
          inet addr:209.178.112.10  Bcast:209.178.112.255
Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:58673 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59098 errors:0 dropped:0 overruns:0 carrier:0
          collisions:2638 txqueuelen:100
          Interrupt:11 Base address:0x6800

eth0:0    Link encap:Ethernet  HWaddr 00:A0:CC:26:4C:5E
          inet addr:209.178.112.8  Bcast:209.178.112.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0x6800

eth0:1    Link encap:Ethernet  HWaddr 00:A0:CC:26:4C:5E
          inet addr:192.168.0.5  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0x6800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:143 errors:0 dropped:0 overruns:0 frame:0
          TX packets:143 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

Any ideas?

Thanks again!!!


Rick.



Ricky J. Sethi <[EMAIL PROTECTED]> wrote in message
news:7lbbem$oni$[EMAIL PROTECTED]...
> Hello,
>
> I just installed Redhat 6.0/WinNT dualboot and I have a question about
> my NIC configuration:  the IP aliasing seems to timeout after a
> while under RedHat.  I'm using a Linksys Etherfast (with the tulip
> driver) and the aliases work fine under NT.  However, after about 40
> minutes, none of the aliases are pingable under redhat.  the primary
> interface stays functional throughout but the aliases all seem to
> timeout.  A reboot or poweroff doesn't change this.  The only thing
> that seems to help is to remove all the aliases and the primary
> interface and then reenter the primary and aliases.  It then works
> again for about 40 minutes, after which time the aliases time out
> once again (but the primary interface continues to work).  I've tried
using
> both ifconfig and the networking button of the control-panel to
> configure this in vain.  So I figured I'd put this up to the real Linux
> gurus out
> there :)  Please help!!!
>
> Thanks in advance,
>
>
> Rick.
>
>
>
>




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

From: [EMAIL PROTECTED]
Subject: Re:
Date: Wed, 30 Jun 1999 08:26:42 GMT

Thanks guys. I'm still not sure I get it. Let's forget IP for the
moment and concentrate on layer-2 behaviour.

I guess the big question then is if my following statement is correct:

In a network consisting of LAN's connected by Layer-2 switches only,
communication between endstations A and B on different segments (on
different switches) is possible since layer-2 switches will broadcast
packets that contain unknown (to them) MAC dest. addresses to all their
ports so eventually packets from A will reach B ??????


If this is true, I still have a question left:
How does such A determine B's MAC address before assembling his data-
packets ? By some kind of name-resolution broadcast, protocol-dependent
? If so, then previous statement must be true or else A can't even
assemble data-packets destined for B ????

Please help once more.



Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: [EMAIL PROTECTED] (Martin Aupperle)
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.development.system,comp.lang.c++
Subject: Re: Why not C++
Date: Wed, 30 Jun 1999 09:11:00 GMT

On 28 Jun 1999 17:05:17 -0400, [EMAIL PROTECTED] (Greg Comeau) wrote:

>>
>>C++ *is* slower than C.
>
>I suspect there is some knee-jerking going on here.
>Certainly C++ is not always fast compared to anything.
>But certainly saying it is always slower than C is not the case either.
>
I can equally well say: C++ is faster than C. 

* Code a function to concatenate two strings in C and C++. 
* Code some container like vector, list etc. in C by hand and compare
its performance to the STL counterparts. 

Not only are the C++ versions much faster, the client code is easier
to write, easier to read etc. AND everything is thoroughly tested. In
your C-version, there might well be bugs in your string concatenation
routine (Don't laugh: I saw a lot of C-like string concatenations
that worked in the first place, but failed later during maintenance of
the program). 



================================================
Martin Aupperle 
[EMAIL PROTECTED]
(remove NoSpam_)
================================================

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

From: [EMAIL PROTECTED] (JC Pollman)
Subject: eth0 not gateway 
Date: Tue, 29 Jun 1999 21:32:23 -03-59

The problem: the computer is using lo instead of eth0
for routing. 

My setup: Mandrake 6.0 on a amd k-266 with 32 megs of 
ram, and a netgear FA310tx card. I am running the 2.2.10
kernel and have the tulip driver compiled into the 
kernel. I have a similar setup on another computer with
no problems.

Additional info:

ifconfig -a 

eth0      Link encap:Ethernet  HWaddr 00:A0:CC:3C:30:D4
          inet addr:192.168.124.10  Bcast:192.168.124.255  Mask:255.255.255.0
          BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:10 Base address:0x6500

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:331 errors:0 dropped:0 overruns:0 frame:0
          TX packets:331 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0



netstat -rn

127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0 lo
0.0.0.0         192.168.124.10  0.0.0.0         UG        0 0          0 eth0



/etc/sysconfig/network

NETWORKING=yes
FORWARD_IPV4=yes
HOSTNAME="master.kulai.org"
DOMAINNAME=kulai.org
GATEWAY=192.16ifconfig -a 



/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE="eth0"
IPADDR="192.168.124.10"
NETMASK="255.255.255.0"
NETWORK=192.168.124.0
BROADCAST=192.168.124.255
ONBOOT="yes"
BOOTPROTO="none"
USERCTL=no




dmesg

tulip.c:v0.89K 8/8/98 Originally written by [EMAIL PROTECTED]
Driver modified by Netgear for FA310TX
Netgear technical support: [EMAIL PROTECTED]
eth0: NETGEAR NGMC169 MAC at 0x6500, 00 a0 cc 3c 30 d4, IRQ 10.
eth0: Checking for MII transceivers...
eth0:  MII transceiver found at MDIO address 1, config 1000 status 782d.



The RX and TX values increase every time I try to ping
another computer on the lan - and the hub's lights
never blink when I ping. The netstat -rn info is what
troubles me as 192.168.124.10 is not listed as a
destination.  When I try traceroute to a computer on
the lan, all I get is: 1 * * * and the numbers increase
to 30. I have tried manually typinging in route 
commands, but nothing ever changes.

TIA
JC Pollman
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Duncan Simpson)
Subject: Re: I need help setting up my network.
Date: 30 Jun 1999 09:15:49 GMT

In <[EMAIL PROTECTED]> Travis <[EMAIL PROTECTED]> writes:

>I setup my 2 linux boxes with the following command:

># ifconfig eth0 192.168.42.x

>Where x is 1 for the first linux box (Linux1) and x is 2 for the second
>box (Linux2)

>My question is:
>1.  If Linux1 is my server do I have to setup a DNS server?

No, but might want a caching only DNS server. You can use simpler
things like hosts files is you prefer (and on a small network you
probably do). IP masq. may require the gateway to run a DNS server
that the other boxen behind the gateway can consult.

The bind operators' guide knows the detials. Quite a few other books
know about the simpler cases. Actually setting up a full blown name
server for lots of domains is not really very complex. (Unless someone
else gives you cash for the internic fees it will not be cheap though).

I should know as I have set up bind 8.x for my ISP. (Day to day
operations are done by someone else who also has no problems setting
up and operating bind).

>2.  If I have to setup a DNS server where can I get info on setting it
>up?

IF you need the full whack, try the bind operators' guide. If you
are looking for just a simple cache that just users forwarders this more
than you need (but does contain the detials you need to know and vast
amount more as well).


>3.  Do I have to set up the computers to be Linux1(2).hostname and
>Windows1.hostname? Or can I set them up to just be Linux1(2) and
>Windows1

Choose any names you like :-) host names are really just shorthand for
sets of IP numbers, so both are possible. (For OS dependent names, which
only work when the appropiate OS is running, using different IP numbers
for different OSes on each machine).

>I am going to install Samba support so I can connect to my Windows 95
>computer and my Windows 3.1x computer.
>I am also planning on installing IP Masquerading.

I have used the former and it works well. I have not had two boxen around
for long enough to bother with the latter.
--
Duncan (-:
"software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems."

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


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