Greetings all,<br>
<br>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 1.1.3 (Linux)"><meta name="CREATED" content="20051007;15304400"><meta name="CHANGED" content="16010101;0">
<style>age { size: 21cm 29.7cm; margin: 2cm }
P { margin-bottom: 0.21cm }
--></style>I
need to use PPPoE to connect to the net. Each time I reboot the
computer, I need to establish a connection as the routing seems to
fail. Googling and making use of this forum, I added: <span style="font-style: italic;"><span style="font-weight: bold;">pre-up /sbin/ifconfig eth0 up</span> </span>to /etc/network/interfaces, and netstat -rn after rebooting tells me:
<br>
<p style="margin-bottom: 0cm;">
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 1.1.3 (Linux)"><meta name="CREATED" content="20051007;15304400"><meta name="CHANGED" content="16010101;0">
<style>
<!--
@page { size: 21cm 29.7cm; margin: 2cm }
P { margin-bottom: 0.21cm }
-->
</style>
<p style="margin-bottom: 0cm;">Kernel IP routing table<br>
Destination
Gateway
Genmask
Flags MSS Window irtt Iface</p>
<p style="margin-bottom: 0cm;"><a href="http://202.64.10.27">202.64.10.27</a> <a href="http://0.0.0.0">0.0.0.0</a>
255. 255.255.255
UH
0
0
0 ppp0<br>
192.168.2. 0
<a href="http://0.0.0.0">0.0.0.0</a>
<a href="http://255.255.255.0">255.255.255.0</a>
U
0
0
0 eth0<br>
<a href="http://0.0.0.0">0.0.0.0</a>
<a href="http://192.168.2.1">192.168.2.1</a>
<a href="http://0.0.0.0">0.0.0.0</a>
UG
0
0
0 eth0<br>
</p>
<p style="margin-bottom: 0cm;">And I cannot connect to net or download mail. <br>
</p>
<p style="margin-bottom: 0cm;">Then I need to sudo poff, ifdown eth0 and pppoeconf. The resulting table from netstat -rn is:<br>
</p>
<p style="margin-bottom: 0cm;">Kernel IP routing table<br>
Destination
Gateway
Genmask
Flags MSS Window irtt Iface<br>
<a href="http://202.64.10.27">202.64.10.27</a>
<a href="http://0.0.0.0">0.0.0.0</a>
<a href="http://255.255.255.255">255.255.255.255</a> UH 0
0
0 ppp0<br>
<a href="http://0.0.0.0">0.0.0.0</a>
<a href="http://202.64.10.27">202.64.10.27</a>
<a href="http://0.0.0.0">0.0.0.0</a>
UG
0
0
0 ppp0</p>
<p style="margin-bottom: 0cm;"><br>
What do I need to do to automate this at boot time? <br>
</p>
<p style="margin-bottom: 0cm;">Brian<br>
</p>
</p>