Linux-Networking Digest #625, Volume #11         Tue, 22 Jun 99 15:13:49 EDT

Contents:
  xDSL Modem - How do I test the speed? (Michel Harding)
  Re: SuSE Linux 6.1 & PPPIOCGUNIT Operation not permitted (M. Buchenrieder)
  Re: LinNeighborhood and needed libraries ([EMAIL PROTECTED])
  Re: Using MS VPN Clients Behind IP Masquerade ("John Hardin")
  Re: Help! Cannot use the gateway (another linux) (Phil DeBecker)
  Re: where is "always defragment"? (John Hovell)
  mgety autoppp problem when ppp client is linux ("Farhad Farzaneh")
  Re: Linux - Cable modem configuration (Frank Pineau)
  Setting up LAN/IP info (Jeffrey Scott)
  Re: Alias File and DNS question (Andrzej Filip)
  Two network cards under 2.2.x ([EMAIL PROTECTED])
  Alias File and DNS question (Shonne Beavers)
  Re: mgetty for dial-in blocks outgoing traffic ([EMAIL PROTECTED])
  Dynamically switching Ip address with a Linux Firewall ("Dan Reaka")
  Re: Two network cards under 2.2.x (Eric LEMAITRE)
  Re: Bay Networks Netgear Support (Jeffrey Bell)
  Network unreachable on startup only! (S P Arif Sahari Wibowo)
  Performanceproblem with Samba 2.04b and Win98! ("Friedrich Pilgram")

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

From: Michel Harding <[EMAIL PROTECTED]>
Subject: xDSL Modem - How do I test the speed?
Date: Tue, 22 Jun 1999 14:01:26 -0400

I've just installed a xDSL Modem from Bell-Sympatico (Quebec, Canada)
and I'm not too impressed with the speed yet. I'd like to test the speed
and see if it's my perception, or if there is something I can do about
it.

Any ideas or commands I could use to benchmark the speed?


Thanks.

Mike Harding



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

Crossposted-To: uk.comp.os.linux,comp.os.linux.setup
From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: SuSE Linux 6.1 & PPPIOCGUNIT Operation not permitted
Date: Tue, 22 Jun 1999 15:49:39 GMT

[EMAIL PROTECTED] writes:

>AH ha
>That is because I reconfigured the system in the style of my Slackware
>distribution.

>I set the /etc/hosts

>127.0.0.1 localhost
>193.237.75.1 xenonsoft
^^^^^

Looks good.

[...]

>I think this is the problem, right ? 

No. See below:

[...]

>Here is my `ppp-on' script.

>#!/bin/sh
>#

[...]

>LOCAL_IP=192.237.75.1
          ^^^

[...]

Now which one is it ? 

Michael
-- 
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
          Lumber Cartel Unit #456 (TINLC) & Official Netscum
    Note: If you want me to send you email, don't munge your address.

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

From: [EMAIL PROTECTED]
Subject: Re: LinNeighborhood and needed libraries
Date: Tue, 22 Jun 1999 17:25:54 GMT

I don't think the last message went through.  But if you now have two -
oh well.  When I need other dependant files, I can usually find them in
an RPM at http://rufus.w3.org .  Good luck!


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

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

From: "John Hardin" <[EMAIL PROTECTED]>
Subject: Re: Using MS VPN Clients Behind IP Masquerade
Date: Tue, 22 Jun 1999 09:55:08 -0700

Andreas Krogh wrote in message ...
>"Steve Spar" <[EMAIL PROTECTED]> writes:
>
>> I have a Linux box dialed in to the Interent, running IP Masquerade
which I
>> use to allow multiple MS (98/NT) boxes to be on the Internet at once.
>>
>> I want to use the MS boxes with the MS PTPTP to connec tto a VPN over
the
>> Net.
>>
>> Can anybody tell me how to do this?
>
>I run linux-2.0.37 with pptp-masq to masquerade a VPN server (NT-4.0)
>and it works like a charm:-). I have never tried it the other way
>around - masquerading clients, but according to the doc's this is what
>you do:
>
>First: you need Windows NT and _not_ windows9x to run VPN-clients
>through a firewall because win9x can't forward ip traffic then chech
>the "enable ip-forwarding" chechbox in Network Neighbourhood.


Erm, not quite. You can easily run W'98 clients, but *each one* will have
to have the PPTP client software installed and *each one* will have to
establish its own private connection to the PPTP server.

You only need an NT client if you want to design your network such that the
PPTP link is treated as a network-to-network routed link (like a leased
Frame Relay line, for example) rather than setting up a handful of PPTP
"dial up the remote network as if it was a PPP ISP" links, one for each
local system that needs access to the remote network.

This, of course, does not imply that NT clients won't work. You can use
either or both, but if you want network-to-network connectivity over a
single PPTP connection, W'9x won't let you do that.

>Second: download the 2.0.37 kernel and compile it with pptp


There are also patches for 2.0.36 and 2.2.x available.

>masquerading enabled _and_ pptp callerID! You must enable pptp
>callerID for the kernel to tell the clients apart. After compiling
>your newly configured kernel, reboot - and voala(hopefully) you're
>rocking!


CallID masq is needed if you're masquerading multiple clients. If you're
only masquerading one PPTP client, it isn't necessary.

>Email me if you encounter any problems or just to tell me about your
>success/failiure...


You may also want to visit the Linux VPN Masq home page at
ftp://ftp.rubyriver.com/pub/jhardin/masquerade/ip_masq_vpn.html - there's
lots of info and a HOWTO.

Best of luck!

--
 John Hardin KA7OHZ                               [EMAIL PROTECTED]
 pgpk -a finger://gonzo.wolfenet.com/jhardin    PGP key ID: 0x41EA94F5
 PGP key fingerprint: A3 0C 5B C2 EF 0D 2C E5  E9 BF C8 33 A7 A9 CE 76
=======================================================================
  In the Lion
  the Mighty Lion
  the Zebra sleeps tonight...
  Dee de-ee-ee-ee-ee de de de we um umma way!





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

Date: Tue, 22 Jun 1999 14:32:36 -0400
From: Phil DeBecker <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.install
Subject: Re: Help! Cannot use the gateway (another linux)

S P Arif Sahari Wibowo wrote:

> On Wed, 16 Jun 1999, DanH wrote:
>
> >> >Put these two lines in your /etc/sysconfig/network file:
> >> >
> >> >GATEWAY=192.168.1.x (whatever your gateway device's IP is)
> >> >GATEWAYDEV=eth0
> >> >
> >> It was there, but the routing still was not set.
> >
> >How about trying these at the command line (change the IPs to suit):
> >
> >/sbin/ifconfig eth0 192.168.1.2 netmask 255.255.255.0 broadcast
> >192.168.1.255
> >/sbin/route add default gw 192.168.1.1
>
> Actually these commands have been working fine. The problem is these have
> to be done manually upon restart. I just wondering where will be the good
> place to put it so it will be executed on start up.
>
> Thank you.
>

If you have to do the ifconfig eth0 ...  command, it sounds almost as if
your /etc/sysconfig/network-scripts/ifcfg-eth0  file isn't right.  Mine
looks like:

DEVICE=eth0
USERCTL=no
ONBOOT=yes
BOOTPROTO=none
BROADCAST=192.168.1.255
NETWORK=192.168.1.0
NETMASK=255.255.255.0
IPADDR=192.168.1.148

and my /etc/sysconfig/network file looks like:

NETWORKING=yes
FORWARD_IPV4=no
HOSTNAME=hostname
GATEWAYDEV=eth0
GATEWAY=192.168.1.30

You can test that these will work at boot time, without actually rebooting,
by doing

/etc/rc.d/init.d/network stop ; /etc/rc.d/init.d/network start

ifconfig should show the interfaces, route should show the routes, and the
whole thing should work.

Hope this helps

Phil


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

From: John Hovell <[EMAIL PROTECTED]>
Subject: Re: where is "always defragment"?
Date: Tue, 22 Jun 1999 17:45:05 GMT

Scott --

I think that may be a typo.  I just looked myself, and can't find that I have it
selected, and IP masquerading works fine on my box.

I think it may be included under some other option in 2.2.x.

Good luck,
John

Scott MacDonald wrote:

> Hey,
>
> I'm rebuilding my kernel for masquarading, and the how-to says for the 2.2.x
> series kernels that you need "always defragment". I know it was there in the
> 2.0.x series kernels, but I can't seem to find it anywhere now? Am i blind?
>
> thanks
>
> scott


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

From: "Farhad Farzaneh" <[EMAIL PROTECTED]>
Subject: mgety autoppp problem when ppp client is linux
Date: Tue, 22 Jun 1999 10:56:13 -0700

I have setup mgetty  so that it launches PPP when someone calls in via the
AutoPPP command.  This works well for both mac and windows systems, but it
doesn't work with a linux client.  The log seems to indicate that the call
is just a simple serial call, that is, it launches the login program rather
than AutoPPP.  What is there in the PPP startup that makes mgetty run
AutoPPP and what can the linux clients do to do the same thing?

If the answer to this is already in some obscure thread of some list, I
apologize but my searches of the redhat knowledgebase and deja.com, as well
as altavista's search have not yielded anything of interest.

Thanks

Farhad

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

From: [EMAIL PROTECTED] (Frank Pineau)
Subject: Re: Linux - Cable modem configuration
Date: Tue, 22 Jun 1999 13:20:47 -0400
Reply-To: [EMAIL PROTECTED] (Frank Pineau)

I had the exact same setup, also with Comcast @home.  My only solution was
to disable DHCP on the Linux box altogether and use the settings that it
would have obtained from the DHCP server.  Remember that you can't choose
your own hostname with this setup since it seems to key the hostname and
the IP address together.  I notice that all of the IP addresses you listed
were non-routable addresses.  Remember that at least one interface (the
outside one) needs to have the valid IP address that @Home grants you
(normallay via DHCP).

Also, are you trying to do NAT with any of the configurations or are you
just doing three separate nodes?  My motorola box was mis-provisioned and
would only support two IP addresses.  It took me several phone calls to
@Home support to get them to re-provision the modem.

Lastly,  remember that @Home's annoying AUP forbids running servers of any
kind on your cable modem.  Just a warning.

FP

On Tue, 22 Jun 1999 11:18:54 -0400, [EMAIL PROTECTED] (Geets) typed this with
two fingers:

>Hi.  I am currently up and running with a Motorola cable modem (provided 
>by Comcast using @home service) attached to an ethernet hub and then out 
>to 2 PC's, one WinNT Server, the other Win98,  In the interest of not 
>leaving well enough alone (and for other not nearly as important reasons, 
>like getting fired if I don't), I need to use a third PC running Red Hat 
>5.2 as an internet server.  
>
>Before I network the three machines, I thought I'd attach the cable modem 
>directly to the linux box, and get that connection working.  No luck so 
>far.  I think I'm doing something stupid, so if you will humor me a bit 
>I'll describe how I'm correctly configured on the Win NT box, and how I'm 
>incorrectly configured on the Linux.
>
>WinNT:
>
>TCP/IP Properties:I
>IP Address tab:  "Obtain an IP address from a DHCP server" is checked.  
>Also on the "Advanced" button --> "DHCP enabled" is checked.
>
>DNS tab:  Host bame:  cc262221-a
>
>WINS Address tab:  "Enable LMHOSTS Lookup" checked
>
>DHCP relay tab:  Seconds threshold:  4; Maximum hops: 4
>
>Routing tab:  "Enable IP forwarding" is checked
>
>And that's pretty much all there is
>
>----------------
>Linux:
>
>For the Linux machine, in control panel I'm configured as follows:
>
>Names tab:
>
>Hostname:   localhost
>Domain:     localhost.localdomain
>
>
>Hosts tab:
>
>IP address      Name            Nicknames:
>127.0.0.1       cc262221-a      Linux
>192.168.0.4     PIII-1          WinNT Box
>192.168.0.9     PII-1           Win98 Box
>127.0.0.1       cc262221-a      Linux
>192.168.0.7     foo.bar.com     LinuxBox foo
>
>Note, on the above I was not able to configure the first 127.0.0.1 IP 
>address to use localhost as its name.  Nor was I able to leave the second 
>127.0.0.1 IP address blank (DHCP protocol is enabled in the Broadcast 
>tab.  I tried to leave the IP address blank so my ISP could provide one 
>dynamically, but linux won't let me)
>
>
>Interfaces Tab:
>
>         IP          proto        at boot      active:
>lo       127.0.0.1   none         yes          active
>ppp0                 none         no           inactive
>eth0                 dhcp         yes          inactive
>
>When I press "Edit" button for eth0, I get:
>IP:        field is blank
>Netmask:   field is blank
>Network:   192.168.0.0
>Broadcast: 192.168.0.255 
>"activate interface at boot time" is checked
>Interface configuration protocol:  DHCP
>
>Also, when I run ifconfig I'm informed that only lo is running, even 
>after setting eth0 to active and at boot.  In fact, when I save and close 
>control panel, and re-open it, eth0 is listed as inactive again. 
>
>
>
>So, there you have it.  Any kind soul willing to help will be the 
>beneficiary of my good wishes.  Thanks.
>
>Vince
>
>PS email to   [EMAIL PROTECTED]     but remove those "XXX's" 
>first.
>


-- 
<*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*>
Frank Pineau  ------------>

        [EMAIL PROTECTED]
   http://bbs.industrynet.net/html/pineaus/

Use your powers for good, not for evil.  Well, you
can use them for evil if you want, but it voids
your warranty.
<*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*>
PGP Public Key:
http://bbs.industrynet.net/html/pineaus/fpineau.asc

No mail from web-based mail systems such as Hotmail
or Yahoo will be accepted.

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

From: Jeffrey Scott <[EMAIL PROTECTED]>
Subject: Setting up LAN/IP info
Date: Tue, 22 Jun 1999 12:44:21 -0500

Hi all,

Linux newbie.  Recently installed Redhat 6.0.   Ethernet card is now
working thanks to latest tulip driver (the one shipped with 6.0 didn't
work).  Can anybody point me to a HOWTO or URL that gives specific
examples on setting up a simple LAN.  In other words, what files need to
be created, modified, etc to give a linux box it's IP, netmask,  and
other necessary networking info.  The Ethernet_HOWTO doesn't quite do it
for me.   I haven't been able to get my linux box to talk to my bill
gates laptop.  I did build a cable (swapped the TX/RX lines).  The
little green LEDs flicker, but no PINGing, FTPing, TELNETing works.

Thanks,

Jeff
[EMAIL PROTECTED]


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

From: Andrzej Filip <[EMAIL PROTECTED]>
Subject: Re: Alias File and DNS question
Date: Tue, 22 Jun 1999 20:39:39 +0200

Shonne Beavers wrote:

> I am running SuSE 6.1 as my DNS server.  All is fine except, I need to
> figure out a way to all email at another server.  Example (for example
> purpose only), my DNS is at shonne.org, but I need my email sent to
> mail.shonne.org.  The mail addresses are [EMAIL PROTECTED]  Do I have
> to make an alias file which includes all email addresses.

If you want resent all mails your sendmail gets for [EMAIL PROTECTED]
to [EMAIL PROTECTED] than use FEATURE(`mailertable') with
the following virtusertable entry:

@shonne.com    [EMAIL PROTECTED]

In case you need more info:
http://www.sendmail.org/faq/section3.html#3.7
Q3.7 -- How do I manage several (virtual) domains?
This question is answered in detail at the Virtual Hosting page.
[  http://www.sendmail.org/virtual-hosting.html  ]

--
Andrzej (Andrew) A. Filip                        fax: +1(801)327-6278
mailto:[EMAIL PROTECTED]                  http://www.bigfoot.com/~anfi
Postings: http://www.deja.com/profile.xp?author=Andrzej%20Filip&ST=PS



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

From: [EMAIL PROTECTED]
Subject: Two network cards under 2.2.x
Date: Tue, 22 Jun 1999 17:45:29 GMT

We loaded RH6.0 into our training room over the weekend.
Most everything went well, except that we couldn't get both network
cards in the instructor machine to work.  The first thing we tried
was to change /etc/conf.modules to include:

alias eth0 eepro
alias eth1 eepro
options eepro io=0x300,0x240

This is how we did it in RH5.2 and it's what the ethernet-howto
that comes with RH6.0 says to do.  Unfortunately, it doesn't
work in RH6.0.  The system can't successfully bring up eth1.

So I went back to the ethernet-howto and tried some other
suggestions, such as adding irq's to the options line
or giving each alias its own -o option line, all without
success.  We never got eth1 up, and we sometimes lost eth0.
(And occassionally the computer froze up on us.)

I was willing to suspect that the second card was bad, except
that it was working fine last week under NT.

Has anyone successfully brought up two network cards under
RH6.0 (or under any Linux 2.2.x, for that matter)?.  What
did you have to do to get do it?

Ali


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

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

From: Shonne Beavers <[EMAIL PROTECTED]>
Subject: Alias File and DNS question
Date: Tue, 22 Jun 1999 17:45:43 GMT

I am running SuSE 6.1 as my DNS server.  All is fine except, I need to
figure out a way to all email at another server.  Example (for example
purpose only), my DNS is at shonne.org, but I need my email sent to
mail.shonne.org.  The mail addresses are [EMAIL PROTECTED]  Do I have
to make an alias file which includes all email addresses.

Any help will be greatly appreciated.

--
Yes, This is Linux Man!@!


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

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

From: [EMAIL PROTECTED]
Subject: Re: mgetty for dial-in blocks outgoing traffic
Date: Tue, 22 Jun 1999 15:41:50 GMT



> Your programs must agree
> on the location and type of the lockfiles created. <

How do I do this?

>Add the "lock"
> option to the pppd invocation.
The ppp/options file has a "lock" entry but it still won't work.

More info:

The Red hat modem config tool makes a soft link from /dev/modem to
/dev/cua3, I changed this to point to ttyS3 instead.
I can still dial-in OK using mgetty, but dialing out using ifup ppp0
behaves sporadically. Sometimes it doesn't work at all. Others, it dials
up but fails to connect and then drops the line after about 10 seconds.

ttyS3 Log messages:
Some are like this:

waiting for RING
timeout in chat script
Uh? Junk on the line

Others mention:

lock not made: lock file exists

Any ideas?

Michael


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

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

From: "Dan Reaka" <[EMAIL PROTECTED]>
Subject: Dynamically switching Ip address with a Linux Firewall
Date: Tue, 22 Jun 1999 13:33:53 -0500

I have Linux set up as a filtering firewall. I am using kernel 2.0.34 with
ipportfw and ipfwadm. The machine has 2 network cards on it one on public
ip, and the other on a private ip. Our webserver is sitting behind the
firewall on a private ip. I would like to set up a second webserver as a
backup machine in the event that our primary webserver goes down. The second
webserver would be on a different private ip. I would lik the firewall to
monitor the primary webserver (ping it at some set increment) and in the
event that the primary is unreachabe I would like to have the firewall rules
change to redirect port 80 to the backup server. Is there someone who has
done this or a feature built into the kernel that allows this functionality.
Any help would be greatly appreciated.

Thanks Dan



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

From: Eric LEMAITRE <[EMAIL PROTECTED]>
Subject: Re: Two network cards under 2.2.x
Date: Tue, 22 Jun 1999 20:37:12 +0200

[EMAIL PROTECTED] a �crit :

> We loaded RH6.0 into our training room over the weekend.
> Most everything went well, except that we couldn't get both network
> cards in the instructor machine to work.  The first thing we tried
> was to change /etc/conf.modules to include:
>
> alias eth0 eepro
> alias eth1 eepro
> options eepro io=0x300,0x240

Hi !

What about the interruption ? have you looked at "dmesg" and
"/var/log/messages" where you can see NIC awakening attempts ?
You should add "irq=9,10" by eample in "/etc/conf.modules" after
"options eepro io=0x300,0x240" line, I believe.

Bye !

--
Responsable de formation pour les fili�res Internet et Linux



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

From: Jeffrey Bell <[EMAIL PROTECTED]>
Subject: Re: Bay Networks Netgear Support
Date: Tue, 22 Jun 1999 12:30:12 -0600
Reply-To: [EMAIL PROTECTED]

Bill,

It will work, I have the smae card in a i486 working fine. I configired
the kernel (2.0.35) with NE2000 campatable card.



Bill deKoning wrote:

> Hello,
>
> I have recently purchased a Netgear EA201 ISA 10baseT network interface
> card. The manual says that it supports Unix and most operating systems
> that support packet drivers, but i cant find the damned drivers for the
> card. If anyone could help me please email me at: [EMAIL PROTECTED]
>
> Thank you,
>
> DeadwoK

--
Jeffrey A. Bell         icq # 41684113
   -------------------------------------------------------------------------

 Research is what I'm doing when I don't know what I'm doing.
                        -- Wernher von Braun --





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

From: S P Arif Sahari Wibowo <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.install
Subject: Network unreachable on startup only!
Date: Tue, 22 Jun 1999 11:48:50 -0500

Hi!

On startup, several commands involving routing gives this error:

SIOCADDRT: Network is unreachable

However, after the startup process over and I login as root, I can
manually do all the routing command without error.

Any idea why?

Thanks.

                                   S P Arif Sahari Wibowo
  _____  _____  _____  _____ 
 /____  /____/ /____/ /____           [EMAIL PROTECTED]
_____/ /      /    / _____/          http://spas.8m.com/


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

From: "Friedrich Pilgram" <[EMAIL PROTECTED]>
Subject: Performanceproblem with Samba 2.04b and Win98!
Date: 21 Jun 1999 06:19:17 GMT

Hi folks,

I've spend the whole weekend with reading FAQs and stuff about Samba. Now
my question.

I have a Windows 98 Client connecting via 100 BaseT Network to a Linux
Server running Samba 2.0.4b on a kernel 2.2.9. The Ethernetcards are a 3com
3c905b in the Windows 98 client and a Realtek 8139 in the Linux Box.

The Network is running fine, in one direction. When I upload things, but
when I start a download from the 98 client I get a throuphput of only 64
kBit/s.

The Networkinterfaces in my system are 
eth0    NE2000 komp. 10Base5
eth1    RealTEK 8139  100BaseT
ippp0   AVM Fritz!

The Linuxbox is a Pentium 133 with 64 MB of RAM and SCSI Disks. The Windows
98 Client is a Celeron 333 (overclocked 416 MHz) with 128 MB RAM.
-- I even tryed to run the System at 333 MHz and it still won't work. --

HELP!!!

Ciao
...Bj�rn

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


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