You are not logged in.

#1 2008-03-15 02:43:09

Phineas
Member
From: New Zealand
Registered: 2008-03-15
Posts: 17

[SOLVED] Setting up a DSL router?

Hello there.


I am having trouble setting up my DSL router with Archlinux. It is currently running with Vista and has all the correct settings already configured. I am unsure of how to properly set it up and have tried various configurations which resulted in pppoe-start timing out, sometimes with an error. I have two network cards (One integrated into my Asus A8V motherboard and the other a 3com.) I am not sure which is eth0 and which is eth1 but I set rc.conf to eth0 and tried both.

The DSL router is a Dynalink RTA1320 which I believe runs a version of linux with a 2.4.x kernel.

Isn't including the login and DNS addresses when running pppoe-setup unneccesary as the router is already set up with them? I have setup the router's IP address (192.168.1.1) as the default gateway.

Last setting tried was:

lo="lo 127.0.0.1" 
eth0="dhcp"
INTERFACES=(eth0)
gateway="default gw 192.168.1.1"
routes=(!gateway)

I have also tried routes=(gateway).


Any advice?

Last edited by Phineas (2008-03-15 23:22:34)

Offline

#2 2008-03-15 11:07:47

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: [SOLVED] Setting up a DSL router?

This post might be helpful (the last entry at least): http://bbs.archlinux.org/viewtopic.php?pid=341540

Welcome to Arch smile

Last edited by bgc1954 (2008-03-15 11:08:11)


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#3 2008-03-15 13:20:13

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [SOLVED] Setting up a DSL router?

To be shure that the network cards have the same device-name every boot, you could put their kernel modules in the MODULES Array in rc.conf. The first one will be eth0 and the second eth1.

e.g
MODULES=(modul-for-card1 modul-for-card2)

in this excample card1 will be eth0 and card2 eth1


Also you should add 'lo' to the INTERFACES
e.g.
INTERFACES=(lo eth0)


You could also try to add the interface to the gateway line
e.g.
gateway="default gw 192.168.1.1 eth0"


a dhcp daemon is running?

Offline

#4 2008-03-15 13:47:20

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] Setting up a DSL router?

In general, dsl routers handle the pppoe negotiation, and forward net access on to a private subnet e.g. 192.168.*. Not being familiar with your particular model, I can't be 100% sure of that in this case, but I would suggest you forget about pppoe on your machine, and use either dhcp or a static address to connect instead.

Offline

#5 2008-03-15 17:28:02

loserMcloser
Member
From: Canada
Registered: 2004-12-15
Posts: 130

Re: [SOLVED] Setting up a DSL router?

SiD wrote:

Also you should add 'lo' to the INTERFACES
e.g.
INTERFACES=(lo eth0)

You do not need 'lo' in INTERFACES anymore, it is handled by /etc/rc.sysinit not /etc/rc.d/network.

Offline

#6 2008-03-15 17:45:37

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [SOLVED] Setting up a DSL router?

loserMcloser wrote:
SiD wrote:

Also you should add 'lo' to the INTERFACES
e.g.
INTERFACES=(lo eth0)

You do not need 'lo' in INTERFACES anymore, it is handled by /etc/rc.sysinit not /etc/rc.d/network.

Oh, didn't know that, yet.

Last edited by SiD (2008-03-16 01:37:03)

Offline

#7 2008-03-15 23:21:53

Phineas
Member
From: New Zealand
Registered: 2008-03-15
Posts: 17

Re: [SOLVED] Setting up a DSL router?

Thankyou everyone for your help. I re-installed Arch ("oh those newbies!") and then went straight to configuring rc.conf without using pppoe-setup. I have configured rc.conf like so:

lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(eth0)
gateway="default gw 192.168.1.1 eth0"
ROUTES=(!gateway)

DAEMONS=(syslog-ng network netfs crond dhcpd)

My 3com network card's module was already listed first in the modules for Linux to load (Google helped me find out what my card's module is.) Also, http://bbs.archlinux.org/viewtopic.php?id=45065 was helpful.

I rebooted with the router plugged in. No error message came up after NETWORK as it started. Ping www.google.com worked!

"I'm in my way, from misery to happiness..."

Last edited by Phineas (2008-07-03 01:36:47)

Offline

Board footer

Powered by FluxBB