Results 1 to 10 of 12

Thread: ISP PAP modem fix

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2005
    Location
    Hamilton, NZ
    Posts
    196

    ISP PAP modem fix

    I finally got around to making a fix so tivo can connect to ISPs who don't support plain text authentication, and instead jump straight to a PPP session to authenticate using PAP (which seems to be a large number of the ISPs in NZ).

    Previously trying to connect would give a result in the tclient log like:
    Code:
    Sep 29 01:18:58 (none) comm[148]: Trying to connect
    Sep 29 01:19:12 (none) comm[148]: ATDTxxxxxxxx
    Sep 29 01:19:12 (none) comm[148]: CONNECT 19200/
    Sep 29 01:19:12 (none) comm[148]: Got a connection.
    Sep 29 01:19:12 (none) comm[148]: Trying to login
    Sep 29 01:19:24 (none) comm[148]: ModemImpl: EXP_TIMEOUT
    What this means is that tivo is waiting for the ISP to say in plain text "Login:". Because the ISP has already started PPP, the tivo never sees this string (instead it sees something like "~ÿ}#À!}!} } }7}"}&} } } } }%}&}83jO}'}"}(}"}-}#}&¦•~") and times out.

    This mod means that Tivo never tries to authenticate using plaintext, and instead immediately starts PPP once the modem connects. PAP authentication is done and the tclient log now looks like:
    Code:
    Sep 29 01:26:28 (none) comm[150]: Trying to connect
    Sep 29 01:26:41 (none) comm[150]: ATDTxxxxxxxx
    Sep 29 01:26:41 (none) comm[150]: CONNECT 19200/ARQ
    Sep 29 01:26:41 (none) comm[150]: Got a connection.
    Sep 29 01:26:41 (none) comm[150]: Trying to login
    Sep 29 01:26:41 (none) comm[150]: Login is complete.
    Sep 29 01:26:41 (none) comm[150]: Modem dialcode is 1
    Sep 29 01:26:41 (none) comm[150]: CallStatusReporter: Phase: Calling, Status In Progress
    Sep 29 01:26:41 (none) comm[150]: CallStatusReporter: sending message "CL|31"
    Sep 29 01:26:41 (none) comm[150]: CallStatusReporter: Phase: Start_PPP, Status In Progress
    Sep 29 01:26:41 (none) comm[150]: CallStatusReporter: sending message "ST|33"
    Sep 29 01:26:41 (none) comm[150]: Going to start pppd.
    Sep 29 01:26:41 (none) comm[150]: Pppd:Start: enter
    Sep 29 01:26:41 (none) comm[150]: Pppd::Start: fork()ed (pid = 178)
    Sep 29 01:26:41 (none) comm[150]: Pppd::Start: storing child pid as 178
    Sep 29 01:26:41 (none) comm[150]: Pppd::Start: waiting for PPP - 1
    Sep 29 01:26:41 (none) comm[178]: Pppd::Start: fork()ed (pid = 0)
    Sep 29 01:26:41 (none) comm[178]: Pppd::Start: spawning pppd on /dev/ttyDSS at 19200 baud
    Sep 29 01:26:44 (none) comm[150]: Pppd::Start: waiting for PPP - 2
    Sep 29 01:26:44 (none) comm[150]: Pppd::Start: exit (succeeded)
    Sep 29 01:26:44 (none) comm[150]: ModemImpl::enableLineStatusInterrupt: modem of type 6, lineStatusInterrupt DISABLED
    Sep 29 01:26:44 (none) comm[150]: CallStatusReporter: Phase: Start_Auth, Status In Progress
    Sep 29 01:26:44 (none) comm[150]: CallStatusReporter: sending message "ST|33"
    Sep 29 01:26:44 (none) comm[150]: CommUtil: connection to host 127.0.0.1, port 8000, err 0x0
    Hence it connects successfully and downloads

    How apply the patch:
    At your own risk - if you screw up the file chances are that your tivo will not boot properly and require reimaging the drive!

    UPDATE: The hack can be performed without having to copy the file to a PC. Instructions are further down this page Click Here!

    FTP into tivo and copy the file /tvbin/tivoapp to your PC. Open the file in a hex editor and change:
    Code:
    Address           From                        To
    0x5132A7          03 3F 20 01 DA 3F           00 3F 20 01 DA 3F
    0x5133AF          00 80 01 00 34 7C           01 80 01 00 34 7C
    save the file as tivoapp.isp Note if the values shown here do not match then it is possible you have a different version of the file to mine - DO NOT CONTINUE!

    Telnet into tivo and run the command (make the filesystem read/write)
    Code:
    rw
    FTP your tivoapp.isp file to /tvbin/tivoapp.isp
    In the telnet session type:
    Code:
    cd /tvbin
    mv tivoapp tivoapp.bak
    mv tivoapp.isp tivoapp
    ro
    reboot
    You can now connect to your ISP assuming you have already setup the modem (especially the files /etc/ppp-options and /etc/pap-secrets) as described in the oztivo wiki

    Comments/suggestions welcome
    Last edited by catdog; 17-04-2007 at 05:35 PM. Reason: Added link to easier to follow instructions

Similar Threads

  1. Getting the internal modem working
    By zollymonsta in forum Question and Answer Forum
    Replies: 2
    Last Post: 18-05-2009, 05:56 PM
  2. Using the modem
    By bigmal in forum Question and Answer Forum
    Replies: 12
    Last Post: 17-04-2007, 08:17 PM
  3. Dial Up Modem
    By JECastor in forum New Zealand General Forum
    Replies: 14
    Last Post: 21-03-2007, 06:21 PM
  4. Internal Modem on 2.5.5.
    By wrayr in forum General Chat
    Replies: 0
    Last Post: 07-10-2004, 05:36 AM
  5. Tivo Modem
    By timmy in forum New Zealand General Forum
    Replies: 8
    Last Post: 14-04-2004, 07:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •