Here is how I set mine up, there is about a million other ways to do it.
/etc/inittab
Code:
S0:2345:respawn:/sbin/mgetty -s 115200 -x 3 ttyS0
reset init
/etc/ppp/options
You can see I have dns and wins, if you don't then you would not use those settings, you could leave out wins, and use your correct dns numbers. It will still do what you want.
Code:
asyncmap 0
netmask 255.255.255.0
ms-dns 192.168.0.1
ms-wins 192.168.0.1
proxyarp
lock
crtscts
modem
/etc/mgetty+sendfax/login.config
The ip addresses can be here, or in /etc/ppp/options.ttyS?
The ips are serverip:clientip
Code:
/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login asyncmap 0 192.168.0.1:192.168.0.201
/etc/ppp/pap-secrets
Code:
* * "" 192.168.0.201