Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
Colombo
RidhMathraa ’26 🎶✨
Tmadhusanka
Updated:
Wednesday at 11:58 PM
Ad icon
Colombo
PXN V10 Pro Direct Drive Racing Wheel (Under Warranty)
Abdur Rahman
Updated:
Wednesday at 10:23 PM
Ad icon
USDT ණය සේවාව - USDT Loan Service
පුරවැසියා
Updated:
Wednesday at 4:54 PM
Ad icon
🎮 INDIAN PSN GIFT CARDS AVAILABLE NOW! 🎮
madukaperera
Updated:
Tuesday at 12:57 PM
🚀 Google AI PRO – 18 Months | Rs. 850 Only
lkkolla
Updated:
Monday at 4:56 PM
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
Dial-in server
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="nagaya" data-source="post: 2433602" data-attributes="member: 23839"><p>guys!i found this script written by me a long time ago for my home made dial-in server;</p><p>this is like the same in SLT ...etc which allows users to be connected using dialup modems/.</p><p>this is very useful when there is no broadban connections everywhere.....</p><p></p><p>I wrote this in 2003 or 2004 for Mandrake Linux 9/10 and I used Intel/Conexant modems with proper drivers...</p><p>I don't know how this match for nowadays... dan handle with care <img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /></p><p></p><p>©Nagaya 2004 - Released as GPL 2.0</p><p></p><p>Begin of Script _______></p><p></p><p>#/bin/bash</p><p>#su -</p><p>#mkdir /root/dialin</p><p>echo "Please enter your path to Mgetty rpm : "</p><p>read mgpath</p><p>echo "Mgetty source path is" $mgpath</p><p>rpm -Uvh $mgpath </p><p>echo "Please enter your modem port (without /dev) :"</p><p>read mdname</p><p>echo "We are going to use modem on /dev/"$mdname</p><p>echo "debug 2" > /etc/mgetty+sendfax/mgetty.config</p><p>echo "port "$mdname >> /etc/mgetty+sendfax/mgetty.config</p><p>echo "Please enter speed of your modem [or 57600 for 56K modems]"</p><p>read mdspd</p><p>echo -e debug 6"\n"data-only y"\n"speed $mdspd >> /etc/mgetty+sendfax/mgetty.config</p><p>echo "We are going to use AutoPPP"</p><p>echo "/AutoPPP/ - - /etc/ppp/ppplogin debug" > /etc/mgetty+sendfax/login.config</p><p>chmod 600 /etc/mgetty+sendfax/login.config</p><p>echo S2:2345:respawn:/sbin/mgetty $mdname -D /dev/$mdname >> /etc/inittab</p><p>init q</p><p>echo "Please enter your Hostname ,may be:";hostname</p><p>read hostn</p><p>echo "Please enter your IP ,may be:";hostname -i</p><p>read hostip</p><p>#hostname $hostn</p><p>#hostname $hostip</p><p>echo -e lock"\n"-detach"\n"crtscts"\n"asyncmap 0"\n"modem"\n"ms-dns $hostip"\n"debug 6"\n"ns.$hostn<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick out tongue :p" loading="lazy" data-shortname=":p" />pp0.$hostn"\n"idle 180 > /etc/ppp/options</p><p>echo -e mesg n"\n"stty -echo"\n"/usr/sbin/pppd silent auth -chap +pap login > /etc/ppp/ppplogin</p><p>chmod 744 /etc/ppp/ppplogin</p><p>echo -e lock"\n"-detach"\n"crtscts"\n"asyncmap 0"\n"modem"\n"ms-dns $hostip"\n"debug 6"\n"ns.$hostn<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick out tongue :p" loading="lazy" data-shortname=":p" />pp0.$hostn"\n"idle 180 > /etc/ppp/options.$mdname</p><p>echo "* * "\"\"" 172.16.4.1" >> /etc/ppp/pap-secrets</p><p>chmod u+s /usr/sbin/pppd</p><p>echo $hostip" "$hostn" ns."$hostn" www."$hostn" mail."$hostn >> /etc/hosts</p><p>echo "172.16.4.1 ppp0 user modem user."$hostn" ppp0."$hostn" modem."$hostn >> /etc/hosts</p><p>echo -e NETWORKING=yes"\n"FORWARD_IPV4=yes"\n"HOSTNAME=$hostn"\n"DOMAINNAME=$hostn > /etc/sysconfig/network</p><p>echo "Set up completed ! Have fun"</p><p>echo "User useradd & passwd to add new users"</p></blockquote><p></p>
[QUOTE="nagaya, post: 2433602, member: 23839"] guys!i found this script written by me a long time ago for my home made dial-in server; this is like the same in SLT ...etc which allows users to be connected using dialup modems/. this is very useful when there is no broadban connections everywhere..... I wrote this in 2003 or 2004 for Mandrake Linux 9/10 and I used Intel/Conexant modems with proper drivers... I don't know how this match for nowadays... dan handle with care :D ©Nagaya 2004 - Released as GPL 2.0 Begin of Script _______> #/bin/bash #su - #mkdir /root/dialin echo "Please enter your path to Mgetty rpm : " read mgpath echo "Mgetty source path is" $mgpath rpm -Uvh $mgpath echo "Please enter your modem port (without /dev) :" read mdname echo "We are going to use modem on /dev/"$mdname echo "debug 2" > /etc/mgetty+sendfax/mgetty.config echo "port "$mdname >> /etc/mgetty+sendfax/mgetty.config echo "Please enter speed of your modem [or 57600 for 56K modems]" read mdspd echo -e debug 6"\n"data-only y"\n"speed $mdspd >> /etc/mgetty+sendfax/mgetty.config echo "We are going to use AutoPPP" echo "/AutoPPP/ - - /etc/ppp/ppplogin debug" > /etc/mgetty+sendfax/login.config chmod 600 /etc/mgetty+sendfax/login.config echo S2:2345:respawn:/sbin/mgetty $mdname -D /dev/$mdname >> /etc/inittab init q echo "Please enter your Hostname ,may be:";hostname read hostn echo "Please enter your IP ,may be:";hostname -i read hostip #hostname $hostn #hostname $hostip echo -e lock"\n"-detach"\n"crtscts"\n"asyncmap 0"\n"modem"\n"ms-dns $hostip"\n"debug 6"\n"ns.$hostn:ppp0.$hostn"\n"idle 180 > /etc/ppp/options echo -e mesg n"\n"stty -echo"\n"/usr/sbin/pppd silent auth -chap +pap login > /etc/ppp/ppplogin chmod 744 /etc/ppp/ppplogin echo -e lock"\n"-detach"\n"crtscts"\n"asyncmap 0"\n"modem"\n"ms-dns $hostip"\n"debug 6"\n"ns.$hostn:ppp0.$hostn"\n"idle 180 > /etc/ppp/options.$mdname echo "* * "\"\"" 172.16.4.1" >> /etc/ppp/pap-secrets chmod u+s /usr/sbin/pppd echo $hostip" "$hostn" ns."$hostn" www."$hostn" mail."$hostn >> /etc/hosts echo "172.16.4.1 ppp0 user modem user."$hostn" ppp0."$hostn" modem."$hostn >> /etc/hosts echo -e NETWORKING=yes"\n"FORWARD_IPV4=yes"\n"HOSTNAME=$hostn"\n"DOMAINNAME=$hostn > /etc/sysconfig/network echo "Set up completed ! Have fun" echo "User useradd & passwd to add new users" [/QUOTE]
Insert quotes…
Verification
Hath warak paha keeyada? (hatha wadikireema paha)
Post reply
Top
Bottom