Linux-Networking Digest #512, Volume #12          Wed, 8 Sep 99 12:13:30 EDT

Contents:
  Re: Two boxes connected to same hub (with cable modem), different subnet (Scott 
Nolde)
  Re: Help setting up an SSL web server ("Tad")
  Re: Call Waiting and PPP (Scott Nolde)
  ipchains -L -M question (Vlar Schreidlocke)
  Re: Ipchains & udp port forwarding (for a game) (Essence)
  Help: Baldur's Gate Port Forwarding with 2.2.12 kernel (Essence)
  POP3 error - need help !!!! (Pat Militzer)
  Mail server (Erwin Brandenberger)
  Re: D-Link DFE 530TX (LhD Administrator)
  Mail server (Erwin Brandenberger)
  Re: selectable DHCP or static IP on a single NIC? (Scott Nolde)
  Netatalk on Mandrake (Steve Wilwerding)
  telnet program for win98 ([EMAIL PROTECTED])
  Routing Problem ! ("Henrik Andersson")
  Re: RH6.0 not resolving names (Clyde Davidson)
  Re: packet forwarding question... ("George M. Gallen")

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

From: Scott Nolde <[EMAIL PROTECTED]>
Subject: Re: Two boxes connected to same hub (with cable modem), different subnet
Date: Wed, 08 Sep 1999 13:54:10 GMT

Here's a quick answer and it will save your some bucks.  I use this
configuration at home (1 cable connection, 3 computers).

1.  Use two NIC in your linux machine.  One for the cable modem and the
other to the hub.
2.  Plug the WIN95 box into the hub.
3.  Configure IPCHAINS with masquerading on the linux box.  This takes
two lines minimum.  Configure to suit your firewall needs.
4.  Configure your linux machine as a DNS.
5.  Configure your linux machine as a DHCP server (dhcpd.conf)
6.  Configure SAMBA.

All this will work in harmony together.   All computers will have
cablemodem access when required.  Otherwise communication is just
between the computers on your home LAN.

-Scott

Lorin Hochstein wrote:
> 
> Here's the problem:
> 
> I've got two boxes and a cable modem attached to a hub (I'm paying my
> local cable company for two IP's). IP's are assigned dynamically by
> DHCP. The IP's that are assigned by the cable company are NOT on the
> same subnet! For example, one might be 24.200.87.126, while the other
> might be 24.200.88.211.  Each has a netmask set  as 255.255.255.0.
> 
> This means that every packet I send from one to the other goes through
> the cable modem, to the router, back through the cable modem, to the
> other box, which just wastes cable modem bandwidth.
> 
> What can I do so that the two boxes realize that they are on the same
> LAN? Keep in mind that one of the machines is dual-boot Win95/Linux
> (actually, both are, but one pretty much lives in Windows-land all of
> the time). I noticed the problem when I tried to use samba to see the
> Windows drive, and the Linux box couldn't see the Windows box, and vice
> versa.  Specifically, doing "smbclient -L bob" doesn't work, I have to
> actually do "smbclient -L bob -I 24.200.88.211" and when I try to play
> MP3 files, it's choppy. Windows uses NetBEUI, I guess, so it figures out
> that the two are on the same LAN; doing the network neighbourhood thing
> is no problem when they're both in Windows. Also, no problems playing
> MP3's with remote files in Windows, so I'm sure I'm being hurt by silly
> routing.
> 
> If I do have to mess with the netmasks, can somebody tell me a clean way
> to do it? (Do I have to type "ifconfig netmask" each time on bootup?).
> Also, will I have to change netmasks in Windows95? How do you do
> that? Will it screw other stuff up? My IP seems to always assgin
> 24.200.8x.xxx IP's. Does that mean I should choose a netmask of
> 255.255.240.0?
> 
> I'm kinda new to this networking stuff, so let me know if I'm saying
> some really dumb things...
> 
> Lorin Hochstein

-- 
================================================
                 Scott Nolde
          [EMAIL PROTECTED]
================================================

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

From: "Tad" <[EMAIL PROTECTED]>
Subject: Re: Help setting up an SSL web server
Date: Wed, 8 Sep 1999 06:42:43 -0700

I found that MOD_SSL was easier to configure and set up. Not to mention the
documentation was 10 fold better.

Just my $0.02

Tad



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

From: Scott Nolde <[EMAIL PROTECTED]>
Subject: Re: Call Waiting and PPP
Date: Wed, 08 Sep 1999 13:45:19 GMT

Include in your dial string *70, after the ATDT.  This will disable call
waiting for the duration of the call.  This makes your dial string
ATDT*70,555-5555.

>
> >
> > You can send an AT commmand to the modem in the ppp dialing script at
> > the modem initialization stage, I can't remember which S-register but
> > I'm sure there is one which handle the number of seconds that can
> > tolerate before dropping carrier when line signal condition is poor
> > (e.g. during call-waiting tones).
> >
> > Tsaroth <[EMAIL PROTECTED]> wrote:
> > > Does anyone know a way to make either pppd or chat less crashproof.
> > > Under Windows someone calls me when online, and call waiting kicks me
> > > off and I get the phonecall (Which I like).  Under Linux though the
> call
> > > waiting beep doesn't kick me off, so I either need to make pppd/chat
> > > know to turn off at the beep, or force them to crash at it.  I'm
> running
> > > RedHat 5.2 on a laptop with Megahertz PC-card modem.
> >
> 
> Does anyone know exatly what the AT command is?  Please tell me.
> 
> ------------------  Posted via CNET Linux Help  ------------------
>                     http://www.searchlinux.com

-- 
================================================
                 Scott Nolde
          [EMAIL PROTECTED]
================================================

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

From: [EMAIL PROTECTED] (Vlar Schreidlocke)
Subject: ipchains -L -M question
Date: Wed, 08 Sep 1999 14:03:27 GMT

I did an ipchains -L -M and got a connection from one of my internal
Win98 boxes to aussms2.austin.rr.com on port 139. Does this mean that
someone at aussms2.austin.rr.com was connected to the shares on my
Win98 machine? I could swear that there is an ipchains rule in my
firewal script that denies these connections.

These are the lines:

$IPCAHINS -A input -l -p tcp -s $REMOTENET -d $LOCALNET 139 -j DENY
$IPCAHINS -A input -l -p udp -s $REMOTENET -d $LOCALNET 139 -j DENY

When I pointed my browser to aussms2.austin.rr.com it was a web page
with updates to the Roadrunner Manager program, a login/admin program
for my cable connection on my Win98 box (I have switched over to linux
on the box connected to the cable modem). Could Roadrunner be trying
to connect to my Win98 box to update the login program? If so, how is
RR able to get past the firewall script and find my internal computer?



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

From: [EMAIL PROTECTED] (Essence)
Subject: Re: Ipchains & udp port forwarding (for a game)
Reply-To: [EMAIL PROTECTED]
Date: Wed, 08 Sep 1999 13:06:02 GMT

On Mon, 30 Aug 1999 15:24:10 GMT, rbrunelle@"nospam".bigfoot.com (Rob
Brunelle) wrote:

>This is what I did to get Baldur's Gate to work.  The incoming control port is
>47624.  It looks like the delta force control port is 15856.

Hi,

Did you have to do any other things to get Baldur's Gate working? 

I tried the lines you posted and it didn't work for me. I'm running
Slackware (kernel 2.2.12). The Baldur's Gate version of Gamespy loads
and lists the servers but I can't connect to any of them :(


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

From: [EMAIL PROTECTED] (Essence)
Subject: Help: Baldur's Gate Port Forwarding with 2.2.12 kernel
Reply-To: [EMAIL PROTECTED]
Date: Wed, 08 Sep 1999 13:24:21 GMT

