Subject: Connecting to a remote System
To: None <netbsd-help@netbsd.org>
From: Al Urbaitis <aurbaiti@svc.picker.com>
List: netbsd-help
Date: 07/11/2001 04:08:08
I am trying to connect "rebellion" (an ill behaved laptop ) to a remote 
location.
The remote location consists of a "Netopia" dial in router.
The netopia router runs "dhcp" providing a single ip address to dial in 
users.

What I wish for is...
1. Maintain my broadband connection. The laptop is connected to a LAN
2. Dial up the remote site acquire the new ip address for the serial port
3. Arrange a routing configuration that will allow me to work on the 
remote site

Things I'm confused about...
I am confused as to how to set this up...
1. How do I get dhcp going as a client on an intermittent (dial-up) 
connection
(if someone could point me to an example that would be great)
I can reach the remote location but each time the session ends prematurly

Heres a sample log...

Jul 11 03:21:25 rebellion pppd[1346]: pppd 2.4.0 started by urbman, uid 0
Jul 11 03:21:27 rebellion chat[1348]: abort on (BUSY)
Jul 11 03:21:27 rebellion chat[1348]: abort on (NO CARRIER)
Jul 11 03:21:27 rebellion chat[1348]: abort on (NO DIALTONE)
Jul 11 03:21:27 rebellion chat[1348]: send (ATZ^M)
Jul 11 03:21:27 rebellion chat[1348]: expect (OK)
Jul 11 03:21:27 rebellion chat[1348]: ATZ^M^M
Jul 11 03:21:27 rebellion chat[1348]: OK
Jul 11 03:21:27 rebellion chat[1348]:  -- got it
Jul 11 03:21:27 rebellion chat[1348]: send (ATDTphonenumber^M)
Jul 11 03:21:27 rebellion chat[1348]: expect (CONNECT)
Jul 11 03:21:27 rebellion chat[1348]: ^M
Jul 11 03:22:05 rebellion chat[1348]: ATDTphonenumber^M^M
Jul 11 03:22:05 rebellion chat[1348]: CONNECT
Jul 11 03:22:05 rebellion chat[1348]:  -- got it
Jul 11 03:22:05 rebellion chat[1348]: send (^M)
Jul 11 03:22:05 rebellion pppd[1346]: Serial connection established.
Jul 11 03:22:05 rebellion pppd[1346]: Using interface ppp0
Jul 11 03:22:06 rebellion pppd[1346]: Connect: ppp0 <--> /dev/tty00
Jul 11 03:22:10 rebellion pppd[1346]: LCP terminated by peer
Jul 11 03:22:11 rebellion pppd[1346]: Modem hangup
Jul 11 03:22:11 rebellion pppd[1346]: Connection terminated.
Jul 11 03:22:13 rebellion pppd[1346]: Exit.

So it looks like I am failing during LCP negotiation...
How do I get this negotiation logged...
Among other things...
I'm hazy as to what to do in syslog.conf
Any pointers would be welcome

Al