DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th November 2020
k2k k2k is offline
New User
 
Join Date: Jan 2020
Posts: 4
Default Openbsd PPPOE session establish issue

Hi,

I encountered PPPOE problem with OpenBSD 6.7.
I have peaty much standard pppoe configuration.
The problem occurs with PF enabled or disabled.

/etc/hostname.pppoe0
Quote:
inet 0.0.0.0 255.255.255.255 NONE \
pppoedev em1 authproto pap \
authname 'user-name' authkey 'secret' up
dest 0.0.0.1
/etc/hostname.em1
Quote:
up
mtu 1460
[cmd]ifconfig em1[/cmd]
Quote:
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1460
lladdr 00:0d:b9:41:e5:81
[cmd]ifconfig ppoe0[/cmd]
Quote:
pppoe0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1452
index 10 priority 0 llprio 3
dev: em1 state: PADI sent
sid: 0x0 PADI retries: 1516 PADR retries: 0
groups: pppoe
status: active # here i don't have exact value
inet 0.0.0.0 --> 0.0.0.1 netmask 0xffffffff
I changed MTU from default 1500 because I suspected that it was MTU issue, but that wasn't it.

I did some tcpdumps to diagnose the issue and I believe that PPP session is not started, look into attachment.

I resorted to alternate OS that establishes PPPOE session with Modem. I would rather switch back to OpenBSD.

Is there any settings that I can change so that PPPOE session will be established regardless of Modem behavior ?
Attached Files
File Type: txt pppoe0.2.txt (20.4 KB, 46 views)
Reply With Quote
  #2   (View Single Post)  
Old 27th January 2021
k2k k2k is offline
New User
 
Join Date: Jan 2020
Posts: 4
Default

Ok I found solution, changed auth proto from pap to chap and it worked, ... at least partially now I don't get IP adresses. Hint is if you see on tcpdump LCP Configure-Nak then PPPOE Link Control Protocol can't establish link, and in my case the auth method was wrong.
(Also ifconfig pppoe0 state show PADI - which states for PPPoE Active Discovery Initiation. so I couldn't get to next stage of PPPOE protocol)
No i have problem with IPCP Configure-Nak so I can't establish IP adrresses even if i configured pppoe0 as to get IP from IPCP (PPOE Internet Protocol Control Protocol) .
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD 5.7 Multiple PPPoE with the same Carrier apsaras OpenBSD General 3 9th July 2015 02:12 AM
OpenBSD 5.7 PPPOE Peter_APIIT OpenBSD General 16 17th June 2015 11:39 AM
unable to establish connections after upgrading nightfall OpenBSD Installation and Upgrading 6 22nd November 2009 11:02 PM
rtorrent: Could not lock session directory: "/Torrents/Downloading/rtorrent.session/ mfaridi FreeBSD Ports and Packages 2 26th November 2008 06:47 AM
Modem PPPoE vs OpenBSD PPPoE ryoken OpenBSD Security 13 15th June 2008 10:07 PM


All times are GMT. The time now is 10:19 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick