PPP Server configuration

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

 



Title: PPP Server configuration
It works. 

Merci Glynn and Kapil !

Here is the configuration used both on server and client sides:

Server side:

/etc/ppp/chap-secrets:  empty

/etc/ppp/options
  asyncmap a000
  passive
  crtscts
  modem
  noauth
  debug
  lock

/etc/ppp/options.ttyS0 (the modem is linked to such tty)
  192.168.250.1:192.168.250.2
  115200

/etc/ppp/pap-secrets: empty

~/pppu/.ppprc
  -detach
  silent

/usr/sbin/pppd access rights: -rwsr-xr-x  (chmod gu+s /usr/sbin/pppd)

Client side

cd /Where_the_ppp_client_configurations_files_are
ppp.opt
      connect 		/Where_the_ppp_client_configurations_files_are/ppp.chat
       debug
       crtscts
       modem
       ipcp-accept-local
       ipcp-accept-remote
       lock
       defaultroute  (will not be used if calling system still has a
defaultroute)

ppp.chat
/usr/sbin/chat -v ABORT BUSY ABORT 'NO ANSWER' ABORT 'NO CARRIER' \
		  '' 'ATZ' 'OK' 'ATDTxxyyzz' \
		  TIMEOUT 40 'ExpectedModemReply' '' \
          "ogin:" "MyCallingLoginId" "ord:" "MyCallingLoginPasswrd"

Note: The sequence TIMEOUT 40 'ExpectedModemReply' '' is required as
the called system is
configured to DO NOT send any CR when connected. This means that without a CR sent by the calling
system, the ogin prompt will never be sent by the called system. To turn around the error messages: Dec 1 18:28:11 localhost modprobe: can't locate module char-major-108 (Glynn Clements <glynn@sensei.co.uk>) a)modify /etc/conf.modules adding alias char-major-108 ppp_generic b)mknod /dev/ppp c 108 0 Dec 1 18:28:11 localhost pppd[18425]: The remote system is required to authenticate itself but I Dec 1 18:28:11 localhost pppd[18425]: couldn't find any suitable secret (password) for it to use to do so. (Kapil Bhalla (kapil@cysphere.com) a) modify /etc/ppp/options adding noauth Hope this message will help some people. Bye

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux