Re: Diald on RH 6.2 initializing errors
"Rod . Pike" <[email protected]> Mon, 8 Apr 2002 22:35:20 -0400
| Newsgroups | org.kernel.vger.linux-diald |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected] | > | Tempe, Arizona 85282 Mail Drop: DW278 | > +--------------------------------------------------------------------+