Click to See Complete Forum and Search --> : RPM problems and RH7


Kevin43
03-13-2001, 09:33 PM
I am going to use my linux box as a gateway for my win98 machine. I have done a lot of reading on this before I got my hands wet.
From what I thought, samba would be hard to configure and getting my DSL working would be a breeze. It seems that is not the case for me.

I am just a newbie, I am running my site on a shared linux machine. Before this weekend I had no real linux experience, so bare with me....

I setup the box last weekend and I had samba working in less than an hour. So my two machines are talking to each other.

I have PacBell DSL with a static IP, they use PPPoE for me to connect to my DSL line. This is where I am having the problems. From different posts on this board I found roaring penguin and tried to install. I started to install, right before it gets to the config options I got this error:

Ooops, I can't execute program 'NOTFOUND'. Please install version PPP 2.3.10 or later.

First I tried using the RPM on my linux CD to install PPPoE 2.3.10, “this package is already installed.”
Then I tried the upgrade command, "this package is already installed."
So I tried to remove PPPoE, I received the error, "This package is not present."

I have a few questions:

1. When I boot my machine it says PPP 2.3.7, so I think this may be my problem. Any ideas why it thinks I have a newer version? What do I need to do to fix this?
2. Once this is fixed, should I have ppp0 as a network adapter? Should I have this now?
3. I have two Ethernet cards in this machine. Both of them work, I can ping myself and I can ping other servers with both cards.
I know one of them will need a static IP to connect with my Win98 machine. How exactly should the other be set if I have PPP to connect to my DSL? Should it be manual, DHCP, or bootp?

Thanks for any help that you can give me. I will be very grateful if you can help me get this working.

[ 14 March 2001: Message edited by: Kevin43 ]

Lorithar
03-14-2001, 01:46 PM
*grins*

Check dmesg|more for the ppp data and verify that the version is 2.3.7 ... if so you need to upgrade to 2.3.10 MIN for pppoe to work with the roaring penguin scripts. (or dsl for that matter)

I have no ideas as to why rpm would tell you the package is already installed if it isn't. remove the ppp packages (all of them) and reinstall the 2.3.10 package.
Check the version info for pppd as well. this can't hurt. I have the ppp components built into my kernel, so for me this required a kernel rebuild.

You only end up with a pppx interface when it is active. That is once you have connected you have a ppp interface.... In the case of the roaring penguin stuff, the ethernet card should be directly connected to the modem, and the rp scripts will validate the configuration. a) NO ip address should be assigned to the card, b) the interface should be UP and have an MTU of 1500.

ifconfig ethx MTU 1500 up

will config the interface properly. change x to the correct number.

Kevin43
03-14-2001, 04:17 PM
That is part of the problem. I can't install 2.3.10 because it is already installed. When i try to remove it, it says that it is NOT there.

What do I need to do when I install and rpm? This is the command that I used:

rpm -Uvh file.rpm

This said that it upgrade my previous ppp package. But it is not showing up. What else do I need to do when I install?

I used dmesg and nothing about the PPP version came up. I saw it only one time when I was starting up my machine, it just had one line:

PPP 2.3.7

So this is what made me think that I have a earlier version....even though I installed the new rpm.

Did I do the correct install?
Is there another way besides dmesg to check my PPP version?

Kevin43
03-15-2001, 09:12 PM
Does anyone know the answer to this one?

§ilhouette
03-15-2001, 11:37 PM
Try rpm -Uvh --force <package_name.rpm>

Kevin43
03-16-2001, 03:12 AM
I did the force and I recieved this:

ppp #################################

Then I went to setup roaring penguin and I got the same error:

Ooops, sorry I can't execute file 'NOTFOUND'. You must install PPP software suite 2.3.10 or later.

I now know where I saw the version of PPP. It is when I restart the computer:

PPP 2.3.7 (dailing demand)

It appears about half way through of all the lines when everything in the system is killed.

What could I be missing here? Is there any other steps when installing an rpm?

[ 16 March 2001: Message edited by: Kevin43 ]

guitarlyn
03-16-2001, 08:05 PM
I don't believe it will upgrade (or replace)
while the current one is running (try ps | ax) of the Process Manager (if you have one
installed) _or_ you might have a symlink to
the old version and need to change the
symlink to point to the new version. I've had
rpm do some twiggy things like this in the
past.

Hope this helps,
~Guitarlynn