Koozali.org: home of the SME Server

Unable to connect to ISP

Ken Pearce

Unable to connect to ISP
« on: August 31, 2002, 10:27:28 AM »
Hi to all e-smithers

I have set up a e-smith 4.2 system before without problems where the ISP did not specify a static ip without problems.

I am now setting up a SME 5.5 system on a system with the ISP being Telstra Australia.  Even though the settings are set up in the manager and beleive that they are all correct, the ISP has specified a static ip address and am unable to connect up du to the fact that when connecting, the SME is only supplying an address of 0.0.0.0

Can anyone tell me how/where and what file to change to include this address.  I have had a look at the diald files and this refers me to the templates to change, but which one?

Have checked all previous posting that i can find about anything close without success.

Hope some one can help, my lack of knowledge in this area is causing much #*!*

Thanks in advance

Peter Kingston

Re: Unable to connect to ISP
« Reply #1 on: September 02, 2002, 11:02:29 AM »
Is there a template which looks after the ip address when dialing? Normally this entry is in the /etc/ppp/chap-secret but when changing the entry in the file, there seems to be no change.

Any ideas?

rob wellesley

Re: Unable to connect to ISP
« Reply #2 on: September 02, 2002, 11:37:46 AM »
Hi

Just to clarify - Your ISP has given you a static IP for a dialup?

Ken Pearce

Re: Unable to connect to ISP
« Reply #3 on: September 02, 2002, 12:45:55 PM »
Yes, that is right.   Telstra Australia gave me the static IP address.

Peter Kingston

Re: Unable to connect to ISP
« Reply #4 on: September 03, 2002, 06:48:56 AM »
does anyone else have any ideas as I am interested also

John Henry

Re: Unable to connect to ISP
« Reply #5 on: September 03, 2002, 07:59:44 AM »
I'm having the same problem.
I have a static ip.
I've tried varies modems that work with redhat7.x and mandrake7.x and 8.x.
However, they will not establishes a connection to my isp.
There must be a little trick to this.

Charlie Brady

Re: Unable to connect to ISP
« Reply #6 on: September 03, 2002, 08:07:46 AM »
John Henry wrote:

> There must be a little trick to this.

Yes:

1) Get a competent ISP.

or, failing that,

2) Search this board for "static PPP IPCP" over all dates.

Charlie

Charlie Brady

Re: Unable to connect to ISP
« Reply #7 on: September 03, 2002, 08:11:02 AM »
Charlie Brady wrote:

> 2) Search this board for "static PPP IPCP" over all dates.

Here's an even better search string:

"Solved!! Telstra Bigpond static IP permanent"

Charlie

rob wellesley

Re: Unable to connect to ISP
« Reply #8 on: September 03, 2002, 08:22:21 AM »
Ok..

I was gonna suggest commenting out the "dynamic" option in /etc/diald.conf and setting the "local" option to the Static IP.

having a cable connection i can't test it but would be interested to know  why/if  it  wouldn't/doesn't  work

Allan Pearce for Ken Pea

Re: Unable to connect to ISP
« Reply #9 on: September 04, 2002, 08:38:20 AM »
Thanks for all the help here for my Brother, it has been great.

By the way, i would like to thank Charlie Brady and his team at e-smith for their assistance and great products.

The problem has been fixed by applying the fix explained in an earlier Forum Submission.  

Due to the massive amount of information in this Forum, I missed the simple fix as below due to not searching the right topic, submitted by Charlie Brady 12 Months ago:

*** Start Message

Yes, your ISP can help (*). It is the responsibility of their PPP server to allocate the correct IP address to you.

Failing that, you will have to make a custom template containing the local (and perhaps remote IP address) of the PPP link.

Create a directory /etc/e-smith/templates-custom/etc/diald-conf.
Create the file pppd-options in that directory contianing:

pppd-options name "{ $DialupUserAccount }" noauth x.x.x.x: ipparam diald

(one line - it seems to wrap in Phorum). Put your IP address in place of x.x.x.x.

You do not normally specify an IP mask for PPP links - they are point to point links, and you specify the IP address of each "point".

After making this change, do:

/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot

and you link should come up. If it doesn't, look in /var/log/messages for lines containing "pppd", and repost them here and ask for further advice.

(*) OTOH, your ISP may have no clue,

Charlie

*** END MESSAGE

At first i tried this without success(Late at night) and then found a mistake the next day where i should have used a "," instead of a "-" for a file name.  All worked well after that.

I would also like to thank also Peter Kingston from Telstradirect and all the others who assisted.

Many thanks

Allan Pearce