Hi Phil,
I got it working by:
1. Change the line in /etc/diald.conf by replacing noipdefault with x.x.x.x: (my external ip address)
pppd-options name "microchp" noauth x.x.x.x: ipparam diald
2. Put my external IP address, external netmask and Telstra gateway in /home/e-smith/configuration.
3. Reboot
I now have another problem. The link auto disconnects when it's idle for sometime(don't know how long). Do you know of any parameters I can set to turnoff this idle disconnect? I noticed in the /var/log/messages, there's a line with "start ppp0: SIOCSIFMTU: Invalid argument" - any idea what's causing this?
I attach a section of the message file for your assistance.
Jul 23 18:39:41 gateway diald[715]: Connected to site 0.0.0.0
Jul 23 18:39:41 gateway diald[715]: Running pppd (pid = 1413).
Jul 23 18:39:41 gateway diald[1413]: Running pppd: /usr/sbin/pppd -defaultroute -detach modem crtscts mtu 1500 mru 1500 name microchp noauth 139.130.80.125: ipparam diald
Jul 23 18:39:41 gateway kernel: registered device ppp0
Jul 23 18:39:41 gateway pppd[1413]: pppd 2.4.0 started by root, uid 0
Jul 23 18:39:41 gateway pppd[1413]: Using interface ppp0
Jul 23 18:39:41 gateway pppd[1413]: Connect: ppp0 <--> /dev/ttyS1
Jul 23 18:39:45 gateway kernel: PPP BSD Compression module registered
Jul 23 18:39:45 gateway kernel: PPP Deflate Compression module registered
Jul 23 18:39:45 gateway pppd[1413]: local IP address x.x.x.x
Jul 23 18:39:45 gateway pppd[1413]: remote IP address x.x.x.y
Jul 23 18:39:45 gateway diald[715]: New addresses: local x.x.x.x, remote x.x.xy, broadcast 0.0.0.0
Jul 23 18:39:45 gateway diald[715]: start ppp0: SIOCSIFMTU: Invalid argument
Jul 23 18:39:45 gateway e-smith[1453]: Processing event: ip-up ppp0 /dev/ttyS1 115200 x.x.x.x x.x.x.y diald
Jul 23 18:39:45 gateway e-smith[1453]: Running event handler: /etc/e-smith/events/ip-up/S20email-ipup
Jul 23 19:09:27 gateway diald[715]: Closing down idle link.
Jul 23 19:09:27 gateway diald[715]: start sl0: SIOCSIFMTU: Invalid argument
Jul 23 19:09:27 gateway pppd[1413]: Terminating on signal 2.
Jul 23 19:09:27 gateway pppd[1413]: Connection terminated.
Jul 23 19:09:27 gateway pppd[1413]: Connect time 29.8 minutes.
Jul 23 19:09:27 gateway pppd[1413]: Sent 35102 bytes, received 450415 bytes.
Jul 23 19:09:27 gateway pppd[1413]: Exit.
Heng