Unable to login with PPPoE (2.10-RELEASE x86)
Georg Bege
therion at ninth-art.de
Wed Jul 6 19:52:19 PDT 2011
Good day to you all
I recently installed Dragonfly BSD on some box of mine -
potentially replacing my old router.
Im not really a beginner, did use various BSDs before but
using FreeBSD most of the time.
I actually never had a lot of issue regarding this, but now Im running
out of ideas.
Whatever I try Im not able to use PPPoE to login to my internet (which
is essential for the purpose of this box).
I seem to get an IP but I cannot ping anything (eg. no routing?)
I'll attach my ppp.conf and a ppp.log (for the logging options I used,
see the conf.)
Of course my auth is correct, else I wouldnt get an IP actually.
I compile my own kernel now, but for now I keep running the generic
stuff:
-----------------------snip-----------------------------
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
inet6 fe80::beae:c5ff:feb7:a940%re0 prefixlen 64 scopeid 0x1
ether bc:ae:c5:b7:a9:40
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2290
ether d8:5d:4c:ba:d4:7a
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
<hostap>
status: associated
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
faith0: flags=8002<BROADCAST,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
options=3<RXCSUM,TXCSUM>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 192.168.2.1 netmask 0xfffffff8 broadcast 192.168.2.7
inet6 fe80::da5d:4cff:feba:d47a%wlan0 prefixlen 64 scopeid 0x8
ether d8:5d:4c:ba:d4:7a
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
<hostap>
status: associated
ssid ninth-art.net channel 7 (2442 MHz 11g) bssid
d8:5d:4c:ba:d4:7a
regdomain ETSI country DE indoor ecm authmode WPA privacy MIXED
deftxkey 2 TKIP 2:128-bit TKIP 3:128-bit txpower 30 scanvalid 60
protmode CTS wme burst dtimperiod 1 -dfs
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1492
-----------------------snip-----------------------------
(as you can see I've setup my wireless card already)
uname -a:
-----------------------snip-----------------------------
DragonFly aquina.ninth-art.net 2.10-RELEASE DragonFly
v2.10.1.1.gf7ba0-RELEASE #1: Mon Apr 25 19:48:10 UTC 2011
root at pkgbox32.dragonflybsd.org:/usr/obj/usr/src/sys/GENERIC i386
-----------------------snip-----------------------------
kldstat:
-----------------------snip-----------------------------
Id Refs Address Size Name
1 21 0xc0100000 83ac14 kernel
2 1 0xc093b000 1680c if_ath.ko
3 3 0xc0952000 62aec ath_hal.ko
4 2 0xc09b5000 4b44 ath_rate.ko
5 1 0xc09ba000 7754c acpi.ko
6 1 0xc0a32000 133c4 ahci.ko
7 1 0xc0a46000 9708 ehci.ko
8 2 0xc0a50000 b8a0 dm.ko
9 1 0xc0a5c000 18d80 dm_target_crypt.ko
10 1 0xc1975000 1ca0 wlan_xauth.ko
11 1 0xd2b40000 9000 netgraph.ko
12 1 0xd2b0e000 4000 ng_ksocket.ko
13 1 0xd2b12000 3000 ng_ether.ko
14 1 0xd2b49000 4000 ng_pppoe.ko
15 1 0xd2b4d000 3000 ng_socket.ko
-----------------------snip-----------------------------
PS.:
Another issue of mine (which might be minor) is that whether Im loading
pf.ko or not I dont get the /dev/pf actually.
cheers
--
Georg Bege <therion at ninth-art.de>
!DSPAM:4e151e44844721308043045!
Jul 7 04:24:04 aquina ppp[337]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "duibr1")
Jul 7 04:24:04 aquina ppp[337]: tun0: Phase: Received NGM_PPPOE_SESSIONID
Jul 7 04:24:04 aquina ppp[337]: tun0: Phase: Received NGM_PPPOE_SUCCESS
Jul 7 04:24:04 aquina ppp[337]: tun0: Phase: deflink: carrier -> login
Jul 7 04:24:04 aquina ppp[337]: tun0: Phase: deflink: login -> lcp
Jul 7 04:24:04 aquina ppp[337]: tun0: LCP: FSM: Using "deflink" as a transport
Jul 7 04:24:04 aquina ppp[337]: tun0: LCP: deflink: State change Initial --> Closed
Jul 7 04:24:04 aquina ppp[337]: tun0: LCP: deflink: State change Closed --> Stopped
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: deflink: LayerStart
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: ACFCOMP[2]
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: PROTOCOMP[2]
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: ACCMAP[6] 0x00000000
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: MRU[4] 1492
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: MAGICNUM[6] 0x526c492e
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: deflink: State change Stopped --> Req-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: deflink: RecvConfigReq(4) state = Req-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: MRU[4] 1492
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: MAGICNUM[6] 0x5c512db9
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: deflink: SendConfigAck(4) state = Req-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: MRU[4] 1492
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05)
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: MAGICNUM[6] 0x5c512db9
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: deflink: State change Req-Sent --> Ack-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: deflink: RecvConfigRej(1) state = Ack-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: ACFCOMP[2]
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: PROTOCOMP[2]
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: ACCMAP[6] 0x00000000
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: QUALPROTO[8] proto c025, interval 30000ms
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: deflink: SendConfigReq(2) state = Ack-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: MRU[4] 1492
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: MAGICNUM[6] 0x526c492e
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: deflink: RecvConfigAck(2) state = Ack-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: MRU[4] 1492
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: MAGICNUM[6] 0x526c492e
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: deflink: State change Ack-Sent --> Opened
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: deflink: LayerUp
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: deflink: SendEchoRequest(0) state = Opened
Jul 7 04:24:05 aquina ppp[337]: tun0: Phase: bundle: Authenticate
Jul 7 04:24:05 aquina ppp[337]: tun0: Phase: deflink: his = CHAP 0x05, mine = none
Jul 7 04:24:05 aquina ppp[337]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from duibr1)
Jul 7 04:24:05 aquina ppp[337]: tun0: Phase: Chap Output: RESPONSE (***my-login***)
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: deflink: RecvEchoReply(0) state = Opened
Jul 7 04:24:05 aquina ppp[337]: tun0: Phase: Chap Input: SUCCESS (access accepted : ***my-login***)
Jul 7 04:24:05 aquina ppp[337]: tun0: CCP: FSM: Using "deflink" as a transport
Jul 7 04:24:05 aquina ppp[337]: tun0: CCP: deflink: State change Initial --> Closed
Jul 7 04:24:05 aquina ppp[337]: tun0: CCP: deflink: LayerStart.
Jul 7 04:24:05 aquina ppp[337]: tun0: CCP: MPPE: Not usable without CHAP81
Jul 7 04:24:05 aquina ppp[337]: tun0: CCP: deflink: SendConfigReq(1) state = Closed
Jul 7 04:24:05 aquina ppp[337]: tun0: CCP: DEFLATE[4] win 15
Jul 7 04:24:05 aquina ppp[337]: tun0: CCP: PRED1[2]
Jul 7 04:24:05 aquina ppp[337]: tun0: CCP: deflink: State change Closed --> Req-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: Phase: deflink: lcp -> open
Jul 7 04:24:05 aquina ppp[337]: tun0: Phase: bundle: Network
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: FSM: Using "deflink" as a transport
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: deflink: State change Initial --> Closed
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: deflink: LayerStart.
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: IPADDR[6] 10.0.0.1
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: deflink: State change Closed --> Req-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: deflink: RecvConfigReq(92) state = Req-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: IPADDR[6] 84.62.128.1
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: deflink: SendConfigAck(92) state = Req-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: IPADDR[6] 84.62.128.1
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: deflink: State change Req-Sent --> Ack-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: deflink: RecvProtocolRej(5) state = Opened
Jul 7 04:24:05 aquina ppp[337]: tun0: LCP: deflink: -- Protocol 0x80fd (Compression Control Protocol) was rejected!
Jul 7 04:24:05 aquina ppp[337]: tun0: CCP: deflink: State change Req-Sent --> Stopped
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: deflink: RecvConfigRej(1) state = Ack-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: deflink: SendConfigReq(2) state = Ack-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: IPADDR[6] 10.0.0.1
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: deflink: RecvConfigNak(2) state = Ack-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: IPADDR[6] 84.62.131.143
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: IPADDR[6] changing address: 10.0.0.1 --> 84.62.131.143
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: deflink: SendConfigReq(3) state = Ack-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: IPADDR[6] 84.62.131.143
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: deflink: RecvConfigAck(3) state = Ack-Sent
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: IPADDR[6] 84.62.131.143
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: deflink: State change Ack-Sent --> Opened
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: deflink: LayerUp.
Jul 7 04:24:05 aquina ppp[337]: tun0: IPCP: myaddr 84.62.131.143 hisaddr = 84.62.128.1
Jul 7 04:24:05 aquina ppp[337]: tun0: Warning: 84.62.128.1: Change route failed: errno: No such process
Jul 7 04:24:35 aquina ppp[337]: tun0: LCP: deflink: SendEchoRequest(1) state = Opened
Jul 7 04:24:35 aquina ppp[337]: tun0: LCP: deflink: RecvEchoReply(1) state = Opened
Jul 7 04:24:51 aquina ppp[337]: tun0: LCP: deflink: RecvEchoRequest(0) state = Opened
Jul 7 04:24:51 aquina ppp[337]: tun0: LCP: deflink: SendEchoReply(0) state = Opened
Jul 7 04:25:06 aquina ppp[337]: tun0: LCP: deflink: SendEchoRequest(2) state = Opened
Jul 7 04:25:06 aquina ppp[337]: tun0: LCP: deflink: RecvEchoReply(2) state = Opened
Jul 7 04:25:36 aquina ppp[337]: tun0: LCP: deflink: SendEchoRequest(3) state = Opened
Jul 7 04:25:36 aquina ppp[337]: tun0: LCP: deflink: RecvEchoReply(3) state = Opened
Jul 7 04:26:06 aquina ppp[337]: tun0: LCP: deflink: SendEchoRequest(4) state = Opened
Jul 7 04:26:06 aquina ppp[337]: tun0: LCP: deflink: RecvEchoReply(4) state = Opened
Jul 7 04:26:37 aquina ppp[337]: tun0: LCP: deflink: SendEchoRequest(5) state = Opened
Jul 7 04:26:37 aquina ppp[337]: tun0: LCP: deflink: RecvEchoReply(5) state = Opened
Jul 7 04:26:56 aquina ppp[337]: tun0: LCP: deflink: RecvEchoRequest(1) state = Opened
Jul 7 04:26:56 aquina ppp[337]: tun0: LCP: deflink: SendEchoReply(1) state = Opened
Jul 7 04:27:07 aquina ppp[337]: tun0: LCP: deflink: SendEchoRequest(6) state = Opened
Jul 7 04:27:07 aquina ppp[337]: tun0: LCP: deflink: RecvEchoReply(6) state = Opened
Jul 7 04:27:37 aquina ppp[337]: tun0: LCP: deflink: SendEchoRequest(7) state = Opened
Jul 7 04:27:37 aquina ppp[337]: tun0: LCP: deflink: RecvEchoReply(7) state = Opened
# ppp.conf (PPPoE)
default:
set log Phase Chat LCP IPCP CCP tun command
enable lqr
disable dns
disable ipv6cp
set mru 1492
set mtu 1492
arcor:
set device PPPoE:re0:
set authname ***
set authkey ***
set dial
set login
set ifaddr 10.0.0.1/0 10.0.0.2/0
add default HISADDR
More information about the Users
mailing list