Linux-Networking Digest #660, Volume #11         Fri, 25 Jun 99 03:14:07 EDT

Contents:
  mtu and problems access web sites ("Lucas Fisher")
  Re: triggering pppd through external call (Gilford Wimbley)
  I Need Modem Help. (Spider)
  Re: with 2 NICs, first net visible, 2nd invisible (billpiasecki)
  Re: I Need Modem Help. (billpiasecki)
  Re: Can't mount using NFS!!! (Liz Drake)
  Re: bizarre networking problem. ("Mike Somerville")
  Re: FTP using Netscape ("Tony C")
  Remote connect to UNIX server thro' proxy problem ("kawing")
  NFS, hosts.allow & RedHat6 (Brian Wagner)
  Re: DNS Config (Budman)
  ISP Modem Connection (Budman)

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

From: "Lucas Fisher" <[EMAIL PROTECTED]>
Subject: mtu and problems access web sites
Date: Thu, 24 Jun 1999 22:35:04 -0500

I am having an odd problem accessing certain web sites like www.hotmail.com
and www.buy.com.  I have a dial-up ISP accout and am using pppd 2.3.   When
the mtu of ppp0 is set to 296 I can access these web sites fine, but if I
change the mtu to 1500 I can no longer access these web sites.  The browser
connects to the site, but then sits there waiting indefinately for a reply.
Why is this.
I don't just want to set the mtu to 296 because this linux box is an ip masq
gateway.  The client computers (linux and win98)  have the same problem and
same work around.  I don't want to have to set the client computer's
ethernet mtu to 296.  Any ideas?

thanks
Lucas



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

From: [EMAIL PROTECTED] (Gilford Wimbley)
Subject: Re: triggering pppd through external call
Date: Fri, 25 Jun 1999 04:22:21 GMT

On Sun, 20 Jun 1999 23:15:11 -0400, Harald Schwefel
<[EMAIL PROTECTED]> wrote:

>Hi,
>I have my box at home connected by modem via pppd to the net. Now I want
>to trigger the dial-in process, by calling my machine (e.g. from work)
>via normal telephone line, type some numbercode and hang up. 
>
>My home box then should dial in and send me an email to an external
>emailaccount with its new IP address, so that I can login myself (i.g.
>from work) and get the data I want.
>
>The dialin through pppd is no problem (I have it triggered though
>requesting a non-local IP adress), but how can I have mgetty watch the
>line and responde to an touchetone message?
>
>Thanks
>
>harald

I don't know how to do what you want to do, or if any program exists
to do it, but  if you are running diald or are willing to run diald,
you can use the standard.filter file to force the interface up  at
predefined times of day.  That's what I did when I had a dialup type
connection.  I made a litle script that then emailed me the output of
ifconfig any time the ppp interface came up.  Now I have a permanent
IP address.

good luck.
GW

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

From: [EMAIL PROTECTED] (Spider)
Crossposted-To: comp.os.linux.setup
Subject: I Need Modem Help.
Date: Fri, 25 Jun 1999 03:52:09 GMT

        I have two modems on my computer because 1 is a WinModem and
won't work with Linux. The other is an ISA modem that I used to use
through Linux before I purchased my new machine. Linux wasn't
recognizing the ISA modem, so I used isapnp to configure it. I spent
an hour doing it. But now, I don't knwo what to do next. I ran
xminicom and I still get a blinking cursor and nothing else. That's
after I run isapnp of course. Do I just go ahead and configure PPP or
is there more hardware settings that need to be fixed? 
        Since the winmodem is connected at the same time, would it be
in the way of the ISA Modem's operation in Linux? IS there a way for
Linux to ignore the Winmodem at boot, or should I just take it out and
use the ISA through Linux and Windows 98? I'm using Slackware 4.0 with
the 2.2.6 kernel. Any help would be appreciated.

-A.C.

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

From: billpiasecki <[EMAIL PROTECTED]>
Subject: Re: with 2 NICs, first net visible, 2nd invisible
Date: Thu, 24 Jun 1999 22:13:22 -0700

Gilford Wimbley wrote:

> On Thu, 24 Jun 1999 15:31:29 -0500, "Richi"
> <[EMAIL PROTECTED]> wrote:
>
> >Phil have you made the needed changes to run 2 NIC's ? It is my
> >understanding that Linux normally only probes the first one.
>
> If you look at the output from ifconfig that Phil posted, you'll see
> that both interfaces are up and running and have received and
> transmitted packets.
> >
> >If you haven't read about it in the ethernet mini howto.
> >
> >Test it by using netcfg and disabling both eth devices. Reinable the one you
> >couldnt get to work and try it again.
> >
> >
> >
> >Rich
> >
> >
> >Phil Parker wrote in message <7kttkr$1pk$[EMAIL PROTECTED]>...
> >>I'm running RHL 5.2 (2.0.36 kernel) with two NICs.  The first network is
> >>visible, the second is not.
> >>
> >>Ifconfig outputs the following:
> >>
> >>lo        Link encap:Local Loopback
> >>          inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
> >>          UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
> >>          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
> >>          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
> >>          collisions:0
> >>
> >>eth0      Link encap:Ethernet  HWaddr 00:00:C0:17:D0:0B
> >>          inet addr:10.55.100.3  Bcast:10.55.103.255  Mask:255.255.252.0
> >>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >>          RX packets:5162 errors:0 dropped:0 overruns:0 frame:0
> >>          TX packets:86 errors:0 dropped:0 overruns:0 carrier:0
> >>          collisions:0
> >>          Interrupt:11 Base address:0x6000
> >>
> >>eth1      Link encap:Ethernet  HWaddr 00:60:97:29:61:6B
> >>          inet addr:206.109.47.252  Bcast:206.109.47.255
> >Mask:255.255.255.0
> >>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >>          RX packets:206 errors:0 dropped:0 overruns:0 frame:0
> >>          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
> >>          collisions:1
> >>          Interrupt:10 Base address:0x6100
> >>
> >>
> >>Netstat -nr outputs the following:
> >>
> >>Kernel IP routing table
> >>Destination     Gateway         Genmask         Flags   MSS Window  irtt
> >>Iface
> >>206.109.47.0    0.0.0.0         255.255.255.0   U      1500 0          0
> >>eth1
> >>10.55.100.0     0.0.0.0         255.255.252.0   U      1500 0          0
> >>eth0
> >>127.0.0.0       0.0.0.0         255.0.0.0       U      3584 0          0 lo
> >>
> >>
> >>Pinging the 10.55 network works great.  Pinging the 206.109 network gets no
> >>replies (but no "unreachable" message, either).  It just sits there with
> >>100% packet loss.  Pinging from another machine does not work, either.
> >>
> >>Any help would be appreciated.
> >>
> >>Phil Parker
> >>[EMAIL PROTECTED]
> >>
> >>
> >
> >
> Sorry, I'm not sure what the problem is.  The only thing I can think
> of right off the bat is that somehow you are pinging to non-existent
> IP addresses.  But I'm no pro at this.
>
> good luck
> GW

My 2 cwnts: Use linuxconf instead of Netcfg. May not help but worth a try.
Bill


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

From: billpiasecki <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: I Need Modem Help.
Date: Thu, 24 Jun 1999 22:16:11 -0700

Spider wrote:

>         I have two modems on my computer because 1 is a WinModem and
> won't work with Linux. The other is an ISA modem that I used to use
> through Linux before I purchased my new machine. Linux wasn't
> recognizing the ISA modem, so I used isapnp to configure it. I spent
> an hour doing it. But now, I don't knwo what to do next. I ran
> xminicom and I still get a blinking cursor and nothing else. That's
> after I run isapnp of course. Do I just go ahead and configure PPP or
> is there more hardware settings that need to be fixed?
>         Since the winmodem is connected at the same time, would it be
> in the way of the ISA Modem's operation in Linux? IS there a way for
> Linux to ignore the Winmodem at boot, or should I just take it out and
> use the ISA through Linux and Windows 98? I'm using Slackware 4.0 with
> the 2.2.6 kernel. Any help would be appreciated.
>
> -A.C.

Take the winmodem out and try and get the isa working. Use minicom is
great. Are you going  into Minicoms setup menu and then saving the setup
file as df1 or something like that? First get it working with minicom
(that is the first thing).


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

From: Liz Drake <[EMAIL PROTECTED]>
Subject: Re: Can't mount using NFS!!!
Date: Fri, 25 Jun 1999 15:22:02 +1000

Mike Kerr wrote:
> 
> I'm trying to mount a directory called /mnt/red, which is located
> under my Slackware 96 machine, on a Red Hat 5.1 machine as a
> directory called nettest. When I try to mount this directory I get
> the message: "mount: <name of slackware machine> failed, reason
> given by server: Permission denied."
> I'm root on both machines. Do I need to specify on the Slackware
> machine that I want to share the mnt/red directory? If so, how do
> I do that? Any other ideas?
Check out /etc/exports on the Slackware machine, and make sure that
the Red Hat machine is allowed to mount that particular directory.

man exports
will give you the syntax.

-- 
Liz Drake
[EMAIL PROTECTED]

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

From: "Mike Somerville" <[EMAIL PROTECTED]>
Subject: Re: bizarre networking problem.
Date: Fri, 25 Jun 1999 01:46:18 -0400

game servers and ICQ and the like use UDP ports to communicate.  'cuz UDP is
connectionless it gives the speed that games and the like require to work.
I would think that pinging would work 'cuz ipmasquirading supports ICMP
requests (to the best of my knowedge at least)  I am sure that if the linux
box is the gateway that you would be able to route through it anyway for
standard http and ftp requests.
as far as your question at to why your conenction is getting dumped I am not
to sure.

Nicholas E Couchman <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Do you know what protocols these game servers use?  Is it http, or what.
Can you
> connect to other servers (ie www.linux.org)?
> --Nick
>
> castor wrote:
>
> > This probably isn't something anyone can work out, since I don't know
enough
> > about Linux (or indeed Windows) to be able to give out all of the
relevant
> > information. It will hopefully be something that someone knows the
answer to
> > on the spot from previous experience. If there is any extra info
required,
> > please tell me and I'll try to get hold of it.
> >
> > Firstly, my setup is a Linux box running SuSE 6.1 using IP masquerading
to
> > act as a net gateway to my Windows 98 machine through ethernet. I don't
> > think there's any other relevant information here I can provide, it all
> > works fine.
> >
> > -- Problem starts :) --
> >
> > When I get disconnected from my ISP and reconnect straight away, I find
that
> > I cannot connect to any game servers for about 5-10 minutes. I'm not
exactly
> > sure how long it takes to get back on, it's hard to time it because I
have
> > to re-attempt a connection every so often, and if it works I don't know
when
> > it would have started to work. If I disconnect manually, this problem
> > doesn't happen.
> >
> > I can ping the servers, I can use Gamespy to get updates from them, and
I
> > can see all the people in the game, but for some reason when I try to
join,
> > with, say, Half-Life or Quake 2 (the only two games I tried, they use
> > different ports so I don't think that's the problem), it simply tries
and
> > fails to connect.
> >
> > I have disconnected manually from here and reconnected, and the problem
> > stays (in fact I think the timer gets reset). Before you say it's
anything
> > to do with the ISP, there's a few more things I should say. Firstly, it
> > never happened when I connected direct with the Windows box. Secondly,
if I
> > reset the Linux box and then reconnect, it's instantly fine and working.
> > Thus, I'm pretty sure it's something to do with the Linux box (resetting
the
> > windows box does nothing).
> >
> > -- end problem --
> >
> > I also have ICQ running with ICQ masq, and it is fine straight away
(except
> > for the silly ICQ server problem when it sometimes stops you
connecting), so
> > I have a feeling it's not to do with the protocol either since I think
both
> > ICQ and the games use UDP?
> >
> > Someone please help, I am really stumped.
> >
> > -c.
>



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

