Koozali.org: home of the SME Server

pptp problem:strange error

hanscees

pptp problem:strange error
« on: November 19, 2000, 09:20:24 PM »
Dear all,
as my howto describes at www.hanscees.com under linux, I can get my e-smith to connect to my cable modem with pptp fine. My configuration has an eth0 (ehternet to my cable modem) and an ppp0 when the pptp connection to the cable modem is up.

The problem is that when the connection dies, the adsl script, which brings up pptp, automatically tries to reconnect and gives an error.
The strange thing is that the pptp program at this point gives an error that it cannot find eth1. This is logical since there is no eth1. However, when setting up e-smith as admin, I told it, it was a dedicated gateway, and so I think it believes the external gateway is eth1. But it should be ppp0 (well, after pptp runs it is). This seems to be logical since /etc/sysconfig/network does say it has a gateway device. That used  to be eth1, but I changed it to ppp0. However that does not get rid of the error and it is not good practice to change tat file.

So how do I tackle this problem?
Should i config e-smith as just a server? Or if charly is listening, should i use the alpha rpm's ??

please help?

hanscees

RE: pptp problem:strange error
« Reply #1 on: December 16, 2000, 08:01:05 PM »
I solved this problem. The trick is that is you use only one nic, as I do, while the second connection is an pptp connection, you must configure e-smith as server with internet connection. Not as gateway, although that is what it will become.

greetings

hc