Jump to content

This is the support site for Andrews & Arnold Ltd, a UK Internet provider. Information on these pages is generally for our customers but may be useful to others, enjoy!

Router:Linux: Difference between revisions

Content deleted Content added
AA-Andrew (talk | contribs)
No edit summary
Reedy (talk | contribs)
clean up
 
(5 intermediate revisions by 3 users not shown)
Line 7: Line 7:
* You have a PPPoE router but it doesn't do everything you want
* You have a PPPoE router but it doesn't do everything you want


== Debian/squeeze ==
== Debian/squeeze and /wheezy ==


This is what RogerBW is using. It'll probably be much the same on other Linuxen. The basic recipe came from [http://www.aa-asterisk.org.uk/index.php/Connecting_to_AAISP_using_PPPoE].
This is what RogerBW is using. It'll probably be much the same on other Linuxen. The basic recipe came from [http://www.aa-asterisk.org.uk/index.php/Connecting_to_AAISP_using_PPPoE].
Line 107: Line 107:


In theory, "default" should apply to all interfaces created later, while "all" should apply to all interfaces that exist now. This doesn't always seem to be the case.
In theory, "default" should apply to all interfaces created later, while "all" should apply to all interfaces that exist now. This doesn't always seem to be the case.

== Full startup sequence ==

<pre>
ifconfig eth1 up
pon aaisp
</pre>


== PPP ==
== PPP ==
Line 113: Line 120:


*IP-over-LCP patches (receive only):
*IP-over-LCP patches (receive only):
**[http://proxima.lp0.eu/~simon/aaisp/linux/ip-over-lcp_2.6.35.4.patch 2.6.35.4]
**[https://sa.me.uk/pub/patches/linux/ip-over-lcp_2.6.35.4.patch 2.6.35.4]
**[http://proxima.lp0.eu/~simon/aaisp/linux/ip-over-lcp_3.2.0-rc5.patch 3.2.0-rc5]
**[https://sa.me.uk/pub/patches/linux/ip-over-lcp_3.2.0-rc5.patch 3.2.0-rc5]


=== PPPoE ===
=== PPPoE ===
Line 123: Line 130:
**pppd 2.4.6 is required for RFC 4638 support ([http://git.ozlabs.org/?p=ppp.git;a=commit;h=fd1dcdf758418f040da3ed801ab001b5e46854e7 this is in git] but not yet released)
**pppd 2.4.6 is required for RFC 4638 support ([http://git.ozlabs.org/?p=ppp.git;a=commit;h=fd1dcdf758418f040da3ed801ab001b5e46854e7 this is in git] but not yet released)


== PPP Not coming back after a blip: ==
== PPP Not coming back after a blip ==
This was reported in IRC on Feb 6th 2011. If you get people saying their line didn't come back or their linux box crashed (as in kernel oopsed) after a blip, turns out there's a bug in the kernel pppoe code for 2.6.36 which has been hitting me. some kind of double free in the disconnect code causes a kernel panic. there's a patch here: http://kerneltrap.org/mailarchive/linux-kernel/2010/12/3/4654538 which seems to work for me
This was reported in IRC on Feb 6th 2011. If you get people saying their line didn't come back or their linux box crashed (as in kernel oopsed) after a blip, turns out there's a bug in the kernel pppoe code for 2.6.36 which has been hitting me. some kind of double free in the disconnect code causes a kernel panic. there's a patch here: http://kerneltrap.org/mailarchive/linux-kernel/2010/12/3/4654538 which seems to work for me




[[Category:Linux]][[Category:Configuring]][[Category:Router]]
[[Category:3rd Party Routers|Linux]]


=Also see:=
=Also see=
[[Ebtables]]
[[Ebtables]]