Linux-Networking Digest #308, Volume #10         Fri, 26 Feb 99 03:13:56 EST

Contents:
  DTMF authentication for ISDN router ([EMAIL PROTECTED])
  Bringing up the PPP link via Masquerading (Brian Marriage)
  Intel EtherExpress 16, Kernel 2.x Woes (Ken Cormack)
  Re: ipfwadm: setsockopt: Protocol not available (David Griswold)
  Re: ISDN T/A - going to be the death of me (Erik Hensema)
  mountd: unable to register (Grey Boy)
  Masquerading incoming Telnet through my firewall (David Akins)
  Re: smbmount won't work ("Andreas Westling")
  IIS 4 behind Linux Firewall? (Derek Ealy)
  Re: ipfw gui? (fgonnet%INFOLAN)
  Re: IP to WWW address (Mike Jagdis)
  Ping problem?  bizarre... not sure (adam hull)
  Re: rlogin vs. telnet (Tom Holub)
  Re: Unresolved Symbols when using tulip driver. (Jeff Seawell)
  Mobile IP home page whereabouts ([EMAIL PROTECTED])
  Re: How do I set up a dhcp Server?? ("Al @Work")

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

From: [EMAIL PROTECTED]
Subject: DTMF authentication for ISDN router
Date: Wed, 24 Feb 1999 06:16:08 GMT

Here's the situation.

I have a small LAN, and a number of static IP addresses provided by my

ISP. (mask 255.255.255.240)

A linux box (486, RH5.1, kernal 2.2.1) acts as a dial on demand router

for my LAN, using the "demand" option with pppd. The ISDN connection is

made whenever I

This works fine when I'm sitting at my desk at home. But suppose I want

to access my LAN from work, without using a modem, i.e. using my

company LAN. In this case the link from my home LAN is down, and I

cannot bring it up from work.

I do not want to dial up my LAN using a modem to switch on the LAN, bu

rather make a simple voice call to the router using a regular analog

phone and analog modem connected to the serial port. I want the router

to ask for authentication, which would be provided in the form of a PIN

number using DTMF tones. On authentication, the router would run a

script to bring up the ISDN link and expose my LAN to the Internet.

Does anybody know of some code to run the authentication software? The

principle seems the same as running voice mail software on a PC, or a

fax on demand service.

Cheers

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

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

From: Brian Marriage <[EMAIL PROTECTED]>
Subject: Bringing up the PPP link via Masquerading
Date: Wed, 24 Feb 1999 15:56:59 +0000
Reply-To: [EMAIL PROTECTED]

I've got a small network of Win95 machines connected to our new 
Linux server box. It all seems to (mostly) work, but I've a 
couple of problems relating to PPP/diald.

Within the Linux box I can initiate an on-demand dialup with 
ping/finger/Netscape etc. Once the link is up, all the machines 
on the network can reach Internet courtesy of masquerading. 

What *doesn't* happen is that generating internet traffic on any 
machine on the LAN does not trigger the dial-up to occur. I'm 
wondering if this is to do with permissions? Any ideas?

Secondly, the syslogs report complaints by pppd, even though the 
link seems to work perfectly. Any ideas on this one:

pppd[798]: sent [IPCP ConfReq id=0x1 <addr 194.222.68.214> 
<compress VJ 0f 01>]
pppd[798]: sent [IPXCP ConfReq id=0x1 <network 0> <node 
0000c9aa3dda> <router proto 2> <complete>]
pppd[798]: rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 
158.152.1.222>]
pppd[798]: sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 
158.152.1.222>]
pppd[798]: rcvd [IPCP ConfAck id=0x1 <addr 194.222.68.214> 
<compress VJ 0f 01>]
pppd[798]: local  IP address 194.222.68.214
pppd[798]: remote IP address 158.152.1.222
pppd[798]: ppp not replacing existing default route to 
sl0[158.152.1.222]
pppd[798]: rcvd [LCP ProtRej id=0x3 80 2b 01 01 00 18 01 06 00 
00 00 00 02 08 00 00 c9 aa 3d da 04 04 00 02 06 02]
diald[117]: Closing down idle link.
diald[117]: Nonzero exit status (7) on command '/sbin/route add 
default gw 158.152.1.222 metric 2000 dev sl0'
pppd[798]: Terminating on signal 2.
pppd[798]: sent [LCP TermReq id=0x2]
pppd[798]: rcvd [LCP TermAck id=0x2]
pppd[798]: Connection terminated.
pppd[798]: Exit.

Thanks for any input

Regards
Brian Marriage
Eltek Ltd



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

From: [EMAIL PROTECTED] (Ken Cormack)
Subject: Intel EtherExpress 16, Kernel 2.x Woes
Date: Thu, 25 Feb 1999 13:15:03 GMT

Hi, all...

I have seen other similar posts regarding this problem, and thought
I'd add my two cents...

My card is an Intel EtherExpress 16.  Under all previous 2.0.x
kernels, as well as under Win95 and 98 this card has been totally
problem-free.

Howewer, since my update to the 2.2.x series kernels, I have
experienced the following messages.  Each time the messages appear
(usually only during heavy network traffic such as an FTP), the card
drops offline and I need to reboot to re-awaken it.

eth0: CU wedged, status 0240 0000, resetting...
eth0: i82586 reset timeout, kicking...
eth0: i82586 not responding, giving up.

In addition, I have seen this one more than once (although the system
seems to be able to keep going after this one...)

eth0: tx interupt but no status

The card is identified as follows by the driver...

Etherexpress 16 at 0x340 (IRQ 10, RJ45 connector, 16-bit bus, 64k RAM)

This problem has occurrred with each of the following 2.2.x kernels...

2.2.1 (official Linus release)
2.2.1 each of the Alan Cox releases
2.2.2 (official Linus release)
2.2.2 (so far ac1 and ac2)

Under all versions of the 2.0.x kernels that I tried (2.0.0 through
2.0.36) I never had this problem.  As well, as I said, "that other OS"
has no problems.

I cant believe this would be a hardware setup issue (IRQ/IO conflicts,
etc.) since it has worked flawlessly in the past.

As well, I no longer suspect my card just may be simply "going bad",
since everyone else using the same card has also seen the problem
appear when the switched to the 2.2.x series of kernels.

For those who will waste time asking, my system is a fully-loaded
Pentium 200 (non-MMX) with 128MB RAM, running RedHat 5.2 with all the
latest updates from updates.redhat.com installed (as well as all of
the "kernel-2.2 updates" available at the same site.

If anyone has any further info (or requires same from me) please let
me know.

Thanks, all... in advance.

Ken

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

From: David Griswold <[EMAIL PROTECTED]>
Subject: Re: ipfwadm: setsockopt: Protocol not available
Date: Fri, 26 Feb 1999 05:54:34 GMT

William,
        Check out these two Howto's.  They explain the process fairly well:

http://metalab.unc.edu/LDP/HOWTO/mini/IP-Masquerade.html 

or

http://metalab.unc.edu/LDP/HOWTO/Firewall-HOWTO.html

Good luck.  I just did this for the first time myself this week.  It's
not too hard.

David Griswold


Alain Coetmeur wrote:
> 
> William McHargue a �crit dans le message ...
> >Hello Brave New (Linux) World,
> >
> >The last command-line OS I was fluent in was on a DEC PDP-10 a quarter of a
> >century ago, so please be gentle...
> >
> >Before I can spend a great deal of time playing and learning Linux, I have to
> >get my central PowerMac 8500 to take over the duties of my Viacom Internet
> >Gateway, but under Linux. I've been studying a lot but can't get ipfwadm past
> >first base. If I issue the command (for instance):
> >
> >ipfwadm -I -a deny -S 192.168.22.0/24 -D 0.0.0.0/0
> >
> >I get:
> >
> >ipfwadm: setsockopt: Protocol not available
> 
> I've heard here that you have to do an 'echo 1>/proc/some name i don't remember'
> to activate the ip masquerade even if it is accessible
> (linked or module) by the kernel...
> a few days ago such a question have been answered...
> look in deja news for your setsockopt error message.

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

From: [EMAIL PROTECTED] (Erik Hensema)
Subject: Re: ISDN T/A - going to be the death of me
Date: Thu, 25 Feb 1999 14:24:33 +0100
Reply-To: [EMAIL PROTECTED]

fertile wrote:
[...]
>After the kernel was updated , i installed the isdn4linux utils also.
>Everything is in and installed properly, but using kppp for example , i set
>my modem device to ttyl0 (as recommnded by kppp for internal isdn modems)and
>it when i query it , it agrees that its using "linux isdn" by all the ATI
>results, but when i go to dial it complains about there being no MSN/EAZ
>...but .. on the isdn service i have( the british telecom homehighway )

Weird, I don't believe that'll work. ppp over isdn is completely different
from ppp over a normal modem. ttyI* are used for X75 communication with
BBS'es, certainly not for communication with the internet.
You need a completely different pppd, ipppd, and should configure the card
using isdnctrl.
Maybe you could use kisdn (kisdn.headlight.de) for configuring the card,
I've never tried it.

Also, visit this page: www.wurtel.demon.nl (however, I could be in dutch,
I'm not sure).

-- 
Erik Hensema ([EMAIL PROTECTED])

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

From: Grey Boy <[EMAIL PROTECTED]>
Subject: mountd: unable to register
Date: Wed, 24 Feb 1999 12:04:24 -0500

I am trying to mount a NFS volume over a PLIP connection, but am not
having any success. The problem seems to be that rpc.mountd and rpc.nfsd
won't "register" with portmap.

This has been driving me nuts for the past week; I have not been able to
find a reason why this is not working. I hope someone out there who
knows more about these things can help me!!


NFS-HOWTO s.3.3 says "Start portmap, and check that it lives by running
ps aux.  It does?  Good."

I type "portmap".
I type "ps aux", and get (amongst othe things) the following:

     bin        335  0.0  1.0   760   336  ?  S    10:37   0:00 portmap

which I assumes means portmap "lives".

Here are the contents of my /etc/exports file

     # exports file for desktop
     /Bruce            laptop(rw)
     /Bruce/Updates    laptop(rw)

(where "laptop" is the address of the laptop that I want to give NFS
access
to over a PLIP connection.)

I start up the PLIP connection

     ifup plip0 laptop

and am able to PING between laptop and desktop.

I type
     mount /mnt/desktop

on the laptop, and get the error

     mount: RPC: Program not registered

I type rpc.mountd on the desktop and get the following error

     Cannot register service: RPC: Unable to send; errno = Invalid
argument


portmap and nfs are included in the sysvinit, and are supposed to run at
bootup.
I checked in /var/log/messages and found the following lines:

Feb 24 10:10:45  mountd[156]: unable to register (mountd, 1, udp).
Feb 24 10:10:46  nfsd[164]: unable to register (nfsd, 2, udp).

I hope someone out there can help me figure out what it is I am doing
wrong!

Thanks, Bruce





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

From: [EMAIL PROTECTED] (David Akins)
Subject: Masquerading incoming Telnet through my firewall
Date: Fri, 26 Feb 1999 05:22:35 GMT


I have your run of the mill 10.1.1.0 network with Linux 2.0.36
performing IP Masquerading from the eth0 to the ppp0.

The Linux firewall is eth0:             10.1.1.1
                    ppp0:               1.2.3.4

I have a telnet client running on 10.1.1.20

I want to telnet into the 10.1.1.20 box from outside my network on
some arbitrary port, say 9999.  So "telnet 1.2.3.4:9999" and have the
firewall translate all port 9999 packets and forward them to 10.1.1.20
on some port (I guess 9999 would work)  What ipfwadm commands do I
need to run to do this?



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

From: "Andreas Westling" <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.smb,linux.samba
Subject: Re: smbmount won't work
Date: Fri, 26 Feb 1999 07:11:24 +0100

>and installed Samba 2.0.2.  Here is the output:
>[root@tf linux]# smbmount //BUBBA/D/ /mnt -C -P shared
>mount error: Invalid argument
>Please look at smbmount's manual page for possible reasons

I don't know what the guys did with samba 2.0.2 but smbmount does NOT work
well... I liked the old system better.

This should work (a bit messy though):

smbmount //BUBBA/D -C -P shared -c "mount /mnt"

I don't know if this is the way its supposed to work...I've had a quite a
few run-ins with sudden connection-drops and file-system-errors. Don't
worry, though, it won't corrupt anything...




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

From: Derek Ealy <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: IIS 4 behind Linux Firewall?
Date: Thu, 25 Feb 1999 22:42:23 -0800


==============000B6EE9969A89C71A573FF5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

I've decided to bring my website to our own servers (our webhosting ISP
is doing a crappy job). I'd like to host our site under IIS 4, but our
NT Server is behind a firewall on RH Linux 5.1. All the machines on our
internal network use 192.168.*.* for their IP addrs. I'm using the
firewall and IP Masquerading that comes with Linux. The problem is that
I haven't been able to figure out how to have the http traffic forwarded
to our NT Server. Is their a way to do this or am I going to have to
make everything run under Apache on the Linux gateway box?

Derek

--
Please remove the anti-spam (nospam) device from my reply address.
My actual email address is [EMAIL PROTECTED]

Need consultants for Win32 C++ VB Java DCOM and Unix development? Check
us out at http://www.grandprixsw.com



==============000B6EE9969A89C71A573FF5
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi,
<p>I've decided to bring my website to our own servers (our webhosting
ISP is doing a crappy job). I'd like to host our site under IIS&nbsp;4,
but our NT&nbsp;Server is behind a firewall on RH&nbsp;Linux 5.1. All the
machines on our internal network use 192.168.*.* for their IP&nbsp;addrs.
I'm using the firewall and IP&nbsp;Masquerading that comes with Linux.
The problem is that I&nbsp;haven't been able to figure out how to have
the http traffic forwarded to our NT&nbsp;Server. Is their a way to do
this or am I&nbsp;going to have to make everything run under Apache on
the Linux gateway box?
<p>Derek
<pre>--&nbsp;
Please remove the anti-spam (nospam) device from my reply address.
My actual email address is [EMAIL PROTECTED]

Need consultants for Win32 C++ VB Java DCOM and Unix development? Check
us out at <A HREF="http://www.grandprixsw.com">http://www.grandprixsw.com</A></pre>
&nbsp;</html>

==============000B6EE9969A89C71A573FF5==


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

From: fgonnet%INFOLAN
Date: Tue, 23 Feb 1999 19:27:05 +0100
Subject: Re: ipfw gui?

You can take a look at  http://ipmasq.cjb.net/.

There two links of interest for you :
 http://www.openpro.org/fwconfig/ (web based) and=20
http://www.lowrent.org/jhardin/ipfwadm.html (gui under X).

Fr=E9d=E9ric.

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

From: [EMAIL PROTECTED] (Mike Jagdis)
Subject: Re: IP to WWW address
Date: 24 Feb 1999 17:16:34 GMT

In article <[EMAIL PROTECTED]>, Mohan Desouza wrote:
>Under Linux, given an IP address how do I get the WWW address
>corresponding to this IP address as well as the hostname.
>
>For example given 138.23.169.122 how do I get the corresponding WWW
>address (www.cs.ucr.edu) and the corresponding hostname (thoth.ucr.edu).

Reverse it, append in-addr.arpa. and use it as an argument to
"host". e.g. "host -a 122.169.23.138.in-addr.arpa.". It doesn't
necessarily get you the same name you started with though. The
actual www name may be an alias or may have several IP addresses
each being a different machine in a server farm.

                                Mike


-- 
    A train stops at a train station, a bus stops at a bus station.
    On my desk I have a work station...
.----------------------------------------------------------------------.
|  Mike Jagdis                  |  Internet:  mailto:[EMAIL PROTECTED]   |
|  Roan Technology Ltd.         |                                      |
|  54A Peach Street, Wokingham  |  Telephone:  +44 118 989 0403        |
|  RG40 1XG, ENGLAND            |  Fax:        +44 118 989 1195        |
`----------------------------------------------------------------------'

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

From: adam hull <[EMAIL PROTECTED]>
Subject: Ping problem?  bizarre... not sure
Date: Wed, 24 Feb 1999 13:02:26 -0500

Hi, I am new to linux.  Running linux 5.2 on a Sparc Station 5.  I get
this message at bootup.
not sure if it is related

SIOCASSRT: Invalid Argument
Using DHCP for eth0: Carrier Lost, Trying TPE...done.

I can access the web fine through Netscape and FTP.  however, I cannot
ping.  When I try to ping a site, it just sits there doing nothing until
i ^C it.

I believe this is the cause for why apache server wont work for me.  Can
anyone help?
I have read all the HowTo's, mailing  lists, and newsgroups and found
nothing that works.
my settings appear to be correct.
What is TPE?

thx for your help
-adam



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

From: [EMAIL PROTECTED] (Tom Holub)
Subject: Re: rlogin vs. telnet
Date: 25 Feb 1999 22:14:30 -0800

In article <[EMAIL PROTECTED]>,
Dan Poynor <[EMAIL PROTECTED]> wrote:
)Besides security issues, how is ssh better than rlogin and telnet?

You need a "besides"?
How about automatic X forwarding?
 -Tom

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

From: Jeff Seawell <[EMAIL PROTECTED]>
Subject: Re: Unresolved Symbols when using tulip driver.
Date: Fri, 26 Feb 1999 02:02:15 -0500

The -I switch tells the compiler to look in the specified directory for
whatever headers may be in there (as in 'Include" this directory in the
search). If you look at the source code, you'll see a number of headers
used to define various functions, et cetera... used in the program... If
you don't tell the compiler where to look for the headers, it won't
compile. The end part of the compile statement performs a logical AND
operation by testing if that specific file exists and ANDing it to the
result of the macro. I believe it will evaluate to either a 1 or a 0 but
what this does for the compile, I'm not sure, except that my tulip
driver wouldn't work without that portion of the compile statement. If
you do a 'tail' on the source code, it'll provide the proper compile
statement you should use for your platform.

Jeff

Jorg Gaubmann wrote:
> 
> Ok this really shows my ignorance....
> 
> I forgot to copy it to the /lib/modules/2.0.xx/net/..
> 
> Once I did that, I didnt recieve any unresolved symbols.
> 
> I would still like to know about the path needed to compile? How does it
> work.
> 
> Jorg

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

From: [EMAIL PROTECTED]
Subject: Mobile IP home page whereabouts
Date: Wed, 24 Feb 1999 18:36:16 GMT


The Mobile IP home page has gone away. Anybody know if it has
relocated someplace else?


 " A project is underway to provide a complete set of IP mobility
tools  for Linux.  The Status of the project and tools may be obtained
from  the: Linux Mobile IP Home Page
  <http://anchor.cs.binghamton.edu/~mobileip/>."  -- NET3 HOWTO

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

From: "Al @Work" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.help
Subject: Re: How do I set up a dhcp Server??
Date: Wed, 24 Feb 1999 12:47:21 -0500

Tom,

See:

$man tar

and pay particular attention to the "-z" option, and:

$man gzip

Good luck...

       Al

Thomas Russ wrote in message <[EMAIL PROTECTED]>...
>Thanks Al,
>
>as described I downloaded the file dhcp-1.0pl2.tar.gz which brings me
to
>the next stupid question. How do I unpack *gz files or *tar files.
>Actually, I think I could cope with tar archives, but not with *gz
>archives.
>
>Tom
>
>"Al @Work" wrote:
>
>> Thomas,
>>
>> Try this http://www.ssc.com/linux/LDP/HOWTO/mini/DHCP.html
>>
>> Good luck...
>>
>>         Al
>>
>> Thomas Russ wrote in message <[EMAIL PROTECTED]>...
>> >Hi,
>> >
>> >is there anybody, who can help on this issue how I can set up a dhcp
>> >server on linux. Any help is appreciated. Thanks
>> >
>> >regards
>> >Tom
>> >
>> >
>> >**************************************
>> >Thomas Russ
>> >Phone: +49 89 89801182
>> >E-Mail: [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