From: "Tony C" <[EMAIL PROTECTED]>
Subject: Re: FTP using Netscape
Date: Thu, 24 Jun 1999 23:06:27 -0700

Doh!

Thanks
TC

Btinternet news wrote in message <7ku937$4nj$[EMAIL PROTECTED]>...
>Have you tried right-clicking?
>
>Tony C <[EMAIL PROTECTED]> wrote in message
>news:7ku863$6t$[EMAIL PROTECTED]...
>> Greetings,
>>
>> I am running RH 5.2 with the included Netscape browser. I can browse the
>> internet just fine, but for the life of me I cannot remember how to get
>ftp
>> set up within Netscape. When I click on a link I do not get an option to
>> save the file to disk, as I do in IE4 on Win98. The file seems to
transfer
>> but the results are displayed in the Netscape window. This is fine for
>text
>> files but doesn't work well for binary downloads :).
>>
>> Can you please point me to a HOWTO or give me some ideas on what I need
to
>> modify? Do I need to have an ftp daemon running on Linux or will Netscape
>> handle this?
>>
>> Thanks
>> TC
>>
>>
>
>



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

From: "kawing" <[EMAIL PROTECTED]>
Subject: Remote connect to UNIX server thro' proxy problem
Date: Thu, 24 Jun 1999 23:29:33 -0700

Hi,

I am building a small network of 2 computers: a Linux
client, a NT server at home. I have wingate 2.1 on the NT to share Internet
access.

Problem is I can't remote connect to my school's UNIX
(Sun OS 5.6)server. I mean from my Linux client, I can
telnet to the wingate at my NT server, then I can telnet to shool's server.
But when I try to allow the remote UNIX server to control my linux box,
ie.after I use the command:
"setenv display IP_address_of_my_dial_up : 0.0". ,
 and try to run "netscape&" or other X window application, the following
error resulted:
"saltspring>(none):unkown host
X connection to saltspring.ugrad.cs.ubc.ca:2.0 broken
(explicit kill or server shutdown)"

I think it's b/c the linux box has a local IP set by me
for the intranet. But the school server send data to the
NT server instead of the linx client b/c it's the server
really on having that global IP address.

So how can I connect linux to ugrad server?

Does anyone has similar experience like that?  All

suggestions are welcomed!

Thanks,

kawing



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

From: Brian Wagner <[EMAIL PROTECTED]>
Subject: NFS, hosts.allow & RedHat6
Date: Thu, 24 Jun 1999 21:53:38 -0800

I've found with RedHat 6 that NFS will not allow a client to mount an exported
path unless the client's host name can be resolved. So unless I put the client
in the "hosts" file the client gets "permission denied" even if
/etc/hosts.allow has "ALL: ALL" or other variations. It seems portmap is
ignoring hosts.allow. Is there a way to get portmap to not check the host
name? (which I thought was default)

Thanks,
Brian Wagner

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

From: Budman <[EMAIL PROTECTED]>
Subject: Re: DNS Config
Date: Fri, 25 Jun 1999 06:24:44 +0000

Hint:  Look at "The Linux Network"  good book :)

> 1.  The HOWTO states that you need to config named.conf and any appropriate
> zone files.  Oreilly says you need to config named.boot.  They are different
> files and tho I have attempted to config them both, are they both needed?


RedHat 5.2 and Slackware 3.5 use bind 8.1.2 and higher - stops the DNS
DOS attack and root exploit.

To get a Cacheing DNS up and running... ya need to do the following:

