![]() |
|
|||||||
| OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
|
Thread Tools | Display Modes |
|
|||
|
Hi all,
I can't make this one work, though I think it's close. I'm setting up a OpenBSD 4.4 firewall (pf). I have ADSL-connection to my ISP with dynamically assigned ip. My DSL-modem is a bridge-type modem which is connected to the BSD machine, on which I run the built in PPPoE-daemon. The interface connecting to the DSL-modem is rl0. My /etc/hostname.rl0: Code:
up Code:
pppoedev rl0 !/sbin/ifconfig rl0 up inet 0.0.0.0 255.255.255.255 NONE authproto chap authname 'username@tele2adsl8' authkey 'password' up dest 0.0.0.1 !/sbin/route add default -ifp pppoe0 0.0.0.1 After I reboot or run the /etc/netstart i keep an eye on the ifconfig pppoe0: Code:
pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
dev: rl0 state: PADI sent
sid: 0x0 PADI retries: 5 PADR retries: 0
sppp: phase establish authproto chap authname "username@tele2adsl8"
groups: pppoe egress
inet6 fe80::219:5bff:fe7f:4d51%pppoe0 -> prefixlen 64 scopeid 0x7
inet 0.0.0.0 --> 0.0.0.1 netmask 0xffffffff
After a few attempts (PADI retries) it's terminated: Code:
pppoe0: flags=8851<UP,POINTOPOINT,RUNNING,SIMPLEX,MULTICAST> mtu 1492
dev: rl0 state: session
sid: 0xcbe7 PADI retries: 6 PADR retries: 0 time: 00:00:03
sppp: phase terminate authproto chap authname "username@tele2adsl8"
groups: pppoe egress
inet6 fe80::219:5bff:fe7f:4d51%pppoe0 -> prefixlen 64 scopeid 0x7
inet 0.0.0.0 --> 0.0.0.1 netmask 0xffffffff
The PPPoE-client is talking to the DSLAM right? But something goes wrong. Am i missing out on the syntax somewhere? Btw; pf is disabled during these tests. I have tried the connection with a Netgear WLAN Router with built in PPPoE-client, and that works like a charm with the same log in credentials so I know the ISP-connection is OK. Any ideas I can try out? Thanx in advance. /G Last edited by J65nko; 25th February 2010 at 07:29 PM. Reason: [code] and [/code] tags added |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| connect to OpenBSD BOX with VNC | mfaridi | OpenBSD General | 9 | 14th April 2010 08:38 PM |
| How understand someone connect to my BOX with VNC | mfaridi | OpenBSD Security | 8 | 20th November 2008 11:24 PM |
| FTP-Proxy cannot connect | plexter | OpenBSD Packages and Ports | 6 | 11th October 2008 05:59 PM |
| wpa_supplicant won't connect to AP | adamk | FreeBSD General | 4 | 24th September 2008 08:09 AM |