Welcome to Crakomili software



Choose language





Crakomili Software
Tailored For your needs
Please wait..
Chat Offline
free support chat
PPP SERVER


PPP SERVER: (tested on rh8) install mgetty+ ppp rpms open the right tty at mgetty.config (as at mgetty+sendfax) at /etc/mgetty+sendfax/login.config comment out and change: /AutoPPP/ - - /usr/sbin/pppd auth -chap +pap login debug edit /etc/ppp/options: -detach crtscts netmask 255.255.255.0 asyncmap 0 ms-dns 192.114.47.52 ms-wins 192.168.0.15 modem proxyarp edit a new /etc/ppp/ppplogin: #!/bin/sh mesg n stty -echo /usr/sbin/pppd silent auth -chap +pap login (pap +login means that we r using pap authentication with /etc/passwd file) than make it executable: chmod +x /etc/ppp/ppplogin at /etc/ppp/options.ttyS0 add: ros.co.il:ppp01 (u can add another hostname as ros.co.il:ppp02) at /etc/ppp/pap-secrets add the user u want to connect * for all: #client server secret IP addresses noam * "" 192.168.0.65 the password is the 7.3 login password chmod u+s /usr/sbin/pppd at /etc/hosts add: 192.168.0.65 ppp01 ppp01.ros.co.il (can add another 1..) now u can enable ip forwarding at /etc/sysconfig/network and sysctl.. no need to start the mgetty if it was configured as fax answer.just do: init q at the win station make a new ppp connection (entering dns+ip address-no need) & dial.(at 98 check that u have dial up adapter as a green card & tcp/ip protocol than u can start surfing through the server! at xp check that the dialer has client for ms network +allow netbios over tcp/ip checked-to browse the network, u cat take of the xp fw. err: -if u put any other than "" at pap-secrets: u will not be able to login -at xp when u c an empty server- u didnt enable netbios over tcp/ip -scripts dont work good when openning the dialers at xp $98! -if u already have adsl connected than option is used, use the keep_ppp script -starting the ppplogin as a script Stucks the tty! -if u put a higher speed at mgetty.config u get respawn too fast -at messages:pap authentication failure for user: check the pap-secterts line that has "" info: -sometimes u need to go \\server\junk in order to enter a directory -surfing at 32 kbps seen as ppp1 -ps -ef |grep ppp gives u 2 rows at 7.3 (1 at 8) -u can kill the pppd pid and start it with ppplogin last line -at /etc/passwd u can put the user home dir for ppp login -any user can brouse through the network neiberhood but with root priviliges! -for the connect script: #only when u have pppd active for connecting from home { #/bin/mv /etc/ppp/options /etc/ppp/options.pppd #/bin/mv /etc/ppp/options.adsl /etc/ppp/options } # here u connect then back: #for active pppd server: #/bin/mv /etc/ppp/options /etc/ppp/options.adsl #/bin/mv /etc/ppp/options.pppd /etc/ppp/options



Post a Comment
your name:
Write code here  

     © crakomili software, all rights reserved © 2007