Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: help with writing script

  1. #21
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    237

    scripting

    Hello 'USER UNKNOWN'.....I will try that script....unfortunatly the others i have tried didnt do as expected. I do not need the script to run totally automated...I dont mind logging in, that no problem. I just dont understand why none of the suggestions work! It seems simple enuff to run a script like this. Maybe its me.Hahahaha OK well anyway I will try this latest script when i get home and post back tomorrow....bob

  2. #22
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235
    Bob

    The script I wrote does work, but the server you were trying to login with either doesn't exist or is on a private server, so I left the n7us.net off to get the resulting telnet prompt. All you would have to do is type in the telnet server name you wanted to log into, and the script does work once you've made it an executable and created a shortcut linking to the executable script.

    Edit:
    Whoops, I copied and pasted the code I posted, and it lacked a space before the -e, so you'll need to insert it or I can repost the modification to this thread if you like.

    Edit #2:
    I typed open n7us.net in the telnet prompt window, and it responded with a call: prompt. If you want to insert the n7us.net server into the script, that will work as well.

    Durand

  3. #23
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    237

    help with script

    Hi Durand.....OK I will try again. Repost the modified script if you have time and I will try it again.

  4. #24
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    I actually tested both my scripts with an ssh connection and they did work, don't know why they didn't for you.

  5. #25
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    235
    Bob,

    Not a problem, here it is.

    Code:
    #!/bin/sh
    if [ -e /etc/network/ifstate ]
    then konsole -e telnet n7us.net
    else exit
    exit
    fi
    I tested this twice already just so you know it works. One possible problem that comes to mind when it didn't work for you is that maybe you're on dialup? Don't forget to chmod a+x this script and make a link on your desktop to the script.

    HTH,

    Durand

    P.S. On a side note, I have the telnet-ssl program, not the standard telnet program, so if that makes a difference, let me know.

Page 3 of 3 FirstFirst 123

Similar Threads

  1. writing to cd
    By sunnmoon in forum General Support
    Replies: 1
    Last Post: 06-15-2005, 04:08 PM
  2. V3.8.1 hd writing bug?
    By fmfischer in forum General Support
    Replies: 1
    Last Post: 04-14-2005, 11:07 AM
  3. Writing it to CD
    By irvine in forum The Lounge
    Replies: 4
    Last Post: 12-02-2004, 03:27 AM
  4. Writing to / and subdirs.
    By bikerman in forum General Support
    Replies: 1
    Last Post: 04-15-2004, 12:22 AM
  5. writing problem with usb pen
    By shadinio in forum Hardware & Booting
    Replies: 1
    Last Post: 03-25-2004, 09:09 PM

Posting Permissions

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


Vintage Apple Game TAXMAN I + TAXMAN II H.A.L. Labs picture

Vintage Apple Game TAXMAN I + TAXMAN II H.A.L. Labs

$1195.00



5x Vintage SSS SCP1802D SCP1802LD Ceramic CPU 1802 COSMAC 1978 Gold IC picture

5x Vintage SSS SCP1802D SCP1802LD Ceramic CPU 1802 COSMAC 1978 Gold IC

$299.99



Vintage Core CL9 Master Universal Remote Control Steve Wozniak (Apple) READ picture

Vintage Core CL9 Master Universal Remote Control Steve Wozniak (Apple) READ

$1048.88



Vintage NMB Technologies RT8255CW+ Mechanical Wired Keyboard - Tested picture

Vintage NMB Technologies RT8255CW+ Mechanical Wired Keyboard - Tested

$74.95



vintage Genitizer GT-1212B Plus graphic tablet/digitizer. ( Read description) picture

vintage Genitizer GT-1212B Plus graphic tablet/digitizer. ( Read description)

$420.00



Vintage Pegasus Brown Leather Portfolio Briefcase Document Laptop Made in USA picture

Vintage Pegasus Brown Leather Portfolio Briefcase Document Laptop Made in USA

$54.49



Vintage FUPH7010-20 Electromechanical Printer Mechanism PCB Assembly Untested picture

Vintage FUPH7010-20 Electromechanical Printer Mechanism PCB Assembly Untested

$149.99



Two Vintage Novell NE/2 Micro Channel MCA Ethernet Network Cards picture

Two Vintage Novell NE/2 Micro Channel MCA Ethernet Network Cards

$100.00



Vintage Beige Desktop PC Tower CD-ROM Floppy Powers On TC picture

Vintage Beige Desktop PC Tower CD-ROM Floppy Powers On TC

$129.99



Vintage IBM 3151 ASCII Display Terminal CRT Monitor Untested picture

Vintage IBM 3151 ASCII Display Terminal CRT Monitor Untested

$50.00