Koozali.org: home of the SME Server

connecting SME to ADSL provider via PPPoE

ellsone

connecting SME to ADSL provider via PPPoE
« on: October 25, 2005, 07:36:16 PM »
Hello,

I'm installing SME Server 6.0.1-01 and would like my SME server to connect to my ADSL provider (ZenADSL) using PPPoE.

I have an IX66 ADSL modem/router/firewall and this connects to my provider with no problems using PPPoE. However I have been given 8 static IP addresses of which 6 are usable and my IX66 uses a further 2 and so this only leaves me with 4.

Hence I have now configured my IX66 to be a simple bridge modem where it simply passes through all protocols unchanged and so I get to use 6 IP addresses instead of 4. This requires the SME server to do the PPPoE negotiation etc. I've set this up as specified in the installation manual but it simply does not work. Can anyone point me to some more detailed documentation?

Many Thanks

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: connecting SME to ADSL provider via PPPoE
« Reply #1 on: October 25, 2005, 07:52:57 PM »
Quote from: "ellsone"

This requires the SME server to do the PPPoE negotiation etc. I've set this up as specified in the installation manual but it simply does not work.


Please define more carefully "does not work". What do you see in /var/log/messages and /var/log/pppoe/current?

ellsone

connecting SME to ADSL provider via PPPoE
« Reply #2 on: October 26, 2005, 01:13:52 AM »
I have typed this by hand since I do not have connectivity so here goes:

The /var/log/messages says

pppd[4081]: pppd 2.4.2b1 started by root, uid 0
pppd[4081]: using channel 30
kernel: divert: not allocating divert_blk for non-ethernet device ppp0
pppd[4081]: Using interface ppp0
pppd[4081]: Connect: ppp0 <--> /dev/pts/0
/etc/hotplug/net.agent: assuming ppp0 is already up
pppd[4081]: sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x36c42be5>]
last message repeated 9 times
pppd[4081]: LCP: timeout sending Config-Requests
pppd[4081]: Connection Terminated
kernel: divert: no divert_blk to free, ppp0 not ethernet
pppd[4081]: Waiting for 1 child processes ...
pppd[4081]: script /usr/sbin/pppoe -I eth1 -T 120 -U -m1412, pid 4118
/etc/hotplug/net.agent: NET unregister event not supported
pppoe{4118]: Timeout waiting for PADO packets
pppd[4081]: Script /usr/sbin/pppoe -I eth1 -T 120 -U -m 1412 finished (pid 4118), status = 0x1
pppd[4081]: Exit


...and the /var/log/pppoe/current says .....

using channel 8
Using interface ppp0
Connect : ppp0 <--> /dev/pts/0
sent [LCP ConfReq id=0x1 <mru 1492> <magic 0x26ae3f3>]
(above line repeats further 9 times)
LCP: timeout sending Config-Requests
Connection terminated
Waiting for 1 child processes...
  script /usr/sbin/pppoe -I eth1 -T 120 -U -m 1412, pid 2924
pppoe: Timeout waiting for PADS packets
Script /usr/sbin/pppoe -I eth1 -T 120 -U -m 1412 finished (pid 2924), status = 0x1
 
The whole process repeats but using channel 9 and then channel 10 and so on.


Any help would be appreciated.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
connecting SME to ADSL provider via PPPoE
« Reply #3 on: October 26, 2005, 04:45:44 AM »
Quote from: "ellsone"

Waiting for 1 child processes...
  script /usr/sbin/pppoe -I eth1 -T 120 -U -m 1412, pid 2924
pppoe: Timeout waiting for PADS packets


This means that packets are not being exchanged between your server and the access concentrator at your ISP. Check that you have ethernet connectivity to your modem, that you have DSL link on your line, and that your modem really is bridging and that your ISP supports PPPoE. It's very unlikely to be an SME server software problem.

Also check that you aren't confused about which is eth0 and eth1 - is your LAN working correctly?

ellsone

connecting SME to ADSL provider via PPPoE
« Reply #4 on: October 26, 2005, 02:41:40 PM »
Also check that you aren't confused about which is eth0 and eth1 - is your LAN working correctly?[/quote]


I'm in the UK and I believe all ADSL uses PPP over ATM (and not PPPoE). Apparently PPP over ATM (PPPoA) cannot be transmitted on the ethernet so using a bog standard ADSL modem does not work since PPPoA cannot be passed through (I will confirm all this soon)

So I assume there are devices our there that convert PPPoA to PPPoe???

barryf

connecting SME to ADSL provider via PPPoE
« Reply #5 on: October 26, 2005, 05:15:55 PM »
If you are using your SME box in serve-gateway mode, you only really need 1 external IP address.  The rest can be done with port-forwading, or am I missing the point completely?

ellsone

connecting SME to ADSL provider via PPPoE
« Reply #6 on: October 26, 2005, 07:31:23 PM »
Yes you are quite right, but if you have say two web servers on port 80 then things get a bit tricky and separate IP is a lot easier.

I suppose the point is I have these IP addresses and want to use them