User Tools

Site Tools


adsl_modem

This is an old revision of the document!


Accessing your ADSL modem In Bridge Mode

Introduction

Gargoyle supports PPPoE connections over ADSL links. ADSL links use phone lines as there physical connection to the internet. The phone line requires special modem equipment on both ends and filters to allow the line to be simultaneously used as a phone connection. Gargoyle does not support PPPoA connections directly.

For those of you that have PPPoE connections and want to deploy a Gargoyle router you would be wise to pay attention to the configuration of your ADSL device. Most of these devices can be configured as routers themselves but since you are using Gargoyle it is best if you change the configuration the into a simple modem. The name of this mode varies by manufacturer. The term “bridged mode” seems the most common but something like “modem mode” or “simple ADSL modem” may also be used. Changes to these devices are typically made through a web page you can access using the modem's IP address.

There are several reasons to configure your modem in this fashion. First the performance of Gargoyle's QoS will be improved since it will account for PPPoE overhead leading to more accurate control. Second your ADSL Router becomes transparent and your Gargoyle router will obtain your WAN (wide area network) IP address directly. This is useful should you need to port forward or remotely gain access to your network from the internet.

Before you change the device into modem mode make sure that you enable DHCP on the device. In most of these devices DHCP can be active in modem mode although sometimes it is necessary to configure it before you change modes. If you do this step you will automatically be able to access your modem's web page from your LAN without further configuration.

Manual Configuring for modem access

For most people the above introduction section is all you need to read to properly configure your router. However, if you cannot get the DHCP server on your modem to function in 'bridge mode' you can manually configure this function.

To continue further you will need the following

  • PPPoE connection (PPPoA is not suitable)
  • Suitable xDSL modem (Netgear DG834)
  • Gargole Router with SSH access enabled
  • WinSCP or other means to edit a file on your router

Setup

ADSL Modem Setup

First set up your ADSL modem

Netgear DG834 example

Change the router IP address to 192.168.10.1

Then follow these instructions

http://vpncasestudy.com/download/DG/DG834_Tips100.pdf

NOTE Once in 'Modem only' mode the DG834 will act as a simply modem, its IP address will have no relevance except for connecting to the router to change settings or reconfigure. Remember this IP address, as DHCP will no longer function and you will need it if you wish to connect to the DG834 in future.

Gargoyle Router Setup

The default AP mode is fine, setup from the GUI.

With SSH access or WinSCP find and edit

/etc/ppp/ip-up.d/modemaccess.sh

<shell> vi /etc/ppp/ip-up.d/modemaccess.sh </shell>

#This script allows access to the ADSL modem web interface when pppoe is used.
#For this to work configure your modem in brdige mode with DHCP enabled on the modem.
#This will cause the modem to dish an address to the router interface when requested below.
#
#Alternatively you can manually set the below variable ROUTER_IP with the IP address
#you want to use. Make sure the IP address is on the same network as the modem.
#ROUTER_IP=10.0.0.2

Edit and Change <shell> #ROUTER_IP=10.0.0.2 </shell> to <shell> ROUTER_IP=192.168.10.2 </shell>

Reboot your Gargoyle router and everything should work

ADSL Modem Access

You should now be able to access your adsl modem via http://192.168.10.1

adsl_modem.1329570806.txt.gz · Last modified: 2012/02/18 13:13 by pbix