Linux-Networking Digest #346, Volume #11         Mon, 31 May 99 11:13:37 EDT

Contents:
  What is the best why to connect win95 /dos to linux ([EMAIL PROTECTED])
  PPP error (Sooyong Lee)
  automatic ppp disconnection (Saqr M Binghalib)
  What did I miss??  (PPP related) (Mike Carroll)
  Re: Linux: ICMP Redirect, IP Source Routing unterdruecken (Tilman Schmidt)
  autopmatic ppp disconection (Saqr M Binghalib)
  Re: Samba name lookup problem ([EMAIL PROTECTED])
  SMC EtherEZ driver for Linux ?! (beko)
  Re: i am confused ("Curt")
  Re: pppd permission ("Jan Johansson")
  Re: which one is the .profile for /root (Ian Tester)
  Linksys Combo PCMCIA Ethernet Card  ("Richard A. Bilonick")
  Re: Samba 2.0.3.x prompt... ("patrick putteman")
  Re: What did I miss??  (PPP related) (Clifford Kite)
  Re: DIALD building problems with RH5.2 (Villy Kruse)
  Are two NIC:s better than one...? (Stefan Schagerberg)
  Re: ipmasqadm HELP (Hugh Fader)
  Re: Help, Apache won't run my cgi ("Hugh Saunders")
  Re: Telnet again ("David Lee")

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

From: [EMAIL PROTECTED]
Subject: What is the best why to connect win95 /dos to linux
Date: Mon, 31 May 1999 11:34:52 GMT

I like to use linux as file and printer server for dos / win95 stations.
what is the easiest / efficient why to do it?


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

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

From: Sooyong Lee <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: PPP error
Date: Mon, 31 May 1999 02:00:19 -0500

I tried installing Red Hat Linux v6.0 on a Pentium PC for the first
time.
I made scripts for PPP as shown on manual, but couldn't make it.
The error messages from /var/log/messages are

modprobe: can't locate module ppp-compress-21
modprobe: can't locate module ppp-compress-26
modprobe: can't locate module ppp-compress-24

How can I fix it and make PPP connection ?  Your help would be greatly
appreciated.


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

From: Saqr M Binghalib <[EMAIL PROTECTED]>
Subject: automatic ppp disconnection
Date: Mon, 31 May 1999 00:00:56 -0700

Hi,

 I need some help please/..

 I am setting  up my system to log on the internet every 3 hours and
execute sendmail and fetchmail to send and recieve my email and then
distribute it others users as well..

 I am using the system wide crontab file for the schduling..

 The problem I am facing now. is how can I make my internet connection
close after the mail has been downloaded.

 Is there a way it can disconnect if there is no activity ? or as soon
as sendmail and fetchmail finsih it disconects.. ? I can figure out how
to manage that. I dont want to set a time limit for disconnection
because we could recieve large files sometimes and may need more time to

download than other days.. (  ISP charges for time online.. therefore i
want to the computer to be online just enough so it may download the
mail and then disconect..

 Thanks.

 Saqr :)




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

From: Mike Carroll <[EMAIL PROTECTED]>
Subject: What did I miss??  (PPP related)
Date: Mon, 31 May 1999 13:00:50 -0500

What did I miss?  I've read every HOW-TO on PPP.  As you can see from
the log I've got pppd configured, as far as I can tell my ISP doesn't
use the form of authentication that my script below uses.  Do i simply
need to send my ISP a BREAK to get the prompt that I keep hearing
about.  When I use minicom to dial, as soon as I get the CONNECT it
starts writing a bunch of stuff like in the log below.  A carriage
return won't break you out.

I really think I'm just not understanding what my ISP is doing, my old
ISP I remember used Xylogics switches and they would prompt for a login:
passwd:  this just throws out the protocol.. *grin* i guess...

Log below...

Thanks..  Mike

May 31 00:34:53 stan ifup-ppp: pppd started for ppp0 on /dev/modem at
115200
May 31 00:34:53 stan pppd[3953]: pppd 2.3.7 started by root, uid 0
May 31 00:34:54 stan chat[3955]: abort on (BUSY)
May 31 00:34:54 stan chat[3955]: abort on (ERROR)
May 31 00:34:54 stan chat[3955]: abort on (NO CARRIER)
May 31 00:34:54 stan chat[3955]: abort on (NO DIALTONE)
May 31 00:34:54 stan chat[3955]: abort on (Invalid Login)
May 31 00:34:54 stan chat[3955]: abort on (Login incorrect)
May 31 00:34:54 stan chat[3955]: send (ATZ^M)
May 31 00:34:54 stan chat[3955]: expect (OK)
May 31 00:34:54 stan chat[3955]: ATZ^M^M
May 31 00:34:54 stan chat[3955]: OK
May 31 00:34:54 stan chat[3955]:  -- got it
May 31 00:34:54 stan chat[3955]: send (ATDT9725425454^M)
May 31 00:34:54 stan chat[3955]: expect (CONNECT)
May 31 00:34:54 stan chat[3955]: ^M
May 31 00:34:56 stan chat[3955]: ATDT9725425454^M^M
May 31 00:34:56 stan chat[3955]: CONNECT
May 31 00:34:56 stan chat[3955]:  -- got it
May 31 00:34:56 stan chat[3955]: send (^M)
May 31 00:34:56 stan chat[3955]: expect (ogin:)
May 31 00:34:56 stan chat[3955]: ^M
May 31 00:34:56 stan chat[3955]: ^M~^?^C@!^A^A^@^N^B^F^@
May 31 00:34:59 stan chat[3955]: ^@^@^C^D@#sM~~^?^C@!^A^B^@^N^B^F^@
May 31 00:35:02 stan chat[3955]: ^@^@^C^D@#^DC~~^?^C@!^A^C^@^N^B^F^@
May 31 00:35:05 stan chat[3955]: ^@^@^C^D@#)F~~^?^C@!^A^D^@^N^B^F^@
May 31 00:35:08 stan chat[3955]: ^@^@^C^D@#j^~~^?^C@!^A^E^@^N^B^F^@
May 31 00:35:11 stan chat[3955]: ^@^@^C^D@#G[~~^?^C@!^A^F^@^N^B^F^@
May 31 00:35:14 stan chat[3955]: ^@^@^C^D@#0U~~^?^C@!^A^G^@^N^B^F^@
May 31 00:35:17 stan chat[3955]: ^@^@^C^D@#^]P~~^?^C@!^A^H^@^N^B^F^@
May 31 00:35:20 stan chat[3955]: ^@^@^C^D@#6e~~^?^C@!^A^I^@^N^B^F^@
May 31 00:35:23 stan chat[3955]: ^@^@^C^D@#^[`~~^?^C@!^A
May 31 00:35:23 stan chat[3955]: ^@^N^B^F^@
May 31 00:35:26 stan chat[3955]: ^@^@^C^D@#ln~~^?^C@!^A^K^@^N^B^F^@
May 31 00:35:29 stan chat[3955]: ^@^@^C^D@#Ak~^M
May 31 00:35:29 stan chat[3955]: NO CARRIER
May 31 00:35:29 stan chat[3955]:  -- failed
May 31 00:35:29 stan chat[3955]: Failed (NO CARRIER)
May 31 00:35:29 stan pppd[3953]: Connect script failed

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

From: Tilman Schmidt <[EMAIL PROTECTED]>
Crossposted-To: de.comm.internet.routing
Subject: Re: Linux: ICMP Redirect, IP Source Routing unterdruecken
Date: Mon, 31 May 1999 13:49:18 +0200

Bernd Eckenfels schrieb:
> OSPF im lokalen Lan zu machen ist aber auch nicht eleganter als ICP
> Redirects. :)

Och, die Eleganz w�re durchaus betr�chtlich. Nur mu� man halt erst
einmal f�r alle Maschinen im LAN einen OSPF-f�higen Routing-Daemon
finden und installieren.

-- 
Tilman Schmidt          E-Mail: [EMAIL PROTECTED] (office)
Sema Group Koeln, Germany       [EMAIL PROTECTED] (private)
"newfs leaves the filesystem in a well known state (empty)."
                                                - Henrik Nordstrom

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

From: Saqr M Binghalib <[EMAIL PROTECTED]>
Subject: autopmatic ppp disconection
Date: Sun, 30 May 1999 23:57:38 -0700

Hi,

 I need some help please/..

 I am setting  up my system to log on the internet every 3 hours and
execute sendmail and fetchmail to send and recieve my email and then
distribute it others users as well..

 I am using the system wide crontab file for the schduling..

 The problem I am facing now. is how can I make my internet connection
close after the mail has been downloaded.

 Is there a way it can disconnect if there is no activity ? or as soon
as sendmail and fetchmail finsih it disconects.. ? I can figure out how
to manage that. I dont want to set a time limit for disconnection
because we could recieve large files sometimes and may need more time to

download than other days.. (  ISP charges for time online.. therefore i
want to the computer to be online just enough so it may download the
mail and then disconect..

 Thanks.

 Saqr :)




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

From: [EMAIL PROTECTED]
Crossposted-To: linux.samba,comp.protocols.smb
Subject: Re: Samba name lookup problem
Date: Mon, 31 May 1999 06:21:08 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> Can you please post the contents of your smb.conf file?
>
> [EMAIL PROTECTED] wrote:
>
> > I'm trying to configure SAMBA to work only on the inside of my IP
> > Masqueraded network.  I've been following the diagnosis text file
from
> > the samba.org mirrors.  I'm running Debian potato, with Samba 2.0.4
> >
> > I've gotten up to test 4, which is where I'm stuck.  When I do
> >
> > nmblookup -B wall __SAMBA__
> >
> > I get
> >
> > Sending queries to 127.0.0.1
> > name_query failed to find name __SAMBA__
> >
> > If I do:
> >
> > nmblookup -B 192.168.0.1 __SAMBA__ (192.168.0.1 is wall's IP
address)
> >
> > I get
> > 192.168.0.1 __SAMBA__<00>
> >
> > I can use smbclient to interact with samba from another Linux box.
> > I can see the samba server from an NT box, but I can't mount any
shares.
> >
> > Can someone tell me where to look for my mistake?
> >
> > Thanks,
> >
> > Ted Leung
> >
> > Sent via Deja.com http://www.deja.com/
> > Share what you know. Learn what you don't.
>
>

Here it is

;
; /etc/smb.conf
;
; Sample configuration file for the Samba suite for Debian GNU/Linux
;
; Please see the manual page for smb.conf for detailed description of
;       every parameter.
;

[global]
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   guest account = nobody
   invalid users = root

; "security = user" is always a good idea. This will require a Unix
account
;       in this server for every user accessing the server.
   security = user

; Change this for the workgroup your Samba server will part of
   workgroup = LEUNG

   server string = %h server (Samba %v)

; This socket options really speed up Samba under Linux, according to my
;       own tests.
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096
SO_RCVBUF=4096

; Passwords are encrypted by default. This way the latest Windows 95
and NT
;       clients can connect to the Samba server with no problems.
   encrypt passwords = yes

; It's always a good idea to use a WINS server. If you want this server
;       to be the WINS server for your network change the following
parameter
;       to "yes". Otherwise leave it as "no" and specify your WINS
server
;       below (note: only one Samba server can be the WINS server).
;       Read BROWSING.txt for more details.
   wins support = no

; If this server is not the WINS server then specify who is it and
uncomment
;       next line.
;   wins server = 172.16.0.10

; Please read BROWSING.txt and set the next four parameters according
;       to your network setup. There is no valid default so they are
commented
;       out.
;   os level = 0
;   domain master = no
;   local master = no
;   preferred master = no

; What naming service and in what order should we use to resolve host
names
;       to IP addresses
   name resolve order = lmhosts host wins bcast

; This will prevent nmbd to search for NetBIOS names through DNS.
   dns proxy = no

; Name mangling options

   preserve case = yes
   short preserve case = yes

; This boolean parameter controlls whether Samba attempts to sync. the
Unix
;       password with the SMB password when the encrypted SMB password
in the
;       /etc/samba/smbpasswd file is changed.
   unix password sync = false

; For Unix password sync. to work on a Debian GNU/Linux system, the
following
;       parameters must be set (thanks to Culus for pointing this out):
   passwd program = /usr/bin/passwd %u
   passwd chat = *New\spassword:* %n\n *Re-enter\snew\spassword:* %n\n
*Password\schanged.* .

; The following parameter is useful only if you have the linpopup
package
;       installed. The samba maintainer and the linpopup maintainer are
;       working to ease installation and configuration of linpopup and
samba.
;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %
s' &

; The default maximum log file size is 5 MBytes. That's too big so this
;       next parameter sets it to 1 MByte. Currently, Samba rotates log
;       files (/var/log/{smb,nmb} in Debian) when these files reach
1000 KBytes.
;       A better solution would be to have Samba rotate the log file
upon
;       reception of a signal, but for now on, we have to live with
this.
   max log size = 1000

; local global settings
   interfaces = 192.168.0.1/24 192.168.0.10/24 192.168.0.4/24
   bind interfaces only = true
   remote announce = 192.168.0.255
;   hosts deny = ALL
;   hosts allow = 192.168.0.1/255.255.255.0 192.168.0.4/255.255.255.0
192.168.0.10/255.255.255.0 192.168.
0.5/255.255.255.0 localhost

[homes]
   comment = Home Directories
   browseable = no

; By default, the home directories are exported read only. Change next
;       parameter to "no" if you want to be able to write to them.
   read only = yes

; File creation mask is set to 0700 for security reasons. If you want to
;       create files with group=rw permissions, set next parameter to
0775.
   create mask = 0700

; Directory creation mask is set to 0700 for security reasons. If you
want to
;       create dirs. with group=rw permissions, set next parameter to
0775.
   directory mask = 0700

