Linux-Networking Digest #689, Volume #11         Sun, 27 Jun 99 07:13:44 EDT

Contents:
  DNS setup problem (Harry Phillips)
  Re: HowTo Monitor Internet Acvities While At Work? (Jimmy Navarro)
  Connecting 3 pcs (Herbert)
  Re: samba and epson stylus 600 ("Maguai")
  Re: HowTo Monitor Internet Acvities While At Work? (Jimmy Navarro)
  Re: Linux calls out automatically (Dave Emory)
  adding dial up (PanteraJMM)
  Re: netscape (MAKZ)
  Re: Linux and DSL (Barnaby DiAnni)
  Re: IP MASQUERADING ("Karl McMurdo")
  Re: Help configuring Apache cgi scripts (Eugene Lee)
  Re: Why not C++ (Andi Kleen)
  Re: Setting Linux up as a proxy server (Bob G)
  strange faxgetty-message ("Falk Seyboldt")
  Question about USER (NGUYEN-DAI Quy)
  Re: Why not C++ (Nathan Myers)
  Re: FTP using Netscape (MAKZ)
  Re: Need advice on modem (Chris Harshman)
  Re: Why not C++ (Bruce Hoult)
  Dial-up problems ("John Tomlinson")
  Re: Why not C++ (Nathan Myers)
  Re: Why not C++ (Nathan Myers)
  Re: Why not C++ (Nathan Myers)
  IP masquerading on a WAN ([EMAIL PROTECTED])

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

From: [EMAIL PROTECTED] (Harry Phillips)
Subject: DNS setup problem
Date: Sun, 27 Jun 1999 07:06:00 GMT

Hi

I hope someone can point me in the right direction. I have two PC's
networked at home 1 running Mandrake 6.0 the other Win95. the 95 PC
doesn't need to connect through my Linux PC to the Internet.

I have in my resolv.conf file
domain one.net.au
search one.net.au
nameserver 203.17.244.11
nameserver 203.17.244.12

my hosts.conf file is
order hosts,bind
multi on

I can dial my ISP and connect ok I get my local IP address and the
remote address is the default gateway.

When I try to ping the first DNS server (203.17.244.11) I keep getting
duplicate replies from two other IP addresses. I don't get any reply
from the second DNS server at all.

I can ping IP's on the internet eg 137.82.43.58 (axion.phyics.ubc.ca)
but when I try and ping say www.novell.com.au I get can't resolve IP
address.

I KNOW it is a DNS problem but what? Should I make up a domain for my
PC rather than making it the same as my ISP? Should I use the IP
numbers of the two I get a response from when I try to ping
203.17.244.11? Is there something else I need to check?

Please help I am sick of Microsoft's arrogance and need to flee to the
land of the free!!!

Regards
Harry

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

From: Jimmy Navarro <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.questions,comp.os.linux.misc,microsoft.public.windowsnt.misc
Subject: Re: HowTo Monitor Internet Acvities While At Work?
Date: Sun, 27 Jun 1999 00:14:01 -0700

Hi Dave,

May be you can e-mail me direct if you have aURL or anything about that Perl
script, etc..  I have couple of test proxy server running in Linux and BSD to
try it out where their bandwidth is being zapped.  I've trying looking for
possible solution at Linux programming by Wrox customing sockets but have no
clue.

Jimmy Navarro
p.s.:  to e-mail me direct, remove extra.

David Jordan wrote:

> I would suggest running apache as a proxy server and logging all requests.
> That way you can run a perl script or similar (I have some if you wish) that
> will rummage through the log files and pick out who does what once a week
> ... then wrap their knuckles :-)
> DJ
>
> Jimmy Navarro <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > I work around huge comporate network of NT servers: SMB server, PDC,
> > firewall, routers, e-mail servers, etc...  Is there way to remotely
> > monitor or track down employees abusing the LAN-to-Internet continuous
> > connectivity surfing the WWWduring working hours with their Ethernet
> > connected Windows 95/NT workstations?  Any suggestion?
> >



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

From: [EMAIL PROTECTED] (Herbert)
Subject: Connecting 3 pcs
Reply-To: [EMAIL PROTECTED]
Date: Sun, 27 Jun 1999 07:33:27 GMT

Hi,

I try to connect 2 pcs, but it doesn't work. Here is a short description 
of what I did:

PC1: eth1: 192.168.0.1
PC2: eth0: 192.168.0.2
PC3: eth0: 192.168.0.3

On PC1:
ifconfig eth1 192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0 up
route add -net 192.168.0.0 netmask 255.255.255.0 eth1
On PC2:
ifconfig eth0 192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0 up
route add -net 192.168.0.0 netmask 255.255.255.0 eth0
On PC3:
ifconfig eth0 192.168.0.3 ... (the rest same as on PC2)

I don't have to set a default gateway, do I ?
(On Pc1 there's another ethernet card (eth0), that is connected to the 
internet through a cable modem. I later want to set up IP-Masquerading.)
The computer cannot ping each other ! :-( Does anybody know what's wrong 
with my setup ?
Please help me !!

Thanks a lot in advance !

regards,
    Herbert  

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

Reply-To: "Maguai" <[EMAIL PROTECTED]>
From: "Maguai" <[EMAIL PROTECTED]>
Subject: Re: samba and epson stylus 600
Date: Sun, 27 Jun 1999 07:04:12 GMT

check this site
http://home.talkcity.com/MigrationPath/maguai/


andrew g robinson <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> setup
> server ;redhat linux 6.0 , two ethernet card .. one to dhcp sever (cable
> modem) other for internal network
> client: dual boot redhat linux and win98  one ethernet card
> network: ne200 ethernet with hub
>
> problem: cannot get the  win98 machine to print to the epson 600 stylus
> printer on the server.  samba appears to be working.  I can save files
> on the shared directory.  lp shows up in the shared directory but i
> cannot print to the printer.  I know the printer is working on the
> network because when i reboot into linux on the client  and print to the
> server... it work hurray.   if someone with a samba setup like mine
> could post thier smb.conf i would appreciate it .  then  i could see
> what i  am doing wrong.  My thoughts are i do not have the printer
> properly configured in samba.
>
>
>
>



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

From: Jimmy Navarro <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.questions,comp.os.linux.misc,microsoft.public.windowsnt.misc
Subject: Re: HowTo Monitor Internet Acvities While At Work?
Date: Sun, 27 Jun 1999 00:26:10 -0700

Stewart Honsberger wrote:

> On Fri, 25 Jun 1999 10:20:16 -0700, Jimmy Navarro wrote:
>
> >Hi, Mr. Ron DuFresne with dodo brain, fyi I was just posting the question
> >was asked me by a MCSE NT System Administrator who doesn't work around Unix
> >is there's something he could do and this issue is not even my concern.
>
> HAH! Some MCSE! Man, he really earned THAT CrackerJack box diploma!
>
> He's so good at what he does - he doesn't waste his time on such minor tasks?
> {snerk}
>
> --
> Stewart Honsberger (AKA Blackdeath) @ http://sprk.com/blackdeath/
> [EMAIL PROTECTED]  (Remove 'thirteen' to reply privately)
> Humming along under SuSE Linux 6.0 / OS/2 Warp 4

CrackerJack box diploma?  Yea right.  Having MCSE or CNE pays in some big
companies even where I work with couple of NT because a lot of huge corporate
enterprise bought the MS marketing hype where we just inherited it the existing
NOS.  I personally use Linux (you may verify my message header) since Linux
kernel 0.* while early SCO and other COTS Unix was the only variants around.



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

From: [EMAIL PROTECTED] (Dave Emory)
Date: 27 Jun 99 01:51:39 GMT
Subject: Re: Linux calls out automatically

On Thursday June 17 1999, [EMAIL PROTECTED] wrote to All:

 w> I have SUSE Linux 6.1 installed.
 w> The Linux_PC works as an ISDN Router (IP_MASQUERADING, IP_FORWARDING).
 w> It works fine. I can connect to my ISP from my WIN95 clients. But
 w> sometimes Linux connects automattically to my ISP and I have done
 w> nothing.

 w> I think that something wants to connect to the DNS of my ISP. But I
 w> have no Idea what. There is an Entry in my message Log like : OPNE:
 w> DUMMY-IP -> DNS-IP-ISP UDP  PORT: 61033 -> 53

Install the IPTRAF package.  It will let you see which computer on the LAN is
doing the DNS query.    TTYL -=- Dave
--
| This message was posted with a "NOSPAM" address. Simply remove the ".nospam" |
| from the return address with your email message editor for the proper email  |
| return address.                                                              |

| Posted via Crystals.aloha.or.us PDX Fido<>Internet Gateway. Online time for  |
| this gateway is provided by a generous grant from Pacifier Online Data       |
| Systems. (Pacifier.com)                                                      |

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

From: [EMAIL PROTECTED] (PanteraJMM)
Subject: adding dial up
Date: 27 Jun 1999 08:33:55 GMT

i am the network admin. at me school. for the following year we will be running
a linux network off some type of DSL. i wanted to add a dial up to our current
network. how can i do this (basicly)? what is involved?

Please email me, i very rarely use newsgroups:
[EMAIL PROTECTED]
[EMAIL PROTECTED]

AOL or AIM: panterajmm
ICQ: 33395655

-Jordan

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

From: MAKZ <[EMAIL PROTECTED]>
Subject: Re: netscape
Date: Sun, 27 Jun 1999 11:32:25 +0200
Reply-To: [EMAIL PROTECTED]

Anthony wrote:
> 
> Hello.
> How can I use netscape with my usual link to the Internet (DHCP)
> being down ? Actually netscape file:/// or netscape http://localhost
> for example hang netscape.
> Thank you.

Why the three slashes atfer "file:" , there should be only one, like
file:/usr/doc/LDP/nag/index.html

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

Date: Sat, 26 Jun 1999 23:38:37 -1000
From: Barnaby DiAnni <[EMAIL PROTECTED]>
Subject: Re: Linux and DSL

Rich wrote:
> 
> I have some new info and I will recap some of the old for any newcomers. I
> still haven't got it to talk yet, but learned some valuable info.
> 
> First the Linux box has two network cards (eth0 and eth1)
> 
> The eth0 card is configured as 192.168.1.1 with a netmask of 255.255.255.0

Rich, 

192.168.1.1 with a mask of 255.255.255.0 means eth0 is connected to
a network that will answer to all IP's between 192.168.1.1 and
192.168.1.255.  
 

> The eth1 card is configured as 192.168.1.2 with a netmask of
> 255.255.255.128
> 
192.168.1.2 with the same mask is half of the SAME network as you
assigned eth0.  Use 192.168.2.1 with a subnet mask of 255.255.255.0 

> All other windows machines on the LAN are 192.168.1.X and 255.255.255.128

A quick sketch

192.168.1.1 eth0 <------>eth1 192.168.2.1
255.255.255.0   Subnet mask  255.255.255.0

After you correct your ip addressing try to ping from 192.168.1.1 to
192.168.2.1  Then you'll have to verify that you have IP forwarding
enabled 
to be able to route packets across your linux box.

> 
> The router is set up as defualt. The only items I have entered into the
> router are:
> set ppp wan0-0 ipcp 0.0.0.0
> set ppp wan0-0 dns 0.0.0.0
> set ppp restart enabled
> set dhcp server enabled
> set nat enabled
> and login and passwords.
> 
> This is what USWEST has in the book. This setup is currently working plugged
> into my hub.
> 
> What I just realized doing a winipcfg in windows was the Cisco 675 router
> has the following. I am going to add all info beacuse I am not sur if it is
> relevent.

Seems like you need to run a dhcp client program to set your ip and
other network info from the DCHP server at 10.10.10.1 every time your
bring up your PPP connetion.  If your using a new distribution of Linux
they all come with one. Type "man dhcpcd" and see what you find :-)

Good luck.

Barnaby


> 
> Host name Rich
> DNS servers 207.108.32.1 and 204.147.80.5
> Node type =broadcast
> IP address 10.0.0.2
> Subnet Mask 255.255.255.0
> Default gateway 10.0.0.1
> DHCP server 10.0.0.1
> 
> I am thinking that  this info needs to be entered under routing in netcfg
> 
> Under router I have :
> 
> default gateway____________
> default gateway device__________
> 
> And then if I click add I get
> 
> Device_________________
> Network_______________
> Netmask_______________
> Gateway_______________
> 
> I tried a few combinations but haven't hit the right one.
> 
> Any help is appreaciated. I hope to get this thing online this weekend.
> 
> Thanks
> 
> Rich

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

From: "Karl McMurdo" <[EMAIL PROTECTED]>
Subject: Re: IP MASQUERADING
Date: Sun, 27 Jun 1999 02:16:42 -0600

Actually NT doesn't do it.  You can still use the network if you hit cancel
at login just can't use those shares that don't allow public access.  Which
means anything outside M$'s little world works fine ie: FTP/TELNET to a unix
box  I use this 'feature' when our domain controllers are down to give me
access to the UNIX application platforms (it's a great time to do
maintenance on them because your average user is locked out).

The best way to deal with this is to use the windows policy manager, where
you can turn off the ability to log into windows period without remote
authorization (of course if your server is down everyone is down)

Even this wouldn't stop the more advanced user on a win9X machine, I have a
floppy with two .reg files, one that disables this feature and one that
turns it back on so I can work on a machine that is off the net.

TURBO1010 <[EMAIL PROTECTED]> wrote in message
news:7kv2de$jq2$[EMAIL PROTECTED]...
> Guess I could disable the ethernet in that profile, but how does NT do it.
> At work one cannot get internet access without loggin on to the domain.
>
> Gilford Wimbley <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > On Thu, 24 Jun 1999 18:12:16 -0700, "TURBO1010"
> > <[EMAIL PROTECTED]> wrote:
> >
> > >I have a linux box, which acts as the gateway, router to the internet
for
> 3
> > >win95 machines.  This all works great, now what I'm trying to do is to
> keep
> > >people off the net unless they authenticate through linux.  I have
samba
> > >setup to be the domain controller, but this doesn't keep user's off the
> net,
> > >they just hit cancel in the login, and they can still get on the net.
> Any
> > >ideas if this can work?
> > >
> > >
> > >
> > Well one thing that should work is this.  On the windows machine, hit
> > cancel at boot-up and then do settings | control panel| system| device
> > manager.  Select the network adapter and click on properties.  Check
> > disable in this profile.  You might need to reboot, I'm not sure.
> > This wouldn't stop advanced users, obviously.
> >
> > From,  the linux side, another thing is that you could have no
> > unrestricted access to the linux box.  That is, you could make it so
> > that every share has a comprehensive list of who is allowed to see
> > what.  For only three machines it shouldn't be that hard.
> >
> > good luck.
> > GW
>
>
>



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

From: [EMAIL PROTECTED] (Eugene Lee)
Crossposted-To: comp.infosystems.www.servers.unix
Subject: Re: Help configuring Apache cgi scripts
Date: Sun, 27 Jun 1999 04:47:13 -0500

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> 
> When I call up the webpage, I get this error in the Apache error log:
> 
> [Sat Jun 26 17:48:52 1999] [error] (13)Permission denied: exec of
> /usr/local/apache/cgi-bin/poorcount/green.gcl failed
> [Sat Jun 26 17:48:52 1999] [error] [client 208.234.80.213] Premature end of
> script headers: /usr/local/apache/cgi-bin/poorcount/green.gcl

Apache runs as a particular user on the system.  Does that user have permission
to run green.gcl on the system?

-- 
Eugene Lee
Systems Administrator
NeoSoft R&D Department
[EMAIL PROTECTED]

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

From: Andi Kleen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 27 Jun 1999 08:42:06 +0200

[EMAIL PROTECTED] (Nathan Myers) writes:

> Andi Kleen  <[EMAIL PROTECTED]> wrote:
> >Well, the theory is that:
> >  int f(vector<vector<float> > array) 
> >is easier than
> >  int f(float **array) 
> >to handle for a beginner.

[exercise in selective quoting to prove a point deleted]

My point was simply:
In my first tries to use the STL, I had to fight with 10+ lines
really obscure template error messages. I wouldn't wish that to 
any poor beginner (given that beginning is usually mostly syntax 
error fixing at first)


-Andi

-- 
This is like TV. I don't like TV.

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

From: Bob G <[EMAIL PROTECTED]>
Crossposted-To: redhat.networking.general
Subject: Re: Setting Linux up as a proxy server
Date: Sun, 27 Jun 1999 10:10:34 GMT

[EMAIL PROTECTED] wrote:

>     I am wanting to set up Redhat 6.0 as a proxy server to serve cross
> platform machines (Win9x, and WinNT) on my private network. I want all the
> machines to be able to use the cable modem which is hooked up to the linux
> box. I also want to be able to use everything on the net and not just http
> and ftp.
>[...]

You can find these on your local system if you installed the
documentation (look under /usr/doc/HOWTO):

IPCHAINS-HOWTO
Firewall-HOWTO

Check out Samba if you need to share files and printers using Linux as
an NT-like server.

- Bob

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

From: "Falk Seyboldt" <[EMAIL PROTECTED]>
Subject: strange faxgetty-message
Date: Sun, 27 Jun 1999 12:23:37 +0200
Reply-To: "Falk Seyboldt" <[EMAIL PROTECTED]>

hi everybody,

i've got a problem with faxgetty and my last hope is someone
out there who can help me...

when i start faxgetty with .../faxgetty /dev/modem it sends a
message to the messages-log saying:
"can not deduce identification of uucp"

because i'm working with a SuSE distribution, the user uucp
and the group uucp can be seen in yast.

thanks for any hints

Falk




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

From: NGUYEN-DAI Quy <[EMAIL PROTECTED]>
Subject: Question about USER
Date: Sun, 27 Jun 1999 12:00:23 +0200

Hi,
Supposing that I have a Linux server with some users.
Users can connect to Linux server from another machine
with Unix/Linux/Win..

1) How to force USER to connect to server ONLY with SSH protocol ?
   Not TELNET, nor RLOGIN, FTP.?

2) How to force USER to connect to server ONLY from a machine
   with address IP aaa.bbb.ccc.ddd  ONLY ?

Thanks in advance for your respond.

QUY.
PS: If possible I would like a CC of your message please !
--
NGUYEN-DAI Quy
LTAS-M�canique de la Rupture des Solides, Universit� de Li�ge
Rue Ernest Solvay 21, B�t C3, B-4000, Li�ge, Belgique.
T�l:+32-4-3669241 (bureau) 3491529 (domicile) Fax:+32-4-3669311
http://bobo.ltas.ulg.ac.be/~quy

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

From: [EMAIL PROTECTED] (Nathan Myers)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 27 Jun 1999 03:38:53 -0700

Johan Kullstam  <[EMAIL PROTECTED]> wrote:
>the memory fragmentation problem pretty much precludes seriously using
>C++ for kernel work.  look to microsoft for examples of C++ in action.

Nazis eat peanut butter.  Therefore peanut butter is bad.

This supposed "memory fragmentation problem" is just more FUD.
Shame on you, Johan.

>after using lisp's macros i don't know whether to laugh or cry when i
>think of C++ templates.

By the first corollary to Godwin's Law (Lisp being mentioned in
a discussion of programming languages), this thread is now over.

-- 
Nathan Myers
[EMAIL PROTECTED]  http://www.cantrip.org/


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

From: MAKZ <[EMAIL PROTECTED]>
Subject: Re: FTP using Netscape
Date: Sun, 27 Jun 1999 12:42:12 +0200

David Goldstein wrote:
> 
> Tony C wrote:
> >
> > Greetings,
> >
> > I am running RH 5.2 with the included Netscape browser. I can browse the
> > internet just fine, but for the life of me I cannot remember how to get ftp
> > set up within Netscape. When I click on a link I do not get an option to
> > save the file to disk, as I do in IE4 on Win98. The file seems to transfer
> > but the results are displayed in the Netscape window. This is fine for text
> > files but doesn't work well for binary downloads :).
> 
> <snipped>
> 
> > Thanks
> > TC
> 
>   Hold down the left-shift key when clicking on the link.  If you foret
> and it loads in to the Netscape window, do not panic.  You can simply
> save the file when it is down downloading.  It does not matter that it
> is a binary file :)
> 
> David

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

From: Chris Harshman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: Need advice on modem
Date: Sun, 27 Jun 1999 05:54:52 +0000

Jim Shaffer, Jr. wrote:
> 
> On Thu, 24 Jun 1999 15:01:50 -0400, Glen <[EMAIL PROTECTED]> wrote:
> 
> >Ummm... 100mhz 486? Are you sure?
> 
> AMD made a chip that was pretty much a 486 clone that went to 133.  They called
> it a "5x86", though.

And if you had the motherboard I had, you could set the bus
speed all the way up to 50MHz (the board had one VLB
slot, three ISA, and three PCI) and the processor at x4...
Yeah, for a little while I had a 200MHz 486-class computer.
That thing smoked when I played Duke Nukem.  =)  But when
I retired my Stealth 24VL for a PCI #9 videocard, the PCI
bus wasn't too impressed with being clocked at 50MHz.
40MHz it liked.  So I ran a 5x86/160.  That was my first
Linux box (Slackware 96).  Ah, the memories...

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

From: [EMAIL PROTECTED] (Bruce Hoult)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: Sun, 27 Jun 1999 22:54:40 +1200

In article <7l4d4r$4is$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
(Linus Torvalds) wrote:

> In article <[EMAIL PROTECTED]>,
> Bruce Hoult <[EMAIL PROTECTED]> wrote:
> >
> >You may be able to find some particular C++ compiler that produces worse
> >code compiling a C program than some particular C compiler, but that is a
> >function of the compiler, not the language.
> 
> In theory, you're right.

OK.


> In practice, C++ is a much more complex language.  As such, C++
> compilers are much more complex beasts.  And that is why some C++
> compilers do not generate as good code as the equivalent C compilers do. 

I'd love to see examples.

Is there any difference between gcc and g++, if both are given the same
source code? (e.g. just change the filename from *.c to *.C).  Not as far
as I know.  I'd love to see a counter-example.

Is there any difference between Metrowerks Codewarrior in C mode and
CodeWarrior in C++ mode?  I've never *seen* one, on either Mac or
Windows.  I'd love to see a counter-example.

I'm afraid I basically don't use any other compilers.  Which C++ compilers
are bad?


> In effect, what you're saying is "there is no theoretical reason why C++
> would be any slower than C". And you're right. 

OK, thanks.


> But what others are saying is "a lot of existing C++ compilers generate
> worse code than a lot of existing C compilers". And they are right too.

Which ones?  Specifically?


> Sometimes theory matters. Sometimes it doesn't. The world is not as
> simple as you make it out to be.

I totally agree.  In theory, theory and practice are the same.  In
practice they are not.  So I'd love to see some practical examples.

-- Bruce

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

From: "John Tomlinson" <[EMAIL PROTECTED]>
Subject: Dial-up problems
Date: Sun, 27 Jun 1999 11:44:12 +0100

Hi

If someone could help me with the following problem I would be most
grateful, mainly because I'm going to take a sledgehammer to my machine if i
don't solve it soon:

I have recently installed Redhat Linux 5.1 on my machine with kernel 2.0.34

Obviously one of the first things one wants to do is get online, ifconfig
provides a supposedly straightforward way to configure the dialup ppp
connection. Having configured everything and started usernet the damn thing
doesn't work. Therefore we go to first principles and try to configure
things properly:


Using minicom I've tried logging in to my ISP to see if the modem is being
initialised correctly and if I have to tell the machine at the ISP to start
a ppp process:

1. Minicom is very, very slow.
2. I only get as far as sending my login and password then the connection is
severed.

I've checked the login sequence from windows using telnet and the login
process is fast and the ppp process starts up automatically at the other
end.

Can somebody help me with this........

Why is minicom so slow? (Indeed, why is seyon very slow as well?)

I would prefer to get the dialup connection working myself, it's the best
way to learn, but since I'm relatively new to LINUX/UNIX I need some help.

Thanks

John

p.s. On a different note could someone confirm that my kernel supports ppp,
when I type pppd at the prompt I get the gobbledygoop so I assume everything
is fine in that dept.






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

From: [EMAIL PROTECTED] (Nathan Myers)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 27 Jun 1999 04:04:48 -0700

NF Stevens <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Nathan Myers) wrote:
>
>>If you don't know C++ templates, you don't know C++ at all.  It is 
>>templates, for example, that make it possible to write a C++ library 
>>that does matrix operations as efficiently as specially-optimizing 
>>Fortran on machines specifically designed to run Fortran well. Unlike 
>>Fortran, though, C++ templates are not tuned specificially for matrix 
>>math, so can be used to accomplish similar wonders in any area.
>
>I have to disagree with this. Templates do not in any way improve
>the efficiency of generated code. They are no faster (and no
>slower) than the equivalent hand written code. Templates only
>improve the efficiency of the programmer since only one (templated)
>version has to be coded rather than individual versions for each
>template class.

C++ cannot of course be faster than the equivalent assembly 
code, but the C++ compiler can optimize code better than you 
can by hand in C, because it knows more about expressions than
you can tell the C compiler.

-- 
Nathan Myers
[EMAIL PROTECTED]  http://www.cantrip.org/


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

From: [EMAIL PROTECTED] (Nathan Myers)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 27 Jun 1999 03:55:16 -0700

John E. Davis <[EMAIL PROTECTED]> wrote:
>  Jeffrey L Straszheim <[EMAIL PROTECTED]> >wrote:
>>Nathan Myers wrote:
>>> It is possible to declare non-const reference arguments in C++,
>>> but that doesn't mean one finds it unexpectedly, in good code.
>
>Are you (Nathan) saying that you would never find a function like
>    int something_silly (int& y)
>in good code?  Perhaps a good C++ coder would use:
>    int something_silly (int *y)
>which is how it is done in C.

Close:
    int something_silly (int* y)

>[in a call to something_silly]
>one cannot assume that the value of `y' cannot be changed, even in
>good code that uses `const' in all the right places.  Unless, of
>course, one always uses the `C' form with pointers.

If you are going to start comparing error-prone-ness of C and
C++, you will find C starts at a marked disadvantage.  My own
experience is that in good C++ and C code written with equal 
competence, the C++ code has an order of magnitude fewer bugs.

Buggy code is profoundly harder to understand than clean code.

-- 
Nathan Myers
[EMAIL PROTECTED]  http://www.cantrip.org/


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

From: [EMAIL PROTECTED] (Nathan Myers)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 27 Jun 1999 04:00:39 -0700

John E. Davis <[EMAIL PROTECTED]> wrote:
> Nathan Myers <[EMAIL PROTECTED]> wrote:
>>Far more powerful than either are templates.
>
>I believe that these can also be emulated to a certain extent via the
>preprocessor.  

No.  _None_ of the interesting aspects of C++ templates can be emulated 
with the preprocessor.  See http://oonumerics.org/blitz/index.html .

>But in all honesty, weren't C++ templates one of the
>things to avoid when using g++ because of its buggy implementation?  I
>realise that egcs may have finally overcome this obstacle, but this
>has only come about recently.

They weren't buggy so much as woefully incomplete.  That has been
remedied, recently, in Egcs.

-- 
Nathan Myers
[EMAIL PROTECTED]  http://www.cantrip.org/


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

From: [EMAIL PROTECTED]
Subject: IP masquerading on a WAN
Date: Sun, 27 Jun 1999 11:01:37 GMT

Hi..

We have a network with a set of 192.168.x.x
addresses connected to the internet via  a linux
box(192.168.2.1) using ip masquerading. Now we
have subnetted the 192.168.x.x into multiple n/w
using a subnet of 255.255.255.0 Each network is at
a different location connected on a WAN lin using
routers. I still want the users on the WAN link to
use IP masquerading of this linux server and get
on to the internet for various applications.. only
proxying works.. any solutions..??


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

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


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