Linux-Networking Digest #69, Volume #12 Sat, 31 Jul 99 14:13:53 EDT
Contents:
Re: Apache 1.3.6 excessive forking (possibly mod_proxy) vs Squid
([EMAIL PROTECTED])
Re: Help with up Linux 6.0 PPP w/ ATT's Worldnet (machine)
Re: SMC1211tx PCI nic does not work !! HELP PLEASE. ("John W. Lemons III")
SWAT and samba problems (Daniel Orton)
Re: <access data from kernel> (Jan Andres)
Re: Apache 1.3.6 excessive forking (possibly mod_proxy) vs Squid
([EMAIL PROTECTED])
Modem connects, but I cannot surf. (Tom)
Re: Modem connects, but I cannot surf. (David)
Apache/RH-Linux6.0: How to enable cookies ("Mark Malakanov")
htaccess problem (Mars)
BIND config for DNS on dialup masq proxy for private LAN (Myca-Boo)
Another deeply dumb Samba question... ("Hiawatha Bray")
Help---- udplog: dgram to port error messages flooding me (phlegm)
Allowing root telnets and dial-up logins (Matt Harrell)
How to get mail to be forwarded to a different domain? (long) (Matt Harrell)
Re: Comacast and home network problems ([EMAIL PROTECTED])
linux-linux masquerade slow (Steve Sorden)
Re: password problems with samba and windows 98 clients ("Fox")
Ethernet card installation and configuring (Michael J Campbell)
Re: linux-linux masquerade slow (Stephen Satchell)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Crossposted-To:
comp.infosystems.www.servers.unix,comp.infosystems.www.servers.unix,alt.unix.wizards
Subject: Re: Apache 1.3.6 excessive forking (possibly mod_proxy) vs Squid
Date: Sat, 31 Jul 1999 14:56:37 GMT
Can Anybody recommend using Apache over Squid as means to load balance
multiple web servers on cahce content?
If the two are similar has anybody done any bench marks comparing squid
against apache?
Is Apache a more reliable server than squid?
Thank you,
N
In article <[EMAIL PROTECTED]>,
Tony Finch <[EMAIL PROTECTED]> wrote:
> "Darrell Nash" <[EMAIL PROTECTED]> wrote:
> >
> >I'm experiencing an enormous amount of forking occurring with my
Apache
> >server. I have a lightweight Apache configured with mod_proxy - it
should
> >simply be forwarding most requests through to a heavy-weight mod_perl
> >enabled Apache running on another port, or serving static pages
itself.
>
> mod_proxy forks a garbage collection process after each hit.
> You might want to use Squid as an accelerator instead of Apache.
>
> Tony.
> --
> f.a.n.finch [EMAIL PROTECTED] [EMAIL PROTECTED]
> Winner, International Obfuscated C Code Competition 1998
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: machine <[EMAIL PROTECTED]>
Subject: Re: Help with up Linux 6.0 PPP w/ ATT's Worldnet
Date: Sat, 31 Jul 1999 17:32:47 +0200
Philip V Pham wrote:
> I'm trying to set up Linux 6.0 PPP to use ATT's Worldnet.
Hey where did you get Linux 6.0? I want it!! I'm stuck with 2.2.10 grrr..
Redhat users make the best case against their distribution.
J. Emans aka machine@IRCnet
PGP Public Key: http://www.xs4all.nl/~machine/DSSkey.html
--
A celebrity is a person who is known for his well-knownness.
------------------------------
From: "John W. Lemons III" <[EMAIL PROTECTED]>
Subject: Re: SMC1211tx PCI nic does not work !! HELP PLEASE.
Date: Sat, 31 Jul 1999 10:28:12 -0500
Disclaimer: I'm pretty new to this, but I'll try to summarize what I did.
compile the .c file into a .o file. use the command in the comments at the
bottom of the file.
then use the resulting module by following these directions:
http://metalab.unc.edu/mdw/HOWTO/Ethernet-HOWTO-10.html#modules
you can see if the module is now working by using the ifconfig command.
then go to the NET-3-HowTo for info on setting up software.
John N <[EMAIL PROTECTED]> wrote in message
news:7nutdv$p79$[EMAIL PROTECTED]...
> Hi John,
> Thank you for input.
> That's exactly the same howto that I've read, but it looks a little
cryptic.
> I have the file in front of me and I do not know how to make it work. I've
> copied this to the /lib/modules but do not know how to tell the kernel,
due
> to my inexperience, to "read" this file.
> Can you help me
> Thanks again, John Nunez
>
>
> John W. Lemons III wrote in message ...
> >I just installed that same card under redhat 6.0 about a week ago. I
> >followed the instructions in the Ethernet HOWTO at the Linux
Documentation
> >Project page. I also used the same source code you used, from SMC.
> >Everything worked great. What exactly are you trying that isn't working?
> >
> >
> >John N <[EMAIL PROTECTED]> wrote in message
> >news:7ntor2$6q6$[EMAIL PROTECTED]...
> >> Need help please,
> >> I very "green" in linux, being a DOS/WINDOWS believer for a long
> >> time... my SMC1211tx PCI nic card does not work. I've downloaded the
> >source
> >> code for this driver from smc for this nic card, but I do not know how
to
> >> make it all work.
> >>
> >> Can you please HELP thanks a mil...
> >> John Nunez
> >>
> >>
> >>
> >>
> >
> >
>
>
------------------------------
From: [EMAIL PROTECTED] (Daniel Orton)
Subject: SWAT and samba problems
Date: Sat, 31 Jul 1999 14:52:41 GMT
Reply-To: [EMAIL PROTECTED]
First i would like to thak all the people who answered my last post.
Currently i am having troubles SWAT and then samba
with swat i can't seem to to us my web browser to acess it.
secondly ( even thoug swat isn't running) when i type smbclient -l
localhost no server name pops up.
using the howto's and informating you kind people sent me i AT LEAST
got that far ( the samba thing)
p.S i did make the hosts and smb.conf and lmhosts, i found not
information on what to do in swat fails or if i dont' get a server.
Thank you again
------------------------------
From: [EMAIL PROTECTED] (Jan Andres)
Subject: Re: <access data from kernel>
Date: 29 Jul 1999 06:02:06 GMT
In article <7mj7u1$3p$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
| Hi,
|
| Since doing on my project, I got to modify kernel on linux. The thing is
| that how can I send parameters from user domain to kernel ( the function
| I created) and get the result back. Can anyone point out a "easy way" to
| do it? I saw a lot of information which recorded on /proc. Is it
| possible doing by that way. (kernel-->/proc/logfile--->userprogram, but
| how about user---? ---> kernel)
A more easy way IMO would be registering a misc character device using
misc_register(9). Create a device file with major 10 and minor
according to the value you gave misc_register.
You can define what happens when a user program reads from/writes to
the file, and you can define ioctl(2) commands for the device (and a
lot more, but these are the most useful).
--
Jan Andres [EMAIL PROTECTED] Ham radio: DH2JAN
"Emacs is WYSIWYG. What you see is text, what you get is text." --Kaz
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To:
comp.infosystems.www.servers.unix,comp.infosystems.www.servers.unix,alt.unix.wizards
Subject: Re: Apache 1.3.6 excessive forking (possibly mod_proxy) vs Squid
Date: Sat, 31 Jul 1999 14:56:16 GMT
Can Anybody recommend using Apache over Squid as means to load balance
multiple web server on and cahce content?
If the two are similar has anybody done any bench marks comparing squid
against apache?
Is Apache a more reliable server than squid?
Thank you,
N
In article <[EMAIL PROTECTED]>,
Tony Finch <[EMAIL PROTECTED]> wrote:
> "Darrell Nash" <[EMAIL PROTECTED]> wrote:
> >
> >I'm experiencing an enormous amount of forking occurring with my
Apache
> >server. I have a lightweight Apache configured with mod_proxy - it
should
> >simply be forwarding most requests through to a heavy-weight mod_perl
> >enabled Apache running on another port, or serving static pages
itself.
>
> mod_proxy forks a garbage collection process after each hit.
> You might want to use Squid as an accelerator instead of Apache.
>
> Tony.
> --
> f.a.n.finch [EMAIL PROTECTED] [EMAIL PROTECTED]
> Winner, International Obfuscated C Code Competition 1998
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Tom <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,redhat.networking.general
Subject: Modem connects, but I cannot surf.
Date: 31 Jul 1999 15:30:34 GMT
I'm having a problem. I realized that I had a WinModem, so I went out
and bought a real modem. I can finally connect to my local server, but I
cannot check mail or surf the net. Netscape and the other web surfing
programs are acting as if I am not dialed in. Can someone please help.
================== Posted via SearchLinux ==================
http://www.searchlinux.com
------------------------------
From: David <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,redhat.networking.general
Subject: Re: Modem connects, but I cannot surf.
Date: Sat, 31 Jul 1999 11:43:03 -0500
Tom wrote:
> I'm having a problem. I realized that I had a WinModem, so I went out
> and bought a real modem. I can finally connect to my local server, but I
> cannot check mail or surf the net. Netscape and the other web surfing
> programs are acting as if I am not dialed in. Can someone please help.
>
> ------------------ Posted via SearchLinux ------------------
> http://www.searchlinux.com
Check to see that /etc/resolv.conf exists.
If it doesn't, create it and put the correct dns ip addresses for your ISP
in it.
example: nameserver 192.168.0.1
nameserver 192.168.1.2
------------------------------
From: "Mark Malakanov" <[EMAIL PROTECTED]>
Crossposted-To: redhat.networking.general
Subject: Apache/RH-Linux6.0: How to enable cookies
Date: Sat, 31 Jul 1999 12:49:16 -0300
How to enable cookies in Apache/RH-Linux6.0
Thanx in advance
------------------------------
From: Mars <[EMAIL PROTECTED]>
Subject: htaccess problem
Date: Sun, 01 Aug 1999 00:47:15 +0800
I'm running RH6 and apache. I want to setup a directory to be password
protected. In file srm.conf, there is a line of "AccessFileName
.htaccess". I put .htaccess and .htgroup in the corresponding directory.
And use htpasswd command generate a htpasswd file but still no success.
Is there any configuration missing? I can use the same .htaccess and
.htgroup files protect a directory in my ISP's server.
Mars
------------------------------
From: [EMAIL PROTECTED] (Myca-Boo)
Subject: BIND config for DNS on dialup masq proxy for private LAN
Date: 31 Jul 1999 16:48:37 GMT
--
Howdy folks,
I was hoping someone had some experience with setting up BIND for a private LAN that
had an intermittent PPP dialup connection with the rest of the internet. I would like
the proxy on the private lan to be authoritative for that private domain but then
forward all DNS queries outside of that private domain to my ISP'sDNS servers. I have
it setup right now so that everything is forwarded.
let me know if you have any ideas.
thanks,
Dave
Linux, the choice of a GNU generation
------------------------------
From: "Hiawatha Bray" <[EMAIL PROTECTED]>
Subject: Another deeply dumb Samba question...
Date: 31 Jul 1999 09:12:00 PDT
I can't get Samba to work, possibly because of errors in my smb.conf file.
I'm trying to redo it using the SWAT tool. But that's brought an
interesting issue to light. SWAT creates its version of the smb.conf file
in /etc/smb.conf. My previous effort was at /etc/samba.d/smb.conf. This is
confusing. Does it matter which directory the file is in? Are there any
directories it can't be in? What happens if I have two or more of them
scattered about the computer? Thanks.
------------------------------
From: phlegm <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Help---- udplog: dgram to port error messages flooding me
Date: Sat, 31 Jul 1999 16:03:24 GMT
Anybody know where these may be coming from. It is from my log.
I'm a newbie and at a loss but it must be lowing things down because
these messages never stop.
Jul 31 11:52:32 phlegmish udplog: dgram to port 1031 from 127.0.0.1:3305
(17 bytes)
Jul 31 11:53:02 phlegmish udplog: dgram to port 3305 from 127.0.0.1:1031
(11 bytes)
Jul 31 11:53:02 phlegmish udplog: dgram to port 1031 from 127.0.0.1:3305
(18 bytes)
Jul 31 11:53:02 phlegmish udplog: dgram to port 3305 from 127.0.0.1:1031
(11 bytes)
Jul 31 11:53:02 phlegmish udplog: dgram to port 1031 from 127.0.0.1:3305
(18 bytes)
Jul 31 11:53:02 phlegmish udplog: dgram to port 3305 from 127.0.0.1:1031
(11 bytes)
Jul 31 11:53:02 phlegmish udplog: dgram to port 1031 from 127.0.0.1:3305
(18 bytes)
Jul 31 11:53:02 phlegmish udplog: dgram to port 3305 from 127.0.0.1:1031
(10 bytes)
Thanks for any help.
Bob
------------------------------
From: Matt Harrell <[EMAIL PROTECTED]>
Subject: Allowing root telnets and dial-up logins
Date: Sat, 31 Jul 1999 12:02:57 -0400
Hello,
Linux (at least Red Hat) apparently does not allow root logins via
telnet or dial-up. How do you change this behavior to allow these
logins? Thanks.
--
Matt Harrell
[EMAIL PROTECTED]
http://my.voyager.net/mharrell
------------------------------
From: Matt Harrell <[EMAIL PROTECTED]>
Subject: How to get mail to be forwarded to a different domain? (long)
Date: Sat, 31 Jul 1999 12:22:59 -0400
We use a Red Hat 5.2 box at work as a mail server and DNS for our domain
as well as for several of our customers. I just recently set up a new
Red Hat 6 server for a customer to be a secondary DNS and a mail server
for their own domain (only). I've got DNS working (unless my DNS
configuration is the cause of the problem I'm about to mention), but I
can't get mail forwarding to that domain to work right.
Let's say that my company's domain is foo.com. This customer's domain
is customer.com. I have set the MX record in the zone file for
customer.com to point to the new server at the customer site. This
seems to be set up correctly, as I can do an nslookup (with "set
type=mx") on customer.com and the output looks correct. I have the
sendmail.cw file on both systems set to what seems would be correct.
I've removed all of the entries pertaining to customer.com from our
server, and added them to the customer server (the lines on the
customer's server are:
hostname.customer.com
customer.com
mail.customer.com
dns.customer.com
which are all of the names it's known as). www.customer.com is still on
our server, however.
Our server is the one that is actually directly connected to the
Internet through a firewall (with IP masquerading). The other has
access to the Internet through this firewall. When I send e-mail from
either of these Linux boxes to [EMAIL PROTECTED], it goes to the correct
place. I can also send e-mail to [EMAIL PROTECTED] from either box and it
works correctly. However, when I try to send e-mail to
[EMAIL PROTECTED] from my PC at work, it immediately tells me that the
user does not exist (if I don't have that user ID created on our server)
or it sends it to that user on our server (if the user ID exists on our
server). That is, it's obviously not getting forwarded to the
customer's mail server.
I'm baffled by this. I can't figure out why e-mail would be properly
transferred when mail is sent from either server, but mail does not get
sent to the customer's mail server when mail is sent from a different
machine.
Before trying this with the customer's server, I created a test box (Red
Hat 5.2--this was before RH6 was out) and set up the exact same
situation with another domain that we own for ourselves (say,
foo2.net). As far as I can tell, the setup on hostname.foo2.net is
completely analogous to the setup on the one I just set up
(hostname.customer.com), and it works flawlessly, while the customer's
mail server does not. I even upgraded this test box to Red Hat 6, and
it still works flawlessly.
Any help on this would be greatly appreciated. I've already spent quite
a bit of the customer's time (and money) trying to get this working, and
I don't know how much more money they'll be willing to pay for this.
Thanks.
--
Matt Harrell
[EMAIL PROTECTED]
http://my.voyager.net/mharrell
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Comacast and home network problems
Date: Sat, 31 Jul 1999 17:08:04 GMT
In article <[EMAIL PROTECTED]>,
mwilson <[EMAIL PROTECTED]> wrote:
> I am having a hard time connecting my home network to my linux box
which
> has the comcast cable modem installed in it.I had this system running
> for about a year.
> I reinstalled Linux 5.2 and tried to set everything up using my notes
> from a year ago
> and things have been whacked since.
> I am not using DHCP
> I have tried getting ipfwadm and the routing set rights but to no
avail.
>
> I think my problems lie in my routing and ipfwadm settings.
> The linux box is totally connected to comcast using a static IP. The
> connection works great and all nic's are working. I can ping from
> 24.3.28.239 to 192.168.1.11 (windows machine) and vice versa but I
> cannot ping the DNS IP's to comcasat from the windows machine
you may not have set your ipfwadm script to allow ping through. I cant
think of the top of my head the settings that you need. Show an example
of your ipfwadm script.
Sherm
> Linux
> eth0 is....
> IP............24.3.28.239
> network...24.3.28.0
> gateway...24.3.28.1
> dns..........24.3.0.33
> 24.3.0.34
> eth1 is....
> IP.......... 192.168.1.10
> network..192.168.1.0
>
> My Windows 98 machine...
> IP......192.168.1.11
>
> Can anyone give me some step by step guidence with this problem
> including routing and ipfwadm?
>
> Thanks in advance.
>
>
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Steve Sorden <[EMAIL PROTECTED]>
Subject: linux-linux masquerade slow
Date: Sat, 31 Jul 1999 09:14:15 -0700
My ip-masquerading works great with Windows to Linux, but whenever I try
to use Linux on my second computer to connect to my Linux server, the
Web and ftp run painfully slowly.
Is there anything I need to do to be able to use ip-masquerading in a
Linux to Linux configuration?
Steve Sorden
------------------------------
From: "Fox" <[EMAIL PROTECTED]>
Subject: Re: password problems with samba and windows 98 clients
Date: Sat, 31 Jul 1999 16:31:14 +0100
I am a bit of a newbie, (a Unix pro, but new to Linux).
I have two Win 98 Pcs connected to Redhat 5.2 using user level security. It
did not work first time, so don't give up, keep trying.
For the record Windoze 98 uses encrypted passwords so set the SAMBA smb.conf
as below :-
workgroup = <Your Win 98 Workgroup name>
hosts allow = 169.254.118. (Use your IP here, the missing entry allows
any machine on the workgroup to access Linux)
security = user (or it could be share, but it MUST match the PC share set
up)
socket options = TCP_NODELAY
local master = yes
domain master = yes (NOT if you have an NT server)
domain logons = yes
preserve case = yes
short preserve case = yes
default case = lower
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
#The next bit will let you at least let you see /tmp
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
Also make sure that you have the file /etc/smbpasswd its kind of vital. All
SAMBA users MUST exsist as normal Linux users (set these up in the noramal
way). Then (while logged into Linux as root) add the users to SAMBA using
the command :-
smbpasswd -a fred (ok so its not a very original name)
then you will be asked for the old password (just type enter) and then the
new password that you want to use.
The above works, I got it right out of my smb.conf file.
The bigest problem seems to be how the Win PC's are configured, it took me
just over a week to get Linux right and nearly three to get Mr Gate's
monster to co-operate.
Oh by the way DO NOT be tempted to edit the Win registry to set passwords to
plain text if you EVER intend to use the PC for access to the internet. Its
not nescessary and it is one of the big Windoze security holes.
============================================================================
======================================
Fox is right the truth is out there, but then so is Bill Gates,
Arrrrggggghhhh.
============================================================================
======================================
Scott Fleming <[EMAIL PROTECTED]> wrote in message
news:tERn3.9790$[EMAIL PROTECTED]...
> A small 3 pc network, on a hub, 2 windows98 machines and my 5.2 RH
machine,
> I'm having trouble with getting the RH machine to allow the windows
clients
> to browse the share folders on the linux machine.
>
> To date I have the following configured:
>
> All pc's show in the network nieghborhood browse window. When accessing
the
> RH machine, it prompts me for a password, to log in to the RH machine. I
was
> told to edit the /etc/passwd file, and on the line of the file that
contains
> the login for the host requesting access add the NOPASSWORD text. Still is
> not working, and after reading several HOWTO's, mini HOWTO's and
HOWNOTTO's,
> I'm thoroghly convinced that this is a difficult thing to configure.
>
> Any assistance is *greatly* appreciated.
>
> Thanks,
> Hawkwynd
>
>
>
------------------------------
From: Michael J Campbell <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.hardware
Subject: Ethernet card installation and configuring
Date: Sat, 31 Jul 1999 13:39:31 -0400
Reply-To: [EMAIL PROTECTED]
Hello all-
I have physically installed an ethernet card in my system and am trying
to configure it for Linux (I am using Red Hat 6.0).
I think I next need to configure and rebuild the kernel - is this the
correct action or is there an easier way around this - or would it just
be easier to reinstall Linux (I remember during the setup it asking if I
wanted to configure the OS for a LAN).
If rebuilding the kernel is the way to go, where are the best sources of
information to get step-by-step instructions for this.
Thanks much.
------------------------------
Subject: Re: linux-linux masquerade slow
From: [EMAIL PROTECTED] (Stephen Satchell)
Date: Sat, 31 Jul 1999 17:46:20 GMT
It sounds like you are forwarding internal requests to the outside. Are
you using IPCHAINS? You should be if you are not. Make sure that your
forwarding chain does not masquarade local connections.
[EMAIL PROTECTED] (Steve Sorden) wrote in <[EMAIL PROTECTED]>:
>My ip-masquerading works great with Windows to Linux, but whenever I try
>to use Linux on my second computer to connect to my Linux server, the
>Web and ftp run painfully slowly.
>
>Is there anything I need to do to be able to use ip-masquerading in a
>Linux to Linux configuration?
------------------------------
** 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
******************************