Hi,

     I'm running Linux Slackware (2.2.12 kernel) as a Gateway for 2
Windows machines.  I'm having trouble getting Baldur's Gate to work
through the Linux box. I know that I have to open ports 2300 - 2399
and 47624.

Someone posted the following lines but it didn't work for me. Not sure
if I'm missing something else.

 /usr/sbin/ipmasqadm autofw -F
 # forward Baldur's Gate packets
 /usr/sbin/ipmasqadm autofw -A -r tcp 47624 47624 -h 192.168.3.10
 /usr/sbin/ipmasqadm autofw -A -r udp 47624 47624 -h 192.168.3.10
 /usr/sbin/ipmasqadm autofw -A -r tcp 2300 2399 -h 192.168.3.10
 /usr/sbin/ipmasqadm autofw -A -r udp 2300 2399 -h 192.168.3.10

Any help would be much appreciated.

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

From: [EMAIL PROTECTED] (Pat Militzer)
Subject: POP3 error - need help !!!!
Date: Wed, 08 Sep 1999 14:20:49 GMT

Hi there 

I'm getting the following error when trying to retrieve messages from
the pop3 server on our Red hat linux 6.1:

Sep  8 08:10:56 linux1 ipop3d[395]: Connection broken while reading
line user=t2

Anybody have any idea's ??

I have tried to telnet to the localhost 110 and got the ready response
from the pop3 server.  

Also restarted sendmail just incase that was the problem.


Thanks in Advance 

Pat 
[EMAIL PROTECTED]

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

From: Erwin Brandenberger <[EMAIL PROTECTED]>
Subject: Mail server
Date: Wed, 08 Sep 1999 15:18:18 +0200

I'm looking for free mail servers (POP3/SMTP) for suse linux.

What possibilities do I have ?

Erwin Brandenberger

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

From: LhD Administrator <[EMAIL PROTECTED]>
Crossposted-To: redhat.networking.general,comp.os.linux.misc
Subject: Re: D-Link DFE 530TX
Date: Wed, 08 Sep 1999 13:31:13 GMT


Raghu wrote:
> Now I want to configure D-Link DFE 530TX network card.
> 
> I have no idea how to do it ,
> Can anyone help me out ???

Check out the workarounds and driver info at:
http://lhd.datapower.com/db/dispproduct.cgi?DISP?296


LhD Administrator
LhD: Linux Hardware Database
http://lhd.datapower.com



==================  Posted via CNET Linux Help  ==================
                    http://www.searchlinux.com

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

From: Erwin Brandenberger <[EMAIL PROTECTED]>
Subject: Mail server
Date: Wed, 08 Sep 1999 15:17:12 +0200

I'm looking for free mail servers (POP3/SMTP) for suse linux.

What possibilities do I have ?

Erwin Brandenberger

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

From: Scott Nolde <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable
Subject: Re: selectable DHCP or static IP on a single NIC?
Date: Wed, 08 Sep 1999 13:40:17 GMT

I ran into the same thing.  I use my linux (Red Hat 6.0) box as a DHCP
server.  One key thing is to check to see if your office DHCP server is
exporting the DNS and local gateway info.  If it is then delete that
info from your laptop (after writing it down somewhere else).  Just set
your laptop for DHCP with no other DNS or gateway info.  Then configure
/etc/dhcpd.conf to the following:

subnet 192.168.1.0 netmask 255.255.255.0 {
        range 192.168.1.3 192.168.1.20 ;
        option subnet-mask 255.255.255.0 ;
        option broadcast-address 192.168.1.255 ;
        option domain-name-servers xx.xx.xx.xx, yy.yy.yy.yy,
        192.168.1.1 ;
        option routers 192.168.1.1 ;
        }

xx.xx.xx.xx and yy.yy.yy.yy are your ISP DNS addresses.  The subnet I
use is 192.168.1.0 and you can change it to whatever you wish.

Aliasing an interface gets comlicated too quickly, so I avoided it.

Guido Sarducci wrote:
> 
> I have a static IP for my laptop at home, and often take it to work
> where I want to plug it into the DHCP-managed network.  Silly me, I
> thought I would be able to create an alias in the 'netcfg' interfaces
> panel, and then switch between networking configurations on my one
> ethernet interface.  However, everything changes -- the default route,
> the default domain, dns servers.  I'm just about stumped, but I have a
> few ideas left.  (BTW, the system in question is a Dell XPi, 3c589,
> and docking station running RH60; there are no problems with the basic
> hardware.)  Here are the options I have:
> 
> - I can use DHCP at home as well as work, instead of a home static IP.
> However, this still leaves the problem of deafult route, domain, and
> dns servers all changing.
> 
> - I *might* be able to use the ethernet interface in the docking
> station (SMC 91c92; theoretically works with a later SMC driver).  I
> would configure it to the home IP, and configure the 3c589 card to
> always look for dhcp.  The drivers for the docking station would fail
> if I were at work, and the card drivers would fail while at home, but
> I'd have one working interface at each place.  This sure isn't the
> elegant solution I was hoping for, and still leaves the issue of the
> default domain and dns servers.
> 
> - Reload SuSE and hope that Yast can make sense of this.  (The black
> box approach.)  This is not entirely a silly option, since I have SuSE
> 6.1 loaded on a removable drive, and can pop it in to try any
> solutions.  No, I do not want to have one distro on a disk for work
> and one for home. (!)
> 
> Please post or email me your suggestions, ideas, and/or experiences.
> If this is a silly question answered in a faq, please point me to it.
> If not, I will publish my results here and on my website (with
> appropriate links) when I get this working.
> 
> jon
> [EMAIL PROTECTED] <<remove digits to reply.

-- 
================================================
                 Scott Nolde
          [EMAIL PROTECTED]
================================================

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

From: Steve Wilwerding <[EMAIL PROTECTED]>
Subject: Netatalk on Mandrake
Date: Tue, 7 Sep 1999 10:07:09 -0500

For reasons I'd rather not go into here, I have to set my linux box up so
that Macs can mount it on their desktops. I have found the program I need,
netatalk, and I am wondering how difficult it is to install.

Has anyone here installed Netatalk on a Mandrake server? Do you have to
re-compile the kernel, since it does not appear that Appletalk is loaded
by default? Is a kernel re-compile necessary if I only use Apple Share and
not Apple Talk?

Any help would be much appreciated.

-SW

===============================================================
Steve Wilwerding                    [EMAIL PROTECTED]
Creighton University          http://www.creighton.edu/~stevew

         Computer Guru, Creightonian Online Webmaster

 Visit the Creightonian Online at http://press.creighton.edu




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

From: [EMAIL PROTECTED]
Subject: telnet program for win98
Date: Wed, 08 Sep 1999 14:35:51 GMT

does anyone know of a good telnet program for win98 that works as good
as telnet from linux terminal. i can telnet in fine using start-run-
telnet but when i bring up mc on the remote host several functions dont
work. since i'm a newbie to linux, mc is very useful for configuring my
linux server. thanks


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

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

From: "Henrik Andersson" <[EMAIL PROTECTED]>
Subject: Routing Problem !
Date: Wed, 8 Sep 1999 15:25:13 +0200

Hello.

I have a difficult routing problem.

                                    Router 1
                                      _____
eth1 (192.168.5.22)   |            |
==============================|            | eth0 (192.168.210.1)
                                      |
|-------------------------------  HDSL ------>
eth2 (192.168.10.22) |            |
==============================|            |
                                      |_____|

                                         Router 2
                                         ______
                                         |            | eth1 (192.168.36.1)
 eth0 192.168.210.2      |            |----------------------------------
<-------------------------------|            | eth2 (192.168.35.1)
                                         |
|-----------------------------------
                                         |_____|


The problem:

I want all trafic fr�n eth1 on Router 2 (192.168.36.0) to be routed to eth1
on Router1. I also want all trafic from eth2 on Router 2 to be routed to
eth2 on Router1. It should be like to separate "tunnels" of trafic. It is
very important that the "tunnels" are separated from each other.

I have been trying to solve this with Ipchains, but I couldn't manage out
how to do.

Does any one of you have some good ideas about how this problem should be
solved??  (VPN?,routing?,MASQ?)

Please help me!

Cheers
/Henrik



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

From: Clyde Davidson <[EMAIL PROTECTED]>
Subject: Re: RH6.0 not resolving names
Date: Wed, 08 Sep 1999 10:08:57 -0500

I finally found my own problem. It's DHCP. It will see an IP address if it's
still leased to me, but it isn't finding the default gateway. So, it can't
figure out where to send DNS requests. If I manually put in the default
gateway, everything works fine. This is fine until I lose my lease or go to a
different network; which I do all the time.

I guess it's time to bug Red Hat. Unless anyone else know what's happening.

Clyde




Clyde Davidson wrote:

> I have been upgrading my RH from 5.2 to 6.0 several times this weekend.
> Everything works fine, except...  I can't get it to resolve names. DHCP
> seems to be working, but it doesn't seem to setting up the default gateway
> or something. I can get an IP address, usually, but nslookup can't find the
> DNS servers that are listed in my resolv.conf.
>
> Any clues?
>
> Clyde


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

From: "George M. Gallen" <[EMAIL PROTECTED]>
Subject: Re: packet forwarding question...
Date: Wed, 8 Sep 1999 10:46:18 -0400

never mind......found the problem. I wasn't telling ipchains
which interfaces to use, once I added in the accept for both
-i sl0 & -i eth0 on input,output & forwarding...functioned 
normally.

Just like a computer to do what I said and not what I want.

George
[EMAIL PROTECTED]


On Wed, 8 Sep 1999, George M. Gallen wrote:

> I have a linux 2.26 slackware machine setup with one ethernet
> port and SLIP connection (sl0) on the serial port. What I
> want to do is have the linux machine bridge my sl0 and eth0.
> 
> I turned on packet forwarding in the kernal.
> 
> ipchains is ACCEPT for incoming outgoing and forwarding
> 
> But if I try to ping the IP on the other side of the SLIP
> connection from a PC on the ethernet side, the linux machine
> doesn't appear to be forwarding the packet from eth0 to sl0
> 
> right now I don't need this to be a filtered bridge, just
> want to be able to bridge sl0 to eth0.
> 
> I don't need masquading since the IP on both networks are
> unique and neither side will be seeing the internet.
> 
> The other end of the SLIP connection is another unix machine
> 
> How does packet forwarding know which devices to bridge to?
> If I establish my SLIP connection after I packet filtering
> is started will the packet forwarding sense the sl0 when it
> becomes active (via dip).
> 
> Right now, it needs to be a SLIP and not PPP.
> 
> The End result is that I want to be able to ftp from the unix
> machine (other side of the SLIP) to a PC on the ethernetwork
> that the linux machine is connected to.
> 
> UNIX <--sl0 --> LINUX  <--eth0 --
>                                --
>                    PC  <--eth----
>                                --
>                    PC  <--eth----
> 
> There is no DNS being used (or needed), everthing is defined
> in /etc/hosts.
> 
> I have read the man pages and the howto's, but it doesn't seem
> to packet forward. Now on the unix side, I setup a static route
> for the IP address of the PC to be via the sl0 and the SLIP
> address as the gateway. If I tried to ftp to the PC, I did see
> the Txd flash on the modem, so I know something was going 
> across the SLIP, but nothing ever came back. If someone telnets
> from a PC to the linux machine, nothing shows up on the SLIP
> connection (at least no Rxd light).
> 
> Thanks
> George Gallen
> [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
******************************

Reply via email to