http://bering-uclibc.zetam.org/index.php?title=Bering-uClibc_7.x_-_User_Guide_-_IPv6_Networking_-_External_Network_Connections&feed=atom&action=history
Bering-uClibc 7.x - User Guide - IPv6 Networking - External Network Connections - Revision history
2024-03-29T07:45:09Z
Revision history for this page on the wiki
MediaWiki 1.26.0
http://bering-uclibc.zetam.org/index.php?title=Bering-uClibc_7.x_-_User_Guide_-_IPv6_Networking_-_External_Network_Connections&diff=5246&oldid=prev
Jeanrocco at 19:58, 11 June 2021
2021-06-11T19:58:55Z
<p></p>
<a href="http://bering-uclibc.zetam.org/index.php?title=Bering-uClibc_7.x_-_User_Guide_-_IPv6_Networking_-_External_Network_Connections&diff=5246&oldid=4551">Show changes</a>
Jeanrocco
http://bering-uclibc.zetam.org/index.php?title=Bering-uClibc_7.x_-_User_Guide_-_IPv6_Networking_-_External_Network_Connections&diff=4551&oldid=prev
Jeanrocco: /* Step 2: Declare the ppp and pppoe modules */
2020-11-30T21:11:39Z
<p><span dir="auto"><span class="autocomment">Step 2: Declare the ppp and pppoe modules</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 21:11, 30 November 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l89" >Line 89:</td>
<td colspan="2" class="diff-lineno">Line 89:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>All the modules which are necessary for a PPPoE connection are provided on the standard Bering-uClibc Images. You just need to "declare" them since they are not loaded by default. As far as your network cards are concerned, the most popular driver modules are provided in <code class="filename">/lib/modules</code> but you might need to add the one corresponding to your own hardware from the Bering-uClibc <code class="filename">modules.tgz</code> on your boot media. Refer to the Bering-uClibc [[Bering-uClibc 7.x - User Guide - Basic Configuration - Basic System Configuration|Basic System Configuration]] to learn how to do that.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>All the modules which are necessary for a PPPoE connection are provided on the standard Bering-uClibc Images. You just need to "declare" them since they are not loaded by default. As far as your network cards are concerned, the most popular driver modules are provided in <code class="filename">/lib/modules</code> but you might need to add the one corresponding to your own hardware from the Bering-uClibc <code class="filename">modules.tgz</code> on your boot media. Refer to the Bering-uClibc [[Bering-uClibc 7.x - User Guide - Basic Configuration - Basic System Configuration|Basic System Configuration]] to learn how to do that.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>To declare your modules, go to the LEAF <del class="diffchange diffchange-inline">Packages </del>configuration menu and choose '''modules'''. Enter 1) to edit the <code class="filename">/etc/modules</code> file and uncomment the line that relates to a PPPoE connection:</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>To declare your modules, go to the <ins class="diffchange diffchange-inline">'''</ins>LEAF configuration menu<ins class="diffchange diffchange-inline">''' </ins>and choose <ins class="diffchange diffchange-inline">'''Packages configuration''', then </ins>'''modules'''. Enter 1) <ins class="diffchange diffchange-inline">'''kernel modules to load at boot''' </ins>to edit the <code class="filename">/etc/modules</code> file and uncomment the line that relates to a PPPoE connection:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>  # Modules needed for PPP/PPPOE connection                   </div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>  # Modules needed for PPP/PPPOE connection                   </div></td></tr>
</table>
Jeanrocco
http://bering-uclibc.zetam.org/index.php?title=Bering-uClibc_7.x_-_User_Guide_-_IPv6_Networking_-_External_Network_Connections&diff=4550&oldid=prev
Jeanrocco: /* Step 1: Declare the pppoe package */
2020-11-30T20:48:35Z
<p><span dir="auto"><span class="autocomment">Step 1: Declare the pppoe package</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 20:48, 30 November 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l78" >Line 78:</td>
<td colspan="2" class="diff-lineno">Line 78:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Boot a Bering-uClibc Image. Once the LEAF menu appears get access to the linux shell by (q)uitting the menu. Edit the <code class="filename">leaf.cfg</code> file and '''replace''' the <code class="filename">dhcpcd</code> entry by <code class="filename">pppoe</code> in the list of Packages to be loaded at boot. Check</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>Boot a Bering-uClibc Image. Once the LEAF menu appears get access to the linux shell by (q)uitting the menu. Edit the <code class="filename">leaf.cfg</code> file and '''replace''' the <code class="filename">dhcpcd</code> entry by <code class="filename">pppoe</code> in the list of Packages to be loaded at boot. Check</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Bering-uClibc 7.x - User Guide - Basic Configuration - LEAF Packages#Configuring_leaf.cfg|LEAF Packages]] to learn how to do that.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[Bering-uClibc 7.x - User Guide - Basic Configuration - LEAF Packages#Configuring_leaf.cfg|LEAF Packages]] to learn how to do that.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>The ppp Package is also required (and <del class="diffchange diffchange-inline">ppp.lrp needs to </del>be on the disk) but gets loaded automatically and does not need to be specified.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>The ppp<ins class="diffchange diffchange-inline">.lrp </ins>Package is also required (and <ins class="diffchange diffchange-inline">should </ins>be <ins class="diffchange diffchange-inline">present </ins>on the disk) but gets loaded automatically and does not need to be specified <ins class="diffchange diffchange-inline">in <code class="filename">leaf.cfg</code></ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>For IPv4, the PPP negotiation includes the same sort of information that would be obtained using DHCP - DNS servers, netmask, gateway etc. - which is why there is no requirement for a DHCP client (like dhcpcd) when using PPP.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>For IPv4, the PPP negotiation includes the same sort of information that would be obtained using DHCP - DNS servers, netmask, gateway etc. - which is why there is no requirement for a DHCP client (like dhcpcd) when using PPP.</div></td></tr>
</table>
Jeanrocco
http://bering-uclibc.zetam.org/index.php?title=Bering-uClibc_7.x_-_User_Guide_-_IPv6_Networking_-_External_Network_Connections&diff=4549&oldid=prev
Jeanrocco: /* DNS */
2020-11-30T20:34:58Z
<p><span dir="auto"><span class="autocomment">DNS</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 20:34, 30 November 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l40" >Line 40:</td>
<td colspan="2" class="diff-lineno">Line 40:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''Question:''' Should we include this configuration setting as part of the default [[Bering-uClibc 7.x]] configuration?</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>'''Question:''' Should we include this configuration setting as part of the default [[Bering-uClibc 7.x]] configuration?</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''New Question:''' Should we rather use the more standard /etc/resolv.conf by <del class="diffchange diffchange-inline">presetting ''' </del>upstream_resolv_conf_dir="/etc/dhcpcd" <del class="diffchange diffchange-inline">''' instead </del>to <del class="diffchange diffchange-inline">''' </del>upstream_resolv_conf_dir="/etc" <del class="diffchange diffchange-inline">''' </del>in <del class="diffchange diffchange-inline">''' </del>/libexec/dhcpcd-hooks/20-resolv.conf <del class="diffchange diffchange-inline">'''</del>, this way we don't have to modify [[Bering-uClibc 7.x - User Guide - IPv4 Networking - Configure Dnsmasq#Using dnsmasq with dhcpcd|dnsmasq]] <del class="diffchange diffchange-inline">anymore</del>.  </div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''New Question:''' Should we rather use the more standard <ins class="diffchange diffchange-inline"><code class="filename"></ins>/etc/resolv.conf<ins class="diffchange diffchange-inline"></code> </ins>by <ins class="diffchange diffchange-inline">changing <code class="filename"></ins>upstream_resolv_conf_dir="/etc/dhcpcd"<ins class="diffchange diffchange-inline"></code> </ins>to <ins class="diffchange diffchange-inline"><code class="filename"></ins>upstream_resolv_conf_dir="/etc"<ins class="diffchange diffchange-inline"></code> </ins>in <ins class="diffchange diffchange-inline"><code class="filename"></ins>/libexec/dhcpcd-hooks/20-resolv.conf<ins class="diffchange diffchange-inline"></code></ins>, this way we don't have to modify [[Bering-uClibc 7.x - User Guide - IPv4 Networking - Configure Dnsmasq#Using dnsmasq with dhcpcd|dnsmasq]] <ins class="diffchange diffchange-inline">at all</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>===Static IP Address===</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>===Static IP Address===</div></td></tr>
</table>
Jeanrocco
http://bering-uclibc.zetam.org/index.php?title=Bering-uClibc_7.x_-_User_Guide_-_IPv6_Networking_-_External_Network_Connections&diff=4548&oldid=prev
Jeanrocco: Created page with "{| summary="Navigation header" width="100%" ! colspan="3" align="center" | Bering-uClibc 7.x - User Guide - IPv4 Networking - External Network Connections|IPv4 Networking -..."
2020-11-30T20:25:27Z
<p>Created page with "{| summary="Navigation header" width="100%" ! colspan="3" align="center" | Bering-uClibc 7.x - User Guide - IPv4 Networking - External Network Connections|IPv4 Networking -..."</p>
<a href="http://bering-uclibc.zetam.org/index.php?title=Bering-uClibc_7.x_-_User_Guide_-_IPv6_Networking_-_External_Network_Connections&diff=4548">Show changes</a>
Jeanrocco