Linux-Networking Digest #737, Volume #11 Wed, 30 Jun 99 21:13:48 EDT
Contents:
Linux/W98 SMTP Woes Continue... (Unixman)
Re: PROXY (Frank Hahn)
Newbie network question. ("Markus Jahn")
Changing ownership of a file automatically when modifying-possible? ("Tim Gibson")
Re: Why not C++ (Nick Ambrose)
Re: Why not C++ (Nick Ambrose)
Re: Proxim Symphony ([EMAIL PROTECTED])
tci under RH 6.0 ([EMAIL PROTECTED])
Re: PPP ("Makhno")
Re: IP address binding to interface device .. ("Eric A. Hall")
Re: IP Masqeurading: help needed ("Stavros C. Kassinos")
Adding a default route ("Nitin G.")
Re: newbie: About LPR (Matt Willis)
Re: nfs mount a drive on NT to redhat linux? (Sven E Espeland)
Re: can't ftp/telnet as root ("Tad")
ibm token ring problem ([EMAIL PROTECTED])
Re: nfs mount failed: permission denied (Wayne Ringling)
help with RH6.0 and IP masq (bjack)
Re: PPP over Ethernet SW (Mark Summerfield)
Re: Need help with some networking basics (Vikram Prabhu)
Re: third level domains (Les Cole)
Re: Why not C++ (Mike McDonald)
----------------------------------------------------------------------------
From: Unixman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Linux/W98 SMTP Woes Continue...
Date: Wed, 30 Jun 1999 16:38:45 -0700
I've been screwing around with this for about two weeks now, and have
yet to solve it - this problem is going to kill me.
I have a RH6.0 box up and running with a live connection to the net.
Everything seems to work fine, and rightly so, as I consider myself a
fairly advanced UNIX developer. Of course, at home, I run Windows 98
with Netscape, etc.
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".
In fact, while I can perform regular telnets to the Linux box (even on
custom user ports where I have some other apps running), when I try to
telnet to the SMTP port, it just sits there like a damn knot on a log.
Nothing in syslog, nothing reported on netstat, nada. Of course,
everything works fine from the console, I just have problems using
remote clients. I can hit our httpd daemon, regular telnet, ftp,
everything else. It just seems to have problems connecting to the SMTP
port (sendmail running on 25). I have other remote users who use this
box for mail as well, and they haven't reported any problems sending
mail out.
My Windows setup is typical. My outgoing SMTP hostname is correct (I've
even tried using the IP - same results!). My DNS is accurate - in fact,
nslookup or digging to the nameservers I use in my setup have no problem
finding me (of course, all over services work from my home machine, just
not outbound SMTP).
It sounds like there is some sort of packet filtering going on, port
blocking, etc. The provider that is hosting our co-located server
assures me that there is no packet filtering or port blocking in effect.
One final bit of history - the domain in question was originally hosted
by another ISP. They also assure me that they no longer have any
references to my domain in their system anywhere. Of course, as I've
even tried using the IP of the host machine in question, this doesn't
seem like a critical path.
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.
------------------------------
From: [EMAIL PROTECTED] (Frank Hahn)
Subject: Re: PROXY
Date: Wed, 30 Jun 1999 23:00:29 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 29 Jun 1999 14:46:25 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>How and where do I set the Proxy settings in the enviroment. I am
>trying to run SETI@HOME and it says if I have a setting in the
>enviroment HTTP_PROXY= it will connect via the proxy. I have no idea
>where to make this setting.
>
It depends. If you are using bash for your shell, then most likely
in the .bash_profile in your home directory. If you are using csh
for your shell, then .cshrc in your home directory.
--
Frank Hahn
"Arguments with furniture are rarely productive."
-- Kehlog Albran, "The Profit"
------------------------------
From: "Markus Jahn" <[EMAIL PROTECTED]>
Subject: Newbie network question.
Date: Thu, 1 Jul 1999 00:34:37 +0200
Hi, for several weeks now I am trying to connect a linux with a windows 95
machine. The Linux maschine recognizes the ethernetcard and ifconfig tells
me that the network is up.
Now the problem is that I can't ping the other box except I run 'tcpdump -i
eth0' first.
Could please someone help me on this?
------------------------------
From: "Tim Gibson" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.setup
Subject: Changing ownership of a file automatically when modifying-possible?
Date: Wed, 30 Jun 1999 15:33:33 -0700
I have Redhat 5.2 and Samba 2.0.4b with a share setup for two users. They
both are in the same group "engineering" and share files and modify each
others files occasionally. What I would like to happen when one user
modifies the other user's file is for the ownership to change to the user
that most recently modifyed the file. Is this possible using either Linux
or Samba tools? I want this for an easy way to place blame basically. I
don't want someone to be able to say they hadn't touched that file since X
date when the proof is staring them right in the face. Thanks for your
help.
BTW, give Mandrake Linux a try. It's based on Redhat 6.0 , but works great
right out of the box with KDE as defualt, unlike the unfinished Gnome that
comes with RH6. And it is substantially less $. Highly recommended. My
favorite dist so far.
------------------------------
From: Nick Ambrose <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: Wed, 30 Jun 1999 15:25:01 -0700
Johan Kullstam wrote:
> [EMAIL PROTECTED] (Don Waugaman) writes:
>
> > In article <[EMAIL PROTECTED]>,
> > Johan Kullstam <[EMAIL PROTECTED]> wrote:
> >
> > [ referring to two code snippets to create a float matrix, in C & C++ ]
> >
>
> and in C, mallocs tend to be rare. most C programs will malloc
> everything they need right off the bat and keep hold of the memory
> until they exit. however, C++ encourages more dynamic memory
> exercising because its syntax hides the malloc/free somewhat.
>
Where do you get this stuff from ? How can you make such a sweeping statement
about C-programs.
It may be true that the Linux kernel tries to avoid allocating memory on the
fly for performance reasons, but I can't imagine the most C-programs allocate
all the memory they will need at once
(esp. consider reading in a string from a file/keyboard of unknown length)
>
Nick
------------------------------
From: Nick Ambrose <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: Wed, 30 Jun 1999 15:21:57 -0700
Johan Kullstam wrote:
> [EMAIL PROTECTED] (Nathan Myers) writes:
>
> > 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.
>
> no, this one really *is* *true*. if you malloc and free a lot of
> things of different sizes, then heap memory does get chopped up. there
> are little bits of free memory here and there. you cannot consolidate
> them. and when allocating you search around for these free holes.
> the typical C++ program does a lot of malloc and free. memory
In fact lot's of C++ programs don't use lot's of malloc and free (most of
mine don't) but rely on containers to optimize memory use for them)
>
> fragmentation does occur and it does cause performance loss.
>
But Nathans C++ example used a vector, which (like other std containers)
allocates memory in blocks bigger than a single element and sub-divides them,
so reducing fragmentation.
Compare that to the C-example with all the malloc/free stuff. I think you
would see more fragmentation in C with the code given.
Nick
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Proxim Symphony
Date: Wed, 30 Jun 1999 23:19:05 GMT
> What applications can I run over the Symphony wireless network? All
> TCP/IP applications such as ssh, telnet, ftp, nfs, http, samba, and
> etc. ?
Treat the wireless network like any other network! Under Win98, I run
IPX/SPX, NetBEUI, and TCP/IP, and under Linux I use TCP/IP. I have
tested ssh, telnet, ftp, http, and it all works fine -- basically as far
as linux is concerned when the drivers are installed it sees the card as
an Ethernet card. Set up the routing and DHCP, and you're in business.
> I am now daydreaming about my 98 & NT & Linux boxes interoperate
> 'airly' :-)
It's a very slick solution. I feel like I've rediscovered my laptop
since now I can wander from room to room without being disconnected. My
girlfriend is happy that she doesn't have to trip over another wire
again. :)
Of course, now I'm shopping for print servers, and additional linux
servers and all things network related, so what started out as an $850
investment is growing by leaps and bounds.
-Al
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
Subject: tci under RH 6.0
From: [EMAIL PROTECTED]
Date: Wed, 30 Jun 1999 23:31:37 GMT
Hello,
I just got TCI @home installed in Dallas TX, and it seems to work just fine under
Windows95 with the USB ethernet port.
I also bought a SMC EZ Card 10 (NE-2000 PCI compatible) and have tried to install this
under Red Hat 6.0.
I set up linuxconf to load the ne2k-pci module and use DHCP, but then ifup eth0 hangs
forever.
If I setup the ip address and gateway manually, I can ping the gateway, but
cannot ping outside the network.
Is there some other configuration I am missing?
Thanks,
David.
--
[EMAIL PROTECTED]
------------------------------
From: "Makhno" <[EMAIL PROTECTED]>
Subject: Re: PPP
Date: Thu, 1 Jul 1999 00:39:45 +0100
>>Hey,
>> I have a RH6.0 linux box running PPP 2.3.7. When I try to connect,
>>the connection goes through, but after about 1 and 1/2 mins, it
>>disconnects. Any ideas?
>
>Try reading
>axion.physics.ubc.ca/ppp-linux.html
>for how toset up and debug your ppp connection.
I have a similar problem, after loging in to an ISP which definately
supports PPP, the modem disconnects (I hear a click) and returns 'NO
CARRIER'.
When I use KzPPP, it reports that the pppd has 'died'. This is after about
30 seconds however, rather than 1 and 1/2 mins.
I have read ppp-linux.html and found it does not contain a solution to my
problem. Do you have any other suggestions of where I can find help?
------------------------------
From: "Eric A. Hall" <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.tcp-ip
Subject: Re: IP address binding to interface device ..
Date: 30 Jun 1999 10:16:34 PDT
> Similarly, SNA folks can't understand how "brain-damaged" IP is in
> not having a heartbeat that can instantly detect loss of connectivity.
WRT to SNA in particular, its interesting to note that the Internet is
becoming more like SNA as we move more towards application services that
demand predictability. Historically IP has been really useful for
applications that could suffer varying degrees of latency and loss like
SMTP (latency of five days is fine) and FTP (want it now but don't need
it now).
But with streaming media, VoIP, etc we're seeing a lot of effort go into
traffic management solutions that are focusing hard on making the
network predictable. This includes tricks like application load filters,
predetermined slots and so forth, which is effectively putting the
control back into the network. We are returning to SNA in a sense.
--
Eric A. Hall [EMAIL PROTECTED]
+1-650-685-0557 http://www.ehsco.com
------------------------------
From: "Stavros C. Kassinos" <[EMAIL PROTECTED]>
Subject: Re: IP Masqeurading: help needed
Date: Wed, 30 Jun 1999 16:43:11 -0700
Scott,
thank you for your reply. Serving ftp on box B is one of my main
motivations. And checking the /etc/services file it seems that indeed
ftp relies on more than one port, so I think you assessment is right:
ftp won't be easy to do if at all possible.
Scott Sweeting wrote:
>
> "Stavros C. Kassinos" wrote:
> >
> > Basically what I am trying to find out is whether it is possible (for
> > example) to setup IP forwarding so that when I telnet Box A (the router)
> > at a particular port of my choice, Box A will forward the connection to
> > the standard telnet port on Box B. Obviously I have some reading to do,
> > but at least if I know it can be done I can invest the time to learn
> > how. (more details in my original post below) -- Thanks!
>
> It *is* possible. You're right, you'll have to use an off-the-wall port
> for it, but it's possible to forward requests to Box A on the weird port
> to Box B. There are problems when using FTP, though, since FTP tends to
> open up other ports. If you aren't trying to serve FTP on Box B, then
> you should be okay.
--
====================================================================
Stavros C. Kassinos | e-mail: [EMAIL PROTECTED] |
| Office: (650)-723-0546 |
Center for Turbulence Research | Fax: (650)-723-4548 |
Stanford University | http://www.stanford.edu/~kassinos |
====================================================================
------------------------------
From: "Nitin G." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Adding a default route
Date: Wed, 30 Jun 1999 06:48:06 -0700
Reply-To: [EMAIL PROTECTED]
I am running a RedHat 6.0 system using dhcp. I cannot seem to get the
default route configured. I can do a:
route add default dev eth0
to add the refault route. I wanted to have this added automatically at
bootup. which file to I update to accomodate this?
Thanks,
------------------------------
From: Matt Willis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: newbie: About LPR
Date: Wed, 30 Jun 1999 17:52:52 -0400
You want something called ghostscript. Odds are that you have it
already. Ghostscript interprets postscript and can output appropriately
converted data to the printer. I am not a user of SuSE; but I expect it
has a good print tool. The one in redhat is called printtool. In
essence, you can edit the /etc/printcap file to call ghostscript
yourself, or you can use the graphical print tool to do it for you. The
latter is easier, unless you can find the solution on dejanews.
My printer is local, so I have no experience setting up TCP/IP printers.
Also, are you sure that your printer is compatible? Check this page:
http://www.picante.com/~gtaylor/pht/printer_list.cgi
It can give you hints about how you'll have to set up ghostview. You can
try outputting raw data to the printer, and when it's set up right, put
the ghostscript commands in /etc/printcap.
Frederik Meerwaldt wrote:
>
> Hi all,
> I'm a total newbie to Linux and I've got a question about LPR.
> I installed a TCP/IP connected Printer (via YaST (SuSE 6.0)).
> It's a non-postscript compatible InkJet Printer.
> If I click to Print from my Browser Window, I get a postscript file to
> my printer. Well, a printer driver is in the package and I can choose the
> driver when I configure a locally connected printer, but I can't choose such
> a driver when I install my printer. How can I install the printer driver?? I
> heard something about APMFILTER. I think I have to configure which printer
> driver I have to use with APMFILTER. But how???
> And BTW: I want to print normal textfiles too. Is there a command like Print
> or sth???
>
> Thanks in advance,
> Freddy
> --
------------------------------
From: Sven E Espeland <[EMAIL PROTECTED]>
Subject: Re: nfs mount a drive on NT to redhat linux?
Date: Thu, 01 Jul 1999 01:15:32 +0200
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
> Is it possible to mount a directory/drive on NT to my linux box so
> that I can see it on my linux?
You can use smbmount (samba). If you have RH6.0, you can type this:
smbmount //ntserver/sharing -I IPADRESS -U USER_NAME=20
When you are in the mounting, you can type: mount /todir
> Is there any NFS server for NT that can do this?
Maybe..=20
--=20
Sven E Espeland - svenerik@espeland.[net/org]
Merkantilveien 15A, N-2815 Gj=F8vik - ICQ#1700413
Home: +4761172560 - Work: +4795119344
------------------------------
From: "Tad" <[EMAIL PROTECTED]>
Crossposted-To: redhat.networking.general
Subject: Re: can't ftp/telnet as root
Date: Wed, 30 Jun 1999 15:01:11 -0700
>As far as telnet goes, modify your /etc/securetty file and add 10
>lines like so:
>ttyp0
>ttyp1
>ttyp2
>...
>ttyp9
This worked fine for RedHat 5.2, but RedHat 6.0 some changes were made. When
you telnet in, instead of getting ttypx, you get something like pty/x. I
didn't try adding those to the /etc/securetty, but I did find out ( by
accident ) if you leave out a certain file system when you compile the
kernel, it no longer uses the pty/x and goes back to ttypx. I remember
reading about it on a help screen in make menuconfig. Wish I could be more
specific, but it was a few weeks ago that I messed with it..... =)
Tad
------------------------------
From: [EMAIL PROTECTED]
Subject: ibm token ring problem
Date: Wed, 30 Jun 1999 23:17:36 GMT
OK, I've read about all I can read about token ring problems on Linux.
I've updated my kernel to 2.2.10 and pcmcia services to 3.0.13. I've
rebuilt the kernel and pcmcia services, installed them and when I
install my pcmcia card (the IBM Token Ring 16/4) I get one beep and a
message that says:
kernel: tr0: Unknown command FF encountered
in /var/log/messages. This is after it says:
cardmgr: executing: '.network start tr0'
kernel: tr0: Initial interrupt : 16 Mbps, share RAM base 000d4000.
Does anyone have an idea what the problem is. Do I need to install some
patches on my kernel? Any help is appreciated.
-- Kent
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Wayne Ringling <[EMAIL PROTECTED]>
Subject: Re: nfs mount failed: permission denied
Date: Wed, 30 Jun 1999 20:20:38 -0400
I have been trying to install RH6.0 the same way and am having no luck at
all. And if has baffled all my friends (not lick we are gurus, but I can
hold my own).
I have noticed that my install does not put the showmount command on the
system. I am still tryignto resolve this problem too.
Bruce Best wrote:
> I am trying to set up Linux Mandrake 6.0 on my laptop from the CDROM on
> my desktop via a PLIP link, using the Mandrake 6.0 (RedHad 6.0) network
> install. I get the message
>
> nfs mount failed: permission denied
>
> when the setup tries to access the cdrom.
>
> The desktop is 192.168.0.1; the notebook is 192.168.0.2.
>
> The /etc/exports file on the desktop includes the line
>
> /mnt/cdrom 192.168.0.2
>
> I am using Linux Mandrake 6.0 (kernel 2.2.9).
>
> Someone else kindly informed me that (s)he had had the same problem, and
> that it was solved by upgrading to kernel 2.2.10. Does anyone know if
> there is an easier fix for this problem, short of mucking about with a
> new kernel (which I don't really feel up to at the moment).
>
> Thanks,
>
> Bruce
------------------------------
From: [EMAIL PROTECTED] (bjack)
Subject: help with RH6.0 and IP masq
Date: Thu, 01 Jul 1999 00:04:37 GMT
Ok... someone help me. I can't even find "ipchains" anywhere.
I've got dual NICs. My LAN server is 10.0.0.1
Someone tell me how to get IP masqing to work please!!
I'm pretty much starting from scratch here. I can get my linux box to
go through the server to the Net via Win98. No luck configuring linux
on the server though.
I know I have IPv4 enabled.
Not sure where to go next.
Thanks
Brandon
------------------------------
From: Mark Summerfield <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.ppp,comp.unix.bsd.freebsd.misc
Subject: Re: PPP over Ethernet SW
Date: Thu, 01 Jul 1999 10:32:45 +1000
Michael Kagalenko wrote:
>
> I have heard there's some Linux driver that does IP over soundcard.
Really? I've had this idea for a little project for some time: IP
over two-tin-cans-and-a-piece-of-wet-string. IP over soundcard would
be a good start (although actually I thought of a purely hardware
implementation using a simple tin-can modem attached to a serial
port set to a low baud rate and running existing SLIP or PPP software).
By the way, if anyone else wants to grab this idea and run with it,
that's fine by me -- but please get in touch, as I'd like to help
write the RFC ;-)
Mark
------------------------------
From: Vikram Prabhu <[EMAIL PROTECTED]>
Subject: Re: Need help with some networking basics
Date: 01 Jul 1999 00:19:58 +0100
Gary Helbig <[EMAIL PROTECTED]> writes:
> The machine closest to the users' keyboard should be the fastest. In
> this case, that would be the file server.
Makes sense.
> But heck, try it both ways, and see what works.
Depends how much time I have before and after my holidays!
> Start with the NET3 howto.
I've now started assimilating this document. Thanks for the pointers.
--
Vikram Prabhu
[EMAIL PROTECTED]
------------------------------
From: Les Cole <[EMAIL PROTECTED]>
Subject: Re: third level domains
Date: 1 Jul 1999 00:30:51 GMT
Bob wrote:
>
> > From: Les Cole <[EMAIL PROTECTED]>
> > Newsgroups: comp.os.linux.networking
> > Subject: third level domains
> >
>
> Try doing an nslookup youname.mydomain.com.au and see what you get,
>
> Then nslookup www.mydomain.com.au and see what you get.
>
> My guess is that something here will not resolve.
>
> My guess is that dns is not configured correctly to let your virtualhost
> directives work.
Hi Bob
I did a nslookup as you suggested and the nameserver could not find
www.yourname.mydomain.com.au - www.mydomain.com.au was ok as was
yourname.mydomain.com.au. I have tried www.yourname as a hostname but it
did not work, what would be the correct hostname to register with the name
server bearing in mind that I have "www", "mail" and "yourname" registered
at the moment? I am sure that you are pointing me in the right direction
but can't seem to get the host registration with the nameserver correct.
Thanks for replying Bob
Les
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: [EMAIL PROTECTED] (Mike McDonald)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Why not C++
Date: 1 Jul 1999 00:10:18 GMT
Reply-To: [EMAIL PROTECTED]
In article <7ldsrt$cb2$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Nathan Myers) writes:
> Stephan Houben <[EMAIL PROTECTED]> wrote:
>>Templates in C++ solve a problem that simply doesn't exist in most
>>other modern programming languages. The fact that it exists in C++ is
>>due to the fact that C++ is based on C.
>
> False. They solve a problem that exists because C++ offers static
> typing, a feature of profound importance for rigorous engineering.
>
FUD!!
Mike McDonald
[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
******************************