I'll help if I am able, I have a local test subject, um if you replace
"local" with upstairs, and "test subject," with wife. She can turn on a
computer, follow basic instructions and is total cool with a linux platform
----- Forwarded message from "Shawn C. Powell" <shawncp(a)kcnet.com> -----
> From: "Shawn C. Powell" <shawncp(a)kcnet.com>
> To: kclug(a)kclug.org
> Subject: Re: Remote access partition and install Linux. With a Near Zero
> skilled operator at the remote site.
> Date: Wed, 23 Jan 2008 13:35:09 -0600
>
> It seems like the hurdle is bootstrapping, in as simple a manner as possible,
> some kind of connectivity so you can proceed with the work.
>
> What about setting up a VPN server on your end and let them connect to you?
> PoPToP on your end for Windows --- I'm not sure what kind of built-in/easy
> VPN clients Knoppix provides.
>
----- End forwarded message -----
CSR is (Customer Support Representative).
We set up logins on an otherwise little used web server and then put
this into a script named 'access' on the client machines...
#!/bin/bash
# this script lets DSI access this computer via ssh
# =========================================================
# ssh -R 2500:localhost:22 rescue@newweb
#
# then ssh to newweb (internal name for csr.LOGIN-MACHINE.com) and...
#
# /usr/bin/ssh -C -X -p2500 rescue@localhost 2>/dev/null
#
# will present a login prompt from the customer machine behind a linksys router
#
# 'rescue@' is an account pre-created on client machine
# for just this script.
#
# rescue01 through rescue10 are newweb logins which all share
# login dir and /etc/passwd user id number.
# =========================================================
localhost=127.0.0.1
EXPECT=$(type -p expect|sed 's/.* //')
============== generate key ====================
# Generate new key files...
/bin/rm -fr /home/rescue/.ssh
mkdir /home/rescue/.ssh
chmod 700 /home/rescue/.ssh
touch /home/rescue/.ssh/id_dsa
$EXPECT <<KEY_GEN
set timeout -1
match_max 100000
spawn ssh-keygen -f /home/rescue/.ssh/id_dsa -t dsa
expect "Overwrite (y/n)? "
send "yes\r"
expect "empty for no passphrase): "
send -- "\r"
expect "Enter same passphrase again: "
send -- "\r"
expect eof
KEY_GEN
============== end generate key ================
# tell the user what's going on
echo ''
echo ''
echo ''
echo ''
echo ''
echo ''
echo ''
echo ''
echo ''
echo 'This program will exit when you strike the "Control-C" key.'
echo ''
echo ''
echo 'If a command prompt returns before you strike "Control-C" please notify'
echo 'the CSR working with you.'
echo ''
echo ''
echo ''
echo ''
set=$(stty -g)
# reset intr setting if ^c typed
trap "stty $set ; echo ' done'; exit 0" 2 3 # Signal 2 is ^C
stty intr ^c
# Create a passwordless login for us
$EXPECT 2>/dev/null <<PUT_KEY
set timeout -1
match_max 100000
spawn /bin/sh -c "cat .ssh/id_dsa.pub | ssh rescue01(a)csr.LOGIN-MACHINE.com 'cat >>.ssh/authorized_keys'"
expect "continue connecting (yes/no)? "
send "yes\r"
expect "ssword: "
send -- "LOGIN_PASSWORD\r"
expect eof
PUT_KEY
# Use new server at csr.LOGIN-MACHINE.com
lst="$(ssh rescue01(a)csr.LOGIN-MACHINE.com 'netstat -an |grep 127.0.0.1:91..'|sort)"
n=''
[ -z "$n" -a $(echo "$lst"|grep -c 9110) -eq 0 ] && n=01
[ -z "$n" -a $(echo "$lst"|grep -c 9111) -eq 0 ] && n=02
[ -z "$n" -a $(echo "$lst"|grep -c 9112) -eq 0 ] && n=03
[ -z "$n" -a $(echo "$lst"|grep -c 9113) -eq 0 ] && n=04
[ -z "$n" -a $(echo "$lst"|grep -c 9114) -eq 0 ] && n=05
[ -z "$n" -a $(echo "$lst"|grep -c 9115) -eq 0 ] && n=06
[ -z "$n" -a $(echo "$lst"|grep -c 9116) -eq 0 ] && n=07
[ -z "$n" -a $(echo "$lst"|grep -c 9117) -eq 0 ] && n=08
[ -z "$n" -a $(echo "$lst"|grep -c 9118) -eq 0 ] && n=09
[ -z "$n" -a $(echo "$lst"|grep -c 9119) -eq 0 ] && n=10
port=$(( 9109 + 10#$n ))
/bin/echo -n connected to... rescue${n}(a)csr.LOGIN-MACHINE.com port $port'...'
ssh -X -C -t -R ${port}:${localhost}:22 rescue${n}(a)csr.LOGIN-MACHINE.com \
'sleep 28800;exit 2>/dev/null'
stty $set # reset intr if timed out
exit 0
fi
============================= end access script ================
This logs in to our server, uploads the client public key, looks
for open port (01 through 10), and then types which was chosen
to client screen so I can know which port to ssh to.
Rereading the comments alerts me they are out of date.
Of course you should change "LOGIN_PASSWORD\r" to whatever you use
followed by \r (expect for <ENTER> key).
This does not, as I am typing, include generating the id_dsa.pub but...
I just put that part in from another script.
I include -X and Compression so running a GUI is possible even across
slow links.
Sometimes we start...
vncviewer -bgr233 -noraiseonbeep -nocursorshape -quality 0 \
-encodings "copyrect tight hextile zlib corre rre raw" \
-compresslevel 9 localhost:0
To 'peek over the shoulder' of our clients. I don't advise that unless
you are on the phone with them at that moment because they freak when
mouse moves and screen gets typed to without them.
Diverting messages from expect so your novice users will be less
intimidated I leave for the readers because I have spent too much time
on this already.
The reasons for this situation are several at more than one location.
The overview is to remotely install Linux on computers owned by non tool
users, zero skills presumed of them.
What I am seeking is several methods for making the process just plain work.
Initial customer is my mother in Berkeley, and her social groups may join
in.
The minimal cold start scene will be a Knoppix or Damn small tested computer
and net connection.
The defined factors are: DSL or cable modem set up as DHCP. Hardware approx
2000 or newer.
Working OS of XP or installed Knoppix or both.in most cases. Very Few
sites with no OS.
Internal HD swaps are a non starter as most of these folks are non tool
using mundanes.
The rest of the story is they almost all are politically or socially
desiring to use Linux.by choice!
With a few skeptics that "want to be shown"-more about the net than Linux as
they still use TYPEWRITERS!
And they often have little to no computer skills to unlearn.
Short of my doing some major frequent flier miles tripping,KCLUG may be
their salvation.
"Someone is going to do it- why not us?"
--
Oren Beck
816.729.3645
I know we have some great minds in this group. I have a question for a
network guru. When creating VLANs in a Cisco 3750 switch, can a single
interface port belong to more than one VLAN ?? Thanks in advance for any
responses :) .
Kelly McLaughlin
Tech Support
Mokan Dial Inc.
Louisburg, Ks.
913-837-2219 Ext. 16
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.9/1237 - Release Date: 1/22/2008
11:04 AM
--- "Monty J. Harder" <mjharder(a)gmail.com> wrote:
> On Jan 20, 2008 8:25 AM, Leo Mauler
> <webgiant(a)yahoo.com> wrote:
>
> > Interesting, I hadn't thought of a tool which
> > created the command line text for you to
> > cut-and-paste into a window, but it is a good
> > idea. I suppose it is roughly what I had in
> > mind in the first place, as all I envisioned
> > was a GUI which stepped in, made selecting
> > command line program options easier, and then
> > ran the complete command line command as the
> > GUI exited itself.
>
> There's nothing about what you just said that
> requires a GUI. ChUI works
> well, too. (Isn't that right, Hal?)
>
> The program could be written to run in a
> character-mode environment, so that it would
> run equally well in an xterm. Maybe even
> better, if it were mouse-aware. An additional
> feature that could be really helpful is to save
> the command in a small script in the user's
> home directory, whence it could easily be
> re-used.
Personally I just want something which prevents the
need to look up the command line options every time I
want to try something different. That would suffice
for mencoder and transcode. However, the GUI was to
be for my friend with his interest in Astrolog.
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
There are a few command line applications for which I
would like to have a GUI, or for which I've found a
GUI I'm just not happy with. I use mencoder and
transcode a bit but I'm not happy with the GUI
frontends I've found for those applications. I also
have a friend who is interested in the Astrolog
astrology application but who is very unhappy with the
command line interface, a potential Linux convert if a
GUI can be discovered. KAstrolog has been out of
development for so long I can't seem to compile the
thing.
I haven't written any code in ten years so I'm looking
for something to create GUI Frontends without too much
programming experience.
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
<snip>
"Ugh, did this show up on Digg or something? This has been known for years,
but this is the second time in as many days I've seen someone get panicked
about it."
</snip>
Gosh, I better not remind the group that the Sun will burn out in a few
million years. It will probably become a red giant and swallow the Earth
before it collapses. We better start building our REALLY GOOD bunkers
now! ;) <- notice the winky face???
On Jan 14, 2008 9:23 PM, Oren Beck <orenbeck(a)gmail.com> wrote:
>
>
>
>
> On Jan 14, 2008 5:50 PM, Arthur Pemberton <pemboa(a)gmail.com> wrote:
> >
> >
> >
> >
> > On 1/14/08, Julie <betelgeuse67stang(a)yahoo.com> wrote:
> > > Here's a look if you haven't already seen it:
> > >
> > > http://content.zdnet.com/2346-9595_22-183063.html
> >
> >
> > As a reminder the KDE 4 look is far from complete.
> >
> >
> >
> >
> > --
> > Fedora 7 : sipping some of that moonshine
> > ( www.pembo13.com )
> > _
>
> The "Look and Feel" factors have come to overshadow all else. Often in some
> cases literally pushing system resource demands way out of proportion.
> Anyone care to name their bloatware examples? I will state that the window
> managers of light footprint tend to have an amusing fraction of resource
> usage compared to KDE or others.
All reports are that KDE4 is lighter than KDE3. I wouldn't consider
KDE bloatware myself, but I guess that is subjective.
--
Fedora 7 : sipping some of that moonshine
( www.pembo13.com )