Results 1 to 3 of 3

Thread: Windows Modem Script convertion

  1. #1

    Windows Modem Script convertion

    Well I just got my modem working in Linux. So now I need to be able to get an internet connection... I can get it from my college for a couple of more weeks and they have a script for Windows but nothing for Linux. Well I was able to dial the number but it wouldn't actually log in, so I was wondering if I would need to convert the Window script. This is the actual script.
    Code:
    proc main
    waitfor "name:"
    transmit $USERID
    transmit "^M"
    waitfor "word:"
    transmit $PASSWORD
    transmit "^M"
    waitfor ">"
    transmit "ppp"
    transmit "^M"
    delay 1
    endproc

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811

    Re: Windows Modem Script convertion

    Hmmm.. Isn't wvdial doing just that ?
    ~> wvdial lutient
    --> WvDial: Internet dialer version 1.42
    --> Initializing modem.
    --> Sending: AT&F&C1&D2Q0&K3W2
    AT&F&C1&D2Q0&K3W2
    OK
    --> Modem initialized.
    --> Sending: ATDT 16101
    --> Waiting for carrier.
    ATDT 16101
    CONNECT 48000 V42bis
    --> Carrier detected. Waiting for prompt.
    ~[7f]}#@!}!}$} }9}"}&} }*} } }#}%B#}%}%}&!_}^3}'}"}(}"sO~
    --> PPP negotiation detected.
    --> Starting pppd at Tue May 14 09:06:52 2002

  3. #3
    Senior Member
    Join Date
    May 2001
    Posts
    472

    Re: Windows Modem Script convertion

    In Slack, pppsetup will allow you to create a chat script like this... been too long since I've done it in other distros to tell you how to do it... although you could manually set it up following the directions on the LFS website ( www.linuxfromscratch.org )

Similar Threads

  1. Auto run VBS script on remote VPN login through Windows 2003 server
    By beemer832 in forum Windows - General Topics
    Replies: 0
    Last Post: 06-13-2011, 11:56 PM
  2. Shell script and spawning new konsole windows?
    By vwgtiturbo in forum Programming
    Replies: 7
    Last Post: 12-10-2009, 04:43 PM
  3. Upgrading Windows 2000 Server to Windows 2003 Serv
    By dbrewer in forum Windows - General Topics
    Replies: 3
    Last Post: 12-18-2006, 12:53 PM
  4. Dual boot Windows and Linux using NTLDR (Windows Bootloader)
    By BeoR in forum Linux - General Topics
    Replies: 11
    Last Post: 02-18-2005, 10:02 AM
  5. Probs in a script called from another script
    By Outlaw in forum Programming
    Replies: 1
    Last Post: 03-12-2004, 02:54 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
  •