Linux-Networking Digest #199, Volume #10         Sun, 14 Feb 99 01:13:56 EST

Contents:
  ppp problems in slackware3.5 running kernel 2.2.1 and pppd 2.3.5 ("Rob Edman")
  Re: download speeds over network ("tonni")
  Re: ip masquerading problem ("tonni")
  Re: question: PLIP + ETHERNET at the same time (David Efflandt)
  Setting up a telnet listing port ("George M. Gallen")
  setting user passwords ("Kurt C. Anderson")
  Re: Networking/Cable Modem ([EMAIL PROTECTED])
  Re: redhat/win95 network set up (David Efflandt)
  Re: Redhat 5.1 as a router (David Efflandt)
  Re: Gateway Configuration ([EMAIL PROTECTED])
  IP accounting on aliased IPs (Arthur Corliss)
  Re: PPP problems under 2.2.1 (Clifford Kite)
  Re: Serial to TCP (David Efflandt)
  Re: Setting eth0 and default routing for RH5.1 (David Efflandt)
  nutts with samba  ("tonni")
  RH 5.1 using /etc/resolv.conf? (Ben Cooper)
  Win95 + Linux Dual Installation Possible? ([EMAIL PROTECTED])
  2.0.33 kernel bridge problems? (Jan Brittenson)
  Need driver for SMC Elite16 Ethernet Card (Ralph E Wagner)
  Re: Win95 + Linux Dual Installation Possible? ("Steve D. Perkins")

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

From: "Rob Edman" <[EMAIL PROTECTED]>
Subject: ppp problems in slackware3.5 running kernel 2.2.1 and pppd 2.3.5
Date: Sat, 13 Feb 1999 22:55:46 -0800

I recently upgraded to kernel 2.2.0(even more recently to 2.2.1) and
everything has been working except PPP.
I am using the same PPP scripts that I used when I was running kernel 2.0.x,
and in the older kernel I had no problems.
When I upgraded to 2.2.x it began to behave strangely. it dials, and
connects, but then drops the connection after about 30 seconds.

I read in the kernel documentation that there you need to upgrade to the
latest pppd, which I did. and I changed all my serial ports over from being
cuax to being ttySx

has anyone else had this problem? if so, any ideas on how to fix it?
thx much.
if ya need any more information just ask...

--Rob



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

From: "tonni" <[EMAIL PROTECTED]>
Subject: Re: download speeds over network
Date: Sun, 14 Feb 1999 04:58:26 GMT

tell me how you setup  the ip_forwarding i have 1 linux box and 6 nt server
and wkst i use one cable modem and i put all machine to download at the same
time for test and the speed is equal @30ks  in each box i got my own file i
made for the rc.local maybe it work for ya let me know cya
Mark Peoples <[EMAIL PROTECTED]> wrote in message
news:79t2jg$fpm$[EMAIL PROTECTED]...
> Hello,
>  I have IP Masquerading installed and working fine.  However, on my Win98
> machine (which connects to the internet through my Linux box), the
download
> speed is horrible...under 1k/s 95% of the the time.
>
>  Any ideas on how to speed this up?
>
> Thanks,
>  Mark Peoples
>
>



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

From: "tonni" <[EMAIL PROTECTED]>
Subject: Re: ip masquerading problem
Date: Sun, 14 Feb 1999 04:51:56 GMT

well you will not have problem with this i have 6 winnt and one linux box do
the ip_forwarding with a half way cablemodem sound funy but is true i just
have incoming cable modem that is setup tru a external box modem/cablemodem
but i can download at 60ks that's what i need  ok .
copy this to your /etc.rc.d/rc.local reboot the Linux box using init 6  you
will need one nic only the other one sen to me hehe
echo "1" > /proc/sys/net/ipv4/ip_forward
/sbin/depmod -a
/sbin/modprobe ip_masq_ftp.o
/sbin/modprobe ip_raudio.o
/sbin/modprobe ip_irc.o
/sbin/ipfwadm -F -p deny
/sbin/ipfwadm -F -a m -S192.168.101.0/24 -D0.0.0.0/0
/sbin/ifconfig eth0:0 192.168.101.1 netmask 255.255.255.0
/sbin/route add -net 192.168.101.0
note change the ips the 192.168.101.1 is the gate way u need to use on the
win box good luck

Mitch Cant <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> check if you have routed or gated loaded...
>
> I have seen them delete / change routes ///
>
> run route immediately after boot and look at the results...
> wait for the problem and run it again to see if you see a change...
>
> mitch
>
> sili wrote:
>
> > I have recently set up ip_masq and forwarding . Im running linux 2.0.36.
> >
> > I have my cable modem going into my linux box and a 2nd nic going to my
> > Win pc. After reboot i am able to ping my Win pc from my linux box  and
> > vice versa.  I am also able to briefly surf the net from my Win pc
> > (loads about 3 pages) before it stops getting a response from the linux
> > box. I am still able to surf from the linux box, but now trying to ping
> > the win pc gets no response. Pinging 10.0.0.1 still receives a response.
> >
> > Any ideas why the linux box is dropping the ip and not responding to
> > 10.0.0.2?
> >
> > Thanks for any help
> >
> > Rick
>
> --
> -----------------------------------------------------------
> Mitch Cant <[EMAIL PROTECTED]>
> DDP Consulting Group, Vancouver BC Canada
> Phone: 604-294-9193  Fax: 604-294-9155
> Web Page: http://www.ddp.ca/
> -----------------------------------------------------------
>
>



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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: question: PLIP + ETHERNET at the same time
Date: 14 Feb 1999 05:05:23 GMT
Reply-To: [EMAIL PROTECTED]

On Fri, 12 Feb 1999 00:40:55 -0330, Neil Zanella <[EMAIL PROTECTED]> wrote:
>
>Hello,
>
>I have two Linux computers with hostnames x and y and I can
>network them with ethernet (both have ethernet cards)
>and with PLIP (of course, both have parallel ports and
>I managed to get the right cable for it a long time ago).
>I want to know whether I can use the ethernet and plip
>connections at the same time.

I imagine so, since I was able to use plip to access the internet via ppp
on my other machine.  You just need proper routing (and IP Masquerade if
accessing the internet).

>According to the IP protocol
>every interface must have a unique IP address, so I end
>up with two hostnames, with 2 IPs each. Is this legal?

Where did you here this?  I can dial fine into my machine at work and
access our LAN.  That machine uses the same IP for eth0 and local
address for ppp0.  What has to be unique is what you connect to.
Otherwise your machine would not know how to route anything.

Of course, Windows boxes are bassackwards and route based on interface IP
instead of network or gateway, so I imagine Windows machines would need a
unique IP for each interface.  It's the Windows way to be different.

>Can each PC have a second hostname? After all, I suspect,
>hostnames must be unique to the interface just like IP numbers(?)

Each IP should have a unique name.  Our factory has a list of all WAN IP's
in their /etc/hosts with generic names like DHCP1_ELGIN, and I copied that
to my Linux box, but our DHCP server on a different Netware box gave me a
hostename of UNKNOWN_1.  That doesn't stop me from adding my own alias
Elgin1 to address the machine from our LAN or samba with local /etc/hosts
or \windows\hosts entries.  It even connects to the internet fine which
has a different IP and hostname, but I haven't tried to use sendmail from
that box, because it may be confused about its identity.  I simply have
pine set up on one account using my ISP username, domain and mail server 
and another account set up for our company e-mail server.

>Thanks a lot.
>
>Neil Zanella
>[EMAIL PROTECTED]

-- 
David Efflandt    [EMAIL PROTECTED]
http://www.xnet.com/~efflandt/

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

From: "George M. Gallen" <[EMAIL PROTECTED]>
Subject: Setting up a telnet listing port
Date: Sun, 14 Feb 1999 00:04:02 -0500

Problem:
When sending a remote print job via a SLIP connection
it can take up to 15-20 mins (for a large print job)
just to transmit the job (over modems - analog lines).
During that time, the print sits idle.

I want to have the printer start printing as soon as
it gets data. Since there is no preprocessing needed,
this would have no effect on the job or the printer.

Solution Suggested:
Establish a TCP connection and send the job that way
instead of using lpr. The other end already has
software setup just for this task, but right now it
sends the data to print servers (built in software).
that end would be no problem, since when I start the
tcp print daemon, I define the host and port on the
command line.

New Problem:
How do I setup a telnet listening port under linux? (2.0.30)
Basically, I want to send all data from the port to a file
(which in this case would be the printer).

I don't have a clue where to begin. Do I need to write
a program for this? or can I define a port in my /services
file and use inetd?


Thanks
George Gallen
[EMAIL PROTECTED]


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

From: "Kurt C. Anderson" <[EMAIL PROTECTED]>
Subject: setting user passwords
Date: Sat, 13 Feb 1999 23:05:28 -0600

as a linux/samba admin newbie, i would like to force all users (win95
clients) to change password on initial logon, set epire dates, etc. or maybe
an automatic password generator, my imagination is waning.   is there a
straight forward method for this.  i would prefer a non-programmer method
(or simple script), if possible.  i am using redhat 5.2

Kurt C. Anderson
[EMAIL PROTECTED]



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

From: [EMAIL PROTECTED]
Crossposted-To: alt.solaris.x86,comp.dcom.modems.cable,sdnet.cablemodems
Subject: Re: Networking/Cable Modem
Date: Sun, 31 Jan 1999 06:55:45 GMT

Check out these links for some info to help you.

========
here are addresses: for documents:
http://www.multiweb.nl/~elkroeske.knor/networks.htm
http://www.aventail.com/index.phtml/support/wingate.phtml
http://www.geocities.com/SiliconValley/Haven/6446/network.html
=====

On Sun, 31 Jan 1999 00:40:02 -0500, "Steven D. Nakhla"
<[EMAIL PROTECTED]> wrote:

>I am interested in getting a cable modem internet connection through the
>local cable provider here in Baltimore, Comcast.  However, there is more
>than one computer in the house, and if we want all of them to be wired to
>the cable modem, we need to setup a network.  Here is my question:  What all
>is involved in that?  I'm a computer science major, so I've got a pretty
>decent understanding of the concpets, and all, but I've never setup a
>network.   Here is what I *think* is involved, please tell me if I'm right
>or way off:
>
>We buy a hub which hooks into the cable modem.  The modem acts sort of as a
>"server", to which each of the computers is connected as clients.  Network
>cards (ethernet I believe) run into the hub connecting each of the
>computers.
>
>Is this right?  Has anyone had experience with this type of connection who
>could lend me a hand with it?  Instructions?  Hardware/Software
>reccomendations?  Any help you can give would be REALLY appreciated!
>
>Also, I'm running Windows 98, Linux, and Solaris on my computer.  Can I use
>the cable modem connection with Linux and Solaris?
>
>please reply to:
>Steve Nakhla
>[EMAIL PROTECTED]
>
>

Steven S. Palmer
([EMAIL PROTECTED])
http://www.geocities.com/HotSprings/Spa/4001/
http://www.primenet.com/~ssp/
http://members.tripod.com/~stevenscott/

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: redhat/win95 network set up
Date: 14 Feb 1999 05:12:45 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 8 Feb 1999 15:08:47 -0800, Ron <[EMAIL PROTECTED]> wrote:
>Im new to networking. Im trying to set up a peer to peer network between a
>Redhat 5.2 system and a win95 system. The network cards are installed and
>appear to be working(each system is able to ping itself, however they cant
>ping each other) I think the problem lies in the net configuration of the
>Domain name. How do you determine (or set) the Domain name for win95 and the
>Linux? I cant find any reference on the domain name of the win95 system.
>
>for the win95 I have
>computer name: winaaa
>workgroup: one
>description: office
>
>for Redhat I have
>host: linaaa.local.com
>domain: local.com
>
>any direction would be appreciated.

If the network cards are set up properly, you should be able to ping each
other by IP.  Otherwise something is wrong with you network card set up or
cabling.  Do you have a hub or crossover cable?

In order to ping each other by name you would need the name for the Linux
IP in \windows\hosts and for the Windows IP in /etc/hosts.

-- 
David Efflandt    [EMAIL PROTECTED]
http://www.xnet.com/~efflandt/

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Redhat 5.1 as a router
Date: 14 Feb 1999 05:20:03 GMT
Reply-To: [EMAIL PROTECTED]

On Fri, 12 Feb 1999 22:24:26 -0800, advpcsol <bilbla[remove]@primenet.com>
wrote:
>I'm trying to configure a Redhat box as a simple router in a two subnet
>network. I have two 3C509's on eth0 and eth1 respectively. Both cards are
>loading and active. I checked 'Network Packet Forwarding (IPV4)' in the
>Network config. Eth0's address is 192.168.1.1 and eth1's is 192.168.2.1.
>Form a workstation on the 192.168.2 network, I can ping both interfaces, but
>on a workstation on the 192.168.1 network I can only ping the default
>gateway (192.168.1.1). In both cases, I can't ping past the router, i.e., I
>can't ping a workstation on 192.168.1.x from 192.168.2.x. Adding static
>routes at the workstation allows me to ping everything, but I don't think it
>should work like this. Also why was I able to ping both interfaces on the
>router from one subnet and only the nearest interface from the other?
>Any insight would be appreciated.

Make sure that the router does not have any default route (except to the
internet with pppd).  It should have -net routing.  Make sure that the
other machines on each LAN point to the router as default gateway.


-- 
David Efflandt    [EMAIL PROTECTED]
http://www.xnet.com/~efflandt/

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

From: [EMAIL PROTECTED]
Subject: Re: Gateway Configuration
Date: Sun, 07 Feb 1999 08:20:22 GMT

In article <79ig80$80g$[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:

> Your ISP has assigned your an IP address range of 192.168.0.40 - 47 ???

<snip>

Sorry - see my original post - these are just example IP's. My true IP's are
internet compliant!

Steve.

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

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

From: [EMAIL PROTECTED] (Arthur Corliss)
Subject: IP accounting on aliased IPs
Reply-To: [EMAIL PROTECTED]
Date: 12 Feb 1999 13:29:11 -0900


Greetings:

A quick question for you folks:  I've been trying to set up some IP accounting
rules on my server, but am having little luck on IPs that are aliased.  The
primary host IP counters operate fine, but not the others.

Didn't see any references to aliased IPs in the man pages, is there something
I'm missing?

        --Arthur Corliss
          Bolverk's Lair -- http://www.odinicfoundation.org/arthur/
          "Live Free or Die, the Only Way to Live" -- NH State Motto

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

From: [EMAIL PROTECTED] (Clifford Kite)
Subject: Re: PPP problems under 2.2.1
Date: 12 Feb 1999 16:02:36 -0600

Christian Bienia ([EMAIL PROTECTED]) wrote:

: I've found another possibility to solve this - specify an asyncmap (e.g.
: 'asyncmap 0'). It doesn't matter what characters you tell pppd to
: escape, as long as you use the asyncmap-option.

: The connection works fine now even with hardware flow control.

: Hey Cliff, you now have another trick! ;-)

Well, I knew about asyncmap already. :) But now I do have a new symptom
which is indicative of an ACCM (Asyncronous Control Character Map)
problem.

An ACCM problem usually it has fcs errors associated with it or there is
a problem with IPCP negotiations that is apparent.  The problem is often
caused by an ISP with a slightly broken PPP implementation that does
not use the default PPP ACCM (ffffffff) when none is requested.

Thanks for the new symptom to add to the collection.

P.S. - I still don't understand how you could use copies of your friend's
pppd configuration files, which worked for him, and not have them work
for you to make a good connection to his ISP. :-|

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

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Serial to TCP
Date: 14 Feb 1999 05:31:04 GMT
Reply-To: [EMAIL PROTECTED]

On Fri, 12 Feb 1999 13:09:47 GMT, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>Is there a way to redirect a Serial COM port
>to a TCP port? I want to telnet to the COM port
>of one machine from another location. Is this possible?
>Any help would be appreciated. Thanx
>
>SFalcon

See the Serial HOWTO, usually under /usr/doc/.

-- 
David Efflandt    [EMAIL PROTECTED]
http://www.xnet.com/~efflandt/

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Setting eth0 and default routing for RH5.1
Date: 14 Feb 1999 05:33:30 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 13 Feb 1999 13:53:23 -0000, tf49665 <[EMAIL PROTECTED]> wrote:
>Does anyone know where (which startup files) to put my eth0 setting and
>default routing upon startup?  I'm running redhat 5.1.

There is a nettool in X for that.  Not sure if RH5.1 has linuxconf to do
that from the console.  Do not set a default route if you plan on using
ppp.  Instead use -net routing.

>I have to manually set eth0.  The following settings work after I login to
>Linux, but I don;t know where the startup files are for these commands.  My
>settings are :
>
>insmod 8390
>insmod ne io=0x2a0 irq=11
>ifconfig eth0 ???.???.???.???
>
>route add default gw ???.???.???.???
>
>Thanks and please email me directly in response.
>
>Tom
>
>
>
>
>


-- 
David Efflandt    [EMAIL PROTECTED]
http://www.xnet.com/~efflandt/

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

From: "tonni" <[EMAIL PROTECTED]>
Subject: nutts with samba 
Date: Sun, 14 Feb 1999 05:32:17 GMT

i have nt server domain name intrex i have 5 nt wkst i want to see the linux
as a share my my network
i use ip masq with cable modem my winows boxes use gateway 192.168.101.1 ip
folows 2/3/4/55/6
is is possible can some just copy and paste a configured smb.conf  for a
ideia how to set this thanx



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

From: Ben Cooper <[EMAIL PROTECTED]>
Subject: RH 5.1 using /etc/resolv.conf?
Date: Sat, 13 Feb 1999 23:55:46 -0500

I'm getting "unknown host" error messages with ping, so I had to set
SOCKS_NS to get Netscape to resolve domain names.  /etc/nsswitch has
"file" first for "hosts", which I assume is right.  And I have a good
nameserver IP in /etc/resolve.conf.

It looks like BIND isn't using /etc/resolv.conf.  If not, what could it
be using?  Netscape is 90% of my resolution needs, but I want ftp to
work too.


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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.misc,alt.linux,comp.os.linux.setup
Subject: Win95 + Linux Dual Installation Possible?
Date: Fri, 12 Feb 1999 23:24:06 GMT

Hi all,

I am currently using Win95 and want to install Linux too. Instead of
installing both Linux and W95 on the same HDD, I intend to get another HDD
and install Linux on one HDD (secondary master) and Win95 on the other
(primary master).

1) How should I go about doing this? Where should LILO be installed? Would it
be possible to get prompted as to which OS to boot? There is a messy option
of disenabling one of the HDD in CMOS which I would rather avoid.

2) I also intend to install APACHE Web server on Linux HDD. Would it be
possible to do a client-server setup, using just two HDDs', so that I can run
CGI scripts on the Web server and have the results displayed while running
Win 95? Is there any inexpensive way to do this?

Thanks for any suggestions and help.

BOB

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

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

From: Jan Brittenson <[EMAIL PROTECTED]>
Subject: 2.0.33 kernel bridge problems?
Date: 12 Feb 1999 15:47:19 PST

I was wondering if anyone else has experimented with the 802.3 bridge in
the 2.0.33 kernel.  I'm using it on my firewall (hacked to packet filter
traffic in the bridge).  When I set it up I ran into problems with more
3 ethernet adapters.  In particular, only two ports would ever work, the
third one was dead.  All three would work until I used brcfg to enable
the bridge, after that it was random which one would drop out.

Anyway, it was not a big deal and I revised the design to use only two
ports.  I wanted internal, upstream, external; ended up with internal,
upstream and compromised security to enable a few inbound services. 
It's
been up for about 8 months now, and makes an excellent (completely
transparent, no visible private net addresses) DSL firewall.

Does anyone know if this is a known bridge problem that has been
resolved?

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

From: Ralph E Wagner <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Need driver for SMC Elite16 Ethernet Card
Date: Sun, 14 Feb 1999 04:57:02 GMT

Just installed RedHat5.2, but it doesn't recognize my SMC Elite16 NIC.
Does
anyone out there know of a driver for this or some way to get RH to
detect it?

Ralph E Wagner


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

From: "Steve D. Perkins" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,alt.linux,comp.os.linux.setup
Subject: Re: Win95 + Linux Dual Installation Possible?
Date: Fri, 12 Feb 1999 23:50:11 +0000

> 1) How should I go about doing this? Where should LILO be installed? Would it
> be possible to get prompted as to which OS to boot? There is a messy option
> of disenabling one of the HDD in CMOS which I would rather avoid.

    Hmm... there are nicer and more powerful options you can explore by using
third-part boot manager software, but for LILO-only you would install LILO on
the Master Boot Record of the first hard drive (primary-master).  During setup
for RedHat (and most other distributions I assume) the installation program
allows you to neatly set up what all operating systems you want to dual boot to.

> 2) I also intend to install APACHE Web server on Linux HDD. Would it be
> possible to do a client-server setup, using just two HDDs', so that I can run
> CGI scripts on the Web server and have the results displayed while running
> Win 95? Is there any inexpensive way to do this?

    Maybe I'm misunderstanding your question... but it sounds like you're
basically wanting the capacity to connect to active Linux programs within active
Windows programs.  This can't be done!  Dual-booting means that you're computer
has the capability of running one or more different operating systems, but you
have to choose one at a time... no force of nature or act of God is going to
allow one processor to run both Linux and Win95 simultaneously.  If this is some
work you're wanting to get into, you might want to consider getting a cheap or
used second computer and hooking them up with network cable... to have a Windows
and Linux mini-network in your home.

Steve



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


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