Linux-Networking Digest #761, Volume #11          Fri, 2 Jul 99 15:13:57 EDT

Contents:
  Re: Could Microsoft Cheat On The New Mindcraft Benchmark? ("Anthony D. Tribelli")
  Re: Damn Apache ("BAd")
  Re: running "off-line" cgi ? (Peter Hanely)
  Re: Redhat 6.0 and Qpopper. ([EMAIL PROTECTED])
  Re: Accessing NT Tape drive (Scott Marlowe)
  Solution for runsocks problem on Glibc 2.1 based systems (RH 6.0) (Roman Sulzhyk)
  PCI DSL modem = ATM??? (Scott Marlowe)
  Solution for runsocks problem on Glibc 2.1 based systems (RH 6.0) (Roman Sulzhyk)
  Re: Linux 2.0.30 stack problems ("Gene Heskett")
  Re: Linux Box as local PPP server ([EMAIL PROTECTED])
  Re: Office2K install from Samba fails (Greg Leblanc)
  Anyone know how to post to linux.samba? (Dale Walker)
  Re: My modem is not responding (Andrew Comech)
  Re: C++ templates:  More than Turing Complete? ("Tom Leete")
  windows 98  can't see Linux machine using Samba (Dale Walker)
  Re: PCMCIA Ethernet networking problem (David Hinds)
  Smbmount problem. (Habib)
  Structure of .htaccess ? How to restrict access to http subdirectory 
([EMAIL PROTECTED])

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

From: "Anthony D. Tribelli" <[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: 2 Jul 1999 18:03:17 GMT

[EMAIL PROTECTED] wrote:
Anthony D. Tribelli <[EMAIL PROTECTED]> wrote:

> = > The USA was *supposedly* an ally from BEFORE the war...
> = > So, Mr Taylor... What year was the start of WWII again??? 1939? Or 1942?
> = > WHERE WERE YOU LOT THEN?
> =
> = Keeping Britain armed and fed. There was also our 'secret' war against the
> = German submarines that pre-dated Pearl Harbor. 
>
> Ahhh yes. I heard about that in a documentary about Alan Turing and the code
> breakers at Bletchley Park...
>
> apparently, they decoded a message saying that U-boats were on course for
> the eastern seaboard and reported this info. This info then got passed on to
> american "intelligence", where the admaral of the fleet, who hated the
> British, just ignored it and allows 100 allied ships to be sunk...

Actually I was referring to President Roosevelt secretly ordering the US
Navy to sink-on-sight any German submarines. When such incidents ocurred
the US Navy claimed the submarine comitted an unprovoked attack on the US
vessel and that the submarine fired first. Basically Roosevelt was trying
to manufacture an incident that would generate the public opinion needed
to officially enter the war, and secondarily to keep Britain armed and
fed. 

Your opinion of 'allowing' is highly questionable. It is my understanding
that US Naval forces were spread very thin and that the 'eastern seabord'
is quite large. Many Americans died in sight of the US coast due to this. 

Your emphasis on one incident and not the overall trend is like
Microsoft's emphasis on one particular test and claiming an overall
advantage over Linux. Hey is this post on topic now? :-)

Tony
==================
Tony Tribelli
[EMAIL PROTECTED]

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

From: "BAd" <[EMAIL PROTECTED]>
Subject: Re: Damn Apache
Date: Fri, 02 Jul 1999 18:05:33 GMT

 I could be WAY off on this, but shouldn't you set up your Linux box as a
gateway, rather than a proxy?


