trying to configure ppp on webcam server
Hi
I am trying to build a webcam server with a dial-up connection. The aim is to allow the website on the ISP to dial-up and pull the latest webcam picture of the Kart sport track. I have the webcam running using Linuxcam. I have configured mgetty to answer the phone(modem). I am trying to use ppp to allow a website to log-on and retrieve the picture. For testing purposes, I have a friend with a windows PC who is attempting to dial-up and log on. My modem answers, mgetty does its job, but it seems that his machine logs-off. He gets an error message his end reporting a conflict with IP addresses, or no IP address allocated. I have tried changing the IP address shown below but it doesn't help. The pppd configurations files are as follows: options -detach asyncmap 0 modem crtscts lock proxyarp nobsdcomp Options.ttyS0 ipcp-accept-remote 200.168.1.80: netmask 255.255.255.0 The log shows the following: Messages log Aug 10 21:19:08 localhost mgetty[2405]: cannot set controlling tty (ioctl): Operation not permitted Aug 10 21:19:31 localhost mgetty[2405]: data dev=ttyS0, pid=2405, caller='none', conn='115200', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/' Aug 10 21:19:31 localhost kernel: CSLIP: code copyright 1989 Regents of the University of California Aug 10 21:19:31 localhost kernel: PPP generic driver version 2.4.2 Aug 10 21:19:31 localhost pppd[2405]: pppd 2.4.1 started by root, uid 0 Aug 10 21:19:32 localhost pppd[2405]: Using interface ppp0 Aug 10 21:19:32 localhost pppd[2405]: Connect: ppp0 <--> /dev/ttyS0 Aug 10 21:19:32 localhost /etc/hotplug/net.agent: assuming ppp0 is already up Aug 10 21:19:34 localhost ppp(pam_unix)[2405]: session opened for user kartcam by (uid=0) Aug 10 21:19:34 localhost pppd[2405]: user kartcam logged in Aug 10 21:19:34 localhost kernel: PPP Deflate Compression module registered Aug 10 21:19:36 localhost pppd[2405]: Modem hangup Aug 10 21:19:36 localhost ppp(pam_unix)[2405]: session closed for user kartcam Aug 10 21:19:36 localhost pppd[2405]: Connection terminated. Aug 10 21:19:36 localhost pppd[2405]: Connect time 0.1 minutes. Aug 10 21:19:36 localhost pppd[2405]: Sent 94 bytes, received 126 bytes. Aug 10 21:19:36 localhost pppd[2405]: Exit. Aug 10 21:19:36 localhost /etc/hotplug/net.agent: NET unregister event not supported Can anyone offer advice on how to configure things to allow a windows PC to dial in. Once I get that working, I can make some progress again. |
All times are GMT -5. The time now is 09:17 PM. |