couple of question - how many users will be dialing in? how are you going to authenticate users - radius server or just using the /etc/passwd file or what? are you running the stock kernel? do you want users to just dial-in and get a login prompt like a telnet or ssh client gets or do you want them to dial in, get an ip assigned to them and be able to browse the network/web? some basic things you will need no matter what you intend to do: mgetty package ppp package modem (obvious, and an external one will be better) now to do the simplest thing - dialin using hyperterm or minicom and just get a login prompt on the suse 7.3 dial in server here is a quick and dirty howto 1 - edit /etc/inittab to spawn an mgetty on your serial line example mo:23:respawn:/usr/sbin/mgetty -n 2 -s 57600 -D ttyS0 this starts the modem getty in runlevels 2 and 3, answers after two rings (-n 2) sets the serial speed to 57600 (-s 57600, its a 33.6 modem which is the best you will ever get) and listens on the first serial line (ttyS0) 2 - now, your kernel needs ppp support, slip support (both of which are under network device support) and support for console on serial port (under character devices, 4th option) if your kernel has those, you can simply edit /etc/inittab, do kill -1 1 and you should be able to dial in now and get a login prompt. now, lets say the linux box has a network connection via a dsl/cable line and you want to be able to dial into it when you are away from home and surf the internet through your linux box. in effect, you become your own ISP. this requires all of the above, plus a couple of other steps 1 - edit /etc/mgetty+sendfax/login.config and just have the line /AutoPPP/ - a_ppp /usr/sbin/pppd file /etc/ppp/options.server 2 - create /etc/ppp/options.server here is mine that works -detach # detach from ppp session (ie, run in background) asyncmap 0 modem crtscts lock require-pap # use pap authentication refuse-chap # dont use chap authentication #login proxyarp ms-dns 10.1.1.5 # sets the local dns server 10.1.1.5:10.1.1.50 # sets the gateway and ip address for dial-in 3 - create /etc/ppp/pap-secrets example # Secrets for authentication using PAP # client server secret IP addresses USERNAME * PASSWORD * 4 - setup your linux box to do ip forwarding and masquerading depending on your setup (ipchains or iptables) your rules will be a bit different simplest way echo 1 > /proc/sys/net/ipv4/ip_forward iptables -A FORWARD -j ACCEPT iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE or with ipchains echo 1 > /proc/sys/net/ipv4/ip_forward ipchains -P forward DENY ipchains -A forward -s 10.1.1.0/24 -j MASQ put all this into some type of script (/etc/init.d/rc.firewall ? ) and start it up, now you should be able to dial in with a client (windows using dial up networking) and the server should assign you the address you specified in /etc/ppp/options.server (along with the gateway, dns, etc) and you should be able to then get to the net through your linux box via ip masquerading. hope this helps get you going. On Friday 03 May 2002 04:47 am, Jacob Vennervald Madsen wrote:
Hi List
I want to set up a dial-in PPP server on a Suse Linux 7.3 machine. Can anybody help me? How do I set up the server?
It doesn't say anything in the documents from SuSe.
Best regards, Jacob Vennervald
-- Chad Whitten Network/Systems Administrator neXband Communications cwhitten@nexband.com