/etc/named.conf
====================================================================
/* the path for all the cache files */

options {
        directory "/var/named";
};

logging {
        category lame-servers { null; };
        category cname { null; };
};

/* Setup the Main Zone */
zone "something.org" in {
        type master;
        file "db.cache";
};

/* Setup the inverted addr 
     to figure out, take the class of the network address
          class C:  192.168.0.xxx
     and reverse it leaving off the hosts and add .in-addr.arpa
                0.168.192.in-addr.arpa
*/
zone "0.168.192.in-addr.arpa" in {
        type master;
        file "db.rev";
};

/* Setup the Cache for the Internet ROOT servers */
zone "." in {
        type hint;
        file "root.cache";
};

/* Setup the Local Host Inverted Cache */
zone "0.0.127.in-addr.arpa" in {
        type master;
        file "db.local";
};

============8<==================================================

You need to create the caches in the /var/named directory

Remember TABS are important.  I think they work fine without, but older
versions DO NOT like mis-aligned columns.  The ending periods on
addresses are required.


/var/named/db.local
=================================================================

; Local Inverted Lookup File

@               IN SOA dnshost.something.org. yournick.something.org. (
                19990625001     ; Serial YYYYMMDDvvv
                604800          ; Refresh Freq
                86400           ; Retry Rate
                1209600         ; Time to Expire
                1209600)        ; Time to Wait

; Nameservers in domain

                IN NS           dnshost.something.org.

; HostNumber                 HostName

1       IN PTR  localhost.something.org.

=======================================================================

Important - the HostNumber is the actual 4th octet of an IP address. :)



/var/named/root.cache
========================================================================
;Internet Root DNS servers

.                       99999999 IN NS e.root-servers.net
                        99999999 IN NS c.root-servers.net
                        99999999 IN NS f.root-servers.net
                        99999999 IN NS d.root-servers.net
                        99999999 IN NS a.root-servers.net
                        99999999 IN NS b.root-servers.net
                        99999999 IN NS g.root-servers.net
                        99999999 IN NS i.root-servers.net
                        99999999 IN NS d.root-servers.net

; Root Name Servers

a.root-servers.net      99999999 IN A   198.41.0.4
b.root-servers.net      99999999 IN A   128.9.0.107
c.root-servers.net      99999999 IN A   192.33.4.12
d.root-servers.net      99999999 IN A   128.8.10.90
e.root-servers.net      99999999 IN A   192.203.230.10
f.root-servers.net      99999999 IN A   192.5.5.241
g.root-servers.net      99999999 IN A   192.112.36.4
h.root-servers.net      99999999 IN A   128.63.2.53
i.root-servers.net      99999999 IN A   192.36.148.17
==========================================================================



/var/named/db.rev
=======================================================================
; Master Inverted Lookup File

@               IN SOA dnshost.something.org. yournick.something.org. (
                19990625001     ; Serial YYYYMMDDvvv
                43200           ; Refresh Freq
                3600            ; Retry Rate
                172800          ; Time to Expire
                86400)          ; Time to Wait

; Nameservers in domain

                IN NS           dnshost.something.org.


; HostNumber                 HostName

1       IN PTR  dnshost.something.org.
2       IN PTR  yourpc1.something.org.
3       IN PTR  yourpc2.something.org.
100     IN PTR  printer.something.org.
=======================================================================

/var/named/db.cache
=======================================================================
; Master Lookup File

@               IN SOA dnshost.something.org. yournick.something.org. (
                19990625001     ; Serial YYYYMMDDvvv
                43200           ; Refresh Freq
                3600            ; Retry Rate
                172800          ; Time to Expire
                86400)          ; Time to Wait

; Nameservers in domain

                IN NS           dnshost.something.org.

; Mail servers
;               IN MX 10        mail.something.org.

; Hostnames

dnshost         IN A            192.168.0.1
www             CNAME           dnshost.something.org.
ftp             CNAME           dnshost.something.org.
;
yourpc1         IN A            192.168.0.2
yourpc2         IN A            192.168.0.3
printer         IN A            192.168.0.100
;
localhost       IN A            127.0.0.1

=======================================================================

Change your /etc/resolv.conf

domain          something.org
nameserver      192.168.0.1


Your /etc/hosts  file should contain

127.0.0.1       localhost
192.168.0.1     dnshost ftp www


Change your hosts.conf

order hosts, bind
multi on
nospoof on
alert on

Change your hosts.allow
 
portmap: 127.0.0.1
ALL: 192.168.0.0/255.255.255.0

Change your hosts.deny

ALL:  ALL


You can use the  ndc  command to start, stop, get stats from BIND.

Thats all there is to setting up a Local Cacheing DNS.
Let me know if ya have any problems. I've been running one for about a
year now, and it works excellent.  :) Much faster than my ISP's.

> 
> 2.  Setting a single nameserver (working on a LAN) to 127.0.0.1 or the IP
> address of the current host also gives me problems.  The only way I can
> launch Netscape (from within xwin) is if I set the nameserver to something
> other than my host.  Why is this?

I dont know why they do this, I dont like using 127.0.0.1 as a valid
host.  it will work, but only if you setup the ifconfig lo interface.

> 
> 3.  When using nslookup my default server is my hostname.hostdomain.  In my
> attempt to recreate my mistake a reset all my named conf files to their
> original settings.  However, the default server (when using nslookup) still
> remains my hostname.hostdomain as opposed to 'localhost.localdomain'.

This is controlled by the resolv.conf file.  If you want to speed things
up, kill the SEARCH entry, and only use DNS and DOMAIN.  Im pretty sure
the file is in a specific order - meaning if you put SEARCH first, it
will ALWAYS search that network before your DNS entries.  I heard some
guys add 3 DNS entries with the same IP address so it wont timeout that
quickly.

Hope this helps.

Rich

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

From: Budman <[EMAIL PROTECTED]>
Subject: ISP Modem Connection
Date: Fri, 25 Jun 1999 06:39:30 +0000

Hi

I've been trying to figure this one out for a while now.  Recently my
ISP changed settings on their 56K modems that all of a sudden stopped
Linux from connecting at 56k.

Prior to this, I had no problems at 56k or 33.6 lines. Then one day poof
the 56k stopped connecting.

I checked my configuration and all seems correct.  If I change the phone
number to the 33.6 lines, it connects within seconds of the handshake. 
If I place the 56k phone number, I sit and wait for nearly upto
15minutes before a default route is set.

I tried using minicom to manual initialize pppd, but no luck - same
thing happens over and over.  I cannot ping the ISP connection IP
address 10.7.6.5, or anything else for that matter.

ISP said that Windows users have not complained and there were no
problems. It seems I am not the only Linux user that is having problems.

I checked the debug logs, and I see it is connecting and data is coming
across. I get the login, pass, the ppp garbage.  DialD even gets the IP
address of the connection.  PPPD then runs, and times out.   I put a
check for the ~ in the chat script and that now waits for the garbage
before running pppd.  Still no luck.

I increased the LCP to 30 - then I was able to connect but it would take
forever some times, especially during the day - upto 30 minutes.

I asked the ISP if they are using CHAP or PAP now.. They said no.  I
asked them for the Init string to the modem, to see what is on and off. 
Maybe compression is a problem.

The modem is a Zoom 56kX that supports 56Flex and V90.  When I disabled
the 56Flex I was able to at least connect  but it takes a long time. 
The ISP mentioned something about V90's and that they were upgrading or
disabling some features on the modems.

I am also using PPPD 2.3, and DialD 0.16.5

Does anyone have a clue as to what may be going wrong?  I think its on
the ISP's end, since the exact same setup works fine with the 33.6 lines
simply by changing the  Phone number.

Thanks :)
Rich

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


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