0% found this document useful (0 votes)
47 views2 pages

Cygwin & MoShell Setup Guide

Interesting baseband and moshell
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views2 pages

Cygwin & MoShell Setup Guide

Interesting baseband and moshell
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Go directly to step 10, MoShell Installation, if you have already installed and

configured Cygwin previously.


1. Download the file http://www.cygwin.com/setup-x86_64.exe and store it under
C:\users\youruser\cygwin_setup\, then execute it from that folder with the context
menu "Run as administrator".
If that does not work then try to start a DOS command window as Administrator and
execute the setup-x86_64.exe file
from the DOS window.
2. Choose "Install from internet", then click Next.
3. Root Directory C:\cygwin64 (It is not recommended to choose a different
directory, especially if it contains spaces).
4. Choose a Download Site. For instance cygwin.mirror.constant.com is known to work
well but probably others work fine too.
5. In the "Select Packages" View menu, choose "Category", then add the following
packages:
• under Archive select zip and unzip
• under Database, select postgresql
• under Graphics, select gnuplot-base
• under Libs, select libglib2.0_0, libssp0, zlib, libxml2
• under Net select curl, inetutils, openssh, openssl, net-snmp-utils (5.7.3), net-
snmp-libs (5.7.3)
• under Perl select perl, perl-XML-Simple, and perl-IO-Tty
• under Python select python39, python39-pexpect, python39-requests
• under Text select jq
6. Click Next, install will start. Wait for installation to complete.
7. Copy the file moshell/examples/cygwin_install/cygwin_install.txt to C:/cygwin64
(also available from
http://newtran01.au.ao.ericsson.se/moshell/cygwin_install.txt). .

. Click on Start –> Run.


In the "Run" window, type: cmd , then press <enter>.
A DOS window opens. At the DOS prompt, execute the following commands:
cd c:\
cd cygwin64
bin\perl.exe cygwin_install.txt
This will create the following files: c:/cygwin64/etc/profile,
c:/cygwin64/cygwin64.bat,
c:/cygwin64/home/youruserid/.bashrc, c:/cygwin64/home/youruserid/.minttyrc,
c:/cygwin64/home/youruserid/.inputrc.
If those files already exist, they are automatically moved to the folder
c:/cygwin64/tmp/installbackup.
9. Open a new cygwin terminal window. The window should be black with white text
and the prompt should like this: [~]$
If not, then go through all the steps again and make sure you haven’t missed out
anything.
If you had a 32-bit cygwin installation earlier, note that your
c:/cygwin/home/youruser folder can be copied over to
c:/cygwin64/home/
More info about Cygwin installation issues can be found at:
http://cygwin.com/faq/faq0.html
Uninstall instructions for cygwin can be found at
http://cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all
10. Moshell installation. Follows these steps if you already have a working Cygwin
environment.
• Copy the moshell installation package moshellxxx.zip to your home directory
c:/cygwin64/home/youruserid
• Open the cygwin shell and run:
unzip -o moshellxxx.zip
bash moshell_install
When prompted to enter the directory where you want to install moshell, it is
recommended to specify your HOME directory
( ~).
If you have executed moshell_install from your home directory then you can press
the enter key and the current
directory is selected.
If a previous moshell installation already exists, it is recommended to install in
the same directory as the old one. This way,
all your custom files (jar/xml files, site files, etc.) get copied across to the
new revision and the old revision gets moved to a
different location so you can still access it if needed.
When prompted to enter the path to Java, just type java .
11. Running moshell for the first time
If you have set the PATH variable correctly in your ~/.bashrc file, you should be
able to run moshell from any directory. E.g:
moshell <ip-address>

You might also like