View previous topic :: View next topic |
Author |
Message |
Lord Spector Guru
Joined: 28 Oct 2003 Posts: 304
|
Posted: Wed Sep 22, 2004 3:01 pm Post subject: ADSL trouble (solved) |
|
|
Hi !
I just recently got a new ISP and an ADSL connection.
I need a password to connect so I emerged rp-pppoe...
Now here are the problems:
If I don't set the DEMAND value on something other than "no".. I can't connect( I get a TIMED OUT massage)
If I set it it "connects" with no errors but there is no actual connection...
ppp0 appears with a strange IP: 10.10.112.113
Basically.. could someone just explain to me in detail how this should work ?
Everyone says "Just run adsl-setup and than adsl-start and it'll run !".. not for me it won't... is there something I missed ?
Any suggestions ? _________________ It's all about open source
Last edited by Lord Spector on Fri Sep 24, 2004 2:31 pm; edited 1 time in total |
|
Back to top |
|
|
eelke Guru
Joined: 17 May 2004 Posts: 406 Location: Earth, Netherlands, Friesland
|
Posted: Wed Sep 22, 2004 5:33 pm Post subject: |
|
|
What kind of ADSL-modem do you have USB/ethernet? |
|
Back to top |
|
|
Lord Spector Guru
Joined: 28 Oct 2003 Posts: 304
|
Posted: Wed Sep 22, 2004 5:41 pm Post subject: |
|
|
ethernet..
using 2.6 kernel
does rp-pppoe actually work ?
I have seen many posts about this TIMED OUT problem and not one of them has a solution it seems... _________________ It's all about open source |
|
Back to top |
|
|
eelke Guru
Joined: 17 May 2004 Posts: 406 Location: Earth, Netherlands, Friesland
|
Posted: Thu Sep 23, 2004 5:06 am Post subject: |
|
|
I have an ethernet ADSL modem to, I just setup my network to use DHCP (my modem has a DHCP server) then logged into the html interface of the modem and entered the user information for the connection. Ofcourse if your modem does not provide DHCP you will need to use a static IP in the right range. The manual of your modem should tell you what this is. |
|
Back to top |
|
|
Lord Spector Guru
Joined: 28 Oct 2003 Posts: 304
|
Posted: Thu Sep 23, 2004 12:51 pm Post subject: |
|
|
I actually got no manual with my modem because it was given to me by my ISP, and I am pretty sure it doesn't have DHCP.. my IP should be set dynamically by the servers of my ISP...
Now I followed the adsl-setup program and configured everything as it should be I think. But it seems that it doesn't even try to connect... if DEMAND is off it TIMES OUT and if it's set to a value adsl-start starts up without any errors but it does so even if my modem is disconnected
So it's clear that it doesn't even connect...
I'm sure that it should work because a friend of mine running SuSe got it working... but he used YAST so it doesn't really help me much there... as far as I know he used the same configuration as me
I'm really starting to run out of ideas here... _________________ It's all about open source |
|
Back to top |
|
|
hecatomb Guru
Joined: 02 Sep 2004 Posts: 525
|
Posted: Thu Sep 23, 2004 1:35 pm Post subject: |
|
|
What does
show you? |
|
Back to top |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Thu Sep 23, 2004 1:44 pm Post subject: |
|
|
Quote: | my IP should be set dynamically by the servers of my ISP... | I cant imagine that this is the case. I mean think of the load that it would put on those servers, not too mention all of the bandwidth that would be chewed up. + How would you request an address unless you had an Ethernet connection to your isp? Unless it was a dial up service, then RADIUS or similiar would dole you out an addy. _________________ The realOTW: http://forums.realotw.org/index.php
Registered Linux user#364538 |
|
Back to top |
|
|
Lord Spector Guru
Joined: 28 Oct 2003 Posts: 304
|
Posted: Thu Sep 23, 2004 2:17 pm Post subject: |
|
|
it is set dynamically
Every time I log on am assigned a new IP and it changes every 12 hours...
The pattern of the system depends on the ISP.. in my case I use ISDN+ADSL to connect. This shouldn't be necessary if the ISP would change some equipment but it's cheaper this way
Anyhow here is my ifconfig after adsl-start:
Code: | lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:270 (270.0 b) TX bytes:270 (270.0 b)
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.112.112.112 P-t-P:10.112.112.113 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
eth1(it's connected to the modem) also get's brought up but I didn't list it here because I'm currently using it to connect to the Internet...
I use a blank configuration for eth1 when attempting to connect. _________________ It's all about open source |
|
Back to top |
|
|
Lord Spector Guru
Joined: 28 Oct 2003 Posts: 304
|
Posted: Thu Sep 23, 2004 8:27 pm Post subject: |
|
|
Ok I did some more tests...
I installed a RedHat distro on an extra disk and was able to set up my ADSL connection without a problem... I than copied the config from RedHat to ma Gentoo system and nothing is different... the connection times out
It worked great there... why doesn't it work here ?
I even downloaded a version of rp-pppoe from their homepage(sometimes ebuilds don't work as they should) and it's the same thing...
adsl-connect gives me this output:
Couldn't set tty to PPP discipline: Invalid argument
This also worked great under RedHat
What could be different ? _________________ It's all about open source |
|
Back to top |
|
|
wcprof n00b
Joined: 08 Nov 2003 Posts: 13 Location: Germany
|
Posted: Thu Sep 23, 2004 9:28 pm Post subject: |
|
|
If you need to use PPPoE (not all xDSL use it) then maybe you forgot to enable pppoe in your kernel.
Hope that helps... |
|
Back to top |
|
|
Lord Spector Guru
Joined: 28 Oct 2003 Posts: 304
|
Posted: Thu Sep 23, 2004 9:40 pm Post subject: |
|
|
nah I did enable it... _________________ It's all about open source |
|
Back to top |
|
|
wcprof n00b
Joined: 08 Nov 2003 Posts: 13 Location: Germany
|
Posted: Fri Sep 24, 2004 8:32 am Post subject: |
|
|
Then maybe your network card isn't set up in gentoo properly.
Try pinging stuff. If that doesn't do it then something else is wrong with your setup in gentoo. |
|
Back to top |
|
|
Lord Spector Guru
Joined: 28 Oct 2003 Posts: 304
|
Posted: Fri Sep 24, 2004 10:11 am Post subject: |
|
|
no it works fine... I'm currently using it to connect to the Internet _________________ It's all about open source |
|
Back to top |
|
|
Lord Spector Guru
Joined: 28 Oct 2003 Posts: 304
|
Posted: Fri Sep 24, 2004 2:38 pm Post subject: |
|
|
ok I finally got it working...
forgot to enable some things in the kernel
ppp_async
ppp_synctty
Ooops would be in order here I think...
Sorry for all your trouble... _________________ It's all about open source |
|
Back to top |
|
|
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Fri Sep 24, 2004 3:01 pm Post subject: |
|
|
I got a very similar problem, when i boot from the Gentoo CD
and try to configure the Internet (in order to install Gentoo) using adsl-setup I
also get TIMED OUT.
So I guess enabling
ppp_async
ppp_synctty
does not aplly to me (or is it?) cuz' it is the Gentoo's boot CD kernel. |
|
Back to top |
|
|
hecatomb Guru
Joined: 02 Sep 2004 Posts: 525
|
Posted: Fri Sep 24, 2004 3:17 pm Post subject: |
|
|
Maybe yout ethernet card is not recogniced by the kernel.
What does ifconfig show you?
Try using adsl-start in debugging mode!
Then please post the error you get! |
|
Back to top |
|
|
Lord Spector Guru
Joined: 28 Oct 2003 Posts: 304
|
Posted: Fri Sep 24, 2004 4:13 pm Post subject: |
|
|
hm.. try using stage 3 and than update ? _________________ It's all about open source |
|
Back to top |
|
|
wcprof n00b
Joined: 08 Nov 2003 Posts: 13 Location: Germany
|
Posted: Fri Sep 24, 2004 4:30 pm Post subject: |
|
|
What did I say?
Have fun surfin' with gentoo! |
|
Back to top |
|
|
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Mon Sep 27, 2004 10:44 am Post subject: |
|
|
Lord Spector wrote: | hm.. try using stage 3 and than update ? |
I thought of it, but then I wont have a totaly compiled from source distro,
would I?
And how would I know I will be able to setup the Internet conection then? |
|
Back to top |
|
|
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Mon Sep 27, 2004 11:14 am Post subject: |
|
|
hecatomb wrote: | Maybe yout ethernet card is not recogniced by the kernel.
What does ifconfig show you?
Try using adsl-start in debugging mode!
Then please post the error you get! |
My network card is not recognized by the kernel but I do "modprobe via-rhine" and it does the truk.
what does th ifconfig show... wow that is a lot of copying to do...
meanwhile here what is says without the debug mode
....................TIMED OUT
/usr/sbin/adsl-start: line 194: 2514 Terminated $CONNECT "$@" >/dev/null 2>&1
now I will try to run it in the debug mode as you say. |
|
Back to top |
|
|
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Fri Nov 05, 2004 11:50 am Post subject: |
|
|
Solved
When running adsl-setup I was suposted to enter "eth0" with a ZERO
but instead I was putting it "etho" with an "O"
It all fine now.
Thanks everyone |
|
Back to top |
|
|
|