[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700

; A sample share for sharing your CD-ROM with others.
;[cdrom]
;   comment = Samba server's CD-ROM
;   writable = no
;   locking = no
;   path = /cdrom
;   public = yes
;
; The next two parameters show how to auto-mount a CD-ROM when the
;       cdrom share is accesed. For this to work /etc/fstab must contain
;       an entry like this:
;
;       /dev/scd0   /cdrom  iso9660 defaults,noauto,ro,user   0 0
;
; The CD-ROM gets unmounted automatically after the connection to the
;
; If you don't want to use auto-mounting/unmounting make sure the CD
;       is mounted on /cdrom
;
;   preexec = /bin/mount /cdrom
;   postexec = /bin/umount /cdrom


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

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

From: beko <[EMAIL PROTECTED]>
Subject: SMC EtherEZ driver for Linux ?!
Date: Sun, 30 May 1999 21:45:21 +0200

Hi !!

Did anybody know, if theres a driver for the SMC EtherEZ 10/100 network
card ?? I tried all
SMC drivers in my distribution, but no driver fits the card ??

I think, the chip on the card is an 8918651.

cu,
Bernd


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

Reply-To: "Curt" <[EMAIL PROTECTED]>
From: "Curt" <[EMAIL PROTECTED]>
Subject: Re: i am confused
Date: Mon, 31 May 1999 07:59:46 -0500

1. IP masquerading is a simple form of a NAT (network address translation).
It allows for a network to appear as 1 host to another network.  Mostly used
to allow a private network with non-internet-routable IPs to share a single
internet
routable IP.

2. IP forwarding allows the system to act as a router, passing on IP packets
that
have a different destination.   IP forwarding is required with IP
masquerading.

3. Port forwarding operates at the TCP level rather than the IP level.
It forwards all request to a port (i.e. IP:80) to another system and/or
port.
This allows a system to sit behind a firewall and still provide services
that are
reachable from the internet.

Patrick <[EMAIL PROTECTED]> wrote in message
news:7irjbo$[EMAIL PROTECTED]...
> I am confused with the terms.
> I know ip masquerading, ip forwarding and port forwarding are different
> but i cannot tell the difference
> can anymore tell me how they differs?
>
>
> --



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

From: "Jan Johansson" <[EMAIL PROTECTED]>
Subject: Re: pppd permission
Date: Mon, 31 May 1999 15:05:44 +0200

Install sudo, much cleaner aproach.

SpiKe wrote in message <[EMAIL PROTECTED]>...
>Right, I followed an instruction thingy that got me on to the net with pppd
>etc... problem is... I can't seem to change pppd so that it can be used by
>all users! I've tried chmod a+rx pppd but it didn't work! Any help will be
>much appreciated.
>
>--
>- Chris
>------------
>ICQ: 5303485
>
>



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

From: Ian Tester <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,jaring.os.linux,comp.os.linux.setup
Subject: Re: which one is the .profile for /root
Date: Mon, 31 May 1999 17:20:50 +1000

On Mon, 31 May 1999, Ujang Mohamad Zainudin wrote:

> how do i change the profile for "root".
> i tried creating ".profile" in /root but it has no effect when i
> relogin.
> SO is it at /.profile or /etc/profile.

/etc/profile is the system-wide profile which _everybody_ runs.

try setting the executable (+x) permission for /root/.profile
(I'm not sure if this is needed, but it shouldn't hurt if it isn't)

hope this helps,
bye

-- 
8<--------8<--------8<--------8<--------8<--------8<--------8<--------
Ian Tester   *8)#          \7\    LINUX: because geeks will find a way
[EMAIL PROTECTED]       \7\      http://www.zipworld.com.au/~imroy



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

From: "Richard A. Bilonick" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Linksys Combo PCMCIA Ethernet Card 
Date: Mon, 31 May 1999 14:13:05 GMT

Has anyone had any experience with the Linksys Combo PCMCIA Ethernet
Card? Does anyone know if it will work under Linux (RH 6.0)? And if so,
what driver to use?

Any help would be greatly appreciated.

--
Rick Bilonick -  mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Statistical Consulting for Business & Industry
http://www.nauticom.net/usrs/rab/




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

From: "patrick putteman" <[EMAIL PROTECTED]>
Subject: Re: Samba 2.0.3.x prompt...
Date: Mon, 31 May 1999 16:22:26 +0200

the smbmount command changed entirely. Smbmount will now ask for your
username and passwd (if you didn't specify it at the command prompt) and
then leave you at a prompt
just type the mount command at this prompt ex: to mount a wfw share on mount
point /net:
smb> mount /net
You will then recieve the normal linux prompt once again and your wfw share
will be mounted on /net

Hope this helps ;o)

Patrick

Ron van Middendorp wrote in message <7itrqv$r2t$[EMAIL PROTECTED]>...
>Hi,
>
>I recently upgraded from Samba 1.9.18.x to 2.0.3.x and now I get this weird
>prompt when doing a smbmount to the Win98-box.
>What's with this prompt? What can I do there?
>
>All I want is to work with the files on the Win-Share, never got this
prompt
>before and I can't seem to find any info on it.
>What am I missing?!
>
>Kind regards,
>Ron van Middendorp
>
>



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

From: kite@NoSpam.%inetport.com (Clifford Kite)
Subject: Re: What did I miss??  (PPP related)
Date: 31 May 1999 09:22:36 -0500

Mike Carroll ([EMAIL PROTECTED]) wrote:

: What did I miss?  I've read every HOW-TO on PPP.  As you can see from
: the log I've got pppd configured, as far as I can tell my ISP doesn't
: use the form of authentication that my script below uses.  Do i simply
: need to send my ISP a BREAK to get the prompt that I keep hearing
: about.  When I use minicom to dial, as soon as I get the CONNECT it
: starts writing a bunch of stuff like in the log below.  A carriage
: return won't break you out.

..

: May 31 00:34:56 stan chat[3955]: CONNECT
: May 31 00:34:56 stan chat[3955]:  -- got it
: May 31 00:34:56 stan chat[3955]: send (^M)
: May 31 00:34:56 stan chat[3955]: expect (ogin:)
: May 31 00:34:56 stan chat[3955]: ^M
: May 31 00:34:56 stan chat[3955]: ^M~^?^C@!^A^A^@^N^B^F^@
: May 31 00:34:59 stan chat[3955]: ^@^@^C^D@#sM~~^?^C@!^A^B^@^N^B^F^@
: May 31 00:35:02 stan chat[3955]: ^@^@^C^D@#^DC~~^?^C@!^A^C^@^N^B^F^@
: May 31 00:35:05 stan chat[3955]: ^@^@^C^D@#)F~~^?^C@!^A^D^@^N^B^F^@
: May 31 00:35:08 stan chat[3955]: ^@^@^C^D@#j^~~^?^C@!^A^E^@^N^B^F^@
: May 31 00:35:11 stan chat[3955]: ^@^@^C^D@#G[~~^?^C@!^A^F^@^N^B^F^@
: May 31 00:35:14 stan chat[3955]: ^@^@^C^D@#0U~~^?^C@!^A^G^@^N^B^F^@
: May 31 00:35:17 stan chat[3955]: ^@^@^C^D@#^]P~~^?^C@!^A^H^@^N^B^F^@
: May 31 00:35:20 stan chat[3955]: ^@^@^C^D@#6e~~^?^C@!^A^I^@^N^B^F^@
: May 31 00:35:23 stan chat[3955]: ^@^@^C^D@#^[`~~^?^C@!^A
: May 31 00:35:23 stan chat[3955]: ^@^N^B^F^@
: May 31 00:35:26 stan chat[3955]: ^@^@^C^D@#ln~~^?^C@!^A^K^@^N^B^F^@
: May 31 00:35:29 stan chat[3955]: ^@^@^C^D@#Ak~^M
: May 31 00:35:29 stan chat[3955]: NO CARRIER
: May 31 00:35:29 stan chat[3955]:  -- failed
: May 31 00:35:29 stan chat[3955]: Failed (NO CARRIER)
: May 31 00:35:29 stan pppd[3953]: Connect script failed

The "garbage" characters above are not those I'd expect from a PPP
implementation but the three second repetition interval suggests that
this is the case.

One thing you should do is to replace the chat expect/send  CONNECT ''
with  CONNECT '\d\c'  which inserts a one-second delay and suppresses
the carriage return that's otherwise sent and sometimes confuses an
ISP.

You can configure for PAP authentication which is very common among ISPs;
you'll need to remove the chat login/password expect sends for this but
keeping the CONNECT expect/send suggested above.  Add the pppd option
"name Your_ISP_Login_Name" and configure a /etc/ppp/pap-secrets with
the single line

Your_ISP_Login_Name             *               Your_ISP_Password

with the obvious substiutions.  Copy /etc/ppp/pap-secrets to
/etc/ppp/chap-secrets and you've configured for CHAP as well.

--
Clifford Kite <kite@inet%port.com>                       Not a guru. (tm)
/* Governments should be changed like diapers - often and for the
 * same reason. */

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

From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: DIALD building problems with RH5.2
Date: 31 May 1999 10:05:46 +0200

In article 
<[EMAIL PROTECTED]>,
Mike Bartman <[EMAIL PROTECTED]> wrote:



>
>There is no "__errno_location" field in icmp.h, just an "errno" field
>in a structure.  I'm assuming that the __errno_location symbol is
>being generated by the compiler, right?  Why?  And how to I get past
>this problem?  I'm familiar with OpenVMS, but as I said, unix
>development is new to me so this may be trivial for some of you, but
>it's got me stumped at the moment! :^)



That errno field in a structure should be renamed to something else
as there is a #define errno somewhere in the headers.


Also, version 0.16 needs up to patch level 5 before it compiles on redhat
system.  You'll run into other problems, too if you don't.

Look at the contrib.redhat.com see if there is a rpm version you can
download.  It has been there fore ages, including patch level 5.


Also check http://diald.unix.ch for the current (I thing) home page for diald.



Villy

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

From: Stefan Schagerberg <[EMAIL PROTECTED]>
Subject: Are two NIC:s better than one...?
Date: Mon, 31 May 1999 10:16:27 +0200

At home I have the following setup

A Linux-machine running as file and printer-server and cable modem. This
machine is in a closet so I need to display X to the other ones.
A Win NT machine at which I work. So to this machine I want a fast
connection.
I also have a laptop and printer connected to the network. These two (and the
hub) are 10Mb.

The question is whether I will gain from having a dedicated 100Mb (hubless)
connection between the Linux and the Win NT machine. It's too expensive to go
100Mb all the way. Will I notice any difference between a 10Mb and 100Mb
network? I'm usually the anly one loading the network. It will also take some
extra cabling across the apartment..

Regards
/Stefan

Appendix...

Linux- machine:
Cyrix686 w 64M
RTL8029 (10Mb) NIC for cable modem
RTL8139 (10/100Mb) NIC for internal network

Win NT-machine:
Pentium 133 w 128M
RTL8139 (10/100Mb) NIC for internal network




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

From: Hugh Fader <[EMAIL PROTECTED]>
Subject: Re: ipmasqadm HELP
Date: Mon, 31 May 1999 14:00:43 GMT

Yeah I saw that. The following TCP ports on the firewall must be open:
        8995 - 11000
        28800 - 28900

My ipchains setup is as follows:

ipchains -P forward DENY
ipchains -A forward -j MASQ -s 192.168.1.0/24 -d 0.0.0.0/0

I don't do anything else with incoming or outgoing packets. I am assuming that
if you don't deny, then the ports are open. Is that correct?

By the way, I could see these connections being made using ipchains -M -L.

If I have to explicitly do autofw for these ports, my script would be:

ipmasqadm autofw -F
ipmasqadm autofw -A -r udp 2300 2400 -c tcp 47624
ipmasqadm autofw -A -r tcp 2300 2400 -c tcp 47624
ipmasqadm autofw -A -r tcp 8995 11000 -c tcp 47624
ipmasqadm autofw -A -r tcp 28800 28900 -c tcp 47624

Maybe I'll give this a try and see if it works any better.


Matt Goebel wrote:

> Read that link again.  The actual MSN Game Zone uses the 2nd set of ports
> listed on the MS site.  The first set is for direct play, I haven't tried
> that yet.  I'm sure I could write a simple script to forward those ports,
> however I haven't tried it since I want to be able to have several machines
> playing online at the same time.  I don't know of a way to set it up so that
> I can have multiple machines but I'm sure that somehow it can be done.  For
> the time being I'm just going to work on getting one machine connected.
> I'll fool around with it some more tommorrow, and if I'm able to get it work
> you can count on seeing a post on how I did it and a copy of the script.
> Hugh Fader <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > I posted the link to MS. I don't remember if I posted my first shot at an
> > ipmasqadm to make this actually work. As far as I can tell it does what
> > Microsoft says you need to do. However, the Windows machine just hung up
> when we
> > tried to join a game.
> > ---
> > #! /bin/sh
> > # IP autoforwarding to make Game Zone games work
> > # See http://support.microsoft.com/support/kb/articles/q159/0/31.asp
> > # for description of ports required
> > ipmasqadm autofw -F
> > ipmasqadm autofw -A -r udp 2300 2400 -c tcp 47624
> > ipmasqadm autofw -A -r tcp 2300 2400 -c tcp 47624
> > ---
> > Please let us know if you get this to work.
> >
> > Matt Goebel wrote:
> >
> > > Hi,
> > > Trying to do a couple of things here:
> > >
> > > 1. I want toplay my games online damn it!!!  I need my fix.  I've gone
> > > without them for too long!  I'm trying to play on the MSN game zone,
> games
> > > Like AOE and a few others.  Someone posted a msg in here taking about
> the
> > > same thing and a very helpful link that says what ports need to be open.
> > > (http://support.microsoft.com/support/kb/articles/q159/0/31.asp)  So
> I've
> > > got the port info I need but now I need to figure out how to write the
> > > script to do it.  ???  I'd like to set it up so that several people on
> my
> > > LAN can be playing several  people on the Game Zone, and I'd perfer that
> one
> > > of the machines on my LAN was the host.  (All machines on the LAN are
> using
> > > IP masq)  I think this is possible, but difficult.
> > >
> > > 2. I want to be able to connect to FTP sites that don't use port 21.  At
> the
> > > moment I can connect to any FTP site on any port but I can't "ls" on
> sites
> > > that aren't on port 21 so in effect I can't get in.  Originally, I
> couldn't
> > > do this on port 21 either but the ip_masq_ftp.o fixed that, now I need
> to
> > > fix other ports too.  Anyone know how to do that?
> > >
> > > Both of these I believe can be done using the ipmasqadm tool, but I need
> to
> > > learn how.  I'm not sure when to use autofw or portfw and what is
> actually
> > > going on.  There doesn't seem to be much support docs or many people
> that
> > > can do this.  Please help!!!!
> >


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

From: "Hugh Saunders" <[EMAIL PROTECTED]>
Subject: Re: Help, Apache won't run my cgi
Date: Mon, 31 May 1999 09:33:18 +0100

<snip>
>I get
>Internal Server Error
>The server encountered an internal error or misconfiguration and was unable
>to complete your request.
>Please contact the server administrator, root and inform them of the time
>the error occurred, and anything you might have done that may have caused
>the error.
>
<snip>

This smacks of some kind of problems with your script headers. The FIRST
THING that your script must output should be: (perl extract)

print 'Content-type: text/html\n\n';

Notice the two '\n' characters. These two linefeeds must be present. If you
have already done this, then check your apache logs. They should be in
/var/log/httpd or similar. There should be a file called error.log or
something. Apache generously logs all such errors, so this should give you a
lead.

If the log says something like "could execute myscript.pl", check that your
path to the perl libraries in the script are correct, by typing

which perl

this should produce output like

/usr/bin/perl

but its not the same on all systems!! With the output above, the first line
in your script should read

#!/usr/bin/perl

Failing all this, zip your script and apache error log up and mail them to
me and I'll try to have a look at them.

Hugh



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

From: "David Lee" <[EMAIL PROTECTED]>
Crossposted-To: force9.tech.linux
Subject: Re: Telnet again
Date: Mon, 31 May 1999 09:40:36 +0100

I  got that when I first started.  It was because I was trying to log in as
"root".  What you have to do is make a new account on the Linux box and log
into that.  Then, once you're logged on, type "su".  It will ask you for the
password to the "root" account.  Type that in and you're free to do whatever
you want on the system....


--
dave
==========================================
email: [EMAIL PROTECTED]
sms/mobile: 07974 047910
web: http://www.leehome.force9.co.uk/dave/
==========================================


> I have now solved the "no login prompt" problem. I get a login prompt, but
> now the Linux box refuses to accept any logins; I get a "incorrect login"
> message.
>
> I have tried to write a hosts.equiv file to bypass security, I have added
> entries to /etc/usertty and /etc/securetty and my windows box is listed in
> /etc/hosts.allow. HELP. I'm really starting to go off Linux...;)
>
> Hugh
>
>



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


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