Author: alexander
Date: 2005-06-27 03:49:59 -0600 (Mon, 27 Jun 2005)
New Revision: 283

Added:
   x86/branches/6.1/etc/ppp/
   x86/branches/6.1/etc/ppp/chap-secrets
   x86/branches/6.1/etc/ppp/dialup.chat
   x86/branches/6.1/etc/ppp/gprs.chat
   x86/branches/6.1/etc/ppp/ip-up
   x86/branches/6.1/etc/ppp/pap-secrets
   x86/branches/6.1/etc/ppp/peers/
   x86/branches/6.1/etc/ppp/peers/dialup
   x86/branches/6.1/etc/ppp/peers/gprs
Modified:
   x86/branches/6.1/packages/ppp/Makefile
Log:
Added template configuration files for setting up dialup and GPRS connections


Added: x86/branches/6.1/etc/ppp/chap-secrets
===================================================================
--- x86/branches/6.1/etc/ppp/chap-secrets       2005-06-27 04:31:43 UTC (rev 
282)
+++ x86/branches/6.1/etc/ppp/chap-secrets       2005-06-27 09:49:59 UTC (rev 
283)
@@ -0,0 +1 @@
+link pap-secrets
\ No newline at end of file


Property changes on: x86/branches/6.1/etc/ppp/chap-secrets
___________________________________________________________________
Name: svn:special
   + *

Added: x86/branches/6.1/etc/ppp/dialup.chat
===================================================================
--- x86/branches/6.1/etc/ppp/dialup.chat        2005-06-27 04:31:43 UTC (rev 
282)
+++ x86/branches/6.1/etc/ppp/dialup.chat        2005-06-27 09:49:59 UTC (rev 
283)
@@ -0,0 +1,8 @@
+ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL 
TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR ABORT BLACKLISTED
+
+TIMEOUT 5
+'' AT
+# \T is the phone number, passed from /etc/ppp/peers/dialup
+OK-+++\dATH0-OK ATD\T
+TIMEOUT 75
+CONNECT \d\c

Added: x86/branches/6.1/etc/ppp/gprs.chat
===================================================================
--- x86/branches/6.1/etc/ppp/gprs.chat  2005-06-27 04:31:43 UTC (rev 282)
+++ x86/branches/6.1/etc/ppp/gprs.chat  2005-06-27 09:49:59 UTC (rev 283)
@@ -0,0 +1,9 @@
+ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL 
TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR ABORT BLACKLISTED
+
+TIMEOUT 5
+'' AT
+OK-+++\dATH0-OK ATZ
+# \T is the APN, passed from /etc/ppp/peers/gprs
+OK AT+CGDCONT=1,"IP","\T"
+OK "ATD*99***1#"
+CONNECT \d\c

Added: x86/branches/6.1/etc/ppp/ip-up
===================================================================
--- x86/branches/6.1/etc/ppp/ip-up      2005-06-27 04:31:43 UTC (rev 282)
+++ x86/branches/6.1/etc/ppp/ip-up      2005-06-27 09:49:59 UTC (rev 283)
@@ -0,0 +1,5 @@
+#!/bin/sh
+if [ "$USEPEERDNS" = "1" ] && [ -s /etc/ppp/resolv.conf ]
+then
+       install -m 644 /etc/ppp/resolv.conf /etc/resolv.conf
+fi


Property changes on: x86/branches/6.1/etc/ppp/ip-up
___________________________________________________________________
Name: svn:executable
   + *

Added: x86/branches/6.1/etc/ppp/pap-secrets
===================================================================
--- x86/branches/6.1/etc/ppp/pap-secrets        2005-06-27 04:31:43 UTC (rev 
282)
+++ x86/branches/6.1/etc/ppp/pap-secrets        2005-06-27 09:49:59 UTC (rev 
283)
@@ -0,0 +1,3 @@
+# username     peer    password        IP for the peer
+# jdoe         dialup  guessit         *
+

Added: x86/branches/6.1/etc/ppp/peers/dialup
===================================================================
--- x86/branches/6.1/etc/ppp/peers/dialup       2005-06-27 04:31:43 UTC (rev 
282)
+++ x86/branches/6.1/etc/ppp/peers/dialup       2005-06-27 09:49:59 UTC (rev 
283)
@@ -0,0 +1,17 @@
+# Your username at the ISP
+# The password is set in /etc/ppp/pap-secrets
+user "jdoe"
+# Replace TTTTTTT with the ISP phone number
+connect "/usr/sbin/chat -T TTTTTTT -f /etc/ppp/dialup.chat"
+
+# Don't ask the peer to authenticate itself
+noauth
+hide-password 
+debug
+/dev/ttyS1
+115200
+lock
+defaultroute
+noipdefault 
+usepeerdns
+

Added: x86/branches/6.1/etc/ppp/peers/gprs
===================================================================
--- x86/branches/6.1/etc/ppp/peers/gprs 2005-06-27 04:31:43 UTC (rev 282)
+++ x86/branches/6.1/etc/ppp/peers/gprs 2005-06-27 09:49:59 UTC (rev 283)
@@ -0,0 +1,14 @@
+# Replace inet.example.com with the proper APN for your provider
+connect "/usr/sbin/chat -T inet.example.com -f /etc/ppp/gprs.chat"
+
+# Authentication is based on the phone number
+# Don't ask the peer to authenticate itself
+noauth
+debug
+/dev/ttyS1
+115200
+lock
+defaultroute
+noipdefault 
+usepeerdns
+ 

Modified: x86/branches/6.1/packages/ppp/Makefile
===================================================================
--- x86/branches/6.1/packages/ppp/Makefile      2005-06-27 04:31:43 UTC (rev 
282)
+++ x86/branches/6.1/packages/ppp/Makefile      2005-06-27 09:49:59 UTC (rev 
283)
@@ -21,7 +21,9 @@
        @if [ ! -f $(FILE) ] ; then $(WGET) $(URL) ; fi
        @if [ ! -f /usr/sbin/pppd ] ; then unpack $(FILE) && cd $(DIR) && \
         ./configure --prefix=/usr && \
-        make -j3 && make install ; fi
+        make -j3 && make install && \
+        cp -a $(ROOT)/etc/ppp /etc && \
+        chown -R 0:0 /etc/ppp ; fi
        @make clean
 
 clean:

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to