• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/rp-pppoe/scripts/

Lines Matching refs:DEBUG

50 if [ "$DEBUG" = "1" ] ; then
52 DEBUG=/tmp/pppoe-debug-$$
53 export DEBUG
54 mkdir $DEBUG
56 $ECHO "Could not create directory $DEBUG... exiting"
59 DEBUG=$DEBUG/pppoe-debug.txt
62 $ECHO "---------------------------------------------" > $DEBUG
63 $ECHO "* The following section contains information about your system" >> $DEBUG
64 date >> $DEBUG
65 $ECHO "Output of uname -a" >> $DEBUG
66 uname -a >> $DEBUG
67 $ECHO "---------------------------------------------" >> $DEBUG
68 $ECHO "* The following section contains information about your network" >> $DEBUG
69 $ECHO "* interfaces. The one you chose for PPPoE should contain the words:" >> $DEBUG
70 $ECHO "* 'UP' and 'RUNNING'. If it does not, you probably have an Ethernet" >> $DEBUG
71 $ECHO "* driver problem." >> $DEBUG
72 $ECHO "Output of ifconfig -a" >> $DEBUG
73 $IFCONFIG -a >> $DEBUG
74 $ECHO "---------------------------------------------" >> $DEBUG
76 $ECHO "* The following section contains information about kernel modules" >> $DEBUG
77 $ECHO "* If the module for your Ethernet card is 'tulip', you might" >> $DEBUG
78 $ECHO "* want to look for an updated version at http://www.scyld.com" >> $DEBUG
79 $ECHO "Output of lsmod" >> $DEBUG
80 lsmod >> $DEBUG
81 $ECHO "---------------------------------------------" >> $DEBUG
83 $ECHO "* The following section lists your routing table." >> $DEBUG
84 $ECHO "* If you have an entry which starts with '0.0.0.0', you probably" >> $DEBUG
85 $ECHO "* have defined a default route and gateway, and pppd will" >> $DEBUG
86 $ECHO "* not create a default route using your ISP. Try getting" >> $DEBUG
87 $ECHO "* rid of this route." >> $DEBUG
88 $ECHO "Output of netstat -n -r" >> $DEBUG
89 netstat -n -r >> $DEBUG
90 $ECHO "---------------------------------------------" >> $DEBUG
91 $ECHO "Contents of /etc/resolv.conf" >> $DEBUG
92 $ECHO "* The following section lists DNS setup." >> $DEBUG
93 $ECHO "* If you can browse by IP address, but not name, suspect" >> $DEBUG
94 $ECHO "* a DNS problem." >> $DEBUG
95 cat /etc/resolv.conf >> $DEBUG
96 $ECHO "---------------------------------------------" >> $DEBUG
97 $ECHO "* The following section lists /etc/ppp/options." >> $DEBUG
98 $ECHO "* You should have NOTHING in that file." >> $DEBUG
99 $ECHO "Contents of /etc/ppp/options" >> $DEBUG
100 cat /etc/ppp/options >> $DEBUG 2>/dev/null
101 $ECHO "---------------------------------------------" >> $DEBUG
103 DEBUG=""
147 if [ "$DEBUG" != "" ] ; then