Linux-Networking Digest #776, Volume #11          Sun, 4 Jul 99 03:13:46 EDT

Contents:
  Re: PPP over Ethernet SW (Raj Rijhwani)
  samba and Windooz95 B (Ver 4.00.1111) (jevv)
  Re: help with IP masq ("Jim_Alvarez")
  Re: Office2K install from Samba fails (Tom Plunket)
  W95 + RH6.0 + Samba = Almost ?? ([EMAIL PROTECTED])
  Re: C++ templates:  More than Turing Complete? (Davin McCall)
  Cross-over cable between NT and Linux (Peter Seibel)
  How to determine CPU used by NIC? ("Steve Snyder")
  Re: Netscape 3.01 and java (John Hong)
  Re: Internet sharing through Win98 (jack)
  ipmasq restricting certain url? (Son Trung Nguyen)
  Re: ppp rights ([EMAIL PROTECTED])
  Network Programming (Taylor Collins)
  Re: SMB services stopped working. (Denning Langston)
  Help with Linux networking setup (Bill)
  New LINUX Hardware Vendor!!! (Jenine Von Essen)
  Re: Network Card Collisions (Taylor Collins)
  Re: Combo cards - coax or 10bT (Taylor Collins)

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

From: [EMAIL PROTECTED] (Raj Rijhwani)
Crossposted-To: comp.protocols.ppp,comp.unix.bsd.freebsd.misc
Subject: Re: PPP over Ethernet SW
Date: Sun, 04 Jul 99 02:04:54 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>
           [EMAIL PROTECTED] "Pascal Gienger" writes:

> In article <[EMAIL PROTECTED]>, Raj Rijhwani wrote:

> >So one can carry other protocols over an IP network?

> Ethernet is a layer under IP. So PPP-over-Ethernet is _NOT_ PPP over IP.
> PPP is a container for point-to-point links with the possibility to carry
> some protocols in it (IP, IPX, ...).
> Ethernet also can carry multiple protocols.

True.  I missed the point entirely.
-- 
Raj Rijhwani        (umtsb5/16) |  This is the voice of the Mysterons...
[EMAIL PROTECTED]        |  ... We know that you can hear us Earthmen
[EMAIL PROTECTED]       |  "Lieutenant Green:  Launch all Angels!"
http://www.courtfld.demon.co.uk/raj/ (demon, and gods, willing...)


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

From: jevv <[EMAIL PROTECTED]>
Subject: samba and Windooz95 B (Ver 4.00.1111)
Date: Sun, 04 Jul 1999 02:30:48 GMT

Hi!

Am I the only one having troubles with this configuration????

I have two PCs, one w RH60/Win95A and one w SuSE61/Win95B

The RH60 istallation script for samba seems buggy: there is an entry
in the inetd.config file which I had to remove. so far, so good;

when running samba on the SuSE box I can connect from the W95A machine.
when running both machines on Linux, smbclient works fine for both;
but when trying to connect the RH6 samba with a Win95B box I receive only
"connection refused" errors.

tcpdump shows nothing strange - I just _can't_ talk to port 139 on the
Win95B box.

Any ideas what is going on????

jevv %-(

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

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

From: "Jim_Alvarez" <[EMAIL PROTECTED]>
Subject: Re: help with IP masq
Date: Sat, 3 Jul 1999 20:03:04 -0700

Is there any clues in your /var/log/message file?


bahall <[EMAIL PROTECTED]> wrote in message
news:ZKxf3.843$[EMAIL PROTECTED]...
> I guess I should have explained it more carefully.
> I am running RD 5.2 and I just installed it on a new(bigger) hard drive.
> I am missing something somewhere and cannot figure out what it is.
> My question is this. If you can ping to your win98 machines from linux box
> and can surf the net usnign your linux box but not your win98 machines and
> your win98 machines can see each other then, what could be wrong?
>
> Here is what I have in my rc.firewall file.
>
> /sbin/depmode -a
> /sbin/modprobe   ip_masq_ftp
> /sbin/modprobe   ip_masq_raudio
> /sbin/modprobe   ip_masq_irc
>
> ipfwadm -F -p deny
> ipfwadm -F -a  m  -S 192.168.0.2/32   -D 0.0.0.0
> ipfwadm -F -a  m  -S 192.168.0.3/32   -D 0.0.0.0
>
> Am I missing something here?
>
>
>
>
>
> Scott Sweeting <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > bahall wrote:
> > >
> > > Hi,
> > > I just upgraded my harddrive. Now, my IP masq does not work!
> > > I have RD 5.2 and my linux box can ping the win98 machines and win98
can
> > > ping the linux box.
> > > The Linux box can ping outside and i can browse with the linux box but
> not
> > > with win98 machines. Win98 machines can ping each other.
> >
> > > Anybody can tell me where I should be looking for problems?
> >
> > > TIA
> >
> > You upgraded *to* 5.2, or *from* 5.2? From 5.2 to 6.0, there's a major
> > change in the way you do IP Masquerading. You'll probably have to read
> > the FAQ.
> >
> > (http://www.tor.shaw.wave.ca/~ambrose/ipmasq-HOWTO-1.65.html)
>
>



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

From: [EMAIL PROTECTED] (Tom Plunket)
Crossposted-To: linux.samba,linux.redhat.misc,comp.protocols.smb
Subject: Re: Office2K install from Samba fails
Date: Sun, 04 Jul 1999 03:30:12 GMT

> And then I get "Installation ended prematurely because of an
> error."  I've got the the office web site, and gone through their
> trouble shooters, and it doesn't give me anything that works.  When I
> mount the exact same cd on an NT server, the install doesn't crash!  Any
> advice?

Maybe it's the way that Windows and Samba do long filename
truncation?  We had a small problem here when we moved over to
samba because we had batch files that ran from DOS shells that
would look for something like \\server\longfi~1 instead of just
"\\server\long filename", and when we went to samba it changed to
something along the lines of \\server\longf~ds...

-tom!

-- 
Tom Plunket                                        [EMAIL PROTECTED]
video game/3D Studio geek                       http://www.eidetic.com

                     Must... play... EverQuest...

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux
Subject: W95 + RH6.0 + Samba = Almost ??
Date: Sun, 04 Jul 1999 03:25:58 GMT

After about 100 hours of reading and trying several
different "guaranteed-to-work" setups that have been
mentioned here and in other NG's - 'think' I'm close to
having a network that functions.
  Here's what I'm seeing:
1) W95 box (192.168.0.2) "talking" like crazy, (can see
thru-put on hub)
2) Linux box (192.168.0.1) says Samba being a server at the
correct address (192.168.0.1)
3) can ping local loop, and linux box, fine
4) W95 box doesn't connect
5) [ifconfig] shows eth0 not active
6) [ifconfig -a] shows eth0 configured properly (?)
7) [ifconfig eth0 up] gives me resource not available.
   SOooooo - what am I missing ??  
(betting the answer makes me feel more ignorant)
  Need to know why the network won't activate - do I need to
re-build the kernel ???
   

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

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: Sun, 04 Jul 1999 04:16:33 GMT

On 3 Jul 1999 01:03:33 -0700, [EMAIL PROTECTED] (Nathan Myers)
wrote:

>Any complete program is just, ultimately, a sequence of instructions,
>and any Turing-complete language can generate them.
>
>Split the program into pieces, and then you have interfaces between
>the pieces.  Turing completeness says nothing about those interfaces.
>
>Getting those interfaces right, and getting the cut lines in the
>right places to allow them to be right, is the domain of engineering.
>C++ has a large variety of very strong tools to describe library 
>interfaces because it is an engineering language.  C has many fewer
>such tools.

So you are saying that the choice of programming language is an
engineering issue, not a computer science issue?

>>Perhaps I was taking you too literally again. If not: Maybe principles
>>are derived from experience (that is probably arguable in itself)
>
>You think maybe principles come from a big divinely inspired book?

Principles are ideas which explain something, or provide a reason to
do a thing one way rather than another (eg principle of least
privelege). Certainly principles could be determined from experience;
but I see no reason why they must be.


This from WordNet:

principle n 1: a basic generalization that is accepted as true and
that can be used as a basis for reasoning or conduct; "their
principles of composition characterized all their works" [syn: rule]
2: a rule or standard especially of good behavior: "a man of
principle"; "he will not violate his principles" 3: a basic truth or
law or assumption: "the principles of democracy" 4: a rule or law
concerning a natural phenomenon or the function of a mechanical
system: "the principle of the conservation of mass"; "the principle of
jet propulsion"; "the right-hand rule for inductive fields" [syn:
rule] 5: rule of personal conduct [syn: precept] 6: an explanation of
the working of some device in terms of laws of nature; "the principles
of internal-combusiton engines" [syn: rationale]

>Principles, divorced from experience, rot.  If you want to understand
>good principles, the only trustworthy source is good code.

But why C++ code? The same principles found in the C++ language are
applied in other languages also.

>  If you 
>want to understand the principles behind the success of C++, you must
>study good, real C++ programs and libraries.  There are no shortcuts.

I disagree. My reasons have been stated. You are saying something
analogous to this:

        "if you want to know how a fuel injected engine works [-> the
principles behind it], you must study the engine in car {X}. Although
cars {Y} and {Z} have similar engines, studying them will not reveal
*any* of the principles used to design the engine of car {X}."

Davin.
__________________________________________________________
       *** davmac - sharkin'!! [EMAIL PROTECTED] ***
my programming page: http://yoyo.cc.monash.edu.au/~davmac/

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

From: Peter Seibel <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.nt.admin.networking
Subject: Cross-over cable between NT and Linux
Date: 03 Jul 1999 20:45:16 -0700


I hope this is a reasonable cross-post since I'm trying to connect a
Linux box to an NT box. This problem may well be due to some
deficiency in my general networking knowledge rather than my knowledge
of either OS. But maybe someone here can point me in the right
direction.

I'm trying to connect a Linux box to my NT notebook via a cross-wired
(cross-over, cross-patch, whatever you call it) ethernet
cable. (I.e. I have no hub.) As far as I can tell I have the ethernet
interfaces up on both boxes (ifconfig shows the right things and route
shows me what look like reasonable routes. I think.)

>From the Linux box:

eth0      Link encap:Ethernet  HWaddr 00:10:4B:30:51:37  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31 errors:0 dropped:0 overruns:0 carrier:31
          collisions:0 
          Interrupt:9 Base address:0x6500 


Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
205.134.242.3   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        2 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0       16 lo
0.0.0.0         205.134.242.3   0.0.0.0         UG    0      0       31 ppp0

On the NT box route print gives me (among others):

Network Destination      Netmask      Gateway    Interface  Metric
....
      192.168.1.0  255.255.255.0  192.168.1.1  192.168.1.1       1
....

At any rate, can anyone give me any hints how to diagnose what's
actually going on? (One fear I have is that my cross-patch cable is
dorked up. I know I made it right because I've used it before but that
was a long time ago and it's conceivable that it's busted now. Is
there any easy way to check that?)

Apologies if this is not a very interesting question. Pointers to docs
are certainly welcome; I'll gladly RTFM if I can know what the right
FM is.

-Peter

-- 
Peter Seibel        Perl/Java/English Hacker        [EMAIL PROTECTED]

  There's no good culture without a dash of bad taste; a monopoly of
  good taste suggests restraint -- you're not pushing the envelope.

                                        -- Jean-Louis Gassee

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

Crossposted-To: comp.os.linux.hardware
From: "Steve Snyder" <[EMAIL PROTECTED]>
Reply-To: "Steve Snyder" <[EMAIL PROTECTED]>
Subject: How to determine CPU used by NIC?
Date: Sun, 04 Jul 1999 05:09:28 GMT

My Linux (RedHat v6.0 /w v2.2.10 kernel) box has 2 NICs, a PCI card and a 
ISA card.  I'm interested in determing the relative CPU time consumed by 
each card.  Is there a way to view the CPU time used in handling the 
packets on a particular Ethernet interface?

Thank you.


***** Steve Snyder *****




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

From: [EMAIL PROTECTED] (John Hong)
Crossposted-To: comp.os.linux.x
Subject: Re: Netscape 3.01 and java
Date: 4 Jul 1999 04:49:27 GMT

Gene Heskett ([EMAIL PROTECTED]) wrote:

: OTOH is there some reason 4.61 will not work on a 486?  I'd assume it
: might be a bit slower in some routines, and faster in others, and a heck
: of a lot more 'compatible' with the web pages he will hit with it
: *today*.  Whats wrong with that?  Just keeping up with the jones's in my
: view.

        No, 4.61 running on a 486 is just plain slower in all routines.  
As for surfing webpages, Netscape 2.02 will do that just fine unless you 
need secure connections.  Netscape 3.04 is what I run all of the time on 
my 486 box (16 MB RAM), version 4.x is pretty unbearable.



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

Subject: Re: Internet sharing through Win98
From: jack <[EMAIL PROTECTED]>
Date: Sun, 04 Jul 1999 05:35:07 GMT

Looks like both boxes have the same ip number, change the linux box to
192.168.0.2

"TURBO1010" <[EMAIL PROTECTED]> wrote:
>If you want to share the internet through win98, get the 2nd release of
>win98, it does what you want it to do.
>
>Brian Devlin <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> I have two computers (one is my family's).  We have a cable modem hook=
ed
>> up to that box.  It is running Win98 and uses sygate to share the cabl=
e
>> modem.  My computer is dual booting linux and Win98.  I can access the
>> internet using win98, but I am not sure how I should configure linux t=
o
>> access the internet.
>>
>> Here is a list of the settings.
>>
>> Sygate computer:
>>
>> Internal IP - 192.168.0.1
>> SUBNET - 255.255.255.0
>> DNS - 24.0.240.33
>>       24.0.240.34
>> HOSTNAME CX500477-a.shing1.ri.home.com
>>
>> Linux machine (Win98 settings):
>>
>> IP - 192.168.0.1
>> SUBNET - 255.255.255.0
>> GATEWAY - 192.168.0.1
>>
>> Any help would be appreciated.  You can e-mail me at [EMAIL PROTECTED]
>> is you don't want to post.
>>
>> Thank You
>> Patrick Devlin


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

From: [EMAIL PROTECTED] (Son Trung Nguyen)
Subject: ipmasq restricting certain url?
Date: Sun, 4 Jul 1999 02:41:34 GMT

I am wondering when using ipmasquerading would it be possible to
restrict the URL that a machine behind the ipmasquering machine
can have access to.  What I mean is suppose I often see one of
the Win95 machine pointing his web browser to www.sexsite.com
and want to set my ipmasquerading so that the Win95 machine will
not be able to access to www.sexsite.com but still be able to
use www.netscape.com for example.  But I only want to restrict
this particular machine.  Can it be done?

Thanks for any pointers, solutions etc.

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

From: [EMAIL PROTECTED]
Subject: Re: ppp rights
Date: Sun, 04 Jul 1999 04:52:44 GMT

In article <[EMAIL PROTECTED]>,
  Jeff German <[EMAIL PROTECTED]> wrote:
> I am unable to allow a general user to stop or start the ppp daemon. I
> am running redhat 6.0. I used linuxconf to allow any user to activate
or
> deactivate the interface. I get this message when a non-root user
tries
> to stop ppp, "rm: cannot unlink `/var/run/ppp-ppp0.dev': Permission
> denied". What am I doing wrong? I want a regular user to telnet in and
> stop and start the pppd daemon.
>
> Thanks Jeff German
>
> You need to get diald and install it. I works good


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

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

From: Taylor Collins <[EMAIL PROTECTED]>
Subject: Network Programming
Date: Sun, 04 Jul 1999 05:43:49 GMT

I'm not really new to C/C++ and would like to dive into the world of
network (Inter/Intranet) programming with Linux.  Are there any good
internet (i.e. free) resources one could turn to so as to learn the
ways???  Anything good on client/server programming?  I want the good
stuff.  Thanks.  Please C.C. to this email address.

Taylor

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

From: Denning Langston <[EMAIL PROTECTED]>
Subject: Re: SMB services stopped working.
Date: Sat, 03 Jul 1999 22:23:49 -0700

Sorry, I mistyped:

> OK. I upgraded from RH 5.1 to 6.0.
> 
> I had everything working well in 5.1, including samba.
> 
> Now
> 
> /etc/rc.d/init.d/smb stop
> 
> Shows that SMB has failed and
> 
> ps -x | grep mbd
> 
> Shows only that nmbd is running. I have been trying to get smb
> services back up but am having no luck. I know that the answer is
> here somewhere, but I have been trying too hard for too long to see
> the answer anymore.

A look at /var/log/samba/log.smb yields this:

[1999/07/03 20:52:22, 0] lib/util_sock.c:open_socket_in(671)
  bind failed on port 139 socket_addr=0.0.0.0 (Address already in
use)

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

From: [EMAIL PROTECTED] (Bill)
Subject: Help with Linux networking setup
Reply-To: [EMAIL PROTECTED]
Date: Sun, 04 Jul 1999 04:18:47 GMT

Hi,

I have a interesting problem here. 
I have two PC's at home.  Both are running windows 98 right now. One
of them is connected to a @Home cable modem. To get access to 
the net from the other machine, i've set up a LAN with 100Mbps
connection and I'm running  WinGate software on both machine.  So far,
they work like a charm. 

I'm planning to install RH6.0 Linux on the one without direct cable
modem connection. I was wondering how can I gain access to the
internet from this machine with the other machine still running win98?

Is there any client side programs that can run on Linux but can talk
to a proxy server program running on win98? 


Any help would be appreciated. 

Thanks.

Bill


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

From: Jenine Von Essen <[EMAIL PROTECTED]>
Subject: New LINUX Hardware Vendor!!!
Date: Sun, 04 Jul 1999 02:03:18 -0400

This hardware vendor is located at http://www.essenz.com

Under the products area they provide custom built high performance
servers and workstations. The servers feature Dual Pentium III or
Pentium III XEON. A base od 256MB RAM expandable to 2GB. Ultra2 LVD SCSI
drives, high speed networking, and fault tolerant chassis solutions.
On the workstation end, systems come with 3dfx Voodoo3 video cards. What
about the Operating System?

All Systems can run:

Linux (Go Redhat 6)
BeOS 4.5
FreeBSD
BSDi
SCO Unixware
OPENSTEP 4.2 (Single Processor Only)

... and other UNIX variants

You can order online, custom build a system, whatever... Its cool check
them out.

http://www.essenz.com

These affordable systems can easily blow away any Windows NT server....I
mean really! A Dual Pentium III 500MHz XEON machine with 256MB RAM and
Ultra2 SCSI utilizing symmetric multiprocessing compared to a Windows NT
server!


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

From: Taylor Collins <[EMAIL PROTECTED]>
Subject: Re: Network Card Collisions
Date: Sun, 04 Jul 1999 06:11:16 GMT

eth0      Link encap:Ethernet  HWaddr 00:00:21:69:93:89
          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:51891 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23292 errors:75008062 dropped:54299 overruns:0
carrier:0 co
ll:0
          Interrupt:10 Base
address:0x340                                     

Got the same problem too.  I have no answers.  I DO get 400k transfer
rates across the board.  I suspect on a 10Mbit/s network I should be
looking at between 800 to 1000 kbytes/s.

MadHatter wrote:
> 
> I understand that collisions are a natural occurence.  however, i have a
> small network setup at home with 2 hosts, both running linux.  when i
> try and FTP files, 100KB or more, i get constant collisions.  since both
> hosts wait for a certain amount of time, i get heavy delays and end up
> transferring data at about 1kb/s, which is slower than a modem.  can
> anyone tell me why that happens?  how do i fix that?  both hosts are
> conected to a hub and there are no settings on the hub.  also, how do i
> figure out how to set the duplex settings for my nics?
> 
> please help
> 
> In article <[EMAIL PROTECTED]>,
>   Frank Sweetser <[EMAIL PROTECTED]> wrote:
> > Martin Ng <[EMAIL PROTECTED]> writes:
> >
> > > Hi,
> > >
> > > Does any one know about the cause of collision of network card?  I
> can
> > > see a number of collision when issuing 'ifconfig'.
> > > I suspect that it is the cause of why I telnet to it very slowly.
> >
> > when two hosts try to send a packet out at the same time, rather than
> have
> > two bad packets transmitted, a collision is generated.  both hosts
> detect
> > this, wait a random amount of time, and then try again.  however, the
> only
> > reason that collisions would be causing a problem is if a) the
> segement is
> > *totally* saturated, b) there's an underlying problem (ie, dead card,
> > frayed cable), or c) the hub port you're plugged into is set to full
> duplex
> > while your network card is set to half.
> >
> > --
> > Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net  | PGP key
> available
> > paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5        i586 | at public
> servers
> > Sometimes we choose the generalization.  Sometimes we don't.
> >              -- Larry Wall in <[EMAIL PROTECTED]>
> >
> 
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.

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

From: Taylor Collins <[EMAIL PROTECTED]>
Subject: Re: Combo cards - coax or 10bT
Date: Sun, 04 Jul 1999 06:14:30 GMT

One could boot DOS off a floppy and use the config/setup/diagnostic
program on the floppy that came with the NICs to set it?


"Drew M. Mooney" wrote:
> 
> How do you tell linux which media to use on a combo card if it can't sort it
> out for itself?
> 
> Cards in question are both 3Com 509b ISA and some off-brand PCI combos.
> [that work fine configured as NE2000 PCI]
> 
> They both appear to default to 10bT, and I've got a coax backbone to support
> in a couple of days.
> 
> TIA
> 
> -Drew-

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


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