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
  •  


USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC picture

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC

$49.99



1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot picture

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot

$269.10



Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet picture

Zero Trace Pen: All-in-one Tor Network Anonymous Drive + Cryptocurrency Wallet

$147.00



Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB picture

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB

$8.47



LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s picture

LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s

$39.80



1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive picture

1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive

$86.95



128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service picture

128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service

$39.99



FLASHFORGE AD5X Upgraded Multi-Color 3D Printer CoreXY High-Speed Auto Refill US picture

FLASHFORGE AD5X Upgraded Multi-Color 3D Printer CoreXY High-Speed Auto Refill US

$349.00