Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
adsl-connection doesn't work AFTER Gentoo-Installation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jepf
n00b
n00b


Joined: 04 Oct 2002
Posts: 44

PostPosted: Fri Oct 04, 2002 1:04 am    Post subject: adsl-connection doesn't work AFTER Gentoo-Installation Reply with quote

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
View user's profile Send private message
Xinos
n00b
n00b


Joined: 16 Sep 2002
Posts: 42
Location: Birmingham, Alabama

PostPosted: Fri Oct 04, 2002 4:21 am    Post subject: try to add ipchains Reply with quote

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
View user's profile Send private message
Pindrop
Apprentice
Apprentice


Joined: 09 Jul 2002
Posts: 165
Location: Virginia, USA

PostPosted: Fri Oct 04, 2002 4:36 am    Post subject: Reply with quote

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 :D
Back to top
View user's profile Send private message
jepf
n00b
n00b


Joined: 04 Oct 2002
Posts: 44

PostPosted: Fri Oct 04, 2002 11:53 am    Post subject: Reply with quote

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
View user's profile Send private message
Xinos
n00b
n00b


Joined: 16 Sep 2002
Posts: 42
Location: Birmingham, Alabama

PostPosted: Fri Oct 04, 2002 1:18 pm    Post subject: uninstall rp-pppoe Reply with quote

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
View user's profile Send private message
jepf
n00b
n00b


Joined: 04 Oct 2002
Posts: 44

PostPosted: Fri Oct 04, 2002 2:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pindrop
Apprentice
Apprentice


Joined: 09 Jul 2002
Posts: 165
Location: Virginia, USA

PostPosted: Sat Oct 05, 2002 7:58 pm    Post subject: Reply with quote

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 :P

Edit: Support for async serial ports, sync tty ports, and PPPoE are the only ones needed.
Back to top
View user's profile Send private message
krko7365
n00b
n00b


Joined: 29 Mar 2003
Posts: 9

PostPosted: Thu May 22, 2003 10:23 pm    Post subject: rp-pppoe flaky and unpredictable? Reply with quote

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
View user's profile Send private message
xfjsx
n00b
n00b


Joined: 09 Jun 2003
Posts: 40

PostPosted: Thu Jun 19, 2003 5:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
xfjsx
n00b
n00b


Joined: 09 Jun 2003
Posts: 40

PostPosted: Sat Jun 21, 2003 3:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
xfjsx
n00b
n00b


Joined: 09 Jun 2003
Posts: 40

PostPosted: Sat Jun 28, 2003 7:11 pm    Post subject: Reply with quote

i reinstalled gentoo again, still pppoe wont connect. can anyone help?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum