LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2005, 01:37 AM   #1
dazz
LQ Newbie
 
Registered: Apr 2005
Posts: 22

Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to link linux ppp client to windows ppp server? cyz Linux - Networking 2 12-11-2008 05:01 AM
can't configure ppp dosnlinux Linux - Networking 5 09-30-2005 04:33 PM
configure webcam $mido$ Linux - Newbie 0 11-26-2004 12:24 PM
need to configure a ppp dependant route jbeiter Linux - Networking 0 09-21-2004 01:24 PM
Configure as PPP dialin server pawan Linux - Networking 0 09-17-2003 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration