[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: testing ppp w/ debian



Hi James

I did this last week so while it's fresh in my mind ...
I was new to dial-in so it's unlikely to be the perfect solution, but it
seems to work.

Make sure you have ppp and mgetty installed. Both have good docs -
info mgetty (install mgetty-docs) and man pppd.

The last line of /etc/inittab (at least on my woody install) was a
commented out mgetty line.  Uncomment it and change to reflect your own
serial port. eg:

T0:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS0

Run 'telinit q' to get init to start mgetty listening on your serial
port.

For PAP you need to alter /etc/ppp/pap-secrets. For a user brian wanting
to login to machine zinc, add a line:

brian   zinc    ""

Finally - ignoring the steps I've completely forgotten about :) set up
/etc/ppp/options (or /etc/ppp/options.ttyS0 (0/1/2...)) to set the IPs
for either end of the ppp link eg:

192.168.1.1:192.168.1.2

Leaving first field blank will defualt to an IP address from the server.
Leaving the second field blank allows the client to set its own IP.
Other handy settings were 'defaultroute' and 'ipcp-accept-remote'.
/var/log/messages is useful for seeing how far you are getting with ppp.

The first time I dialled in my modem got into a strange state and it
wouldn't answer incoming calls. Dialling out with wvdial reinitialised
it prefectly.

Cheers

John

On Thu, Sep 23, 2004 at 11:25:56AM -0400, wireless wrote:
> Hello,
> 
> I'm trying to get ppp working on friend's debian portable. wvdial is 
> what I have used in the past, but, any other ppp package 
> recommedations are welcome. What I'm need to do is put a serialport 
> (rs232) modem on another debian system and set it for the dialin 
> (inbound) part of the ppp connection connect. Once I get that to work, 
> I need to be able to require various things, such as pap, chap, etc, 
> on the inbound side so at to emulate what the ISP requires. That way 
> we can test the various settings on my friends' portable. Having cable 
> modem access at home, it's been a long time since I've messed around 
> with dialin ppp. One other question, instead of going to the trouble 
> to setup a radius server (would not even know which radius package is 
> good), can I just make up a shell account for the user and auth the 
> passwd on the same server that the serialport modem is connected to?
> 
> 
> Any ideas on packages for the ppp dialin on single serial port?
> 
> TIA,
> James
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org
> 



Reply to: