PDA

View Full Version : Fedora and ADSL Router


Idris1969
2004-02-27, 08:35 AM CST
As a total newbie to Linux, I recently decided to take the plunge and bought an old Compaq EN desktop with PIII, 256Mb RAM, 10Gb HDD, 10/100 NIC and installed Fedora onto it. Fedora went on easily enough, (the only problem being that it can find the on-board sound card).

Anyway, I also have a Windows XP system which is connected to a Draytek 2600 ADSL router. The connection to the ISP is all handled by the router. The router also functions as a small switch and handles things like DHCP,etc. XP and Linux boxes are both connected with 100Mpbs NIC cards. The intention being to get some communication going between XP and Linux at some point for a project at college.

I can connect to the internet from the XP box without any issues at all.

However, I want to set this up so that I can also connect from the Linux box. After firing up Mozilla I can get to the router config screen, so Linux is getting it's DHCP address OK and can communicate, etc.

It doesn't go any further though. If I look at the on-line status of the link, it just shows INITIALIZATION as the status.

I haven't had a chance to see what the router is doing in the logs as yet but just incase the problem is with Linux thought I would try and see if I am missing something.

The router connection is configured as 'always on'. The PPPoA client is enabled.

Encapsulation is set to LLC/SNAP
Protocol is PPPoA
Modulation is G.DMT

I've checked with the ISP support site (Pipex) and they don't have a configuration for Linux so I have been looking elsewhere.

Could anybody out there please help shed some light on what I might need to do. Are my settings wrong for Linux? Can I share the connection in this manner between XP and Linux? Any help at all would be much appreciated.

Please make any suggestions very clear so even an un-trained monkey could follow them!!

I'm very impressed with Linux to date. Just wish I could get onto the internet with it and start downloading some tools....

Apologies for the long post.......

clive_long
2004-02-27, 09:54 AM CST
HI,

I don't know the Draytek but I guess it functions similar to my NetGear switch / router / ADSL etc.

My setup that may help you investiagte further.

NetGear has 4 RJ45 sockets for UTP and can accept up to 128 ?? wireless 802.11b sessions concurrently.

RJ45 is dedicated to a printer server on static address 192.168.0.10

Router has static address IP 192.168.0.1

The other .1 through .9 addresses are assigned to the DHCP pool in the router.

Whenever a device connects to the router I think it checks the physical MAC address to see if already connected and reassigns the old IP address. New devices get their addresses out of DHCP IP "address pool"

Suggestion:

SO the first step is for the wireless or wired NIC to connect to the router and request a DHCP address . This should all be automatic.

Run

Main Menu > System Tools > Network Device Control

and also issue command:

ifconfig

in a terminal window and describe what you see in a posting

Also get hold of the Draytek manual

Clive

mhelios
2004-02-27, 11:09 PM CST
Also run the System Tools -> Internet Configuration Wizard and setting up for an xDSL connection.
Do some simple network connectivity test as well such as pinging your XP box and then ping router and then ping an external address.
Check that "activate link on boot" is enabled in redhat-config-network.

Idris1969
2004-03-05, 05:52 AM CST
Fixed it. My Draytek was configured to assign DHCP addresses OK, but for some reason Linux didn't pick up the address, or at least didn't get the default gateway setting. Pretty basic problem now I think about it, but after so long on Windows, Linux takes a little bit of getting used to. I like it though....