LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-28-2004, 12:36 PM   #1
g4c9z
Member
 
Registered: May 2004
Location: Canada
Distribution: Gentoo
Posts: 36

Rep: Reputation: 15
Help setting up ADSL


I've been trying to set up an ADSL (Vibe) connection. It's working on our Windows 98 computer so I know the signal is coming to us. I am trying to get it to work with Linux. I'm using Mandrake 9.1 with kernel version 2.4.21-0.13mdk, as the following output shows:

root>cat /proc/version
Linux version 2.4.21-0.13mdk (flepied@bi.mandrakesoft.com) (gcc version 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk)) #1 Fri Mar 14 15:08:06 EST 2003

Now, my ethernet port is built into my motherboard. I think it's working now. At first I tried using drakconnect, which comes with Mandrake, to connect, but it was saying I don't have an Ethernet Network Adapter. Then I installed the drivers for my motherboard (an nVidia chipset), and that error went away. The output of ifconfig eth0 is:

root>ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0C:6E:4A:4C:FD
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:288 (288.0 b)
Interrupt:11 Base address:0x1000

I then tried using rp-pppoe, the so-called "Roaring Penguin", to connect to the internet. I ran adsl-setup and answered the questions. I'm pretty sure I answered the questions correctly because I contacted my phone company about some of them. But then, when I ran adsl-start, it sat there for about 30 seconds and then timed out. It gave an incomprehensible error message, which is as follows:

root>adsl-start
................TIMED OUT
/usr/sbin/adsl-start: line 194: 17150 Terminated $CONNECT "$@" >/dev/null 2>&1

The strange thing is, the same thing happens if the modem isn't even connected to the computer.

I'm pretty sure my service uses dynamic IP addresses, i.e. it assigns me a different IP address every time I connect to the Internet. Do I have to do something special for that? When I installed the Ethernet driver, it seems to have given me an IP address of 10.0.0.10. Is that some kind of special address? I deleted the line in /etc/hosts that was added which contained the IP address and hostname that drakconfig asked for, but it didn't seem to make a difference.

Does the modem need an extra driver or something? The phone company told me it uses pppoe, and I assumed that having a pppoe client would be sufficient.

Can anyone help me get it working? I'd especially like to know what that error message means. Also, is there a kernel module to handle pppoe instead of using rp-pppoe? If so, where can I find out how to use it? Maybe if I tried it with that it would give a more detailed error message.
 
Old 05-28-2004, 03:48 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 20,106

Rep: Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381Reputation: 3381
How are the computers connected to the modem?

Do not configure the network adapter to start at boot time. As a test try (as root):

ifdown eth0
adsl-start

Look at the output of /sbin/ifconfig. Do you now have a ppp0?

Last edited by michaelk; 05-28-2004 at 03:49 PM.
 
Old 05-28-2004, 07:31 PM   #3
g4c9z
Member
 
Registered: May 2004
Location: Canada
Distribution: Gentoo
Posts: 36

Original Poster
Rep: Reputation: 15
Thanks so much! It works now, and I'm replying to this from my Linux computer.

I guess when I was using drakconnect I set it up to connect at boot time, and it must have done something without telling me what. Do you know how I undo that setting so I can set it properly in inittab?

I guess the makers of rp-pppoe still have some work to do; that error message could have probably told me that I have it set up to connect at the computer's startup.
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up an ADSL lovage Linux - Networking 5 09-07-2005 11:59 AM
Setting up ADSL in Mandrake Gag Halfrunt Linux - Newbie 3 12-25-2004 11:32 AM
help setting up adsl modem ksgill Linux - Newbie 2 09-23-2003 07:35 PM
Setting up ADSL cmack Linux - Networking 2 08-13-2003 02:18 AM
Help setting up ADSL on RH9 assaflavie Linux - Newbie 9 07-02-2003 04:55 PM

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

All times are GMT -5. The time now is 02:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration