Linux-Networking Digest #754, Volume #11 Fri, 2 Jul 99 04:13:34 EDT
Contents:
Re: Printers Across Two Networks/Linux router (Chris)
innd (Serge Interesnov)
Loging in as root (Robert Renhammar)
Linux distributions for diskless nodes ([EMAIL PROTECTED])
packet forwarding problem ("Neil Marko")
Re: i KNOW how-to setup a nic - BUT I CAN'T GET IT TO WORK!!! (Bob)
Re: Maximus/opus or clone of them for Linux (Jonathan Guthrie)
Re: Why not C++ (Justin Vallon)
E-Mail Server via Postfix (Markus)
Re: Why not C++ (Stephan Houben)
Installing RH linux onto P166 laptop ("Ng, Choon Hooi")
Re: net logon and net use ("Dimitri Willemse")
Re: Why not C++ (Klaus-Georg Adams)
PLEASE HELP ME GET ONLINE WITH LINUX! ("Daniel Mitchell")
Re: If I had a gun....SOLVED!!! ("James R. Barnett, Jr.")
Re: C++ templates: More than Turing Complete? (Stephan Houben)
Re: internet connection with Linux (Frank Waarsenburg)
Re: Loging in as root ("Quiney, Philip (EXCHANGE:HAL02:HM10)")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Chris)
Subject: Re: Printers Across Two Networks/Linux router
Date: Fri, 02 Jul 1999 02:02:09 GMT
On 24 Jun 99 17:33:23 GMT, [EMAIL PROTECTED] (Joe T. Smith)
wrote in comp.os.linux.networking:
>1. How can I merge the two Network Neighborhoods to
> look like one, so that I can see the printers on Network A from
> Network B? Is there some kind of Linux software that will allow
> me to do this?
Enable the WINS server portion of Samba. It will build a common namespace
from all of the visible subnets and respond to queries.
> The Win95 machines are configured with TCP/IP and IPX
>support. TCP/IP networking between the two networks works: a host
>on Network A can ping a host on Network B.
You probably don't need IPX enabled in your Win9X machines unless you also
have a Novell server. In fact, leaving the IPX enabled needlessly causes
a well known problem where the Win9X machines momentarily pause for
several half-seconds every few minutes.
------------------------------
From: Serge Interesnov <[EMAIL PROTECTED]>
Crossposted-To: redhat.config,redhat.networking.general
Subject: innd
Date: 2 Jul 1999 05:30:45 GMT
I can't setup innd, where i can find documentation (other then man) on
innd for RedHat 5.9.
[EMAIL PROTECTED]
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: Robert Renhammar <[EMAIL PROTECTED]>
Subject: Loging in as root
Date: Fri, 02 Jul 1999 07:48:30 +0200
Reply-To: [EMAIL PROTECTED]
HI !
I'm running Debian 2.0 w. 2.2.9 kernel. Now I whant to be able to login
as root via both telnet and X (X both local and network). When I try I
get "login incorrect", and as I understand it you shuld somewhere set a
parameter telling root is alowed to login via networke, but where ?
Thanx !!
\\Robert Rehammar
------------------------------
From: [EMAIL PROTECTED]
Subject: Linux distributions for diskless nodes
Date: Fri, 02 Jul 1999 05:40:40 GMT
I've been working on setting up a few diskless nodes to run as a MOSIX
cluster. This has been a pain; I ended up browsing through the list of
mini-distributions on freshmeat's appindex and eventually settled on
CClinux, which I managed to eventually bludgeon into working. My
question is, is there a mini-distribution out there specifically
targeted at providing an NFS-mountable filesystem for X-terminals or
cluster nodes or the like? If not, can anyone recommend one that would
be easiest to modify to be suitable for root-over-NFS?
-Patrick Hearon
Rice University
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: "Neil Marko" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: packet forwarding problem
Date: Fri, 02 Jul 1999 05:41:23 GMT
I have a SOHO network on 10base2. I use Slack 4.0 as a router/firewall with
two NIC's, one on the lan and one to a cable modem. All the other machines
are Win98 with 192.168.0.X addresses and one NT4.0 machine with a real
registered IP address. ipchains works fine, or at least it seems to. Here
is the forward chain (bob.issnet is the NT box):
Chain forward (policy DENY):
target prot opt source destination ports
ACCEPT all ------ bob.issnet anywhere n/a
ACCEPT all ------ anywhere bob.issnet n/a
ACCEPT all ------ 192.168.0.0/24 192.168.0.0/24 n/a
MASQ all ------ 192.168.0.0/24 anywhere n/a
I also have a static route to send packets to bob that may come from
anywhere. The 98/NT boxes have the Linux box as there default gateway. I
have an lmhosts file on all machines. Samba is NOT running on the Linux
box.
The problem
If I use copy (using the NT command line copy command) from one of the W98
machines to the NT machine, I get verify errors. The errors are only for
binary files and the error seems to be the insertion of a few extra null
bytes. This is not a disk problem since I noticed the problem during the
verify pass of a tape backup. If I reset the IP address of the NTW box to a
192.168 address, the errors seem to go away. If I add a static route to the
NT box to bypass the Linux router, then the errors also seem to go away. Is
there some sort of problem with my ipchains setup that would cause problems
with Windows networking?
Thanks,
Neil Marko
------------------------------
From: [EMAIL PROTECTED] (Bob)
Crossposted-To: comp.os.linux.questions,comp.os.linux.setup,linux.redhat.install
Subject: Re: i KNOW how-to setup a nic - BUT I CAN'T GET IT TO WORK!!!
Date: Thu, 01 Jul 1999 00:11:17 GMT
[EMAIL PROTECTED] (H.Bruijn) wrote:
>The 3Com 3c509b is autodetected by linux, you do not need to give it irq
>and io addresses.
>What usually helps is to use one of the dos programs on the floppy with
>drivers to take the card aut of plug and play mode.
>The program (forgot the name isapnp.exe???) can also be downloaded from
>t3com btw.
>This fixed my initial problems with the 3c509b.
>
UNBELIEVABLE!!!!!!!!!!!!!!!
if I COMMENT OUT the options line in conf.modules - it WORKS!!!!!!!!
now - could someone explain WHY????
why does the card activate on io 300, irq 5 BUT ONLY
if the conf file DOESN'T SAY USE 300,5 !?!?!?!?!?!?!?!?
________________________________________________
Definition of Windows 95:
A 32 bit upgrade to 16 bit extensions for an 8 bit operating system
designed to run on a 4 bit processor by a 2 bit company that
doesn't like 1 bit of competition.
>On Tue, 29 Jun 1999 16:18:38 GMT, Bob allegedly wrote:
>>ok - here's a WEIRD 1:
>>i'm running mandrake 6.0 (2.2.9) and am TRYING to
>>setup a 3com etherlink 3 (3c509b) 10base2/aui card.
>>
>>I want the card to be @ 0x300, irq 5, 10base2.
>>
>>I've downloaded apps @ cesdis.gsfc.nasa.gov
>>that allow me to both diagnose & set(up) the card.
>>
>>both the setup program AND the diag program see the card,
>>and acknowledge that i've setup it up correctly (0x300,5,bnc).
>>
>>now - here's the problem -
>>my conf.modules (excerpt) look like:
>>#
>>alias eth0 3c509
>>options 3c509 io=0x300 irq=5
>>#
>>
>>when i try to "ifconfig eth0 up" (or various permutations)
>>I get: unknown interface: no such device.
>>
>>HOW can ifconfig NOT see the nic, when these other apps
>>see it no problem!!!!??????
>>
>>btw - those who respond - "pay $10 for a new card" need not reply! :)
>>
>>tia - Bob
------------------------------
From: Jonathan Guthrie <[EMAIL PROTECTED]>
Subject: Re: Maximus/opus or clone of them for Linux
Date: 2 Jul 1999 04:09:22 GMT
B'ichela <[EMAIL PROTECTED]> wrote:
> I am a grizzled Opus 1.73a user and I have been trying to find a
> bbs that is similar to Opus, I do know Maximus is very similar but
> apparently does not have a Linux or even a unix version. only Dos/Os2
> versions exist.
That is correct. I spoke with Scott Dudley (the guy who wrote Maximus)
about it about a year ago, and told him that I wanted to do something like
a Linux port of Maximus. Scott has essentially stopped working on Max
because he feels that the world has gone beyond BBSes. Scott had, at one
point some time around 1992 or 1993, offered me the source code for Max so
that I could port it to Linux. I didn't take it at that time, although I
wish that I had.
Bob Juge, who has Scott's ear and who happens to be a customer of mine,
has told me that he has suggested that Scott declare the product
commercially dead and release the source for Max to everyone. So far, it
hasn't happened. We shall see. (Who knows. Perhaps I shall respond to
the email he wrote me.)
--
Jonathan Guthrie ([EMAIL PROTECTED])
Brokersys +281-895-8101 http://www.brokersys.com/
12703 Veterans Memorial #106, Houston, TX 77014, USA
------------------------------
From: Justin Vallon <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 2 Jul 1999 00:44:53 -0400
[EMAIL PROTECTED] (Bruce Hoult) writes:
> In article <7lbkp6$h72$[EMAIL PROTECTED]>, Cameron Hutchison
> <[EMAIL PROTECTED]> wrote:
>
> > Consider this:
> >
> > #define inc(x) (++(x))
> > ...
> > int x = 1;
> > ...
> > inc(x);
> >
> > In this case, x is being modified and you cannot tell from the context. It
> > may be bad form to write a macro with lower case letters, but it can also
> > be argued that it is bad form to use non-const references in C++.
>
> A hit! A very palpable hit!
Right, but you called the macro/function inc. Maybe it would be more
obvious if the function were named increment?
template<class T>
inline T& increment(T& x) {
return ++x;
}
Is there any question as to whether increment(y) changes the value of y?
--
-Justin
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Markus)
Subject: E-Mail Server via Postfix
Date: Fri, 02 Jul 1999 07:50:29 GMT
Hy,
kann mir irgendjemand sagen wie ich unter Linux einen E-Mail Server
einrichten kann?
Meineswissens brauche ich hierzu doch Postfix, oder?
Danke
Markus E.
------------------------------
From: Stephan Houben <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 02 Jul 1999 09:01:29 +0200
[EMAIL PROTECTED] (Nathan Myers) writes:
> Stephan Houben <[EMAIL PROTECTED]> wrote:
> >
> >If you did this, then you would realize that "templates" are only
> >the shadow on the wall of a much more powerful and elegant system,
> >namely an ML-style type system.
>
> That is easily said, but it happens to be false. C++ templates
> can express useful ideas that are impossible in "an ML-style
> type system".
You mean the lack of "ad hoc" polymorphism?
That's true in a pure Hindley-Milner type system.
However, Haskell adds "type classes", which allows a kind
of ad hoc polymorphism, but in a more structured (and type-safe) way.
By the way, how would you express with C++ templates the type
of the "error" function in Haskell:
error :: String -> a
Greetings,
Stephan
------------------------------
From: "Ng, Choon Hooi" <[EMAIL PROTECTED]>
Subject: Installing RH linux onto P166 laptop
Date: Fri, 02 Jul 1999 14:06:26 +0800
Reply-To: [EMAIL PROTECTED]
Hi,
I am planning to install RH linux 5.2 onto my P166 Hitachi laptop,
which serves as a server for my LAN. 2 reasons of doing that. 1. It is
the most powerful PC among all my PCs. 2. I travel once in awhile, and
hence I need to connect to a different network.
Things that I wanna setup are: network connection, PPP, IP Masq &
Email.
My laptop specs:
Hitachi P166 MMX, 64 MB, build-in sound card, build in modem, build-in
10BT nic, 3.5" drive, and CD-ROM (build-in)
Anyone has any experience on setting up RH linux on l/top? Any advice or
precaution I should be aware of? Appreciate any info. Thanks.
Rgds,
CH
------------------------------
From: "Dimitri Willemse" <[EMAIL PROTECTED]>
Subject: Re: net logon and net use
Date: Fri, 2 Jul 1999 09:23:35 +0200
Now, why would you wanna do that??
In Win98 (i.e. in the GUI) you can map a network drive (right-click network
neighborhood, click map networkdrive) X to a path.
In DOS mode, you are not logged on to a domain yet, so you won't be able to
access your network sources. I am not sure if there is a 'net' command to
log on to a domain.
<[EMAIL PROTECTED]> wrote in message news:7lhjgj$2ps$[EMAIL PROTECTED]...
> Hi,
>
> i'm running linux v5.3, acting as a domain controller.
> If I log on with my Win98-client a logon-script is executed:
>
> user.bat:
> net use X: /HOME
>
> I can use this command "net use..." in a Win98-Dos-Prompt and
> the directory is assigned to X:, but if the script is executed
> during logon, the driveletter won't be assigned to??!?!?!
>
> Can anyone help me with this?
>
> Oliver.
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
------------------------------
From: Klaus-Georg Adams <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 02 Jul 1999 09:21:58 +0200
[EMAIL PROTECTED] (Peter Samuelson) writes:
> [Klaus-Georg Adams <[EMAIL PROTECTED]>]
> > #define some_function(x) ++x
> >
> > :-)
> >
> > You have to look at the definition anyways, in C or C++.
>
> Yes, but there is a practical difference. Most (at least mediocre) C
> programmers would never write the above, because we've all been taught
> that preprocessor macros must be named in all-caps. Macros that modify
> their args most definitely need to be in all-caps. The language
> doesn't strictly require it but the legacy is strong.
>
> C++ programmers, by contrast, do *not* by and large play by the rule
> that arguments passed by reference must be treated as const. If they
> did, we wouldn't be having this discussion.
from /usr/src/linux-2.2.9/include/asm-386/system.h, line 193:
#define save_flags(x) ((x)=__global_save_flags())
This is used at zillions of places in the linux kernel. And it is just
one example of such a macrodefinitions. It just goes to show that you
have to apply things like this judiciously, but you can live very well
with them.
It looks like you need programers who are better than mediocre to get
away with the above :-)
kga
------------------------------
From: "Daniel Mitchell" <[EMAIL PROTECTED]>
Subject: PLEASE HELP ME GET ONLINE WITH LINUX!
Date: Fri, 2 Jul 1999 02:25:49 -0500
I've had no luch with the other Linux use-groups; perhaps someone here will
be a little kinder...
I just switched from Win 98 to RedHat 5.1 and I'm having a hell of a time
with my ISP. Under Windows, the process of logging on was completely
automated, but I can't figure out what I need to do under Linux. First I
need to explain that if I dialed in to my ISP (under Windows) with the
'bring up terminal window after dialing' option checked, the terminal would
come up but I couldn't communicate with their machine; I would never get a
command prompt. If I then just went ahead and hit 'continue' or whatever
then Windows would do some stuff I would somehow end up online.
Under Linux, I can duplicate the terminal-without-a-command-prompt part with
minicom but I can't get that second, mysterious logon part to work. Again,
under Windows it was automated so I have no idea what was going on. I'd
really appreciate some help with this as I can't do any of the cool stuff
that I want to do (update kernel, download GNOME and KDE, or figure out how
to use my damn USB mouse with X) until I get my Linux system to go online.
Thanks in advance,
Daniel
------------------------------
From: "James R. Barnett, Jr." <[EMAIL PROTECTED]>
Subject: Re: If I had a gun....SOLVED!!!
Date: Fri, 02 Jul 1999 02:23:05 -0500
Well, My problem is solved. I bought a gun. :) Not really. I want to
thank everyone for the help easpecially Mr. Smirnov. Apparently the
ethernet card didn't like the resources autoprobe found for it. I
recompiled the kernel with 3c509 support built-in and manually specified
the proper irq and ioports in an 'append' statement in /etc/lilo.conf
and reinstalled lilo. Now it is all working. I am still confused why the
interface came up and appeared to be able to send packets with the wrong
IRQ being used. I can't understand why it would send but not recieve. Oh
well, on to samba and ip masquerading....
JamesB
"The Evil Adobe Of Funk"
http://students.ou.edu/B/James.R.Barnett-1/
------------------------------
From: Stephan Houben <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: C++ templates: More than Turing Complete?
Date: 02 Jul 1999 09:18:04 +0200
[EMAIL PROTECTED] (Davin McCall) writes:
> On 1 Jul 1999 01:57:18 -0700, [EMAIL PROTECTED] (Nathan Myers)
> wrote:
>
> >The convention in some communities is to ignore performance
> >and engineering rigor. Certainly anything can be achieved in
> >assembly language (or in T-code, if you like) that can be achieved
> >with a C++ _program_, given infinite time and coding effort.
>
> 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);
}
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
I guess that an infinite amount of processing time and
memory space would be sufficient to compile this program
Note that the program, once compiled, would actually terminate
after 10 recursive calls of call_me().
Also note that a *compiler* that can handle all possible variations
on this theme would need to be more than Turing complete.
Greetings,
Stephan
------------------------------
From: Frank Waarsenburg <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: internet connection with Linux
Date: Fri, 02 Jul 1999 09:19:04 +0200
Reading the Q's and A's, my conclusion is that you connect to your ISP, get a
(dynamic?) IP address, but then you don't set a route to it. Once the
connection is established, type 'route' and check if there is a route to the
internet. Most likely you have to add a line like "route add default dev
kppp0" to your ip-up.local script.
Frank
Brutus wrote:
> I'm using Open Linux 2.2 with KDE and I'm running kppp to get connected to
>
> my ISP. I'm able to get a connection through kppp but none of my
>
> applications seem to be able to find it. Netscape comes back with an error
>
> saying that the internet server is not found, telnet also can't find a
>
> connection. Does anyone have any suggestions?
>
> thanks
>
> ------------------ Posted via SearchLinux ------------------
> http://www.searchlinux.com
------------------------------
From: "Quiney, Philip (EXCHANGE:HAL02:HM10)" <[EMAIL PROTECTED]>
Subject: Re: Loging in as root
Date: Fri, 02 Jul 1999 08:43:29 +0100
Robert Renhammar wrote:
>
> HI !
>
> I'm running Debian 2.0 w. 2.2.9 kernel. Now I whant to be able to login
> as root via both telnet and X (X both local and network). When I try I
> get "login incorrect", and as I understand it you shuld somewhere set a
> parameter telling root is alowed to login via networke, but where ?
Move the file /etc/securetty to (say) /root/securetty to keep it safe
;-)
Thats it - you can now log in as root
HTH
Regards
Phil Q
--
Phil Quiney Digital PowerLine,
[EMAIL PROTECTED] Nortel Networks,
Telephone: +44 (1279) 402363 London Rd, Harlow,
Fax: +44 (1279) 402885 Essex CM17 9NA,
United Kingdom.
"This message may contain information proprietary to Northern
Telecom so any unauthorised disclosure, copying or distribution
of its contents is strictly prohibited."
------------------------------
** 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
******************************