[EMAIL PROTECTED] wrote in message <7lief4$beb$[EMAIL PROTECTED]>...
>I finally got PPP to work on my Linux box.  I forwarded my IP address.
>Tell me if this is right, here's what i did
>ipfwadm -F -a deny
>ipfwadm -F -m 10.8.80.6/8 -D 0.0.0.0/0
>
>My linux box's network addy is 10.8.80.6 and my Internet IP is assigned
>dynamically.  Well, I did this and connected with my ISP and pinged
>various web sites, so my PPP on my Linux box obiviously worked.  Then I
>went to Netscape on my Windows 98 box and set the http proxy to
>10.8.80.6 port 80.  I don't know if port 80 is right, or if i can change
>the port or what, but the locally stored apache page came up with every
>web site.  I looked in the apache FAQ to find out how to shut it off,
>and it gave me some kill command.  But the command said to kill
>something in .usr/local/apache/... and i have no apache directory in
>/usr/local.  For right now I dont even need apache, so if someone could
>please tell me how to uninstall it or something, that would be great,
>but it would be even better if someone knows of another reason why my IP
>forwarding doesnt work or how to make it work so i can access the web
>from my 98 box by goign through my Linux box.  Thanx in advance!
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.



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

Date: Fri, 02 Jul 1999 07:27:45 -0700
From: Peter Hanely <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.development.apps,comp.os.linux.admin
Subject: Re: running "off-line" cgi ?

Olivier Sessink wrote:
> 
> David wrote:
> >
> > I would like to create an offline database and a search engine on Linux,
> > with output in HTML interpreted by Netscape.
> >
> > Is it possible to run CGI scripts on a non-connected machine ?
> > Do I need to configure HTTPD ? Modify usr/bin/perl, if I use Perl
> > scripts ?
> 
> what about running it like:
> ./yourscript.cgi > /tmp/output.html
> netscape /tmp/output.html
> 
> cu,
>         Olivier
almost.  Try
cat parameters | ./yourscript.cgi > /tmp/output.html
netscape /tmp/output.html

parameters contains the parameters to be fed to the script.
I'd have to look up the format.

probably easier to set up a small httpd.
-- 
Peter Hanely   =/\=
[EMAIL PROTECTED]  (email has been "jammed")
http://www.jps.net/mhanely
computer software etc. in Sac. Ca
Take a look at my shareware offerings.

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

From: [EMAIL PROTECTED]
Subject: Re: Redhat 6.0 and Qpopper.
Date: Fri, 02 Jul 1999 17:55:29 GMT

In article <[EMAIL PROTECTED]>,
  root <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
>
> > In article <[EMAIL PROTECTED]>,
> >   Nicholas E Couchman <[EMAIL PROTECTED]> wrote:
> > > I had the same problem trying to install with an RPM.  I also had
a
> > bunch of
> > > problems with the compile part.  To solve my problems, after I
ran the
> > > makefile command, I copied the file called 'popper' from the
directory
> > w/
> > > the Makefile to a bin directory.  Then I uncommented and edited
the
> > POP3
> > > entry in the /etc/inetd.conf file to point to the directory where
> > 'popper'
> > > was located.  I restarted the linux box and ran 'telnet
192.168.1.102
> > 110'
> > > to make sure it was installed.  It worked!  To get POP3 users, run
> > > linuxconf, go to the special use account section, and add "POP-
Mail
> > only
> > > users'  Write back if you have more trouble!
> > > --nick
> >
> > Hmmm... I'm also having trouble configuring qpopper for RedHat 6.0.
I
> > managed to get popper to accept connections, but all it says is
that the
> > supplied password is correct (that is: my /var/log/messages says
that,
> > on the client side it just dumps core - it does not even rerequest
the
> > password). I guess it has something do with the MD5 passwords from
> > RedHat 6.0, but I'm not sure. Can anybody help me out?
>
> Same problem here, exept client side doesn't dump core. It just gives
a msg
> saying my passwd is incorrect. :-((((
>
>
I am having the same password problem.  You cannot create a new user
under linuxconf/special accounts because my user account already
exists.  I can telnet to port 110, it responds, I type in my username
and password and it says that it was the incorrect password.  Does
anyone know how to fix this?

Travis


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

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

From: Scott Marlowe <[EMAIL PROTECTED]>
Subject: Re: Accessing NT Tape drive
Date: Wed, 30 Jun 1999 23:11:27 -0600

Len Garvey wrote:

> Group:
>     I have an NT server with a 4/8mm internal Tape drive. On the other end
> of my network I have a Linux server (RH 5.1), and no means of backing it up.
> Is there a utility that can be configured on the Linux machine that would
> allow me to backup to the NT tape drive?

Yes, it's called Samba.  Install it on the Linux box, share out the directories
you wanna backup so the NT server can see them, then run ntbackup on the nt box
and back up the share from the Linux box.

Mind you, I think NTBackup likes mapped drive letters.


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

From: Roman Sulzhyk <[EMAIL PROTECTED]>
Subject: Solution for runsocks problem on Glibc 2.1 based systems (RH 6.0)
Date: Fri, 02 Jul 1999 18:34:35 +0000

This is a multi-part message in MIME format.
==============7930B3A7ED28142401B94BB4
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


    Gentlemen:

    My first post failed, apparently news server has problem with Netscape 4.5+ on 
Linux. Trying again, sorry...

    There were a number of posts complaining about runsocks not working on RedHat 6.0 
(coredumping on all programs). I've spent a while trying to get it to work, and it 
seems to be related to a bug (?) in dlsym() when library symbol versioning is used 
(default in 2.1.x glibc). Anyway, I'm sure this will get resolved in the later 
versions of glibc, however if you want to run your apps on RH using runsocks in the 
meanwhile, apply the following patch to your socks5-v1.0r9:

--- begin patch---
--- lib/rld.c.orig      Fri Jul  2 12:56:59 1999
+++ lib/rld.c   Fri Jul  2 12:44:36 1999
@@ -58,9 +58,19 @@
      if (!(handle) && ((handle) = dlopen((libname), (flags))) == NULL) {     \
        return;                                                              \
      }                                                                       \
-     if ((*fptr = dlsym((handle), name)) != NULL) {                          \
-        return;                                                              \
-     }
+     if ((*fptr = dlvsym((handle), name, "GLIBC_2.1")) == NULL)              \
+     {                                                                       \
+        S5LogUpdate ( S5LogDefaultHandle, S5_LOG_DEBUG(10), 0,               \
+           "Unable to locate symbol %s in glibc 2.1 : %s",                   \
+           name, dlerror() );                                                \
+        if ((*fptr = dlsym((handle), name)) != NULL)                         \
+        {                                                                    \
+           S5LogUpdate(S5LogDefaultHandle, S5_LOG_DEBUG(10), 0,              \
+                       "Found %s in %s%s", name, (libname),                  \
+                        libmask&USE_RTLD_GLOBAL?"(g)":"");                   \
+           return ;                                                          \
+        }                                                                    \
+     }

 #define DGETSYM(handle, libname, flags)                                      \
      if (!(handle) && ((handle) = dlopen((libname), (flags))) == NULL) {     \
--- end patch ---

    It may complain a bit about converting pointer to integer in dlvsym() as it 
doesn't seem to get a definition for it, but will work fine.

    Enjoy!

    Roman

==============7930B3A7ED28142401B94BB4
Content-Type: text/x-vcard; charset=us-ascii;
 name="roman.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Roman Sulzhyk
Content-Disposition: attachment;
 filename="roman.vcf"

begin:vcard 
n:Sulzhyk;Roman 
tel;work:(914) 448 7477
x-mozilla-html:TRUE
org:Prodigy Communications Inc
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Developer
x-mozilla-cpt:;21024
fn:Roman  Sulzhyk
end:vcard

==============7930B3A7ED28142401B94BB4==


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

From: Scott Marlowe <[EMAIL PROTECTED]>
Subject: PCI DSL modem = ATM???
Date: Thu, 01 Jul 1999 00:25:46 -0600

Hi, I was just installing my PCI internal DSL modem under Winders for
testing first, and Windows thought it was an ATM modem.  It uses RFC1483
as a driver standard, and after looking up RFC1483 and seeing it banied
about on several sites about ATM, I'm beginning to wonder if the ATM on
linux project might be some help.  It really seems to be maturing, and
if the internal PCI DSL cards could be made to work with the ATM suite,
we'd be in like flynn.

If anyone has any pointers before I break out gcc and start tying to
hack up something that works, let me know.


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

From: Roman Sulzhyk <[EMAIL PROTECTED]>
Subject: Solution for runsocks problem on Glibc 2.1 based systems (RH 6.0)
Date: Fri, 02 Jul 1999 18:35:43 +0000

This is a multi-part message in MIME format.
==============9EA9ED29D88CBFF2794EFA70
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

    Gentlemen:

    My first post failed, apparently news server has problem with Netscape 4.5+ on 
Linux. Trying again, sorry...

    There were a number of posts complaining about runsocks not working on RedHat 6.0 
(coredumping on all programs). I've spent a while trying to get it to work, and it 
seems to be related to a bug (?) in dlsym() when library symbol versioning is used 
(default in 2.1.x glibc). Anyway, I'm sure this will get resolved in the later 
versions of glibc, however if you want to run your apps on RH using runsocks in the 
meanwhile, apply the following patch to your socks5-v1.0r9:

--- begin patch---
--- lib/rld.c.orig      Fri Jul  2 12:56:59 1999
+++ lib/rld.c   Fri Jul  2 12:44:36 1999
@@ -58,9 +58,19 @@
      if (!(handle) && ((handle) = dlopen((libname), (flags))) == NULL) {     \
        return;                                                              \
      }                                                                       \
-     if ((*fptr = dlsym((handle), name)) != NULL) {                          \
-        return;                                                              \
-     }
+     if ((*fptr = dlvsym((handle), name, "GLIBC_2.1")) == NULL)              \
+     {                                                                       \
+        S5LogUpdate ( S5LogDefaultHandle, S5_LOG_DEBUG(10), 0,               \
+           "Unable to locate symbol %s in glibc 2.1 : %s",                   \
+           name, dlerror() );                                                \
+        if ((*fptr = dlsym((handle), name)) != NULL)                         \
+        {                                                                    \
+           S5LogUpdate(S5LogDefaultHandle, S5_LOG_DEBUG(10), 0,              \
+                       "Found %s in %s%s", name, (libname),                  \
+                        libmask&USE_RTLD_GLOBAL?"(g)":"");                   \
+           return ;                                                          \
+        }                                                                    \
+     }

 #define DGETSYM(handle, libname, flags)                                      \
      if (!(handle) && ((handle) = dlopen((libname), (flags))) == NULL) {     \
--- end patch ---

    It may complain a bit about converting pointer to integer in dlvsym() as it 
doesn't seem to get a definition for it, but will work fine.

    Enjoy!

    Roman

==============9EA9ED29D88CBFF2794EFA70
Content-Type: text/x-vcard; charset=us-ascii;
 name="roman.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Roman Sulzhyk
Content-Disposition: attachment;
 filename="roman.vcf"

begin:vcard 
n:Sulzhyk;Roman 
tel;work:(914) 448 7477
x-mozilla-html:TRUE
org:Prodigy Communications Inc
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
title:Software Developer
x-mozilla-cpt:;21024
fn:Roman  Sulzhyk
end:vcard

==============9EA9ED29D88CBFF2794EFA70==


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

Date: 02 Jul 99 14:11:27 -0500
From: "Gene Heskett" <[EMAIL PROTECTED]>
Subject: Re: Linux 2.0.30 stack problems

Unrot13 this;
Reply to: <[EMAIL PROTECTED]>

Gene Heskett sends Greetings to Dj Browne;

This sounds like you have a process stuck in a busy loop, probably
something that cron runs in the middle of the night.  Check your daily
crontabs (print them out for tomorrows referencing) and see if top
shows any of them after the problem starts, do this while its running
ok, but leave top running overnight so you can see it the next morning
without all that hassle of getting into a nearly dead machine.

 DB> Hi,

 DB>   I have recently run into  an odd problem.  

 DB>  One of the linux boxes I have has begun to fail in that it will
 DB>  not
 DB> allow me to log in or imap connect.

 DB>  I can telnet to port 23 and get a banner but the login prompt is
 DB> delay for about 2 minutes.

 DB> I can connect to the imapd but PCPine reports that the server is
 DB> not
 DB> responding.

 DB>  I have kerberos running on this and the telnetd is the MIT one,
 DB>  but
 DB> I also have the OpenSSL telnetd and the original telnetd all
 DB> running on seperate ports.  They all react the same way. delayed.

 DB> I am also running theNEC sockd on the machine

 DB> Any thoughts?  I was thinking it is a stack problem because if I
 DB> reboot the machine each morning it works fine until sometime in
 DB> the middle of the night.  

 DB> Help
 DB> derek



Cheers, Gene
-- 
  Gene Heskett, CET, UHK       |Amiga A2k Zeus040 50 megs fast/2 megs chip
    Ch. Eng. @ WDTV-5          |A2091,GuruRom,1g Seagate,CDROM,Multiface III
                               |Buddha + 4 gig WDC drive, 525 meg tape
                               |Stylus Pro, EnPrint, Picasso-II, 17" vga
         RC5-Moo! 690kkeys/sec isn't much, but it all helps
email gene underscore heskett at iolinc dot net
-- 


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

From: [EMAIL PROTECTED]
Subject: Re: Linux Box as local PPP server
Date: Fri, 02 Jul 1999 14:28:32 GMT

I am trying to do the same thing, although attempts thus far have been
quite unsuccessfull.  BUT, i know what you need to look for.

a. IP Masquerading (microsoft knows this as IP forwarding) this allows
your users to configure the proxy in their web browser to the linux box
IP address.  Then it forwards the request from Linux box's IP to the
Internet IP.  Pretty cool.  Just find a search engine and type IP
masquerading (if that's spelled right) and you'll learn all about how to
set it up, also I have a post called 'Damn Apache' on this newsgroup.
It might be helpful for you to read that and watch for results, because
the same thing might happen to you.

b. diald.  I have not tried to work with diald yet, but that is what
keeps an Internet connection when it is needed.  So when your users fire
up their browser and want to go wherever, when they make the request,
your Linux box will check to see if there is an Internet connection and
if not, it will dial, without anyone knowing, how sneaky.  Just find
diald on a serch engine also.

I believe that there is a HOWTO for IP Masquerading, but i dont think
there is a diald one.  Have Fun!  Good Luck!

In article <[EMAIL PROTECTED]>,
  John Simpson <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm trying to set up a Linux box with a dial-up connection to my ISP
so
> that users on the local network will get access to the Internet
through
> Explorer/Netscape on their own (MS) machines on the local network.
>
> The idea is to make the dial-up connection invisible so that when the
> user's browser (or whatever) is fired up, the Linux box handles all
the
> dial-up stuff and makes the connection; similarly, when the user has
> finished, the connection to the ISP is broken.
>
> I have ISDN access but am initially just using a modem to keep things
> simple.
>
> pppd works fine on the Linux system on its own.
>
> Samba works fine between the MS systems and the Linux box.
>
> I've ploughed through as many HOWTOs and Newsgroup submissions as I
can
> find but I'm missing the key information on how to:
>
> a.) Make the network connection between the users IP address and the
DNS
> supplied IP address on the Linux box.
>
> b.)Automate the dial-up process and make it invisible to the user.
>
> Can anyone point me in the direction of some specific HOWTOs or other
> info.
>
> Thanks
>
> John Simpson
>
>


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

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

From: Greg Leblanc <[EMAIL PROTECTED]>
Crossposted-To: linux.samba,linux.redhat.misc,comp.protocols.smb
Subject: Re: Office2K install from Samba fails
Date: Fri, 02 Jul 1999 18:29:09 GMT

Oops, guess I left that out of my post.  I've tried it via both UNC
(\\server\share\) and via a mapped drive letter.  It really annoys me
that I can't run it from my Samba server, but it works from my POS NT
server.  :-)  Later,
       Greg

In article <yYSe3.452$[EMAIL PROTECTED]>,
  "uswest news" <[EMAIL PROTECTED]> wrote:
> You didn't mention whether or not you mapped a drive to the samba
share.
> I've found from other CD's (not Office2K, though) that I needed to
have the
> share actually mapped to a drive letter in order to do an install. It
would
> choke if I tried doing it through the network name (//server/share).
>
> I hope that's it.
>
> -geo
>
> Greg Leblanc wrote in message <7lglge$p1k$[EMAIL PROTECTED]>...
> >I've got a Linux 2.2.9 kernel running on a P166 with 64MB of ram.  I
> >have a bunch of SCSI CD-ROM drives hooked up to it (it has a
specially
> >designed chassy) and some 3940Us.  Samba version 2.0.3-8 installed
from
> >RPM (RedHat 6).  It runs great for almost everything I've tried so
far.
> >However, I got my Microsoft Office2000 CDs today (there are two of
them)
> >and put them into a couple of cd drives.  I can browse the drives
just
> >fine, and read all of the files from them.  When I try to run office
> >setup, I get an "Internal Error 2721: Please contact product support
for
> >assistance."  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?  I'll post the relavent parts of my smb.conf at the bottom.
> >Thanks!
> >
> >--
> >It's pronounced "sexy" not "scuzzy"!
> >
> >
> >---smb.conf---
> >;*******************section global*****************
> >[global]
> >workgroup = ntdom
> >comment = CD-ROM tower
> >strict locking = no
> >share modes = yes
> >password server = primus secundus thumper
> >local master = no
> >security = DOMAIN
> >encrypt passwords = yes
> >wins support = no
> >os level = 0
> >domain master = no
> >prefered master = no
> >preserve case = yes
> >netbios name = blofeld
> >case sensitive = no
> >printing = bsd
> >printcap name = /etc/printcap
> >load printers = False
> >print command = /usr/bin/lpr -r -P %p %s
> >create mode = 0755
> >add user script = /usr/sbin/adduser -d /home/samba -g samba %u
> >;*****************section Office2000*********************
> >[Office2000]
> >comment = Microsoft Office2000
> >path = /samba/office2k/disk1
> >guest ok = yes
> >writeable = no
> >
> >
> >
> >Sent via Deja.com http://www.deja.com/
> >Share what you know. Learn what you don't.
>
>

--
It's pronounced "sexy" not "scuzzy"!


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

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

From: [EMAIL PROTECTED] (Dale Walker)
Subject: Anyone know how to post to linux.samba?
Date: Fri, 02 Jul 1999 18:24:22 GMT

I'm trying to post a query to linux.samba but I don't have permission
to send stuff. Does anyone know how to get permission for the
newsgroup.

==================================================================
| Dale Walker                       London Techno Events         |
| [EMAIL PROTECTED]                   [EMAIL PROTECTED]            |
| London, UK                        http://www.sorted.org/london |
==================================================================

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

From: [EMAIL PROTECTED] (Andrew Comech)
Subject: Re: My modem is not responding
Reply-To: [EMAIL PROTECTED]
Date: 2 Jul 1999 14:23:42 -0500


Let me add just a few words to the previous follow-up:

On Fri, 2 Jul 1999 11:21:42 -0400, doc450 wrote:
> i am using linux redhat 5.2
> I have a rc56hcfpci modem,

HCF==host-controlled family (no on-board controller: this is a "nonmodem").

PCI==almost all PCI modems are not Linux compatible, only
two or three hardware-based modems are available, and one of
them was indeed confirmed to work under Linux.

If you are now buying a new modem, see the link below.

Best,
a.

-- 
Looking for a Linux-compatible V.90 modem? See
http://www.math.sunysb.edu/~comech/tools/CheapBox.html#modems



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

From: "Tom Leete" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: C++ templates:  More than Turing Complete?
Date: Fri, 2 Jul 1999 11:37:46 -0400


Stephan Houben wrote in message ...
>[EMAIL PROTECTED] (Davin McCall) writes:
>
>>
>> Infinite? Finite, surely!
>>
>> To say that something takes an infinite amount of time to do is to
say
>> that it can't be done. And yet, you will find that an assembly
>> language (or machine code) program of finite size and complexity is
>> generated whenever you compile a high level language program, even a
>> C++ program.
>
>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);

call_me(a,i-1); // works better


>}
>
>int main(void)
>{
>  int a;
>
>  call_me(a, 10);
>  return 0;
>}
>-----------------end code------------------
>
>This produces the following error message (with gcc):
>test.cc:5: virtual memory exhausted


You put the compiler in a recursion with no exit. &a is an A*. Each
attempt to compile call_me(A) generates a new function call_me(A*). ..
call_me(A**)... call_me(A***)...

>
>I guess that an infinite amount of processing time and
>memory space would be sufficient to compile this program


>Also note that a *compiler* that can handle all possible variations
>on this theme would need to be more than Turing complete.


Big, too ;-)

>Stephan

This proves you *can* do things with templates you can't do with typedef

Cheers,
Tom




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

From: [EMAIL PROTECTED] (Dale Walker)
Subject: windows 98  can't see Linux machine using Samba
Date: Fri, 02 Jul 1999 18:24:21 GMT

I've got a Linux/Samba box and a Win 98 box. I've managed to set it up
so that Samba can read my Windows machines drives but can't get the
Network Neighbourhood to see the Linux box. What do I need to do to do
that? 

I can ping, ftp, http and telnet in both directions using either IP
addresses or host names. 

I've no intention of using the Linux box to connect to anything other
than my Win98 box (it's too slow for modem/dial-up internet access) so
security isn't an issue. 

Am I right in assuming that as I don't need internet access I don't
need DNS?




==================================================================
| Dale Walker                       London Techno Events         |
| [EMAIL PROTECTED]                   [EMAIL PROTECTED]            |
| London, UK                        http://www.sorted.org/london |
==================================================================

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

From: [EMAIL PROTECTED] (David Hinds)
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup,comp.os.linux.portable
Subject: Re: PCMCIA Ethernet networking problem
Date: 2 Jul 1999 15:31:58 GMT

Mike Carden ([EMAIL PROTECTED]) wrote:
: 
: The linux machine puts packets onto the network with no problem.
: I can see them with a sniffer.
: They are mainly arp packets of course until I manually add an entry via
: arp -s for another machine.
: When I do this and then a ping, I see the icmp traffic in both
: directions with the sniffer. The linux box sees no replys ( the led on
: the xircom flickers though as one would expect ).

Sounds like an interrupt conflict.

-- Dave Hinds

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

From: Habib <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,linux.redhat.misc,comp.os.linux.redhat,comp.os.linux.misc
Subject: Smbmount problem.
Date: Fri, 02 Jul 1999 18:33:44 GMT

    I use Red Hat 5.2, and have just upgraded from the 2.0.37 kernel, to
the 2.2.9 kernel.  Ever since I have upgraded my smbmount does not
work.  An error is given saying:

mount error: Invalid argument.
Please look at smbmount's man page for possible reasons.

    The command I type is smbmount //wincomp/c /mnt/localdir -c
mylinuxservername
This is the command that I have always been using.  I have tried
upgrading samba to various versions, and right now I am using
samba-2.0.4b-19990519.  I am also sure that the smb filesystem is
compiled into my kernel since I recopmiled my kernel a 2nd time just to
make sure.  Any help that is given will be appreciated.


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

From: [EMAIL PROTECTED]
Subject: Structure of .htaccess ? How to restrict access to http subdirectory
Date: Fri, 02 Jul 1999 16:14:19 GMT
Reply-To: [EMAIL PROTECTED]

Where will I find informations about the structure of the .htaccess file ? I
want to restrict the access to special subdirectories of htdocs for specified
users, who should give a password. I already tried to setup this via webmin, but
it does not work.
Regards, Eggert

=====================================================
Answers please in this newsgroup!
[EMAIL PROTECTED]

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

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


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