View previous topic :: View next topic |
Author |
Message |
NotExcessive Apprentice
Joined: 10 May 2005 Posts: 235
|
Posted: Thu Aug 10, 2006 9:55 am Post subject: [SOLVED] "passwordfd.so: cannot open shared object file |
|
|
I've just upgraded my firewall machine to use baselayout-1.12 and the newer versions of ppp and pppoe. I've changed my /etc/conf.d/net file to use the new form of invoking ppp, and added net.ppp0 to the rc startups.
All goes fine upon booting except for the following:
Code: | /usr/sbin/pppd: /usr/lib/pppd/2.4.2/passwordfd.so: cannot open shared object file: No such file or directory |
If I invoke pppoe-start after logging in, it connects without hiccup or hesitation. How do I cure this error so that it connects upon power-up?
Last edited by NotExcessive on Fri Aug 11, 2006 2:57 am; edited 1 time in total |
|
Back to top |
|
|
To Veteran
Joined: 12 Apr 2003 Posts: 1145 Location: Coimbra, Portugal
|
Posted: Thu Aug 10, 2006 10:01 am Post subject: |
|
|
It seams a problem the pppd itself. Do you have that file at all?
Try to reinstall pppd or even check if the file is on other location and symlink it to that location it may work. _________________
------------------------------------------------
Linux Gandalf 3.2.35-grsec
Gentoo Base System version 2.2
------------------------------------------------ |
|
Back to top |
|
|
NotExcessive Apprentice
Joined: 10 May 2005 Posts: 235
|
Posted: Thu Aug 10, 2006 10:37 am Post subject: |
|
|
No, the file's not there at all (anywhere in the system), and I re-emerged pppoe and ppp after I upgraded to baselayout-1.12, just to be sure. Don't even know why it wants this thing anyway.
Out of curiosity, I emerged ppp on another machine. Same thing - this file is missing. |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
NotExcessive Apprentice
Joined: 10 May 2005 Posts: 235
|
Posted: Fri Aug 11, 2006 1:18 am Post subject: |
|
|
I had ppp 2.4.2-r15 on the system. Unmasking ppp in /etc/portage/package.keywords, I tried to emerge ppp 2.4.3. It complained that it was incompatible with the baselayout detected, even though it's 1.12.4-r2. I did the same thing on another machine, and ppp-2.4.3-r16 installed without a hiccup. That machine also has baselayout 1.12.4-r2. Arrrrrrgh. So I copied passwordfd.so from the second machine onto the first machine. Booting it up, /usr/bin/pppd gives me a dummy spit that the passwordfd.so file it's found is for 2.4.3 and not 2.4.2, so we're back at square one.
Can't get 2.4.2. to accept a newer version of passwordfd.so, can't get 2.4.3 to compile.
2.4.2 doesn't provide passwordfd.so, 2.4.3 does.
You can tell it's a Friday.
I completely removed ppp 2.4.2 and tried emerging 2.4.3 again, this time with success.
It boots up, and apart from a warning message that "net.ppp0 has started but is inactive", everything works. I presume the warning message is just because I've got parallel startup and verbose set in rc.
Now, a quick question with this new way of connecting:
The configuration for /etc/conf.d/net now includes
Code: | config_ppp0=("ppp")
link_ppp0="eth0"
plugins_ppp0=("pppoe")
username_ppp0='user@isp'
password_ppp0='secret'
pppd_ppp0=("defaultroute" "usepeerdns") |
so my question is:
a) in /etc/ppp/pppoe.conf, which I had from my old installation, are the parameters in there still used? I have CONNECT_TIMEOUT set to 0 so the machine will keep trying to connect forever upon boot-up. Is this still going to be the same?
b) pppoe-status shows that the link is down, although everything is running fine. Is this an error or is the pppoe stuff no longer used, the way I have set up /etc/conf.d/net from the cookbook at http://gentoo-wiki.com/HOWTO_Connect_using_PPPoE ?
I'm not sure how pppoe and ppp play together. |
|
Back to top |
|
|
|