All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Diald on RH 6.2 initializing errors
       [not found]         ` <20020330093740.A1178@pike.home>
@ 2002-04-08 18:19           ` Gary Hinton
  2002-04-09  2:35             ` Rod . Pike
  0 siblings, 1 reply; 3+ messages in thread
From: Gary Hinton @ 2002-04-08 18:19 UTC (permalink / raw)
  To: Rod . Pike; +Cc: linux-diald

Rod,

Thanks for your help.  I read the article you suggested.  It helped me see
some things I did not find in the other articles I had read.

I now have a manual 'startppp' script that gets me logged onto my ISP.
I can ping other addresses from my Iserver gateway box.  So I am just about
ready to enable diald.

But ....

From one of the other boxes on my local network, I can ping Iserver,
but it cannot ping any of the other addresses that the gateway box can.
It acts like it is not forwarding the packets from the local network
on to the Internet.

I did set FOWARD_IPV4=true as the article suggested.  But this apparently
did not help.

And now, repsonses to your questions:
> 
> Does your log contain any lines related to the dialup connection?  What
> do they look like?

No, there were no dialup requests.  Diald was not trying to dial.

> 
> You might want to try minicom to see if you can initate a dialup
> directly and verify your expect statements.
> 
> Have you tried starting up ppp manually with the chat script that you
> have?  The Linux Gazette has an article that may help you.
> 
> http://www.linuxgazette.com/issue26/kunz.html#pppd2
> 

I had done manual ppp dialup months ago, using a different article.  But
I did it again, using this article.  Now I have a script that works quite well.

> >
> > So it looks like it is starting.  But when I try to ping a known place,
> > nothing happens.  The logs do not show any action.
> >
> > To see how it had been setup, I entered: /sbin/route -n , and got this display:
> >
> > Kernel IP routing table
> > Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> > 192.168.1.101   0.0.0.0         255.255.255.255 UH    1      0        0 tap0
> > 192.168.1.254   0.0.0.0         255.255.255.255 UH    0      0        0 eth0
> > 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> > 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 tap0
> > 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> > 0.0.0.0         192.168.1.254   0.0.0.0         UG    0      0        0 eth0
> > 0.0.0.0         0.0.0.0         0.0.0.0         U     1      0        0 tap0
> > 0.0.0.0         192.168.1.254   0.0.0.0         UG    1      0        0 eth0
> >
> > There is one line of all zeros.  I think that is supposed to be bad.
> 
> Doesn't appear to be bad.  My output also has one line that is all zeros
> but that is the only line that has 0.0.0.0 in the leftmost column
> 
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> 10.0.2.3        0.0.0.0         255.255.255.255 UH    0      0        0 eth0
> 206.191.0.146   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> 206.191.0.146   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> 10.0.2.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0
> 
> Does Iserver have two ethernet interfaces?  Can you explain?

No, only one network card in the system.

> 
> Do you have a custom kernel that perhaps doesn't have slip included?

I don't know about this.  I just loaded 6.2 from the CD.


Thanks again for your help.

Gary

+--------------------------------------------------------------------+
| Gary Hinton    AC7R                Phone: (602) 438-3450           |
| Product Engineering                  FAX: (602) 438-3836           |
| Motorola Computer Group            Pager: 877-992-6630 (two-way)   |
| 2900 S. Diablo Way                e-mail: ghinton@eng.mcd.mot.com  |
| Tempe, Arizona 85282           Mail Drop: DW278                    |
+--------------------------------------------------------------------+

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Diald on RH 6.2 initializing errors
  2002-04-08 18:19           ` Diald on RH 6.2 initializing errors Gary Hinton
@ 2002-04-09  2:35             ` Rod . Pike
  2002-04-19 15:45               ` Gary Hinton
  0 siblings, 1 reply; 3+ messages in thread
From: Rod . Pike @ 2002-04-09  2:35 UTC (permalink / raw)
  To: linux-diald

On Mon, Apr 08, 2002 at 11:19:15AM -0700, Gary Hinton wrote:
> Rod,
> 
> Thanks for your help.  I read the article you suggested.  It helped me see
> some things I did not find in the other articles I had read.
> 
> I now have a manual 'startppp' script that gets me logged onto my ISP.
> I can ping other addresses from my Iserver gateway box.  So I am just about
> ready to enable diald.

Gary, Good to hear you are making some process.  So if you ping from
Iserver now, does diald establish your dialup connection?

> 
> But ....
> 
> >From one of the other boxes on my local network, I can ping Iserver,
> but it cannot ping any of the other addresses that the gateway box can.
> It acts like it is not forwarding the packets from the local network
> on to the Internet.
> 
> I did set FOWARD_IPV4=true as the article suggested.  But this apparently
> did not help.

