LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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
 
LinkBack Search this Thread
Old 07-27-2007, 05:18 PM   #1
abrahammer
Member
 
Registered: Dec 2006
Posts: 41

Rep: Reputation: 15
debian etch, ubuntu, pppoe, d-link 502 -> problems


hi, I have a d-link dsl-502t modem (or is it router?), which i use for a adsl internet connection with ethernet. my dsl-502t is configured and works ok in windows xp, i can browse, download, etc. and all of the settings to connect are saved in its memory, that means i don't have to configure anything on windows xp, it just works and i don't know how or why. i use pppoe and dhcp and. what i have done until now during the debian installation:

1. install the ppp-udeb and "the other ppp thing" modules in the expert installation mode, successfully, if i dont install these modules the same problems are still present.
2. detect IP's and stuff with dhcp, successfully
3. i try to find mirrors for the sources.list and try to download security updates from security.debian.org, but can't, so i go on with the installation.

with debian etch finally installed, i can browse with iceweasel (only if i turn ipv6 off), the other browser is slow. when i try to update my sources.list file (apt-get update), the mirrors work sometimes and when they do, i can download packages only one time and then not anymore (i have tried with chilean, swedish and american mirrors). i can still ping everything, but i can't download packages with aptitude or apt-get update from sources.list. in ubuntu 7.04 everything works fine from the start, should i compare any files?

the problem before this problem: http://justlinux.com/forum/showthrea...276#post872276)

EDIT: updated but problems persist.

Last edited by abrahammer; 08-03-2007 at 02:55 PM.
 
Old 07-28-2007, 01:14 PM   #2
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 229Reputation: 229Reputation: 229
Some Q's that would help us help you:
  1. A good link to info on this "d-link dsl-502t modem (or is it router?"

  2. Is this a card or a separate box? -- All this messing around w/ PPPoE inside Debian makes little sense if, as I suspect, it's a separate box. The PPPoE stuff should be handled by the dsl-502t.

  3. Where are you located?

  4. Who is your ISP?

  5. What is the topology of your LAN?
 
Old 07-28-2007, 03:10 PM   #3
abrahammer
Member
 
Registered: Dec 2006
Posts: 41

Original Poster
Rep: Reputation: 15
ok

1. http://www.dlink.com.au/Products.asp...&Sub2=2&PID=48

this is my d-link device, some call it a router others call it a modem.

2. as i said, the pppoe connection is configured in its memory, but i guess i should fix something in debian, so it can detect the configuration. in windows i install the drivers and everything else is automatic.

3. chile

4. surnet

5. i don't know what this means :S
 
Old 07-28-2007, 11:48 PM   #4
abrahammer
Member
 
Registered: Dec 2006
Posts: 41

Original Poster
Rep: Reputation: 15
now, tried ubuntu 7.04 again and everything works perfectly, browsing, repositories, torrents, etc. since ubuntu is debian-based, i guess there must be some file that needs to be fixed in debian etch, so it can work as well.

Last edited by abrahammer; 07-28-2007 at 11:51 PM.
 
Old 08-01-2007, 09:40 AM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 229Reputation: 229Reputation: 229
Warning 1: I have no direct experience w/ combined DSL modem routers, such as your DSL-502T-GenII.
While I have been doing home networking w/ Linux for years, my ISP, in fact US ISP's in general, do(es) not use DSL modem cards or DSL "combo" boxes. We receive a "simple" DSL modem & must supply our own routers as well as switches. Typically, these are combined into a single box.

Your type set up:
Code:
  (    )      +---------------------+     +--------+
 ( 'Net ) === | ADSL Modem : Router | --- | Switch |
  (    )      +---------------------+     +--------+
                                            | | | | 
                                              LAN
Mine:
Code:
  (    )      +------------+     +-----------------+
 ( 'Net ) === | ADSL Modem | --- | Router : Switch |
  (    )      +------------+     +-----------------+
                                            | | | | 
                                              LAN
Warning 2: Things that "fix themselves" are difficult, & often not worth, explaining.
FWIW, here is my opinion:

I don't think Debian was broken. I think that if you had just used/set up the ethernet connection from your computer to the DSL modem router, it would have worked. If my guess is correct, all the PPPoE configuring you tried in Debian was what broke your internet connectivity in that installation. You said yourself, in your post #3, item 2 (referring to the router): That means you don't have to do it anywhere else. The whole point of these combination appliances is to take care of the ADSL set up once & in one place, thus providing a "plain vanilla" ethernet connection to your computer or your LAN, take a look at this picture: http://files.dlink.com.au/products/D...GenII_back.JPG
ADSL in -- Ethernet out. (I wouldn't mess w/ the USB out in Linux -- it may require non-existent drivers.) You can connect a single computer directly to the ethernet port, or a whole home network, if you add a switch or hub. (A plain switch or hub, not a router+switch, unless you are prepared for some complications.)


I have looked through the following documentation for your DSL-502T-GenII:
  1. Data Sheet
  2. (Quick) Installation Guide
  3. Product Manual
I would be happy to try to answer, in this thread of course, any Q's you have about them; just give the document name (or number from my list) & the page.

Last edited by archtoad6; 03-01-2008 at 05:26 AM. Reason: fix alignment in ASCII art
 
Old 08-02-2007, 02:50 AM   #6
sunlinux
Member
 
Registered: Feb 2006
Distribution: RHCL 5
Posts: 214

Rep: Reputation: 30
u need nothing to configure as u saying u using adsl for internet connectivity , just plug Ethernet cable from adsl into ur switch & then into ethernet interface of linux. configure lan ip whatever range u set in adsl router, set adsl router as default gateway + dns address, u may put dns ip given by ur isp also.

what's ur problem ?
 
Old 08-02-2007, 03:06 PM   #7
abrahammer
Member
 
Registered: Dec 2006
Posts: 41

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by sunlinux
u need nothing to configure as u saying u using adsl for internet connectivity , just plug Ethernet cable from adsl into ur switch & then into ethernet interface of linux. configure lan ip whatever range u set in adsl router, set adsl router as default gateway + dns address, u may put dns ip given by ur isp also.

what's ur problem ?
copy from first post:
"with these steps and debian etch finally installed, i can browse with iceweasel (only if i turn ipv6 off) but can't with the other browser, the default one. i can't use bittorrent either. when i try to update my sources.list file, the mirrors work only the first time and then not anymore (have tried with chilean, swedish and american mirrors). i can still ping everything and the iceweasel browser still works, but i can't download packages with aptitude or update from sources.list. in this scenario i don't use pppoeconf or anything, i use the configuration saved in the d-link "thing" memory."

after your replies i tried to see how debian worked without loading any ppp-modules or doing pppoeconf after the installation, only with the router configuration that works in xp. the results are the same as described above. sun linux could you tell step by step how to configure lan ip and set adsl router as default gateway + dsn address? which files should i fix? archtoad6 thanks for the documentation, im still reading it
 
Old 08-04-2007, 07:00 PM   #8
abrahammer
Member
 
Registered: Dec 2006
Posts: 41

Original Poster
Rep: Reputation: 15
comparing the internet related files in ubuntu 7.04 and debian etch. there are many files in /etc/ppp in ubuntu, but that folder in debian etch is almost empty (only ip-up.d). both resolv.conf files are the same. the file /etc/network/interfaces is different. in ubuntu i have

auto eth0
iface eth0 inet dhcp

and in debian etch

allow-hotplug eth0
iface eth0 inet dhcp

those are the only files i have checked.
 
  


Reply

Tags
art, ascii, asciiart, diagram


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Desktop Debian Etch (and Ubuntu) LXer Syndicated Linux News 0 06-26-2007 12:46 PM
updating debian etch with ubuntu live CD mariogarcia Debian 15 12-21-2006 07:24 PM
Easy way to convert to Ubuntu from Debian Etch??? JaseP Ubuntu 9 10-29-2006 03:19 AM
Converting ubuntu dapper to pure debian etch stubbe Debian 16 08-28-2006 02:59 PM
Update frequency comparison: Ubuntu vs. Debian Etch equinoxe5 Debian 2 06-28-2006 02:01 PM


All times are GMT -5. The time now is 05:13 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration