LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-01-2003, 12:08 AM   #1
apreston
LQ Newbie
 
Registered: Sep 2002
Location: Calgary, Alberta, Canada
Distribution: Kubuntu x86-64 15.04
Posts: 22

Rep: Reputation: 0
Unhappy ADSL connection problem


I've just signed on with the local ADSL ISP (Telus.net), and am having trouble connecting. I've tried reading the DSL Howto, and the DHCPD man, but have only managed to get quite confused.

I have two net cards in my Linux (Mandrake 9.0) box; the first, eth0, is connected to my LAN, while the second, eth1, is connected to the ADSL modem. I can succesfully ping both net cards, and other machines on the LAN, but anything directed to the world (via eth1) fails. I suspect I have at least configured dhcpd incorrectly, as I am particularly confused by it's man page which seems to assume it's use as a server rather than as a dhcp client. Am I wrong in thinking I need to set it up as a client to use the ADSL provider's dhcp server?.

One document seemed to hint that the modem should be on eth0 and the LAN on eth1 rather than the other way round. Is this critical or simply the author's preference?

apreston@spots.ab.ca
 
Old 02-01-2003, 12:52 AM   #2
guanyu
Member
 
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111

Rep: Reputation: 15
Well, I recommend you to setup eth0 as ur External and eth1 as LAN. Run ADSL setup under ur console.
 
Old 02-01-2003, 03:01 AM   #3
apreston
LQ Newbie
 
Registered: Sep 2002
Location: Calgary, Alberta, Canada
Distribution: Kubuntu x86-64 15.04
Posts: 22

Original Poster
Rep: Reputation: 0
I've just made that change - LAN is now on eth1 and the ADSL modem on eth0. I've changed the linuxconf/networking/Host information and other files to reflect the physical change, including the primary name, domain name, alias, and IP address blank for eth0 (telus assigns dynamic IP's). I've also made sure dhcpcd is installed to serve as a dhcp client.

Where do I find ADSL setup? I can't find any such proggie on my hard drive or distribution disks.
 
Old 02-01-2003, 06:06 AM   #4
guanyu
Member
 
Registered: Jul 2001
Distribution: RedHat 7.0,7.1,7.2,7.3,8.0. Sun Solaris
Posts: 111

Rep: Reputation: 15
apreston,
Go to ur terminal(console) type adsl-setup(if not mistaken).

Guan
 
Old 02-02-2003, 02:12 AM   #5
apreston
LQ Newbie
 
Registered: Sep 2002
Location: Calgary, Alberta, Canada
Distribution: Kubuntu x86-64 15.04
Posts: 22

Original Poster
Rep: Reputation: 0
That produces the response:
bash: adsl-setup: command not found

BTW; ifconfig shows that eth0 is connecting to the ISP's website at least long enough to get a dynamic IP, but any attempt to go to any other URL fails.

Al Preston
 
Old 02-02-2003, 10:46 AM   #6
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 47
Do you have a nameserver specified in /etc/resolv.conf? Did you try to ping ip adresses rather than host names of the internet sites. If that succeds, then you don't have a valid DNS server IP in /etc/resolv.conf
HTH
-NSKL
 
Old 02-02-2003, 10:55 PM   #7
apreston
LQ Newbie
 
Registered: Sep 2002
Location: Calgary, Alberta, Canada
Distribution: Kubuntu x86-64 15.04
Posts: 22

Original Poster
Rep: Reputation: 0
there are url's in /etc/resolv.conf (I believe dhcpcd is getting them from the ISP's dhcp server, because I didn't put them there). However, when I try to ping any of the URL's, I get "network is unreachable". I've got a feeling the settings for my dial-up provider are interfering with the ADSL configuration somehow, so I am currently clearing all the internet settings on my Mandrake box, so I can try a cleaner configuration. In the meantime I'm reduced to accessing my dialup account from an old Windoze box (grrrmmph.......)
 
Old 02-03-2003, 12:51 AM   #8
apreston
LQ Newbie
 
Registered: Sep 2002
Location: Calgary, Alberta, Canada
Distribution: Kubuntu x86-64 15.04
Posts: 22

Original Poster
Rep: Reputation: 0
AAARRRRGGGGHHHH!!!! Problem fixed! Turned out I'd forgotten to edit my *firewall* files, to reflect the change from ppp0 to eth0....

apreston
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mandrake 10.1 adsl connection problem myheart Linux - Networking 1 02-02-2005 05:06 AM
Problem to establish an ADSL connection fadafwet Linux - Networking 1 04-24-2004 08:36 AM
ADSL connection problem - modem hangs up acampbell Linux - Networking 0 12-10-2003 05:16 AM
Red Hat ADSL connection problem majze Linux - Newbie 8 05-04-2003 02:22 PM
Adsl connection Problem LinLin Linux - Networking 0 10-21-2002 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration