On Nov 27, 2007 3:21 PM, Prashant Shah wrote:
This guide is to setup Ubuntu Linux with Worldnet / Exattnet.
Ok, so I'm not the only one who had to struggle to get connected to worldnet. ;-)
Assume the following :
Username : abc Password : xyz Server : worldnet002
Lets get started ....
- Get a dlink card - DFE-530TX (it has original realtek chipset which
if fully supported in linux as 8139too kernel module)
Note : There are other lan cards in market available under Realtek chipset - but they didnt work for me. I read about them that they are not original realtek chipset.
I've also had the following cards working perfectly well: DFE-520TX DFE-530TX
- Run the following command from the shell prompt (needed to set the
link speed to 10MPBS and Half duplex)
$mii-tool -F 10baseT-HD eth0
Add this line to /etc/rc.local so that it runs at every boot
/etc/rc.local mii-tool -F 10baseT-HD eth0
What exactly does this do? I haven't performed any such step and everything seems to work fine.
- Install the pppoe package (google them)
modconf_0.3.1_all.deb
Why is this needed?
pppoe_3.8-1.1_i386.deb pppoeconf_1.13_all.deb
- configure the /etc/ppp/pppoe.conf (substitute the username and passowrd)
/etc/ppp/pppoe.conf ETH='eth0' USER='abc' DEMAND=no CONNECT_TIMEOUT=60 CONNECT_POLL=6 PING="." PIDFILE="/var/run/$CF_BASE-pppoe.pid" TERMINATEFILE=/var/run/pppoe.stop SYNCHRONOUS=no CLAMPMSS=no LCP_INTERVAL=20 LCP_FAILURE=3 PPPOE_TIMEOUT=80 FIREWALL=NONE ACNAME='worldnet002' SERVICENAME='worldnet002' DNSTYPE='SERVER' PEERDNS='yes'
You may also have to add the line DEFAULTROUTE=yes to set this connection as the default route.
- Run the following command and fill in the details
$pppoe-setup
- Verify the following
/etc/ppp/chap-secrets "abc" * "xyz"
/etc/ppp/pap-secrets "abc" * "xyz"
- Start the internet
$sudo pppoe-start ...Connected !
Note :
Sometimes the worlnet DNS servers will not assign you a IP address. So when you boot into windows note down the IP address assigned to you. Then when you boot into Linux just assign the same IP address to the LAN card as static ip address.
This is just a basic hack to get it working. If any improvements or mistakes please suggest.
I've noticed that there are 2 methods for configuring PPPoE: 1. Using "pppoe": Install the "pppoe" package. (Its in the Ubuntu universe repositories*) Configure it by running pppoe-setup The settings are saved in /etc/ppp/pppoe.conf To start the connection use pppoe-start To stop the connection use pppoe-stop To check the status of the connection use pppoe-status
2. Using "pppoeconf": Install the "pppoeconf" package. (It comes installed by default as of Ubuntu 7.10) Configure it by running pppoeconf The settings are saved in /etc/ppp/peers/dsl-provider To start the connection use pon dsl-provider To stop the connection use poff dsl-provider To check the status of the connection use plog
In both the above methods, when you run the respective configuration tool, it doesn't prompt you for the access-concentrator name and the service-provider. This is fine only if you have a single access-provider on your LAN. In case you have multiple access-providers on your LAN (as in the case of exatt/worldnet), you'd have to edit the configuration files manually to add this detail. In case of "pppoe", you can add it to the file /etc/ppp/pppoe.conf as you have already mentioned: ACNAME='worldnet002' SERVICENAME='worldnet002' In case of "pppoeconf", I haven't yet found a location to insert the values.