|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
OpenBSD 5.7 PPPOE
Dear All,
I'm tried to set up OpenBSD as router/firewall but unfortunately the following command was not found at the OpenBSD box. pppoedev spppcontrol. Any tutorial that teach how to setup the pppoe? Thanks. |
|
|||
Have you checked the FAQ - http://www.openbsd.org/faq/index.html
The searchable man pages are here - http://www.openbsd.org/cgi-bin/man.cgi
__________________
Linux since 1999, & also a BSD user. |
|
||||
|
|
|||
My question is why enter command pppoedev into terminal and it return command not found.
I'm definitely using modem in bridge mode and not router. Thanks. |
|
|||
This is my /etc/hostname.pppoe0 config:
Quote:
Quote:
|
|
||||
I'm not a PPPoE user, so I don't know if anything is wrong with it, but it does not match the example in the pppoe(4) man page. It is possible that you have a provisioning error.
(As discussed in your other thread we have noted you introduced errors in subnet addressing, but that problem is not specific to PPPoE.) This is what I can see which is different than the recommendation in the man page:
I assume you have populated your authname and authkey options per the man page, and that the "" fields you show here merely have these fields redacted. |
|
|||
Quote:
I had marked the external interface with UP. I had configure the /etc/hostname.pppoe0 with the following configuration. Quote:
Warning: /etc/hostname.pppoe0 is insecure, fixing permissions ifconfig status Quote:
I'm sure the username and password is correct. Thanks. |
|
||||
Quote:
Code:
# Not using stat(1), we can't rely on having /usr yet set -A stat -- `ls -nL $file` if [ "${stat[0]#???????} ${stat[2]} ${stat[3]}" != "--- 0 0" ]; then echo "WARNING: $file is insecure, fixing permissions" chmod -LR o-rwx $file chown -LR root.wheel $file fi Quote:
That level of information might help you determine a root cause, if there is a failure in basic communication. PPP/PPPoE negotiation problems present a level of diagnosis that require skills you do not yet possess. The negotiation protocol is outlined briefly in Wikipedia, but that is not sufficient detail for root cause analysis. Understanding the packets themselves will require clear understanding of Ethernet frames and of PPP. You will need to understand RFC 2516, which defines PPPoE, and RFC 1661, which defines PPP. Last edited by jggimi; 13th June 2015 at 08:10 PM. Reason: typo, clarity |
|
|||
Quote:
EDIT: I'm issued the following command at terminal Quote:
Quote:
Last edited by Peter_APIIT; 14th June 2015 at 01:41 PM. Reason: Added information |
|
||||
Quote:
# ifconfig pppoe0 inet 0.0.0.0 ... Note that the pseudo-device pppoe0 will be created on demand if needed. You can also create it manually first if you wish with # ifconfig pppoe0 create
|
|
||||
I've mentioned this in another of your threads, but as communication may have been unclear, I will repeat it here for clarity:
You must supply both authname and authkey values in your ifconfig(8) command or hostname.pppoe0 file.You have been showing these as "" in your posts. It is not clear to me if you are redacting your values when you post here, or, if instead you have these as empty values in your configuration file and command. Last edited by jggimi; 15th June 2015 at 02:07 AM. Reason: typo |
|
|||
Quote:
|
|
|||
Quote:
I'll try it out tonight. |
|
|||
PPPOE problem solved but has routing issues.
|
|
|||
Dear jggmi,
First of all, Thanks for your prompt reply. The routing issue was documented at another thread (OpenBSD Routing Issue). I don't want to mess up this thread with another question which ease other user to search as well. Last edited by Peter_APIIT; 17th June 2015 at 11:42 AM. Reason: Typo |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
dsl -> pppoe pf problem | n4p1 | OpenBSD General | 1 | 3rd March 2010 07:06 AM |
Problem with pf for PPPoE | Monkey | OpenBSD Security | 2 | 18th December 2009 03:29 AM |
pppoe | kaschei | OpenBSD General | 2 | 20th May 2009 01:14 AM |
PF and kernel-level PPPoE(4) | gezley | OpenBSD Security | 3 | 15th May 2009 06:56 PM |
Modem PPPoE vs OpenBSD PPPoE | ryoken | OpenBSD Security | 13 | 15th June 2008 10:07 PM |