Skip to contentSkip to conversation

Diald on RH 6.2 initializing errors

DISCUSSION Gary Hinton 2 participants 3 messages Apr 8, 2002 – Apr 19, 2002 6 messages not in the archive

lore
Share & tools
lore
#6 lore raw
In reply to a message not in the archive

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:

Quoted 3 lines

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.

Quoted 9 lines

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.

Quoted 30 lines
Quoted 17 lines

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
Quoted 1 line

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
Quoted 1 line

Does Iserver have two ethernet interfaces? Can you explain?

No, only one network card in the system.

Quoted 2 lines

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                    |
+--------------------------------------------------------------------+
#7 lore raw
Quoted 8 lines · Gary Hinton

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?

Quoted 10 lines

But ....

Quoted 1 line

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

Quoted 72 lines

And now, repsonses to your questions:

Quoted 3 lines

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.

Quoted 9 lines

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.

Quoted 30 lines
Quoted 17 lines

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
Quoted 1 line

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
Quoted 1 line

Does Iserver have two ethernet interfaces? Can you explain?

No, only one network card in the system.

Quoted 2 lines

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                    |
+--------------------------------------------------------------------+
#8 lore raw

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

Quoted 119 lines · Rod . Pike
Quoted 8 lines · Gary Hinton

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?

Quoted 10 lines

But ....

Quoted 1 line

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

Quoted 65 lines

And now, repsonses to your questions:

Quoted 3 lines

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.

Quoted 9 lines

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.

Quoted 30 lines
Quoted 17 lines

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
Quoted 1 line

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
Quoted 1 line

Does Iserver have two ethernet interfaces? Can you explain?

No, only one network card in the system.

Quoted 2 lines

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

Quoted 7 lines
+--------------------------------------------------------------------+
| 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                    |
+--------------------------------------------------------------------+

-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 7 lines
+--------------------------------------------------------------------+
| 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                    |
+--------------------------------------------------------------------+