Send commitlog mailing list submissions to
        commitlog@lists.openmoko.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. r4712 - developers/tick/scripts ([EMAIL PROTECTED])
--- Begin Message ---
Author: tick
Date: 2008-10-13 11:37:49 +0200 (Mon, 13 Oct 2008)
New Revision: 4712

Added:
   developers/tick/scripts/sshn
Log:
[tick] a simple script helps to connect to Neo


Added: developers/tick/scripts/sshn
===================================================================
--- developers/tick/scripts/sshn                                (rev 0)
+++ developers/tick/scripts/sshn        2008-10-13 09:37:49 UTC (rev 4712)
@@ -0,0 +1,14 @@
+#!/usr/bin/expect --
+spawn ifconfig usb0
+expect { 
+       "usb0: error fetching interface information: Device not found*" {exit}
+       "inet addr:192.168.0.200" close
+       "inet6" {spawn sudo ifconfig usb0 192.168.0.200;interact}
+}
+
+spawn ssh -o stricthostkeychecking=no [EMAIL PROTECTED]
+expect {
+    "Are you sure you want to continue connecting*" 
+    {send "yes\r";exp_continue}
+    "[EMAIL PROTECTED]'s password:*" {send "\r\n";interact}
+}


Property changes on: developers/tick/scripts/sshn
___________________________________________________________________
Name: svn:executable
   + *




--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to