{"id":15,"date":"2008-06-30T15:47:59","date_gmt":"2008-06-30T20:47:59","guid":{"rendered":"http:\/\/bda.ath.cx\/blog\/?p=15"},"modified":"2008-07-09T13:45:35","modified_gmt":"2008-07-09T18:45:35","slug":"recovering-ppp-password-from-actiontec-gt701","status":"publish","type":"post","link":"http:\/\/bda.ath.cx\/blog\/2008\/06\/30\/recovering-ppp-password-from-actiontec-gt701\/","title":{"rendered":"Recovering PPP password from Actiontec GT701"},"content":{"rendered":"<p>I have an Actiontec GT701 router for my Qwest DSL internet, and in the web-interface it masks the PPP password. Now I want to use the actiontec as a bridge and run PPPoE on my Buffalo WHR-G125 running <a href=\"http:\/\/www.polarcloud.com\/tomato\">Tomato<\/a>, and I can&#8217;t find my PPP password anywhere. Here&#8217;s how I recovered my password:<\/p>\n<p><!--more--><\/p>\n<p>Login to the modem using telnet. Typically this is going to be &#8216;telnet 192.168.0.1&#8217; from a command line. Use the same username and password that you use to login to the web interface.<\/p>\n<p>Now run the &#8216;ps&#8217; command and look for the line containing pppd:<\/p>\n<p><code><br \/>\n# ps<br \/>\n...<br \/>\n123 admin      2376 S    \/usr\/sbin\/pppd plugin pppoa 0.32 user YOURUSERNAME pas<br \/>\n...<br \/>\n<\/code><\/p>\n<p>Sadly the busybox ps won&#8217;t display a longer line, so the password is cut off. However now we have the PID &#8211; the first number on the line, 123 in the example.<\/p>\n<p>To get the full pppd command line we can look in \/proc:<br \/>\n<code><br \/>\n# cat \/proc\/123\/cmdline<br \/>\n<\/code><br \/>\nReplace 123 with the PID you find in the previous step. The spaces are missing, but it should be pretty easy to parse out your password.<\/p>\n<p>I was unable to find my password in any of the config files &#8211; I&#8217;d be curious to know if anyone found where it&#8217;s stored. It doesn&#8217;t help that there is no editor installed.<\/p>\n<p>As an aside OpenWRT has experimental support for the <a href=\"http:\/\/wiki.openwrt.org\/OpenWrtDocs\/Hardware\/Actiontec\/GT701-WG\">Actiontec GT701-WG<\/a>, which I think is nearly identical to the GT701. This might be a better option than bridging to another router&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have an Actiontec GT701 router for my Qwest DSL internet, and in the web-interface it masks the PPP password. Now I want to use the actiontec as a bridge and run PPPoE on my Buffalo WHR-G125 running Tomato, and I can&#8217;t find my PPP password anywhere. Here&#8217;s how I recovered my password:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[35],"class_list":["post-15","post","type-post","status-publish","format-standard","hentry","category-computers","tag-actiontec-gt701"],"_links":{"self":[{"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/posts\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":0,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/posts\/15\/revisions"}],"wp:attachment":[{"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/media?parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/categories?post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bda.ath.cx\/blog\/wp-json\/wp\/v2\/tags?post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}