Linux-Networking Digest #772, Volume #11          Sat, 3 Jul 99 17:13:54 EDT

Contents:
  Re: C++ templates:  More than Turing Complete? (Tenexus)
  Re: ssh connection => network connection? (Michel Bardiaux)
  Re: Linux/Mediaone Problems Help Please ("YouDontKnowWho")
  Re: Why not C++ (Kaz Kylheku)
  Re: C++ templates:  More than Turing Complete? (Johan Kullstam)
  New information... ("Daniel Mitchell")
  prob with2 netcards (Michael Hohenegger)
  Re: Ethernet and DHCP (Failed...) (Chris Russell)
  Re: Linux boxes lose connection to network (Rod Smith)
  Re: 3com-ing a netwerk (Jonathon)
  Re: Linux/W98 SMTP Woes Continue... (Scott Burkett)
  NT - Linux - Printer Networking ([EMAIL PROTECTED])
  Re: NT - Linux - Printer Networking (Nicholas E Couchman)
  Re: Only 1 SMB Server Allowed (Nicholas E Couchman)
  Routing problem...I think ("Patrick Kirk")
  Re: PPP over Ethernet SW (Pascal Gienger)
  Re: OPENLDAP Problems ("Peter J. Linden")
  ppp rights (Jeff German)
  Swap over NFS (Harald Villinger)

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

From: [EMAIL PROTECTED] (Tenexus)
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 18:01:42 GMT

On 2 Jul 1999 16:16:52 -0400, [EMAIL PROTECTED] (Alexander Viro)
wrote:

>
>Oops. Hate to followup to myself, but...
>
>In article <7li0fd$[EMAIL PROTECTED]>, I wrote:
>>In article <[EMAIL PROTECTED]>,
>>Stephan Houben  <[EMAIL PROTECTED]> wrote:
>>>No, not every C++ program is compiled to a finite amount of assembly.
>>>Take the following counter-example:
>>>----------------begin code------------------
>>>template <class A>
>>>void call_me(A a, int i)
>>>{
>>>  if (i > 0)
>>>    call_me(&a, i - 1);
>              ^-- arrgh. Sorry, I missed it. That's what one gets for posting
>when too low on caffeine...
>       But comment still stands:
>
[clip]

Not really. A compiler is required to support only 12 levels of
pointer indirection (at least for ANSI C). I would assume a similar
restriction exists for C++. Hence this program degenerates into
INVALID C++ at runtime.

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

From: Michel Bardiaux <[EMAIL PROTECTED]>
Crossposted-To: comp.dcom.vpn,comp.unix.bsd.freebsd.misc
Subject: Re: ssh connection => network connection?
Date: Sat, 03 Jul 1999 19:58:01 +0200

Gardner Buchanan wrote:
> 
> In article <y5la3.684$[EMAIL PROTECTED]>,
>         "Brian Zhou" <[EMAIL PROTECTED]> writes:
> 
> [snip]
> > My goal is to be able to ping outside-host from inside-host.
> > How? Assume both ends are Unix systems.
> 
> If you can get an ssh connection going, then use ssh connection
> forwarding and run a user-land ppp connection over that.
> 
> You are looking for something like
> 
>    ssh -L 6669:localhost:6669
> 
> To allow connections at port 6669 at this end to go to the port
> 6669 at the other side.
> 
> Configure inetd to start a server ppp at the other end.  Put this
> in /etc/services to name the service:
> 
>    ppp-in 6669/tcp # Incoming PPP connections over TCP
> 
> And this in /etc/inetd.conf to tell inetd(8) how to deal with
> incoming connections on that port:
> 
>    ppp-in stream tcp nowait root /usr/sbin/ppp ppp -direct ppp-in
> 
> Now use ppp to connect locally at port 6669, where ssh will carry
> the data over to the far side and connect it up to 6669.  Run ppp
> specifying localhost:6669 as the device.
> 
> Have a look at 'man ppp' and 'man ssh'
> 
> By the way, if you don't need the strong encryption and authent-
> ication fetures of ssh, you could just use ppp over TCP directly.
> 
> ============================================================
> Gardner Buchanan                         <[EMAIL PROTECTED]>
> Ottawa, ON             FreeBSD: Where you want to go. Today.

I've read on comp.security.ssh and in Usenet archives that creating
a VPN using PPP over TCP (whether direct or SSH) runs the risk of
'cascade
failure', or something like that, i.e. packets being re-emitted
both by the PPP *and* by the kernel, which causes more packet drop,
which causes even more duplicate re-emits,... How serious is that risk?

(E-mail CC would be much appreciated, I have a lot of catching-up to do
in comp.os.linux.networking and I might not see the reply)
-- 
Michel Bardiaux
UsrConsult S.P.R.L.  Rue Margot, 37  B-1457 Nil St Vincent
Tel : +32 10 65.44.15  Fax : +32 10 65.44.10

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

From: "YouDontKnowWho" <[EMAIL PROTECTED]>
Subject: Re: Linux/Mediaone Problems Help Please
Date: Sat, 03 Jul 1999 18:49:28 GMT

I don't know exactly HOW you would do this, but have you tried
renewing the DHCP information your Linux box gets when it connects to
MediaOne?  Is it possible that the IP address lease is expiring?

This, of course, only applies if you are getting your IP information
via DHCP.

--
And now we return to our regularly scheduled,
uncommonly entertaining thread...

[EMAIL PROTECTED] wrote in message <7lij24$ddt$[EMAIL PROTECTED]>...
>I have a cable modem through Mediaone. I had linux working fine
through
>them, but recently they changed my ip address, and they had some
problems
>besides that. Now I lose the connection to the net and the only way
that
>seems to get it back is to reboot the machine, then it works. Any
ideas
>on  what could be wrong. I was thinking about writing  perl script
that
>ran in the cron that checked to see if the connection is alive, if
not it
>would reboot.
>
>
>Thanks
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.


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

From: [EMAIL PROTECTED] (Kaz Kylheku)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: Sat, 03 Jul 1999 18:05:54 GMT

On 03 Jul 1999 09:30:01 -0400, Johan Kullstam <[EMAIL PROTECTED]> wrote:
>not at all.  dynamic typing does not imply sloppiness.  on the
>contrary, it facilitates graceful error recovery.

I think that people are simply confusing ``no typing'' with ``dynamic typing''.

>> The canonical example is the message that pops up on the screen in an 
>> airplane cockpit: "Method not implemented".
>
>you might just be able to recover from a `method not implemented'.

Or if the plane is programmed in C++, you might get a ``pure virtual function
called''. :) 

Actually ``method not implemented'' is sometimes done in C anyway. Just look in
the Linux kernel. Null function pointers are used in many places to indicate
that some operation is not supported. For example, the SLIP line discipline
module does not bother implementing poll, read or write. The code that
dispatches control to these functions must check and recover.

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

Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: C++ templates:  More than Turing Complete?
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: 03 Jul 1999 14:05:14 -0400

[EMAIL PROTECTED] (Tenexus) writes:

> On 2 Jul 1999 16:16:52 -0400, [EMAIL PROTECTED] (Alexander Viro)
> wrote:
> 
> >
> >Oops. Hate to followup to myself, but...
> >
> >In article <7li0fd$[EMAIL PROTECTED]>, I wrote:
> >>In article <[EMAIL PROTECTED]>,
> >>Stephan Houben  <[EMAIL PROTECTED]> wrote:
> >>>No, not every C++ program is compiled to a finite amount of assembly.
> >>>Take the following counter-example:
> >>>----------------begin code------------------
> >>>template <class A>
> >>>void call_me(A a, int i)
> >>>{
> >>>  if (i > 0)
> >>>    call_me(&a, i - 1);
> >              ^-- arrgh. Sorry, I missed it. That's what one gets for posting
> >when too low on caffeine...
> >     But comment still stands:
> >
> [clip]
> 
> Not really. A compiler is required to support only 12 levels of
> pointer indirection (at least for ANSI C). I would assume a similar
> restriction exists for C++. Hence this program degenerates into
> INVALID C++ at runtime.

it never gets to runtime.  the compile fails because the template
recurses and doesn't bottom out before the compiler gives up.

-- 
J o h a n  K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!

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

From: "Daniel Mitchell" <[EMAIL PROTECTED]>
Subject: New information...
Date: Sat, 3 Jul 1999 12:47:09 -0500


Okay, there's been a new development.  Remember how I told you that I was
having problems with adding +pap to my /options file?  Well I got that to
work alright but it made little difference.  It did alter the pppd output so
that now it reads:

sent [LCP ConfReq id=0xi <auth pap> <magic ...> <pcomp> <accomp>]

That <auth pap> term is what's new.

After reading Unruh's guide at http://axion.physics.ubc.ca/ppp-linux.html
(which I enjoyed for personal reasons: I too am studying physics) I am
unsure what to make of the "all had bit 7 set to 0" error.
According to Unruh, this means that I should be sending a username and
password to my ISP by means of a command prompt in a terminal.  However, as
I previously stated, this is impossible because dialing into my ISP from a
terminal, and this true for both Win98 dialup and Minicom, does not result
in a command prompt.  All I get is a flashing cursor.

Unruh did mention that some ISPs require both a login and PAP, and I suppose
that this could be the case.  If it is, then is seems that I must first use
PAP and *then* login because of the structure of the pppd output and the
problem that I'm having with the terminal approach.  Unfourtunately, I have
no idea how to do this. : )

Thanks again, you guys have been a tremendous help.

Daniel



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

From: Michael Hohenegger <[EMAIL PROTECTED]>
Subject: prob with2 netcards
Date: Sat, 03 Jul 1999 00:49:13 GMT

salam

i got the following problem:

2 ethernetcards:
   1. 3com509   
   2. de220 isa (NE2000comp)

Nr.1 functions as eth0 to the outside,
Nr.2 functions as eth1 to the inside.

(masquerading)

my suse detects the 3com automatically
and fixes her to io=0x300 and irq 10

the second i configure manually with io=0x320 and irq 5

and everything works fine

but: after every reboot linux searches after nr.1 and tells me something
about wrong io adress 
the second works fine

more tips:
1. when i try to configure the 3com manually (with the values from the
automatic detection), always an error merssage occurs
2. both cards are in /etc/conf.modules with the alias and their io
adresses


what is the answer

bye & thankyou
hohi

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

From: Chris Russell <[EMAIL PROTECTED]>
Crossposted-To: redhat.networking.general,redhat.config
Subject: Re: Ethernet and DHCP (Failed...)
Date: Sat, 03 Jul 1999 10:44:58 -0700

My 5.2 redhat is also failing, in fact, when I run it manually, it core dumps.

Joseph wrote:

> TS Stahl, yes my college ethernet network uses DHCP :)
>
> TS Stahl wrote:
>
> > I'm not trying to patronize you, but do you have a DHCP server somewhere
>
> on
>
> > the network to service you?
>
> >
>
> > Joseph wrote:
>
> >
>
> > > Hi! I am using a SMC Ethercard Elite16 Ultra (using the smc-ultra.o
>
> > >
>
> > > module).  I told RedHat 5.0 through the control panel to activate my
>
> > >
>
> > > ethernet card on boot with DHCP.  But when I startup it tells me that
>
> > >
>
> > > contacting the DHCP server failed.  How can I get this setup and
>
> working
>
> > >
>
> > > right?  Thanks a lot for your help! :~)
>
> > >
>
> > > Joseph
>
> > >
>
> > > ------------------  Posted via SearchLinux  ------------------
>
> > >                   http://www.searchlinux.com
>
> >
>
> > --
>
> > TS Stahl
>
> >
>
> >
>
> ------------------  Posted via SearchLinux  ------------------
>                   http://www.searchlinux.com


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

From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Linux boxes lose connection to network
Date: Sat, 03 Jul 1999 19:09:37 GMT
Reply-To: [EMAIL PROTECTED]

[Posted and mailed]

In article <7lj3lk$qc4$[EMAIL PROTECTED]>,
        Dustin Tenney <[EMAIL PROTECTED]> writes:
> I am having a really strange problem with linux just losing connection to
> our network.  We have about five linux boxes on our network.  At one time
> all of them have had this problem.  Every once in a while the box will
> just disappear from the network.  You can get to it if your on the same
> subnet, but no one else can.  The packets do get to the router, but then
> it would appear the router doesn't know about that ip anymore.  If you can
> log into the box and send one packet to anywhere but itself it re-appears
> to the world.  The arp cache on the box has the routers address and the
> router's cache also has the boxes address.  The box is plugged into a 3com
> switch and we are using a cisco router.  All the boxes have a intel
> etherexpress pro 10/100.  The ethernet is definatly setup correctly on all
> these machines.  We have struggled with this for a while and can't find
> anything out of the ordinary.  We have lots of other machines on the
> network that have no problems.

I had the same problem on a system at my previous job.  I don't know the
detail of the networking hardware past the Linux box, but the Linux box
itself had a D-Link Tulip 21040 chipset board.  I have no idea what the
cause was, I'm afraid, but the fix was relatively simple -- I just created
a cron job to ping a machine on another subnet once every ten minutes or
so.

-- 
Rod Smith
[EMAIL PROTECTED]
http://www.channel1.com/users/rodsmith
NOTE: Remove the "uce" word from my address to mail me
Author of _Special Edition Using WordPerfect for Linux_, from Que;
see http://www.channel1.com/users/rodsmith/books.html

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

From: [EMAIL PROTECTED] (Jonathon)
Subject: Re: 3com-ing a netwerk
Date: 3 Jul 1999 20:04:26 GMT

Bill Pitz ([EMAIL PROTECTED]) wrote:
: to some of the other cards available on the market.  I've seen equal
: reliability and throughput from the Netgear FA-310TX which was, for a while,

        However, if one has a problem with _any_ NetGear product,
        and your O/S is Linux, they will not provide _any_ support

        Just one of several caveats with using NetGear products.  

        xan

        jonathon
-- 
        I'm still looking for a good book on
                3:      The Recent Unpleasantness
                1:      The War Of Northern Aggression.
                2:      The War of Southern Rebellion.

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

From: Scott Burkett <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Linux/W98 SMTP Woes Continue...
Date: Sat, 03 Jul 1999 10:42:30 -0700


Hi there, Dan - yes, it would appear as if we are having similar problems,
although telnet sessions, ftp sessions, etc., all work just fine here, with no
delays.

Hell, at least your outbound mail finally gets out - hehe.  Mine just sits there
until it times out telling me that the host can't be reached or is down (which,
of course, is BS, as I can immediately fetch my POP mail with no problems).

Has anyone else seen this?  Argh!!!!! :-)

Setzer wrote:

> Unixman wrote in message <[EMAIL PROTECTED]>...
> >
> >
> >I connect to the POP3 server on the Linux box for mail.  No problem.  I
> >can receive mail just fine (using a variety of clients including
> >Netscape Communicator and Eudora).  The problem is when I try to send
> >mail out. It works sometimes - but more often than not, things just sort
> >of "hang".
> >
>
> I am having the same sort of problem on an closed intranet system.  My mail
> downloads from the POP3 daemon just fine, but the outbound mail from my
> WIN95 clients takes 1.5 to 2 minutes to clear out of the system and be
> accepted by the SMTP daemon.
>
> Ping times are quite acceptible:  0.6 to 1.0 ms, but I also find that the
> time it takes to open a Telnet session is overly long, about a minute.  Once
> established it works OK.
>
> I am pretty sure that Linux is innocent in this and am coming to believe
> that WIN95 is the problem.  I keep searching for a setting to tweek on the
> WIN95 clients, but have had no luck so far.
>
> I will be glad to share my adventures with you if I can be of help.
>
> >Has ANYONE seen this?  I'm about to throw this damn thing out the window
> >and dive out after it!  I'm serious!!! I'll do it!!!! Hehe.
> >
>
> I'm right behind you.
>
> +++++++++++++++++++++++++++++++++++++++++++++
>        General Failure Reading Drive C
>        (A)bort, (R)etry, (G)et a beer?
>
>         Dan  Setzer    Balt., MD
>                 [EMAIL PROTECTED]


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

From: [EMAIL PROTECTED]
Subject: NT - Linux - Printer Networking
Date: Sat, 03 Jul 1999 18:31:01 GMT


Hi,

I have a Lexmark 5700 connected to my NT.  Can I print from Linux via
NT?  Thanks.

Devine

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

From: Nicholas E Couchman <[EMAIL PROTECTED]>
Subject: Re: NT - Linux - Printer Networking
Date: Sat, 03 Jul 1999 20:29:13 GMT

Sure.  You will need to setup Samba on your Linux box and make the
printer shared from NT.  You can setup Linux to use a Samba printer and
it should print to the Lexmark everytime you run a print command.
--Nick

[EMAIL PROTECTED] wrote:

> Hi,
>
> I have a Lexmark 5700 connected to my NT.  Can I print from Linux via
> NT?  Thanks.
>
> Devine


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

From: Nicholas E Couchman <[EMAIL PROTECTED]>
Subject: Re: Only 1 SMB Server Allowed
Date: Sat, 03 Jul 1999 20:27:22 GMT

It sounds like they are conflicting in the "browse mater" area.  Try
setting one to domain master, browse master, and local master and disabling
all of the above options on the other.  It that doesn't work, make sure
neither of the boxes are setup to be browse, domain, or local masters.
Sometimes Win98 defaults to a browse master (not the same as a domain
master), browse, I believe has to do with the Network neighborhood.  I have
a network and have previously had a WinNT and 2 Linux boxes running Samba
up and running at the same time.  I now have a WinNT and one Linux w/ Samba
and it works okay, too.
--Nick

Casey Bralla wrote:

> I'm trying to run 2 SMB servers on my intranet (which also has a Win98
> client).  Both are accessable if I explicitly link to them.  (ie: "NET
> USE" commands work just fine), but neither apear on a browse list if
> both of them are running.  If only 1 is running, it appears just fine.
>
> I've mucked around with the "domain master" & "local master"
> parameters, to no avail.  (I don't really understand them anyway.)  Can
> anybody offer a suggestion of where to continue my investigation?


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

From: "Patrick Kirk" <[EMAIL PROTECTED] yes - do take the junk out!>
Subject: Routing problem...I think
Date: Sat, 3 Jul 1999 20:00:38 +0100

Hi all,

Just installed SuSE 6.1 on a P200MMX with 32 Mb of RAM.  It has two NICs and
its putpose is to be a firewall/proxy server for the two other PCs on my
network, so one NIC has a public routable IP number and the other has a
private 10.x.x.x number.

I seem to have got the routing messed up in a way that I don't understand.

I can ping both NICs from across the LAN. But if I try and ping the public
IP number from across the Internet, I get a timeout error.

When I telnet into the machine from the LAN, I can ping my default gateway,
212.19.67.1
but not the DNS server 212.19.64.2.

I have used YaST so far but suspect that whatever is not working required
more understanding of Linux.

What do I need to do so that the Linux box can use the DNS servers and so
that I can ping it from across the Internet?

Any help appreciated!

Patrick Kirk

Real Trekkies work out at the "He's Dead Gym"




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

From: [EMAIL PROTECTED] (Pascal Gienger)
Crossposted-To: comp.protocols.ppp,comp.unix.bsd.freebsd.misc
Subject: Re: PPP over Ethernet SW
Date: Sat, 3 Jul 1999 21:07:56 +0200

In article <[EMAIL PROTECTED]>, Raj Rijhwani wrote:
>In article <[EMAIL PROTECTED]>
>           [EMAIL PROTECTED] "Lew Pitcher" writes:
>
>> There were some questions recently (in the last couple of months) about
>> PPP-over-ethernet in the comp.dcom.lans.ethernet newsgroup. Judging from
>> the responses in that ng, there *is* something that does PPP-over-ethernet.
>
>> Heavens knows why.
>
>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.
PPP_over_Ethernet seems to be there to convert a broadcast-possible-network
into a real point-to-point-one.

Pascal
-- 
Unix,   Pascal Gienger, Moosstr. 7 /\ 7 .rtssooM ,regneiG lacsaP    xinU
Networx            78467 Konstanz /  \ znatsnoK 76487            xrowteN
& WWW         [EMAIL PROTECTED] /    \ ed.niweulb@essenif         WWW &
    T: +49 7531 52709, F: 52739 /      \ 93725 :F ,90725 1357 94+ :T

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

From: "Peter J. Linden" <[EMAIL PROTECTED]>
Crossposted-To: tw.bbs.comp.linux
Subject: Re: OPENLDAP Problems
Date: Sat, 03 Jul 1999 22:41:37 +0200
Reply-To: [EMAIL PROTECTED]

I had the same problem. After several hours of research and testing I
found out, that the switch -b "o=xyz, c=xx" is required (the same
information that you entered in slapd.conf). LDAP needs to know where to
start the search, otherwise you will get that effect. 
For debugging you can try starting LDAP with the debugging options
(switch -s nnn, where nnn is a binary coded number, see man slapd.conf
for further details, -s 4095 gives you the most output in
/var/log/messages).

Ciao, Peter 


"�˼��H" wrote:
> 
> after configuring the openldap and i start lpadsearch, i get the followings.
> pls advise! thank you.
> 
> [root@nbmail bin]# ldapsearch -v "o=New Bright"
> ldap_init( <default>, 0 )
> filter pattern: o=New Bright
> returning: ALL
> filter is: (o=New Bright)
> ldap_search: DSA is unwilling to perform
> 0 matches

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

From: Jeff German <[EMAIL PROTECTED]>
Subject: ppp rights
Date: Sun, 04 Jul 1999 04:42:33 -0400

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




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

Date: Sat, 03 Jul 1999 22:52:47 +0200
From: Harald Villinger <[EMAIL PROTECTED]>
Subject: Swap over NFS

Hi there !

I try to set up a diskless Linux Box and I have only 12MB of ram for
that box. I tried to use a swapfile on a NFS volume but swapon wasn�t
able to use that file.

The server has SuSE linux 6.1 with Kernel 2.2.7. The netboot client uses
Kernel 2.0.32.

I found a patch for 2.0.21 kernel . And now I wonder if there is a
possibility to get the Swapfile working with 2.2.7/2.0.32 or 2.2.7 on
both machines.

Harald

======================

Harald Villinger

Electrotechnik Student

Munich / Germany



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


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