The article is a little dated and the method for enabling IP forwarding
is different in RH6.2.  Try adding the following to where you start
diald (/etc/rc.d/rc.local ???)

echo "1" > /proc/sys/net/ipv4/ip_forward

Is your ipchains set up?  As a start you could try the following

/sbin/ipchains -F 
/sbin/ipchains -A forward -j MASQ -s 192.168.1.0/24 -d 0.0.0.0/0

In the same place you do the echo

Hope that helps

Cheers,
Rod

> 
> And now, repsonses to your questions:
> > 
> > Does your log contain any lines related to the dialup connection?  What
> > do they look like?
> 
> No, there were no dialup requests.  Diald was not trying to dial.
> 
> > 
> > You might want to try minicom to see if you can initate a dialup
> > directly and verify your expect statements.
> > 
> > Have you tried starting up ppp manually with the chat script that you
> > have?  The Linux Gazette has an article that may help you.
> > 
> > http://www.linuxgazette.com/issue26/kunz.html#pppd2
> > 
> 
> I had done manual ppp dialup months ago, using a different article.  But
> I did it again, using this article.  Now I have a script that works quite well.
> 
> > >
> > > So it looks like it is starting.  But when I try to ping a known place,
> > > nothing happens.  The logs do not show any action.
> > >
> > > To see how it had been setup, I entered: /sbin/route -n , and got this display:
> > >
> > > Kernel IP routing table
> > > Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> > > 192.168.1.101   0.0.0.0         255.255.255.255 UH    1      0        0 tap0
> > > 192.168.1.254   0.0.0.0         255.255.255.255 UH    0      0        0 eth0
> > > 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> > > 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 tap0
> > > 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> > > 0.0.0.0         192.168.1.254   0.0.0.0         UG    0      0        0 eth0
> > > 0.0.0.0         0.0.0.0         0.0.0.0         U     1      0        0 tap0
> > > 0.0.0.0         192.168.1.254   0.0.0.0         UG    1      0        0 eth0
> > >
> > > There is one line of all zeros.  I think that is supposed to be bad.
> > 
> > Doesn't appear to be bad.  My output also has one line that is all zeros
> > but that is the only line that has 0.0.0.0 in the leftmost column
> > 
> > Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> > 10.0.2.3        0.0.0.0         255.255.255.255 UH    0      0        0 eth0
> > 206.191.0.146   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> > 206.191.0.146   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> > 10.0.2.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
> > 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> > 0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0
> > 
> > Does Iserver have two ethernet interfaces?  Can you explain?
> 
> No, only one network card in the system.
> 
> > 
> > Do you have a custom kernel that perhaps doesn't have slip included?
> 
> I don't know about this.  I just loaded 6.2 from the CD.
> 
> 
> Thanks again for your help.
> 
> Gary
> 
> +--------------------------------------------------------------------+
> | Gary Hinton    AC7R                Phone: (602) 438-3450           |
> | Product Engineering                  FAX: (602) 438-3836           |
> | Motorola Computer Group            Pager: 877-992-6630 (two-way)   |
> | 2900 S. Diablo Way                e-mail: ghinton@eng.mcd.mot.com  |
> | Tempe, Arizona 85282           Mail Drop: DW278                    |
> +--------------------------------------------------------------------+

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Diald on RH 6.2 initializing errors
  2002-04-09  2:35             ` Rod . Pike
@ 2002-04-19 15:45               ` Gary Hinton
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Hinton @ 2002-04-19 15:45 UTC (permalink / raw)
  To: Rod . Pike; +Cc: linux-diald

A little slow getting back to you.  The ipchains fixed the ability to get
from the local net to the Internet.  Have not yet tried the automatic
dialing with diald.  Next week.  Taxes and hard drive crash take time.
Thanks for the help.
Gary


"Rod . Pike" wrote:
> 
> On Mon, Apr 08, 2002 at 11:19:15AM -0700, Gary Hinton wrote:
> > Rod,
> >
> > Thanks for your help.  I read the article you suggested.  It helped me see
> > some things I did not find in the other articles I had read.
> >
> > I now have a manual 'startppp' script that gets me logged onto my ISP.
> > I can ping other addresses from my Iserver gateway box.  So I am just about
> > ready to enable diald.
> 
> Gary, Good to hear you are making some process.  So if you ping from
> Iserver now, does diald establish your dialup connection?
> 
> >
> > But ....
> >
> > >From one of the other boxes on my local network, I can ping Iserver,
> > but it cannot ping any of the other addresses that the gateway box can.
> > It acts like it is not forwarding the packets from the local network
> > on to the Internet.
> >
> > I did set FOWARD_IPV4=true as the article suggested.  But this apparently
> > did not help.
> 
> The article is a little dated and the method for enabling IP forwarding
> is different in RH6.2.  Try adding the following to where you start
> diald (/etc/rc.d/rc.local ???)
> 
> echo "1" > /proc/sys/net/ipv4/ip_forward
> 
> Is your ipchains set up?  As a start you could try the following
> 
> /sbin/ipchains -F
> /sbin/ipchains -A forward -j MASQ -s 192.168.1.0/24 -d 0.0.0.0/0
> 
> In the same place you do the echo
> 
> Hope that helps
> 
> Cheers,
> Rod
> 
> >
> > And now, repsonses to your questions:
> > >
> > > Does your log contain any lines related to the dialup connection?  What
> > > do they look like?
> >
> > No, there were no dialup requests.  Diald was not trying to dial.
> >
> > >
> > > You might want to try minicom to see if you can initate a dialup
> > > directly and verify your expect statements.
> > >
> > > Have you tried starting up ppp manually with the chat script that you
> > > have?  The Linux Gazette has an article that may help you.
> > >
> > > http://www.linuxgazette.com/issue26/kunz.html#pppd2
> > >
> >
> > I had done manual ppp dialup months ago, using a different article.  But
> > I did it again, using this article.  Now I have a script that works quite well.
> >
> > > >
> > > > So it looks like it is starting.  But when I try to ping a known place,
> > > > nothing happens.  The logs do not show any action.
> > > >
> > > > To see how it had been setup, I entered: /sbin/route -n , and got this display:
> > > >
> > > > Kernel IP routing table
> > > > Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> > > > 192.168.1.101   0.0.0.0         255.255.255.255 UH    1      0        0 tap0
> > > > 192.168.1.254   0.0.0.0         255.255.255.255 UH    0      0        0 eth0
> > > > 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> > > > 192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 tap0
> > > > 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> > > > 0.0.0.0         192.168.1.254   0.0.0.0         UG    0      0        0 eth0
> > > > 0.0.0.0         0.0.0.0         0.0.0.0         U     1      0        0 tap0
> > > > 0.0.0.0         192.168.1.254   0.0.0.0         UG    1      0        0 eth0
> > > >
> > > > There is one line of all zeros.  I think that is supposed to be bad.
> > >
> > > Doesn't appear to be bad.  My output also has one line that is all zeros
> > > but that is the only line that has 0.0.0.0 in the leftmost column
> > >
> > > Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> > > 10.0.2.3        0.0.0.0         255.255.255.255 UH    0      0        0 eth0
> > > 206.191.0.146   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> > > 206.191.0.146   0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
> > > 10.0.2.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
> > > 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> > > 0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0
> > >
> > > Does Iserver have two ethernet interfaces?  Can you explain?
> >
> > No, only one network card in the system.
> >
> > >
> > > Do you have a custom kernel that perhaps doesn't have slip included?
> >
> > I don't know about this.  I just loaded 6.2 from the CD.
> >
> >
> > Thanks again for your help.
> >
> > Gary
> >
> > +--------------------------------------------------------------------+
> > | Gary Hinton    AC7R                Phone: (602) 438-3450           |
> > | Product Engineering                  FAX: (602) 438-3836           |
> > | Motorola Computer Group            Pager: 877-992-6630 (two-way)   |
> > | 2900 S. Diablo Way                e-mail: ghinton@eng.mcd.mot.com  |
> > | Tempe, Arizona 85282           Mail Drop: DW278                    |
> > +--------------------------------------------------------------------+
> -
> To unsubscribe from this list: send the line "unsubscribe linux-diald" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 
+--------------------------------------------------------------------+
| Gary Hinton    AC7R                Phone: (602) 438-3450           |
| Product Engineering                  FAX: (602) 438-3836           |
| Motorola Computer Group            Pager: 877-992-6630 (two-way)   |
| 2900 S. Diablo Way                e-mail: ghinton@eng.mcd.mot.com  |
| Tempe, Arizona 85282           Mail Drop: DW278                    |
+--------------------------------------------------------------------+

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-19 15:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3C728E48.64A8AC9B@eng.mcd.mot.com>
     [not found] ` <20020221115334.B1093@pike.home>
     [not found]   ` <3C87E880.2E7D842B@eng.mcd.mot.com>
     [not found]     ` <20020308002531.A1031@pike.home>
     [not found]       ` <3C9A28F8.CE9E4786@eng.mcd.mot.com>
     [not found]         ` <20020330093740.A1178@pike.home>
2002-04-08 18:19           ` Diald on RH 6.2 initializing errors Gary Hinton
2002-04-09  2:35             ` Rod . Pike
2002-04-19 15:45               ` Gary Hinton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.