Linux-Networking Digest #807, Volume #9           Thu, 7 Jan 99 14:13:54 EST

Contents:
  Re: Load Balancing web servers... (Bill Anderson)
  Re: SEE YA' LATER SUCKERS !!! HAHAHAHA !!! (Doug)
  Re: need better info on settting up SAMBA (Simon)
  NFS Trouble (Alex Smtih)
  ping prog (Alexander Beston)
  Re: pppd and ppp speed (Clifford Kite)
  leased line pppd problem ("axw")
  Re: Connect 2 NIC's to one Samba server? (Kevin Meek)
  keeping two ppp connection alive? (Brian Gilman)
  TTY Settings When Telnetting ("Tony D. Berry")
  Cannot login to samba server (S P Arif Sahari Wibowo)
  Dial-up problems with RH Linux 5.1 (Bruce Skinner)
  ICQ, IRC, Realplayer behind SOCKS Proxy Firewall ??? (Chris)
  Re: RH5.2PPP Can anyone decipher this??? /var/log/messages (Ville Nummela)
  PCMCIA/D-link 660/RH5.1 ethernet problems (Bernard J.Kozioziemski)
  How to Setup Bootp on a cluster.... ([EMAIL PROTECTED])
  Netscape 4.5=DUD !? (cglur)

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

From: Bill Anderson <[EMAIL PROTECTED]>
Subject: Re: Load Balancing web servers...
Date: Thu, 07 Jan 1999 08:47:34 -0700

Nathan Gilbert wrote:
> 
> Dave Leger wrote:
> 
> > Good day!
> >
> > I'm running a very heavely loaded web server.  I've added more ram, etc,
> > but I believe it's now time to balnce the load and a second machine
> > using DNS round robining.
> >
> > My questions is...   How to I mirror the two (or more) machines hard
> > drive?  Some content is static, but other content is dynamic?  Should I
> > mount machine one's hard drive on machine two and link databases from
> > one to the other?
> 
> First of all stock apache is setup to only allow something like 256
> simultaneous connections.  You can edit the source to allow more users to
> log in, you'll have to check the apache docs to find out exactly how to do
> this.  It's pretty clear and simple.
> 
> Second apache has a module that you can build into it to perform mirroring
> of web servers.  A combonation of that module, and rdist should allow you to
> split the load between machines.
> 
> Thirdly you are going to want to do some bandwidth calculations to figure
> out exactly how many simultanious users you can actually support on your
> current connection.


I would say determine if your load is cpu/IO based.
If it is IO, is it Disk or Network?
If Disk, SCSI? RAID? these would be likely options.
If Network, multiple NICs?

I do agree that you would need to do some calculations to determine
where, specifically, your laod is, and how much it is.

Bill Anderson

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

From: Doug <[EMAIL PROTECTED]>
Crossposted-To: 
linux.redhat.install,comp.os.linux.questions,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: SEE YA' LATER SUCKERS !!! HAHAHAHA !!!
Date: Thu, 07 Jan 1999 11:23:44 +0000

Since you resolved your problems and are smarter than everyone in the group,it would 
be nice if you
shared your wealth of knowledge of Linux with others.
Doug

[EMAIL PROTECTED] wrote:

> FTP INSTALL FINALLY WORKED THANKS TO CROSSBONES !!!
> Well, except for me and Crossbones, all of you are none more than
> f****** idiots. But it's been fun insulting everyone one of you, who
> were against me, in this newsgroup. In fact, when you look at the
> thread(s), it probably reminds you of Jerry Springer. Now I did not ask
> for this, you all forced me into it, so don't even f****** blame me !!!
> Anyway, it was fun fighting like in the Springer shows but I gotta go
> now, so
> GOOD-BYE TO ALL YOU MENTALLY RETARDED IDIOTS OUT THERE WHO CAN'T BE HELPFUL THE WAY 
>I WANT IT !!!


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

From: [EMAIL PROTECTED] (Simon)
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup
Subject: Re: need better info on settting up SAMBA
Date: Wed, 06 Jan 1999 21:02:11 GMT

On Tue, 05 Jan 1999 22:16:14 GMT, [EMAIL PROTECTED] (Jeffrey Greer)
wrote:

>Hello Linux users,
>
>I'm a networking dummy.  I've looked at SAMBA.org's doc's and others, but I
>don't know where to start.  

try home.tvd.be/ws35056/linux/samba.html

Simon

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

From: Alex Smtih <[EMAIL PROTECTED]>
Subject: NFS Trouble
Date: Wed, 06 Jan 1999 15:46:34 -0700

I am having problems exporting directories on my Linux box.  I am
running RedHat 5.2 (2.0.36)

I've read through the man pages (several times) and I am not having any
luck.  The problem is not exporting the file systems, but mapping the
UID/GID.  I can't seem to over ride the default all_squash property
which maps all UID's to nobody.  I am using entries in my export file
that look like this:
/path    (rw,no_root_squash)
/path2    host(rw,no_root_squash)

Neither work in regards to UID mapping.  I have RW access, but as nobody

that is pretty useless.

By the way, Yes I am restarting mountd and nfsd.

Any ideas?


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

From: Alexander Beston <[EMAIL PROTECTED]>
Subject: ping prog
Date: Thu, 7 Jan 1999 16:15:34 +0000


hi people

need a ping prog to tell speed of a connection to network

thanks

mail me!!!!!!


alex


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

From: [EMAIL PROTECTED] (Clifford Kite)
Subject: Re: pppd and ppp speed
Date: 6 Jan 1999 17:02:35 -0600

Michael Paust ([EMAIL PROTECTED]) wrote:
: Linux package: SuSE-Linux 5.2

: Trouble with the ppp-speed. Although I have already edited the
: /etc/rc.config (modem speed set to 28800bps) the ppp-speed is still only
: 19200bps. There is an error message in the the protocol /var/log
: messages. After the pppd is started it tells me: modem speed is not
: supported. Thank you for any hints to tackle this problem

Try stty 38400 < /dev/ttySx, x=whatever for your modem.  Add 115200 to
the pppd options.  Configure setserial for spd_vhi in /etc/rc.d/rc.serial
or your distributions equivalent, man setserial.


--
Clifford Kite <[EMAIL PROTECTED]>                       Not a guru. (tm)
/* Better is the enemy of good enough. */

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

From: "axw" <[EMAIL PROTECTED]>
Subject: leased line pppd problem
Date: Wed, 6 Jan 1999 01:15:56 +0100


I use a Slackware 3.5 linux and a Goramo BPh modem over an asynchronous
leased line.

After running everything I fail to ping the remote end of ppp link.

#ppp init:
>/usr/sbin/pppd-2.5 /dev/cua0 38400 my_ip:remote_ip

#/etc/ppp/options follows:
modem
crtscts
defaultroute
-chap
-pap
persist
passive
debug
netmask 255.255.255.192
mtu 552
mru 552
asyncmap 0


I am wondering why pppd run with 'defaultroute' option doesn't make any
changes to routing table nor to ifconfig.
Actually, i have to enter manually:
>/sbin/ifconfig ppp0 mtu 552 pointopoint remote_ip my_ip netmask
255.255.255.192 up

Now things look a whole lot better:
>ifconfig
ppp0    Link encap:Point-to-Point Protocol
        inet addr:my_ip  P-t-P:remote_ip  Mask:255.255.255.192
        UP POINTOPOINT RUNNING  MTU:552  Metric:1
        RX packets:0 errors:0 dropped:0 overruns:0 frame:0
        TX packets:10 errors:0 dropped:0 overruns:0 carrier:0

Still need to set up routing:
>/sbin/route add -host remote_ip ppp0
# shouldn't above be started automagically by pppd?
>/sbin/route add default gw remote_ip ppp0

Command >route issued at this point without any further options hangs up
(blank screen). Pressing ctrl+z makes it return to shell.


Let's try to ping the remote server. Results?
Lights on my modem blink, >pppstat shows properly outgoing packets, but..
nothing comes back :(
The same concerns any other computer on the net.
Why?

Everything works just fine under Windows 95, so apparently ppp server is not
an issue here.
The serial port settings are ok either.

Any help would be greatly appreciated, any suggestions welcome.



Aleksander Wawer
[EMAIL PROTECTED]




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

From: Kevin Meek <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,linux.samba,comp.os.linux.setup,linux.redhat.misc
Subject: Re: Connect 2 NIC's to one Samba server?
Date: Thu, 07 Jan 1999 09:13:32 -0800

> Andrew Williams wrote:
>
> > I have not bothered reading this properly (it's late) but you want:
> > interfaces = 192.168.1.254/24  192.168.2.254/24
> > The /24 means 24 x '1'-bits in the Genmask
>
> I tried changing the interface addresses as you suggested, but
> it didn't make any difference...now what?

Oh...add the line "interfaces = ..." in my smb.conf file!  Duh,now I get
it - it works!!!  Thanks, now I don't have to waste
another day on this...



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

From: Brian Gilman <[EMAIL PROTECTED]>
Subject: keeping two ppp connection alive?
Date: Thu, 07 Jan 1999 12:08:14 -0500
Reply-To: [EMAIL PROTECTED]

Hello:
    Here's the problem:

        I have two ppp connections to my ISP, I am using eql to keep
them "tied together" and sometimes I lose one connection. I want to
write a script that keeps them alive without using diald because I think
diald screws up eql.....So, I thought I'd ask someone out there for a
good book on shell script programming because I'm a newbe......



Here's what  I envision my script doing:

1) looking to see if there are two ppp connections alive
2) checking to see if eql is working
3) deleting the ppp connections from the routing table (requisite for
eql to work properly)
4) adding eql as the default route
5) making the mtu of all connections the same


I think this could be done best with two scripts...One in the crontab
which would constantly look for two ppp connections and another that
gets called by the crontab script to initiate the ppp connections
again......


Here's what I thought of so far...Syntax may be screwed up because this
is my first script:

 #!/bin/sh


                 $ppp0  #I think these are variables in a shell script
                                 #can't remember?
                    $ppp1
                    $Local_IP


               if[` ifconfig | grep P-t-P | awk '{print$3}' | awk -F :
'{print $2}' | cat -b | wc -l ` -eq 2];

                then

              $ppp0 = /ifconfig/ | grep P-t-P | awk '{print$3}'  | awk
-F : '{print $2}'
                $ppp1 = same_as_above_except_last line.... awk
'{print$4}'


ifup $ppp0
ifup $ppp1
fi


this will hopefully look for two ppp connections and get them going if
they are down.....I see one probelm here though...What happens if one is
up? It still tries to start them both...Is that O.K? Thanks in
advance.....If I think of more I'll post it so someone can
correct/advise as I go.....Thanks again!

Sincerely,

Brian Gilman


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

From: "Tony D. Berry" <~ Tony D. Berry @ dameon.net ~>
Subject: TTY Settings When Telnetting
Date: Thu, 7 Jan 1999 11:07:53 -0600

I have a RH Linux box with kernel 2.0.34 on a LAN offsite. I have two
different locations each one has a 128K ISDN to the offsite LAN/Linux box.
Let's call the Linux box "linux1" and that domain "local.com". Site one will
be "home.com" and site two will be "work.com". From home.com I can telnet
across the ISDN to the Linux box and it connects and everything works 100%.
>From work.com I can telnet across the ISDN to the Linux box and almost
everything works fine. The biggest hassle is full screen editors like JOE,
PINE, TIN, etc. From home.com I can scroll in all four directions and the
screen follows accordingly. At work.com I can scroll all directions except
up. When I move up it visually moves a few lines at the top of the window
and logically moves everything correctly. Which means I can look at line,
let's say, 12 and it may say one thing but moving down to that line and
moving horizontally reveals the logically placed text instead of the
visually placed text.

It's hard to explain, but this always happens after a new install and
usually goes away after a few days. This has occurred since I started using
Linux in the 1.x days.

I telnet to the Linux box with the same account (i.e. same .bashrc) and a
"set" command from work.com and home.com are identical. The telnet client is
the same program on the same platform with the same settings at both sites.
The one possible factor that plays into this is that the computers at
home.com are actually all given a local.com domain name. The only effect I
think this could have is that the Linux box thinks telnet connections from
home.com are "local" and is changing something in the TTY settings. A "who"
shows that ttyp0 is the pseudo TTY number given to both sessions and NOT a
tty1.

Any assistance appreciated. Please CC to Usenet and email as my Usenet feed
from MCI/C&W is very unreliable.

Thank you.

Tony D. Berry
[EMAIL PROTECTED]





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

From: S P Arif Sahari Wibowo <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.smb,comp.os.linux.setup,linux.redhat.misc
Subject: Cannot login to samba server
Date: Thu, 7 Jan 1999 12:27:46 -0600

Hi!

I just begin to use samba, I setup samba using linuxconf, and I get to the
point where I can see the samba server icon in Windows' Network
Neighborhood. However, when I try to open the icon (with double-click it
or from Start->Run), I got a dialog box asking password (from Win95), or
login name & password (from NT).

If I enter a login name which exist in the linux machine (whether it uniq 
to the linux machine or not), Windows give this error:

\\<server-name> is not accessible
The credentials supplied conflict with an existing set of credentials.

If I enter a login name uniq for the NT Domain, the samba server just
won't accept the password, wether it is true or not.

Any help will be appreciated.

Some info:
Linux Redhat 5.1: 2.0.34 #1 Fri May 8 16:05:57 EDT 1998 i586 unknown
linuxconf-1.13r1-1
samba-1.9.18p10-5

Thank you!

                                    S. P. Arif Sahari Wibowo
  _____  _____  _____  _____           [EMAIL PROTECTED] 
 /____  /____/ /____/ /____    http://www.uiuc.edu/ph/www/arifsaha
_____/ /      /    / _____/


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

From: Bruce Skinner <[EMAIL PROTECTED]>
Subject: Dial-up problems with RH Linux 5.1
Date: Thu, 7 Jan 1999 18:20:58 +0000

I have just recently installed Linux 5.1 and have being trying to dial-up to my
university connection using ppp with the possibility of using the internet.

So far I have just managed it to dial the university, but then shortly after 
dialing through the modem hangs up.

My first question is have I first of all set up the networking info correctly 
in the right place (linuxconf, control panel etc...) or do I need to
install TCP/IP explicitly - as in Win95 I had problems then realised I did
not have TCP/IP installed, or how do you tell if TCP/IP is already  
installed and running.

The university have given me a fixed IP address with name and three DNS 
servers, gateway, subnet mask, dial-in usercode (same as for my host name)
and even a script.

I feel that I must be missing something fairly simple and would be most 
grateful for any replies/postings or references that you can offer.

Cheers Bruce 


================================__========__===================================
Bruce Skinner          __      /  \      /   [EMAIL PROTECTED]
University of Warwick /  \    /    \    /    
Coventry CV4 7AL          \__/      \__/     http://www.dcs.warwick.ac.uk/~esuue
===============================================================================



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

From: [EMAIL PROTECTED] (Chris)
Subject: ICQ, IRC, Realplayer behind SOCKS Proxy Firewall ???
Date: Thu, 07 Jan 1999 19:32:57 +0100

Hi,
who can tell me how to use IRC, ICQ an RealPlayer behind my Firewall ?
I hered that I have to open a proxy connection, but I�m not sure if that
is correct.
My firewall uses the dual-homed host version of SOCKS 4.2b.
It�s runing on a SuSE Linux System.


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

From: Ville Nummela <[EMAIL PROTECTED]>
Subject: Re: RH5.2PPP Can anyone decipher this??? /var/log/messages
Date: Thu, 7 Jan 1999 19:12:14 +0200

On Thu, 7 Jan 1999, Curtis Ross wrote:

> send ATZ^M
> expect  (ok)
> ATZ^M^M
> OK
> -- got it
> send (ATDT4460187^M)
> expect (connect)
> ^M
> ATDT4460187^M
> CONNECT
> -- got it
> send (^M)
> send <username>
> send <password^M>
> serial connection established
> Using interface ppp0
> connect: ppp0 <--> /dev/modem
> LCP: timeout sending Config-Requests
> Connection Terminated

So this is what's happening so far: Your modem gets initialized, it dials
your ISP and gets connected. Then your script sends one enter, <username>
and <password^M>. Then it starts waiting for the ppp to come up. Which
doesn't happen. What you should do is to dial your ISP manually (minicom
etc..) and check what you really should expect / send, and modify your
script with that information. Too bad you're using Red Hat - it's dialing
scripts are REALLY messy and hard to figure out. You probably would get it
done easier by writing everything from scratch..

--
 | ViGe / gasp inc. | http://www.lut.fi/~vnummela | [EMAIL PROTECTED] |
 |     IRC natura alienum est! Periculosum est! Delendum est!       |


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

From: [EMAIL PROTECTED] (Bernard J.Kozioziemski)
Subject: PCMCIA/D-link 660/RH5.1 ethernet problems
Date: 07 Jan 1999 10:36:32 -0800


Greets,
I have an Acer Extensa 366D laptop that I'd like to hook up to a cable
modem. I currently have a D-link PCMCIA  DE-660 Ethernet card, but I cannot
seem to get things to work. I tried with both the RedHat 5.1 kernel and
pcmcia-3.0.0 package, as well as kernel 2.0.36, without success. Upon
booting or inserting the card, it is detected and identified as the D-Link
DE-660 Ethernet Card. Modules pcmcia/pcnet_cs.o and net/8390.o are
inserted. /var/log/messages shows: eth0: NE2000 Compatible: port 0x300, irq
5, hw_addr 00:80:c8:8B:DF:96

ifconfig lists eth0 with the correct addresses. The problem is that no
traffic seems to come in or out... a ping to an ip address doesn't find an
machine, and trying to ping my computer from the net fails as well. I've
set the addresses and such in netcfg, looked at the docs for pcmcia
package, fiddled, etc, all without any luck. If someone could provide some
pointers, symptoms to look for, or anything, I'd apprecite it. Thanks,

Bernie Kozioziemski
[EMAIL PROTECTED]


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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup,comp.os.linux
Subject: How to Setup Bootp on a cluster....
Date: Thu, 07 Jan 1999 18:16:19 GMT

Hello All,

For a High School Science Project, two other students and I are turn some old
486's at school into a Linux Cluster....Obviously, being high school students
with limited linux experience, we're running into some problems...

1)  The lack of information....We have searched extenivsly for inforation to
setup of a cluster...all of the howto's focus mainly on what a cluster is
rather than how to do it.  Any links to informative articles would be most
appreciated.

2)  BOOTP....how do you set this up.....We have one machine configed as the
server and want the others to obtain ip addresses from it....nothing we've
tried (from various howtos and other posts) has worked....again...a good
howto would be nice.

3)  Other Networking stuff....the object of the project is to demonstrate the
advantages of parallel processing.

Facts...

() closed network
() all acer 486's with 3c509's and smc8000's
() redhat 5.1 kernel 2.0.34


Thanks so much in advance for your help...we'll be eternally grateful.

Please email me direct if you need more information
([EMAIL PROTECTED])

-Mark

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: cglur <[EMAIL PROTECTED]>
Subject: Netscape 4.5=DUD !?
Date: Thu, 07 Jan 1999 01:54:32 +0200
Reply-To: [EMAIL PROTECTED]

This is 'cut' from news.htm , in the Netscape 4.5 package:-
==== "
                        Choosing Items to Read Offline
    
     _________________________________________________________________
   
Going Offline to Work
     
   To work offline:

     * From the File menu, choose Offline, then Work Offline. To go back
       online, open the File menu and choose Offline, then Work Online.
     * Click the Online/Offline connection icon in the bottom left of
the
       Communicator window.
==== "    
Which is false since (Linux version 4.5) has no "Offline" selection for
the "File" menu of Mesenger (Mail & newsgroups).

I've wasted a lot of time with this 'damned thing' !
Has anybody managed to use Netscape 4.5 for newgroups to :-
*  read the new headers,
*  OFFLINE mark headers for which you want the bodies, next time online,
*   delete other headers,
*   download 'flagged' bodies,
*   delete bodies randomly.

  Please email me directly [EMAIL PROTECTED]  , since obviously my NS4.5
newsreader is lame. BTW how is trn ?   I prefer a text based to a
'cartoon
based' application.
 
   Thanks, Chris.


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


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