View previous topic :: View next topic |
Author |
Message |
jepf n00b
Joined: 04 Oct 2002 Posts: 44
|
Posted: Fri Oct 04, 2002 1:04 am Post subject: adsl-connection doesn't work AFTER Gentoo-Installation |
|
|
Hi!
During the installation of Gentoo (booting from the cd) i set up my adsl-connection with adsl-setup. It worked fine.
I also installed rp-pppoe to have adsl-access for my own installation of Gentoo.
But when i boot the system from harddisk, adsl-start doesn't work. It tries to connect but ends up with a timeout. Of course i ran adsl-setup before, that is not the problem.
Am i missing any packages which must be installed?
I compiled the kernel with PPPOE. Are there any other options which are needed?
When i call adsl-connect it says that it can't find ipchains. Don't know what this means.
Thanks for any help and sorry for my english
|
|
Back to top |
|
|
Xinos n00b
Joined: 16 Sep 2002 Posts: 42 Location: Birmingham, Alabama
|
Posted: Fri Oct 04, 2002 4:21 am Post subject: try to add ipchains |
|
|
Unfortunately I am away from my home and office and don't have Gentoo handy to tell you exactly what commands to type but I would try two different things. First I would emerge unmerge rp-pppoe which is the package that I use to connect to dsl and the package it sounds like you are using. Then emerge rp-pppoe again and it should install everything it needs. If this doesn't get it or you are not using rp-pppoe then try installing ipchains, something like emerge net-????/ipchains. One of the two ways should fix your problem. Older versions of rp-pppoe are very flaky but I believe you problem is with not having ipchains installed which I believe is used for the firewall question it asks you during adsl-setup. Let me know if you still have problems and I should be able to give you exact commands in the morning. _________________ ~ Always ask questions!
K. Allan Wilson |
|
Back to top |
|
|
Pindrop Apprentice
Joined: 09 Jul 2002 Posts: 165 Location: Virginia, USA
|
Posted: Fri Oct 04, 2002 4:36 am Post subject: |
|
|
Alternatively, you could run adsl-setup and pick 0 for Firewall, connect, 'emerge ppp rp-pppoe ipchains', and delete your manual install of rp-pppoe, then run adsl-setup again and select 1 for firewall. At least thats what I did |
|
Back to top |
|
|
jepf n00b
Joined: 04 Oct 2002 Posts: 44
|
Posted: Fri Oct 04, 2002 11:53 am Post subject: |
|
|
First i tried to disable the firewall, then i installed ipchains.
But it didn't help.
I still get the timeout when running adsl-start.
There are also other messages when i run adsl-connect:
Quote: |
Couldn't set tty to PPP discipline: Invalid argument.
pppoe: read (asyncReadFromPPP): Session xyz: Input/Output Error
|
When i boot from the Gentoo-CD and chroot to my installation, adsl-start (the installed one on the harddisk) works fine. But when i boot from harddisk it doesn't. |
|
Back to top |
|
|
Xinos n00b
Joined: 16 Sep 2002 Posts: 42 Location: Birmingham, Alabama
|
Posted: Fri Oct 04, 2002 1:18 pm Post subject: uninstall rp-pppoe |
|
|
I would uninstall and then reinstall a different version of the rp-pppoe software. This the commands that I would run:
emerge unmerge =net-dialup/rp-pppoe
Then you have to reinstall
emerge net-dialup/rp-pppoe???????
Where the question marks(?) are the version that you want to install. I think your biggest problem is the version of rp-pppoe you are using. Try that and see if it helps. _________________ ~ Always ask questions!
K. Allan Wilson |
|
Back to top |
|
|
jepf n00b
Joined: 04 Oct 2002 Posts: 44
|
Posted: Fri Oct 04, 2002 2:35 pm Post subject: |
|
|
Now it works.
But the problem was the kernel. It seems that there have to be all ppp-options turned on (even those for serial ports).
But still thanks for your help! |
|
Back to top |
|
|
Pindrop Apprentice
Joined: 09 Jul 2002 Posts: 165 Location: Virginia, USA
|
Posted: Sat Oct 05, 2002 7:58 pm Post subject: |
|
|
All of them don't have to be turned on, just the Async, PPPoE, and the one right below ASync that I can't think of
Edit: Support for async serial ports, sync tty ports, and PPPoE are the only ones needed. |
|
Back to top |
|
|
krko7365 n00b
Joined: 29 Mar 2003 Posts: 9
|
Posted: Thu May 22, 2003 10:23 pm Post subject: rp-pppoe flaky and unpredictable? |
|
|
Actually, this is not directly related to compiling in PPPoE into the kernel.
It's your own desicion if you want or not want to use kernel-mode PPPoE.
I have noticed that rp-pppoe is flaky and sometimes works / sometimes doesn't work even with the right kernel config. What works for me now is to configure ppp-synctty and ppp-async into the kernel and pray to god every time You issue adsl-start. Sometimes powering off the adsl-modem and powering it on again also helps solve the problem. If this doesn't help, try to set a new ip adress on your ethernet interface
eg. ifconfig eth0 0.0.0.0 up -arp.
This sometimes solves the problem.
In Windows XP though, I rarely ever have connect problems, so I guess there is something wrong in the implementation of some part of the software. Didn't help much, did it?
/Chris |
|
Back to top |
|
|
xfjsx n00b
Joined: 09 Jun 2003 Posts: 40
|
Posted: Thu Jun 19, 2003 5:36 pm Post subject: |
|
|
ok i am having a horrible time getting pppoe to work.
originally i installed gentoo and after install it worked fine!
then i reinstalled gentoo....it didnt work post install. i installed this installation at my friends house so i figured that his network config was different then mine at home, and rather than fixing the config files, which i did try, i thought i'd reinstall gentoo a 3rd time.
so now i did it again, and it still isnt working. i tried the realtek too driver even though the cp driver has served me well in the past, to no avail. at least now with the too driver the eth0 comes up faster than with the cp driver at boot time. anyway i emerge rp-pppoe, ran adsl-setup as required, and then adsl-start. to no avail.
i tried using dhcp for my internal network ip, assiging it myself (192.168.0.2); still no go. i even tried using "ifconfig eth0 0.0.0.0 up -arp". still, when i try to connect it just times out.
what the hell can i do?
i have seen on the boards many people experincing a working aDSL connection during install, but the network/aDSL connection dies post install. i have see no soultions that have helped me yet.
please help, and tell me if i can provide you with any additional information.
i use verizon dsl, pppoe. i have a presario notebook 900us. |
|
Back to top |
|
|
xfjsx n00b
Joined: 09 Jun 2003 Posts: 40
|
Posted: Sat Jun 21, 2003 3:15 pm Post subject: |
|
|
ok, so i noticed that i cannot ping my dads computer on the network.
when i run ifconfig after trying to connect to dsl or ping my dads computer, i can see that there are MANY packet losses. like 2353456346, and numbers like that.
so now i think my network card isnt really working, even though it appears to be. |
|
Back to top |
|
|
xfjsx n00b
Joined: 09 Jun 2003 Posts: 40
|
Posted: Sat Jun 28, 2003 7:11 pm Post subject: |
|
|
i reinstalled gentoo again, still pppoe wont connect. can anyone help? |
|
Back to top |
|
|
|