http://wiki.bashlinux.com/api.php?action=feedcontributions&user=Manpaz&feedformat=atomBashlinux - User contributions [en]2024-03-28T19:55:20ZUser contributionsMediaWiki 1.29.1http://wiki.bashlinux.com/index.php?title=Kurzweil_K2661&diff=1303Kurzweil K26612024-02-28T07:05:30Z<p>Manpaz: Created page with "=== How to setup an SD card to mount multiple SCSI virtual volumes === Tested witha a BlueSCSI 1.1a DB25 Based on the instructions on the Kurzweil's documentation for SCSI dr..."</p>
<hr />
<div>=== How to setup an SD card to mount multiple SCSI virtual volumes ===<br />
Tested witha a BlueSCSI 1.1a DB25<br />
<br />
Based on the instructions on the Kurzweil's documentation for SCSI drives 4 drives of 2GB each were created, on the LUN0 and assigned them to the SCSI IDs 2,3,4, and 5 to avoid conflicts with the ID 6 which is the default for the Kurzweil instruments, ID 1 which is usually the default for internal HDs, and ID 0 for communications with external computers.<br />
<br />
The procedure used is as follows:<br />
<br />
* On Linux, execute the following commands to produce the needed volumes:<br />
$ dd if=/dev/zero of=HD20_512.hda bs=4M count=512<br />
$ dd if=/dev/zero of=HD30_512.hda bs=4M count=512<br />
$ dd if=/dev/zero of=HD40_512.hda bs=4M count=512<br />
$ dd if=/dev/zero of=HD50_512.hda bs=4M count=512<br />
<br />
* Once the volumes are done, format the SD card as ExFAT and then copy over the images into the SD card.<br />
* Umount the SD card<br />
* Plug-in the SD card to the BlueSCSI, hook up the BlueSCSI to the Kurzweil and then power up the Kurzweil.<br />
* Once the unit is on, press the "DISK" button, and go to the SCSI ID 2<br />
* Format the volume, do not partition it, unless you created the volumes larger than 2GB<br />
* Repeat the steps 4 & 5 for SCSI IDs 3,4, and 5<br />
* Turn off the Kurzweil, detach the BlueSCSI from the Kurzweil, take the SD card and put it back on the computer<br />
* Mount the SD Card<br />
* Mount the first volume (Assuming that you labeled the SD Card <code>BlueSCSI</code>)<br />
$ sudo mount /run/media/$(whoami)/BlueSCSI/HD20_512.hda /mnt/<br />
* Copy all your files into the <code>/mnt</code> directory<br />
$ cp -r /path/to/my/samples /mnt/<br />
* Umount the volume<br />
$ sudo umount /mnt<br />
* Umount the SD card<br />
* Plug-in the SD card to the BlueSCSI, hook up the BlueSCSI to the Kurzweil and then power up the Kurzweil<br />
* Turn the Kurzweil on again, press "DISK" button, and go to the SCSI ID 2<br />
* Press the soft button "Load" and you should be able to see your files and navigate through the volume on the SCSI 2<br />
* Select your samples & programs and load them<br />
* Play the samples at the selected location and there should be no corruption, ie, no crackling sounds, unless the sampling RAM is defective</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Kurzweil&diff=1302Kurzweil2024-02-28T07:02:17Z<p>Manpaz: Created page with "__NOTOC__ * Kurzweil K2500 * Kurzweil K2661 * Kurzweil PC2R"</p>
<hr />
<div>__NOTOC__<br />
<br />
* [[Kurzweil K2500]]<br />
* [[Kurzweil K2661]]<br />
* [[Kurzweil PC2R]]</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Korg_TR-Rack&diff=1301Korg TR-Rack2024-02-28T06:59:55Z<p>Manpaz: Created page with "__NOTOC__ === How to get the Korg TR-Rack boot up in check mode === * To enter in "Self Check Mode": : Press and hold "EDIT" and ">" while powering on the unit. * The screen..."</p>
<hr />
<div>__NOTOC__<br />
=== How to get the Korg TR-Rack boot up in check mode ===<br />
<br />
* To enter in "Self Check Mode":<br />
: Press and hold "EDIT" and ">" while powering on the unit.<br />
<br />
* The screen will quickly shows that is booting into Self Check Mode,followed by the Firmware release date (Manufacturing Date?) and version, then the screen will shows the following:<br />
M-- C-- O-- A-- I--<br />
L-- T-- F-- S-- P--<br />
<br />
* Navigate through the tests with "+PAGE" "-PAGE"<br />
* Press ">" to start a test<br />
<br />
==== Test 01: Switch & LED ====<br />
* All LEDs are turned on at the beginning<br />
* Press ">" to start the buttons test.<br />
* Press each button as prompted on the screen.<br />
{ Infobox | Note | Buttons with an LED above/below them will light up when its associated button is indicated on screen }<br />
<br />
==== Test 02: LCD ====<br />
* Press ">" to go to max contrast, press ">" to go to min contrast.<br />
: Exit anytime with "+PAGE"<br />
<br />
==== Test 03: DSP ====<br />
* Press ">" to go test the "DSP1"</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Korg_Triton-Rack&diff=1300Korg Triton-Rack2024-02-28T06:51:58Z<p>Manpaz: Created page with "=== How to setup an SD card to mount multiple SCSI virtual volumes === * On Linux, execute the following commands to produce the needed volumes: $ dd if=/dev/zero of=HD10_51..."</p>
<hr />
<div>=== How to setup an SD card to mount multiple SCSI virtual volumes ===<br />
* On Linux, execute the following commands to produce the needed volumes:<br />
<br />
$ dd if=/dev/zero of=HD10_512.hda bs=4M count=1024<br />
$ dd if=/dev/zero of=HD20_512.hda bs=4M count=1024<br />
$ dd if=/dev/zero of=HD30_512.hda bs=4M count=1024<br />
$ dd if=/dev/zero of=HD40_512.hda bs=4M count=1024<br />
<br />
* Once the volumes are done, format the SD card as ExFAT and then copy over the images into the SD card.<br />
* Umount the SD card<br />
* Plug-in the SD card to the BlueSCSI, hook up the BlueSCSI to the SCSI port on the Triton and then power up the Triton.<br />
* Once the unit is on, press the "DISK" button<br />
* Press F4 ("Inform") and scroll the "VALUE" knob until "SCI ID: 1" is shown on the second row on the left at the screen<br />
* Press F3 ("Utility") and the press F8 ("UTILITY")<br />
* Use the arrows to move the cursor until "Format" is highlighted, and then press F8 ("OK")<br />
* Press F5 ("Name") if you want to set a volume label, then press F8 ("OK") if you want to format the volume, and confirm when prompted<br />
* Repeat the steps 6 to 9 for SCSI IDs 2,3, and 4<br />
* Turn off the Triton, detach the BlueSCSI from the SCSI port on the Triton, take the SD card and put it back on the computer<br />
* Mount the SD Card on the OS<br />
* Get the partition offset and size<br />
$ fdisk -l /run/media/$(whoami)/BlueSCSI/HD10_512.hda<br />
Device Boot Start End Sectors Size Id Type<br />
/run/media/<username>/BlueSCSI/HD50_512.hda1 * 32 8388607 8388576 4G b W95 FAT16<br />
* Mount the first volume (Assuming that you labeled the SD Card BlueSCSI and using the "Start" and "Sectors" values from above)<br />
$ sudo mount -o loop,offset=$((512*32)),sizelimit=$((512*8388576)) /run/media/$(whoami)/BlueSCSI/HD10_512.hda /mnt/<br />
* Mount the first volume (Assuming that you labeled the SD Card BlueSCSI)<br />
$ sudo mount -o loop,offset=16384,sizelimit=4294934528 /run/media/$(whoami)/BlueSCSI/HD10_512.hda /mnt/<br />
* Copy all your files into the /mnt directory<br />
$ cp -r /path/to/my/samples /mnt/<br />
* Umount the volume<br />
$ sudo umount /mnt<br />
* Umount the SD card<br />
* Plug-in the SD card to the BlueSCSI, hook up the BlueSCSI to SCSI port on the Triton and then power up the Triton<br />
* Turn the Triton on again, press "DISK" button<br />
* Press F4 ("Inform") and scroll the "VALUE" knob until "SCI ID: 1" is shown on the second row on the left at the screen<br />
* Press F1("Load") and you should be able to see your files and navigate through the volume on the SCSI 1<br />
* Select your PCM and SNG as usual and load them on "I-E"<br />
* Play the sounds on the Internal Bank E and they should work fine, unless the sampling RAM is defective.</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Korg_01R/W&diff=1299Korg 01R/W2024-02-28T06:44:54Z<p>Manpaz: Created page with "== Repairs == === How to recap the Korg 01R/W === This is the list of all the electrolytic capacitors in the 01R/W {| class="wikitable" style="margin-right:auto; margin-left:0..."</p>
<hr />
<div>== Repairs ==<br />
=== How to recap the Korg 01R/W ===<br />
This is the list of all the electrolytic capacitors in the 01R/W<br />
{| class="wikitable" style="margin-right:auto; margin-left:0px"<br />
|+Motherboard<br />
|-<br />
! Qty !! Value !! Description<br />
|-<br />
| 13 || 10uf 16v || C2, C7, C14, C17, C22, C25, C32, C35, C67, C85, C87, C116, C119<br />
|-<br />
| 2 || 33uf 16v || C47, C48<br />
|-<br />
| 5 || 100uf 16v || C29, C30, C100, C101, 110<br />
|-<br />
| 1 || 220uf 16v || C68<br />
|-<br />
| 1 || 4.7uf 50v || C86<br />
|}<br />
<br />
{| class="wikitable" style="margin-right:auto; margin-left:0px"<br />
|+Power Supply<br />
|-<br />
! Qty !! Value !! Description<br />
|-<br />
| 1 || 68uf 200v || C15<br />
|-<br />
| 4 || 330uf 25v || C20, C21, C22, C23<br />
|-<br />
| 2 || 1000uf 10v || C24, C25<br />
|-<br />
| 1 || 2200uf 10v || C26<br />
|-<br />
| 1 || 0.047uf || C28 (Film)<br />
|-<br />
| 1 || 6.8uf 10v || C29 (Tantalum)<br />
|}</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Main_Page&diff=1298Main Page2024-02-28T05:22:31Z<p>Manpaz: /* Computer Hardware */</p>
<hr />
<div><!-- ##master-page:[[Main_Page]] --><br />
<!-- #language en --><br />
{{DISPLAYTITLE:<span style="display: none">{{FULLPAGENAME}}</span>}}<br />
<div style="float:right;margin:0 0 1em 1em;top:150px;right:10px;">__TOC__</div><br />
This is my personal knowledge base. It's mainly about Linux engineering, development, system customization, and networking but also some things I might want to recall about other operating systems. So basically this an extension of my thoughts, but you are welcome to navigate around this wiki, hope it helps you too much.<br />
<br />
If you want to make some comments or just say hello, you can send me an email to admin@bashlinux.com<br />
----<br />
=== Software Development ===<br />
==== Interpreted Languages ====<br />
* [[Bash]] - Command language interpreter <br />
* [[Perl]] - The camel<br />
* [[Python]] - The snake <br />
* [[Ruby]] - The stone<br />
<br />
==== SDKs ====<br />
* [[Android]] - Google mobile platform<br />
* [[java|Java]] - The Sun Microsystems Language <br />
* [[openFrameworks]] - C++ toolkit for creative coding<br />
* [[Qt4]] - Cross-Platform application development framework<br />
==== Web ====<br />
* [[CSS]] - Style sheet language <br />
* [[Javascript]] - JS frameworks<br />
==== Windows ====<br />
* [[ASP.Net]] - Active Server Pages<br />
----<br />
=== System Administration ===<br />
==== Authentication ====<br />
* [[PAM]] - Pluggable Authentication Modules <br />
* [[passwd]] - Password database<br />
==== Boot ====<br />
* [[Booting devices]] - Devices and loaders <br />
* [[Boot parameters]] - Kernel parameters<br />
* [[Wake-on-LAN]] - Power up a remote PC on the same LAN<br />
==== Cloud Computing ====<br />
* [[AWS]] - Amazon Web Services <br />
* [[Eucalyptus]] - Private cloud computing<br />
==== Configuration management & provisioning ====<br />
* [[Ansible]] - Radically simple IT automation tool<br />
* [[Cobbler]] - Network based OS installation<br />
* [[Puppet]] - Unix & windows configuration management tool<br />
<br />
==== Content Management Systems ====<br />
* [[moinmoin]] - Python Wiki clone<br />
==== Data Encoding ====<br />
* [[uuencode]] - Binary to text encoding<br />
==== Database ====<br />
* [[MySQL]] - The world's most poupular DB<br />
* [[Oracle]] - Specifically Oracle XE<br />
* [[Postgres]] - The world's most advanced DB<br />
* [[Vertica]] - BigData SQL analytic platform<br />
==== Disk management and storage ====<br />
* [[Disk images]] - Partitions and FS<br />
* [[DRBD]] - Distributed storage system <br />
* [[LVM]] - An allocation mode<br />
* [[RAID]] - Hardware and Software RAID tools<br />
<br />
==== Email ====<br />
* [[Mutt]] - CLi email client<br />
* [[Sendmail]] - A very widely used MTA<br />
==== Encryption ====<br />
* [[OpenSSL]] - SSL and TLS Protocols<br />
* [[GnuPG]] - GNU Privacy Guard<br />
* [[SKS]] - GPG Keyserver<br />
==== Filesystem ====<br />
* [[GlusterFS]] - Scalable network FS<br />
* [[NFS]] - Need for Speed<br />
==== Kernel ====<br />
* [[Modules]] - Kernel module drivers<br />
* [[Power management]] - Linux power management<br />
* [[udev]] - Device manager<br />
==== Monitoring ====<br />
* [[M/Monit]] - Processes monitoring and management<br />
* [[Nagios]] - Hosts monitoring<br />
* [[SNMP]] - Simple Network Management Protocol<br />
==== Network hardware ====<br />
* [[Brocade]] - Brocade/Foundry switches<br />
* [[Cisco]] - Routers and switches<br />
==== Network services ====<br />
* [[DHCP]] - Dynamic Host Configuration Protocol <br />
* [[DNS]] - Domain Name System<br />
==== Remote access ====<br />
* [[VNC]] - Graphical desktop sharing <br />
* [[VPN]] - Remote private access over public networks<br />
==== Security ====<br />
* [[Aide]] - Advanced Intrusion Detection Environment <br />
* [[PCI compliance]] - Payment Card Industry<br />
==== System services ====<br />
* [[IPTables]] - IP packets filter rules in the Linux kernel<br />
* [[SSH]] - Secure shell<br />
* [[Syslog]] - System log<br />
==== Virtualization ====<br />
* [[KVM]] - Kernel-Based Virtual Machine <br />
* [[VMware]] - Server/Desktop Virtualization<br />
==== Web services ====<br />
* [[Apache]] - HTTP Server <br />
* [[Nginx]] - Lightweight HTTP and mail proxy server <br />
----<br />
<br />
=== Operating Systems ===<br />
==== GNU/Linux ====<br />
* [[CentOS]] - Free Red Hat Enterprise rebuild<br />
* [[Debian]] - The Universal Operating System<br />
* [[Fedora]] - RPM based with the latest in opensource <br />
* [[Ubuntu]] - DEB based distribution<br />
* [[Zentyal]] - Linux alternative for SMBs based on Ubuntu<br />
==== Other Unix ====<br />
* [[Mac OS X]] - Apple operating system <br />
* [[OpenBSD]] - Multi-platform BSD 4.4 based Unix-like OS<br />
* [[Open Solaris]] - Sun Microsystems open-source OS<br />
==== Windows ====<br />
* [[Windows XP]] - 2002 MS OS<br />
* [[Windows 7]] - 2009 MS OS<br />
* [[Windows Server 2012]] - The server version of "Windows 7"<br />
----<br />
<br />
=== Desktop Administration ===<br />
==== Browser ====<br />
* [[Firefox]] - Web browser <br />
* [[Flash player]] - SWF media player <br />
* [[Google]] - Some search tips<br />
==== GUI ====<br />
* [[GDM]] - Gnome desktop manager<br />
* [[Gnome]] - Desktop environment<br />
* [[Xorg]] - Implementation of the X Window System<br />
==== Multimedia ====<br />
* [[FFmpeg]] - Audio and video streaming <br />
* [[GStreamer]] - Library for Media and Graphs<br />
* [[MuseScore]] - Music Compositon<br />
----<br />
<br />
=== Computer Systems ===<br />
==== Branded Sytems ====<br />
* [[AMD Geode]] - AMD mobile CPU on thin clients<br />
* [[Dell]] - Dell systems<br />
* [[Mac Mini]] - Apple small factor desktop<br />
* [[VIA CX700]] - VIA Mobile CPU on small factor systems<br />
==== Peripheral Devices ====<br />
* [[MSR]] - Magnetic Stripe Readers<br />
* [[Touchscreens]] - Resistive and capacitive touchscreens<br />
----<br />
<br />
=== Electronics ===<br />
==== Development Boards ====<br />
* [[Arduino]] - Arduino boards and IDE<br />
* [[Make Controller]] - ARM7 with Atmel micro <br />
* [[MSP-EXP430G2]] - TI MSP430 LaunchPad<br />
<br />
==== Embedded Linux ====<br />
* [[Cross Compiling]] - Create executables for other architectures<br />
==== Microcontrollers ====<br />
* [[ARM]] - ARM7/9 and Cortex-M <br />
* [[Atmel AVR]] - Atmel AVR micros<br />
* [[Microchip PIC]] - Microchip pic micros<br />
==== PCB ====<br />
* [[Eagle CAD]] - PCB Schematic and design<br />
* [[Electronics providers ]] - List of part providers and manufacture<br />
==== System-on-Chip ====<br />
* [[Cubox-i]] - Fanless nettop-class computer based on i.MX6<br />
* [[Raspberry Pi]] Tiny and affordable computer<br />
* [[VoCore]] - A coin-sized Linux computer with WiFi<br />
----<br />
<br />
=== Music ===<br />
==== Synths ====<br />
* [[Akai]] - Classic samplers<br />
* [[Alesis]] - Quadrasynth and QS series<br />
* [[E-MU Systems]] - Proteus and Ultra sample series<br />
* [[Ensoniq]] - The last flagship keyboard and racks<br />
* [[Hammond]] - Portable tonewheel organs<br />
* [[HX3]] - FPGA modeled tonewheel organ<br />
* [[Korg]] - Most of the rack version of the 90's synths<br />
* [[Kurzweil]] - K series and PC series<br />
* [[Moog]] - Analog synths<br />
* [[Roland]] - JV series and successors<br />
* [[Yamaha]] - Motif series<br />
<br />
<sub>Linux is a registered trademark of Linus Torvalds. Other trademarks are property of their respective owners. All other content is the resultant work of my field experience</sub></div>Manpazhttp://wiki.bashlinux.com/index.php?title=Main_Page&diff=1297Main Page2024-02-28T05:20:16Z<p>Manpaz: /* Synths */</p>
<hr />
<div><!-- ##master-page:[[Main_Page]] --><br />
<!-- #language en --><br />
{{DISPLAYTITLE:<span style="display: none">{{FULLPAGENAME}}</span>}}<br />
<div style="float:right;margin:0 0 1em 1em;top:150px;right:10px;">__TOC__</div><br />
This is my personal knowledge base. It's mainly about Linux engineering, development, system customization, and networking but also some things I might want to recall about other operating systems. So basically this an extension of my thoughts, but you are welcome to navigate around this wiki, hope it helps you too much.<br />
<br />
If you want to make some comments or just say hello, you can send me an email to admin@bashlinux.com<br />
----<br />
=== Software Development ===<br />
==== Interpreted Languages ====<br />
* [[Bash]] - Command language interpreter <br />
* [[Perl]] - The camel<br />
* [[Python]] - The snake <br />
* [[Ruby]] - The stone<br />
<br />
==== SDKs ====<br />
* [[Android]] - Google mobile platform<br />
* [[java|Java]] - The Sun Microsystems Language <br />
* [[openFrameworks]] - C++ toolkit for creative coding<br />
* [[Qt4]] - Cross-Platform application development framework<br />
==== Web ====<br />
* [[CSS]] - Style sheet language <br />
* [[Javascript]] - JS frameworks<br />
==== Windows ====<br />
* [[ASP.Net]] - Active Server Pages<br />
----<br />
=== System Administration ===<br />
==== Authentication ====<br />
* [[PAM]] - Pluggable Authentication Modules <br />
* [[passwd]] - Password database<br />
==== Boot ====<br />
* [[Booting devices]] - Devices and loaders <br />
* [[Boot parameters]] - Kernel parameters<br />
* [[Wake-on-LAN]] - Power up a remote PC on the same LAN<br />
==== Cloud Computing ====<br />
* [[AWS]] - Amazon Web Services <br />
* [[Eucalyptus]] - Private cloud computing<br />
==== Configuration management & provisioning ====<br />
* [[Ansible]] - Radically simple IT automation tool<br />
* [[Cobbler]] - Network based OS installation<br />
* [[Puppet]] - Unix & windows configuration management tool<br />
<br />
==== Content Management Systems ====<br />
* [[moinmoin]] - Python Wiki clone<br />
==== Data Encoding ====<br />
* [[uuencode]] - Binary to text encoding<br />
==== Database ====<br />
* [[MySQL]] - The world's most poupular DB<br />
* [[Oracle]] - Specifically Oracle XE<br />
* [[Postgres]] - The world's most advanced DB<br />
* [[Vertica]] - BigData SQL analytic platform<br />
==== Disk management and storage ====<br />
* [[Disk images]] - Partitions and FS<br />
* [[DRBD]] - Distributed storage system <br />
* [[LVM]] - An allocation mode<br />
* [[RAID]] - Hardware and Software RAID tools<br />
<br />
==== Email ====<br />
* [[Mutt]] - CLi email client<br />
* [[Sendmail]] - A very widely used MTA<br />
==== Encryption ====<br />
* [[OpenSSL]] - SSL and TLS Protocols<br />
* [[GnuPG]] - GNU Privacy Guard<br />
* [[SKS]] - GPG Keyserver<br />
==== Filesystem ====<br />
* [[GlusterFS]] - Scalable network FS<br />
* [[NFS]] - Need for Speed<br />
==== Kernel ====<br />
* [[Modules]] - Kernel module drivers<br />
* [[Power management]] - Linux power management<br />
* [[udev]] - Device manager<br />
==== Monitoring ====<br />
* [[M/Monit]] - Processes monitoring and management<br />
* [[Nagios]] - Hosts monitoring<br />
* [[SNMP]] - Simple Network Management Protocol<br />
==== Network hardware ====<br />
* [[Brocade]] - Brocade/Foundry switches<br />
* [[Cisco]] - Routers and switches<br />
==== Network services ====<br />
* [[DHCP]] - Dynamic Host Configuration Protocol <br />
* [[DNS]] - Domain Name System<br />
==== Remote access ====<br />
* [[VNC]] - Graphical desktop sharing <br />
* [[VPN]] - Remote private access over public networks<br />
==== Security ====<br />
* [[Aide]] - Advanced Intrusion Detection Environment <br />
* [[PCI compliance]] - Payment Card Industry<br />
==== System services ====<br />
* [[IPTables]] - IP packets filter rules in the Linux kernel<br />
* [[SSH]] - Secure shell<br />
* [[Syslog]] - System log<br />
==== Virtualization ====<br />
* [[KVM]] - Kernel-Based Virtual Machine <br />
* [[VMware]] - Server/Desktop Virtualization<br />
==== Web services ====<br />
* [[Apache]] - HTTP Server <br />
* [[Nginx]] - Lightweight HTTP and mail proxy server <br />
----<br />
<br />
=== Operating Systems ===<br />
==== GNU/Linux ====<br />
* [[CentOS]] - Free Red Hat Enterprise rebuild<br />
* [[Debian]] - The Universal Operating System<br />
* [[Fedora]] - RPM based with the latest in opensource <br />
* [[Ubuntu]] - DEB based distribution<br />
* [[Zentyal]] - Linux alternative for SMBs based on Ubuntu<br />
==== Other Unix ====<br />
* [[Mac OS X]] - Apple operating system <br />
* [[OpenBSD]] - Multi-platform BSD 4.4 based Unix-like OS<br />
* [[Open Solaris]] - Sun Microsystems open-source OS<br />
==== Windows ====<br />
* [[Windows XP]] - 2002 MS OS<br />
* [[Windows 7]] - 2009 MS OS<br />
* [[Windows Server 2012]] - The server version of "Windows 7"<br />
----<br />
<br />
=== Desktop Administration ===<br />
==== Browser ====<br />
* [[Firefox]] - Web browser <br />
* [[Flash player]] - SWF media player <br />
* [[Google]] - Some search tips<br />
==== GUI ====<br />
* [[GDM]] - Gnome desktop manager<br />
* [[Gnome]] - Desktop environment<br />
* [[Xorg]] - Implementation of the X Window System<br />
==== Multimedia ====<br />
* [[FFmpeg]] - Audio and video streaming <br />
* [[GStreamer]] - Library for Media and Graphs<br />
* [[MuseScore]] - Music Compositon<br />
----<br />
<br />
=== Computer Hardware ===<br />
==== Branded Sytems ====<br />
* [[AMD Geode]] - AMD mobile CPU on thin clients<br />
* [[Dell]] - Dell systems<br />
* [[Mac Mini]] - Apple small factor desktop<br />
* [[VIA CX700]] - VIA Mobile CPU on small factor systems<br />
==== Peripheral Devices ====<br />
* [[MSR]] - Magnetic Stripe Readers<br />
* [[Touchscreens]] - Resistive and capacitive touchscreens<br />
----<br />
<br />
=== Electronics ===<br />
==== Development Boards ====<br />
* [[Arduino]] - Arduino boards and IDE<br />
* [[Make Controller]] - ARM7 with Atmel micro <br />
* [[MSP-EXP430G2]] - TI MSP430 LaunchPad<br />
<br />
==== Embedded Linux ====<br />
* [[Cross Compiling]] - Create executables for other architectures<br />
==== Microcontrollers ====<br />
* [[ARM]] - ARM7/9 and Cortex-M <br />
* [[Atmel AVR]] - Atmel AVR micros<br />
* [[Microchip PIC]] - Microchip pic micros<br />
==== PCB ====<br />
* [[Eagle CAD]] - PCB Schematic and design<br />
* [[Electronics providers ]] - List of part providers and manufacture<br />
==== System-on-Chip ====<br />
* [[Cubox-i]] - Fanless nettop-class computer based on i.MX6<br />
* [[Raspberry Pi]] Tiny and affordable computer<br />
* [[VoCore]] - A coin-sized Linux computer with WiFi<br />
----<br />
<br />
=== Music ===<br />
==== Synths ====<br />
* [[Akai]] - Classic samplers<br />
* [[Alesis]] - Quadrasynth and QS series<br />
* [[E-MU Systems]] - Proteus and Ultra sample series<br />
* [[Ensoniq]] - The last flagship keyboard and racks<br />
* [[Hammond]] - Portable tonewheel organs<br />
* [[HX3]] - FPGA modeled tonewheel organ<br />
* [[Korg]] - Most of the rack version of the 90's synths<br />
* [[Kurzweil]] - K series and PC series<br />
* [[Moog]] - Analog synths<br />
* [[Roland]] - JV series and successors<br />
* [[Yamaha]] - Motif series<br />
<br />
<sub>Linux is a registered trademark of Linus Torvalds. Other trademarks are property of their respective owners. All other content is the resultant work of my field experience</sub></div>Manpazhttp://wiki.bashlinux.com/index.php?title=Korg_NX5R&diff=1296Korg NX5R2024-02-28T05:10:00Z<p>Manpaz: Created page with "=== How to switch to Wavetable (Daughterboard) === * Press the "Edit/Enter" button to get to the <EDIT MENU> screen :* Select "Part Edit" and press the "Edit/Enter" button to..."</p>
<hr />
<div>=== How to switch to Wavetable (Daughterboard) ===<br />
* Press the "Edit/Enter" button to get to the <EDIT MENU> screen<br />
:* Select "Part Edit" and press the "Edit/Enter" button to get to <PART EDIT><br />
* On the <PART EDIT> screen select "Common" and press the "Edit/Enter" button to get to the <PART-MASTER1> screen<br />
* On the <PART-MASTER1> screen press the "Part/Page >" button 2 times to get to the <MIDI TO PORT> screen.<br />
:* Using the jog dial change all the channels to C.<br />
:* The WT board will then work.<br />
:: (Make sure to turn up the volume dial on the back of the unit)<br />
* Press the "Disp/Exit" button to save and exit<br />
REF: https://www.vogons.org/viewtopic.php?t=54419</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Korg&diff=1295Korg2024-02-28T05:07:07Z<p>Manpaz: Created page with "__NOTOC__ * Korg 01R/W * Korg NX5R * Korg Triton-Rack * Korg TR-Rack"</p>
<hr />
<div>__NOTOC__<br />
<br />
* [[Korg 01R/W]]<br />
* [[Korg NX5R]]<br />
* [[Korg Triton-Rack]]<br />
* [[Korg TR-Rack]]</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Roland_JV-1010&diff=1294Roland JV-10102024-02-28T01:45:43Z<p>Manpaz: Created page with "__NOTOC__ Basically, to work with the Roland JV-1010 one needs to work with '''System Exclusive''' messages via MIDI cable all the time. Serial-to-MIDI cables are also availab..."</p>
<hr />
<div>__NOTOC__<br />
Basically, to work with the Roland JV-1010 one needs to work with '''System Exclusive''' messages via MIDI cable all the time.<br />
Serial-to-MIDI cables are also available, but that requires a computer with a DB-9 Serial port.<br />
<br />
Requirements:<br />
* JV-1010.<br />
* MIDI cable.<br />
* USB-MIDI interface.<br />
* GNU/Linux with `aplaymidi` installed (alsa-utils).<br />
* The latest firmware for the JV-1010.<br />
<br />
== Setup ==<br />
=== How to prepare the Roland JV-1010 for SysEx communications ===<br />
* With the JV-1010 powered off, connect the MIDI OUT port of the USB-MIDI interface to the MIDI IN port of the JV-1010.<br />
* Power on the JV-1010.<br />
* Rotate the PART dial to select 14.<br />
* Rotate the CATEGORY/BANK dial to select GUITAR/BASS.<br />
* Push and hold VOLUME and VALUE knobs together while powering on the JV-1010.<br />
* After 3 seconds, release the knobs, and while the screen is still blank quickly press the VOLUME know.<br />
: The display should read "nid".<br />
<br />
=== How to prepare the GNU/Linux system for SysEx communications ===<br />
* Open a terminal window.<br />
* Make sure alsa-utils is installed<br />
$ sudo dnf install alsa-utils<br />
* List the available ports<br />
$ aplaymidi -l<br />
Port Client name Port name<br />
14:0 Midi Through Midi Through Port-0<br />
24:0 Scarlett 2i4 USB Scarlett 2i4 USB MIDI 1<br />
* Look up for your device under the column "Port name" column, and copy the device under the "Client name" column.<br />
<br />
== Working with the Roland JV-1010 ==<br />
=== How to initiate the firmware upgrade ===<br />
{{ Infobox | Info | No other software must be using the selected interface, otherwise <code>amidi</code> will complain that the device is busy. }}<br />
* Go to the directory where you will place the updates<br />
$ cd roland/jv-1010/updates<br />
* Go to Roland's website https://www.roland.com/global/support/by_product/jv-1010/updates_drivers<br />
* Download the drivers from "JV-1010 System Update Version 1.02 (PC)"<br />
* Unzip the update files<br />
$ mv ~/Downloads/JV1010v102.zip .<br />
$ unzip JV1010v102.zip<br />
* Start to play the midi files in sequential order.<br />
: We are using the port from the "Client name" column on the previous section.<br />
$ for M in $(ls *mid); do echo sending ${M}; aplaymidi -p24:0 ${M}; done<br />
* Once all the files have been played, power off the JV-1010.<br />
<br />
'''Reset the JV-1010:'''<br />
{{ Infobox | Note | All user parameters will be erased and set to factory settings. }}<br />
* Power on the JV-1010.<br />
* Push the VALUE knob until GM mode is selected.<br />
* While holding VOLUME, press VALUE to enter in EDIT MODE.<br />
* Rotate the CATEGORY/BANK dial to select PIANO.<br />
: The screen will display "Fct".<br />
: This is the "Factory Reset" on the UTILITY section of EDIT MODE.<br />
* Press VALUE, the screen will display "Sur".<br />
* Press VALUE again to confirm the factory reset.<br />
<br />
=== How transfer banks to the Roland JV-1010 ===<br />
* Go to the directory where the SysEx files are stored in the computer<br />
$ cd path/to/roland/jv-1010/syx<br />
* List the devices connected to the system<br />
$ amidi -l<br />
Dir Device Name<br />
IO hw:2,0,0 Scarlett 2i4 USB MIDI 1<br />
* Start the transfer using the "Device" name from the previous step, only the "Major" number is needed in this case.<br />
$ aplaymidi -p hw:2 -s my_patches.syx</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Roland_XV-5080&diff=1293Roland XV-50802024-02-28T00:55:50Z<p>Manpaz: </p>
<hr />
<div>=== How to setup an SD card to mount multiple SCSI virtual volumes ===<br />
* Create and empty volume image with <code>dd</code><br />
$ dd if=/dev/zero of=/rum/media/bashlinux/BlueSCSI/HD40_512.hda<br />
: The <code>HD40</code> part of the name means the volume will be presented as a volume with the''SCSCI ID 4'' on ''LUN0''<br />
: The <code>512</code> part of the name means the sector size is 512 bytes<br />
<br />
* Partition the volume with <code>fdisk</code><br />
$ fdisk /run/media/bashlinux/BlueSCSI/HD40_512.hda<br />
fdisk> n (new)<br />
fdisk> p (primary)<br />
fdisk> <ENTER> (first sector)<br />
fdisk> <ENTER> (last sector)<br />
fdisk> t (type of partition)<br />
fdisk> b (W95 Fat 32)<br />
fdisk> w (write partition table and exit)<br />
<br />
* Check the volume<br />
$ fdisk -l /run/media/bashlinux/BlueSCSI/HD40_512.hda<br />
<br />
Disk /run/media/bashlinux/BlueSCSI/HD40_512.hda: 12 GiB, 12884901888 bytes, 25165824 sectors<br />
Units: sectors of 1 * 512 = 512 bytes<br />
Sector size (logical/physical): 512 bytes / 512 bytes<br />
I/O size (minimum/optimal): 512 bytes / 512 bytes<br />
Disklabel type: dos<br />
Disk identifier: 0xa51b5b29<br />
<br />
Device Boot Start End Sectors Size Id Type<br />
/run/media/bashlinux/BlueSCSI/HD40_512.hda1 2048 25165823 25163776 12G b W95 FAT32<br />
<br />
* Mount the volume image<br />
$ sudo losetup -fP /run/media/bashlinux/BlueSCSI/HD40_512.hda<br />
$ losetup -a<br />
/dev/loop0: []: (/path/to/another/image)<br />
/dev/loop1: []: (/run/media/bashlinux/BlueSCSI/HD40_512.hda1)<br />
<br />
* Create a DOS partition<br />
$ sudo mkfs.msdos /dev/loop1p1<br />
$ sudo fatlabel /dev/loop1p1 XV-5080_GP<br />
<br />
* Mount the volume image<br />
$ sudo mount /dev/loop1p1 /mnt<br />
<br />
* Copy over anything needed on to be transferred to the volume<br />
$ sudo rsync -avz /path/to/samples/ /mnt/<br />
<br />
* Umount the volume and loopback defice<br />
$ sudo umount /mnt<br />
$ sudo losetup -d /dev/loop1<br />
<br />
* Attach the SD card into the BlueSCSI<br />
<br />
* Connect the BlueSCSI device into the XV-5080, then power the XV-5080 on</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Roland_XV-5080&diff=1292Roland XV-50802024-02-28T00:39:43Z<p>Manpaz: Created page with "=== How to setup an SD card to mount multiple SCSI virtual volumes === * Create and empty volume image with <code>dd</code> $ dd if=/dev/zero of=/rum/media/bashlinux/BlueSCSI..."</p>
<hr />
<div>=== How to setup an SD card to mount multiple SCSI virtual volumes ===<br />
* Create and empty volume image with <code>dd</code><br />
$ dd if=/dev/zero of=/rum/media/bashlinux/BlueSCSI/HD40_512.hda<br />
: The <code>HD40</code> part of the name means the volume will be presented as a volume with the''SCSCI ID 4'' on ''LUN0''<br />
: The <code>512</code> part of the name means the sector size is 512 bytes<br />
<br />
* Partition the volume with <code>fdisk</code><br />
$ fdisk /run/media/bashlinux/BlueSCSI/HD40_512.hda<br />
fdisk> n (new)<br />
fdisk> p (primary)<br />
fdisk> <ENTER> (first sector)<br />
fdisk> <ENTER> (last sector)<br />
fdisk> t (type of partition)<br />
fdisk> b (W95 Fat 32)<br />
fdisk> w (write partition table and exit)<br />
<br />
* Check the volume<br />
$ fdisk -l /run/media/bashlinux/BlueSCSI/HD40_512.hda<br />
<br />
Disk /run/media/bashlinux/BlueSCSI/HD40_512.hda: 12 GiB, 12884901888 bytes, 25165824 sectors<br />
Units: sectors of 1 * 512 = 512 bytes<br />
Sector size (logical/physical): 512 bytes / 512 bytes<br />
I/O size (minimum/optimal): 512 bytes / 512 bytes<br />
Disklabel type: dos<br />
Disk identifier: 0xa51b5b29<br />
<br />
Device Boot Start End Sectors Size Id Type<br />
/run/media/bashlinux/BlueSCSI/HD40_512.hda1 2048 25165823 25163776 12G b W95 FAT32<br />
<br />
* Mount the volume image<br />
$ sudo losetup -fP /run/media/bashlinux/BlueSCSI/HD40_512.hda<br />
$ losetup -a<br />
/dev/loop0: []: (/path/to/another/image)<br />
/dev/loop1: []: (/run/media/bashlinux/BlueSCSI/HD40_512.hda1)<br />
<br />
* Create DOS partition<br />
$ sudo mkfs.msdos /dev/loop1p1<br />
$ sudo fatlabel /dev/loop1p1 XV-5080_GP<br />
<br />
* Mount the volume image<br />
$ sudo mount /dev/loop1p1 /mnt<br />
<br />
* Copy over anything needed on to be transferred to the volume<br />
$ sudo rsync -avz /path/to/samples/ /mnt/<br />
<br />
* Umount the volume and loopback defice<br />
$ sudo umount /mnt<br />
$ sudo losetup -d /dev/loop1<br />
<br />
* Attach the SD card into the BlueSCSI<br />
<br />
* Connect the BlueSCSI device into the XV-5080, then power the XV-5080 on</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Roland&diff=1291Roland2024-02-28T00:11:15Z<p>Manpaz: Created page with "__NOTOC__ * Roland JV-1010 * Roland XV-5080"</p>
<hr />
<div>__NOTOC__<br />
<br />
* [[Roland JV-1010]]<br />
* [[Roland XV-5080]]</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Alesis_QSR&diff=1290Alesis QSR2024-02-28T00:08:31Z<p>Manpaz: Created page with "=== How to write to PCMCIA cards === Basically, Memory Card Explorer' needs to be executed on an old laptop with at least one PCMCIA port running Windows XP. Although much of..."</p>
<hr />
<div>=== How to write to PCMCIA cards ===<br />
Basically, Memory Card Explorer' needs to be executed on an old laptop with at least one PCMCIA port running Windows XP.<br />
<br />
Although much of the Flash Memory cards work in the "Slot A", they won't work on "Slot B"</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Alesis_S4_Plus&diff=1289Alesis S4 Plus2024-02-28T00:00:58Z<p>Manpaz: Created page with "__NOTOC__ === How to reload the factory defaults on the S4 Plus rack module === * List all the MID USB interfaces $ amidi -l Dir Device Name IO hw:3,0,0 UMC1820 MIDI 1..."</p>
<hr />
<div>__NOTOC__<br />
=== How to reload the factory defaults on the S4 Plus rack module ===<br />
* List all the MID USB interfaces<br />
$ amidi -l<br />
Dir Device Name<br />
IO hw:3,0,0 UMC1820 MIDI 1<br />
<br />
* Send the SysEx file to the listed device<br />
$ amidi -p hw:3,0,0 -s qsplsall.syx</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Alesis&diff=1288Alesis2024-02-27T23:56:36Z<p>Manpaz: Created page with "__NOTOC__ * Alesis S4 Plus * Alesis QSR"</p>
<hr />
<div>__NOTOC__<br />
<br />
* [[Alesis S4 Plus]]<br />
* [[Alesis QSR]]</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Main_Page&diff=1287Main Page2022-12-01T19:40:43Z<p>Manpaz: /* Synths */</p>
<hr />
<div><!-- ##master-page:[[Main_Page]] --><br />
<!-- #language en --><br />
{{DISPLAYTITLE:<span style="display: none">{{FULLPAGENAME}}</span>}}<br />
<div style="float:right;margin:0 0 1em 1em;top:150px;right:10px;">__TOC__</div><br />
This is my personal knowledge base. It's mainly about Linux engineering, development, system customization, and networking but also some things I might want to recall about other operating systems. So basically this an extension of my thoughts, but you are welcome to navigate around this wiki, hope it helps you too much.<br />
<br />
If you want to make some comments or just say hello, you can send me an email to admin@bashlinux.com<br />
----<br />
=== Software Development ===<br />
==== Interpreted Languages ====<br />
* [[Bash]] - Command language interpreter <br />
* [[Perl]] - The camel<br />
* [[Python]] - The snake <br />
* [[Ruby]] - The stone<br />
<br />
==== SDKs ====<br />
* [[Android]] - Google mobile platform<br />
* [[java|Java]] - The Sun Microsystems Language <br />
* [[openFrameworks]] - C++ toolkit for creative coding<br />
* [[Qt4]] - Cross-Platform application development framework<br />
==== Web ====<br />
* [[CSS]] - Style sheet language <br />
* [[Javascript]] - JS frameworks<br />
==== Windows ====<br />
* [[ASP.Net]] - Active Server Pages<br />
----<br />
=== System Administration ===<br />
==== Authentication ====<br />
* [[PAM]] - Pluggable Authentication Modules <br />
* [[passwd]] - Password database<br />
==== Boot ====<br />
* [[Booting devices]] - Devices and loaders <br />
* [[Boot parameters]] - Kernel parameters<br />
* [[Wake-on-LAN]] - Power up a remote PC on the same LAN<br />
==== Cloud Computing ====<br />
* [[AWS]] - Amazon Web Services <br />
* [[Eucalyptus]] - Private cloud computing<br />
==== Configuration management & provisioning ====<br />
* [[Ansible]] - Radically simple IT automation tool<br />
* [[Cobbler]] - Network based OS installation<br />
* [[Puppet]] - Unix & windows configuration management tool<br />
<br />
==== Content Management Systems ====<br />
* [[moinmoin]] - Python Wiki clone<br />
==== Data Encoding ====<br />
* [[uuencode]] - Binary to text encoding<br />
==== Database ====<br />
* [[MySQL]] - The world's most poupular DB<br />
* [[Oracle]] - Specifically Oracle XE<br />
* [[Postgres]] - The world's most advanced DB<br />
* [[Vertica]] - BigData SQL analytic platform<br />
==== Disk management and storage ====<br />
* [[Disk images]] - Partitions and FS<br />
* [[DRBD]] - Distributed storage system <br />
* [[LVM]] - An allocation mode<br />
* [[RAID]] - Hardware and Software RAID tools<br />
<br />
==== Email ====<br />
* [[Mutt]] - CLi email client<br />
* [[Sendmail]] - A very widely used MTA<br />
==== Encryption ====<br />
* [[OpenSSL]] - SSL and TLS Protocols<br />
* [[GnuPG]] - GNU Privacy Guard<br />
* [[SKS]] - GPG Keyserver<br />
==== Filesystem ====<br />
* [[GlusterFS]] - Scalable network FS<br />
* [[NFS]] - Need for Speed<br />
==== Kernel ====<br />
* [[Modules]] - Kernel module drivers<br />
* [[Power management]] - Linux power management<br />
* [[udev]] - Device manager<br />
==== Monitoring ====<br />
* [[M/Monit]] - Processes monitoring and management<br />
* [[Nagios]] - Hosts monitoring<br />
* [[SNMP]] - Simple Network Management Protocol<br />
==== Network hardware ====<br />
* [[Brocade]] - Brocade/Foundry switches<br />
* [[Cisco]] - Routers and switches<br />
==== Network services ====<br />
* [[DHCP]] - Dynamic Host Configuration Protocol <br />
* [[DNS]] - Domain Name System<br />
==== Remote access ====<br />
* [[VNC]] - Graphical desktop sharing <br />
* [[VPN]] - Remote private access over public networks<br />
==== Security ====<br />
* [[Aide]] - Advanced Intrusion Detection Environment <br />
* [[PCI compliance]] - Payment Card Industry<br />
==== System services ====<br />
* [[IPTables]] - IP packets filter rules in the Linux kernel<br />
* [[SSH]] - Secure shell<br />
* [[Syslog]] - System log<br />
==== Virtualization ====<br />
* [[KVM]] - Kernel-Based Virtual Machine <br />
* [[VMware]] - Server/Desktop Virtualization<br />
==== Web services ====<br />
* [[Apache]] - HTTP Server <br />
* [[Nginx]] - Lightweight HTTP and mail proxy server <br />
----<br />
<br />
=== Operating Systems ===<br />
==== GNU/Linux ====<br />
* [[CentOS]] - Free Red Hat Enterprise rebuild<br />
* [[Debian]] - The Universal Operating System<br />
* [[Fedora]] - RPM based with the latest in opensource <br />
* [[Ubuntu]] - DEB based distribution<br />
* [[Zentyal]] - Linux alternative for SMBs based on Ubuntu<br />
==== Other Unix ====<br />
* [[Mac OS X]] - Apple operating system <br />
* [[OpenBSD]] - Multi-platform BSD 4.4 based Unix-like OS<br />
* [[Open Solaris]] - Sun Microsystems open-source OS<br />
==== Windows ====<br />
* [[Windows XP]] - 2002 MS OS<br />
* [[Windows 7]] - 2009 MS OS<br />
* [[Windows Server 2012]] - The server version of "Windows 7"<br />
----<br />
<br />
=== Desktop Administration ===<br />
==== Browser ====<br />
* [[Firefox]] - Web browser <br />
* [[Flash player]] - SWF media player <br />
* [[Google]] - Some search tips<br />
==== GUI ====<br />
* [[GDM]] - Gnome desktop manager<br />
* [[Gnome]] - Desktop environment<br />
* [[Xorg]] - Implementation of the X Window System<br />
==== Multimedia ====<br />
* [[FFmpeg]] - Audio and video streaming <br />
* [[GStreamer]] - Library for Media and Graphs<br />
* [[MuseScore]] - Music Compositon<br />
----<br />
<br />
=== Computer Hardware ===<br />
==== Branded Sytems ====<br />
* [[AMD Geode]] - AMD mobile CPU on thin clients<br />
* [[Dell]] - Dell systems<br />
* [[Mac Mini]] - Apple small factor desktop<br />
* [[VIA CX700]] - VIA Mobile CPU on small factor systems<br />
==== Peripheral Devices ====<br />
* [[MSR]] - Magnetic Stripe Readers<br />
* [[Touchscreens]] - Resistive and capacitive touchscreens<br />
----<br />
<br />
=== Electronics ===<br />
==== Development Boards ====<br />
* [[Arduino]] - Arduino boards and IDE<br />
* [[Make Controller]] - ARM7 with Atmel micro <br />
* [[MSP-EXP430G2]] - TI MSP430 LaunchPad<br />
<br />
==== Embedded Linux ====<br />
* [[Cross Compiling]] - Create executables for other architectures<br />
==== Microcontrollers ====<br />
* [[ARM]] - ARM7/9 and Cortex-M <br />
* [[Atmel AVR]] - Atmel AVR micros<br />
* [[Microchip PIC]] - Microchip pic micros<br />
==== PCB ====<br />
* [[Eagle CAD]] - PCB Schematic and design<br />
* [[Electronics providers ]] - List of part providers and manufacture<br />
==== System-on-Chip ====<br />
* [[Cubox-i]] - Fanless nettop-class computer based on i.MX6<br />
* [[Raspberry Pi]] Tiny and affordable computer<br />
* [[VoCore]] - A coin-sized Linux computer with WiFi<br />
----<br />
<br />
=== Music ===<br />
==== Synths ====<br />
* [[Alesis]] - Quadrasynth and QS series<br />
* [[E-MU Systems]] - Proteus series<br />
* [[Korg]] - Most of the rack version of the 90's synths<br />
* [[Kurzweil]] - K series and PC series<br />
* [[Roland]] - JV series and successors<br />
* [[Yamaha]] - Motif series<br />
<br />
<sub>Linux is a registered trademark of Linus Torvalds. Other trademarks are property of their respective owners. All other content is the resultant work of my field experience</sub></div>Manpazhttp://wiki.bashlinux.com/index.php?title=Main_Page&diff=1286Main Page2022-12-01T19:40:30Z<p>Manpaz: </p>
<hr />
<div><!-- ##master-page:[[Main_Page]] --><br />
<!-- #language en --><br />
{{DISPLAYTITLE:<span style="display: none">{{FULLPAGENAME}}</span>}}<br />
<div style="float:right;margin:0 0 1em 1em;top:150px;right:10px;">__TOC__</div><br />
This is my personal knowledge base. It's mainly about Linux engineering, development, system customization, and networking but also some things I might want to recall about other operating systems. So basically this an extension of my thoughts, but you are welcome to navigate around this wiki, hope it helps you too much.<br />
<br />
If you want to make some comments or just say hello, you can send me an email to admin@bashlinux.com<br />
----<br />
=== Software Development ===<br />
==== Interpreted Languages ====<br />
* [[Bash]] - Command language interpreter <br />
* [[Perl]] - The camel<br />
* [[Python]] - The snake <br />
* [[Ruby]] - The stone<br />
<br />
==== SDKs ====<br />
* [[Android]] - Google mobile platform<br />
* [[java|Java]] - The Sun Microsystems Language <br />
* [[openFrameworks]] - C++ toolkit for creative coding<br />
* [[Qt4]] - Cross-Platform application development framework<br />
==== Web ====<br />
* [[CSS]] - Style sheet language <br />
* [[Javascript]] - JS frameworks<br />
==== Windows ====<br />
* [[ASP.Net]] - Active Server Pages<br />
----<br />
=== System Administration ===<br />
==== Authentication ====<br />
* [[PAM]] - Pluggable Authentication Modules <br />
* [[passwd]] - Password database<br />
==== Boot ====<br />
* [[Booting devices]] - Devices and loaders <br />
* [[Boot parameters]] - Kernel parameters<br />
* [[Wake-on-LAN]] - Power up a remote PC on the same LAN<br />
==== Cloud Computing ====<br />
* [[AWS]] - Amazon Web Services <br />
* [[Eucalyptus]] - Private cloud computing<br />
==== Configuration management & provisioning ====<br />
* [[Ansible]] - Radically simple IT automation tool<br />
* [[Cobbler]] - Network based OS installation<br />
* [[Puppet]] - Unix & windows configuration management tool<br />
<br />
==== Content Management Systems ====<br />
* [[moinmoin]] - Python Wiki clone<br />
==== Data Encoding ====<br />
* [[uuencode]] - Binary to text encoding<br />
==== Database ====<br />
* [[MySQL]] - The world's most poupular DB<br />
* [[Oracle]] - Specifically Oracle XE<br />
* [[Postgres]] - The world's most advanced DB<br />
* [[Vertica]] - BigData SQL analytic platform<br />
==== Disk management and storage ====<br />
* [[Disk images]] - Partitions and FS<br />
* [[DRBD]] - Distributed storage system <br />
* [[LVM]] - An allocation mode<br />
* [[RAID]] - Hardware and Software RAID tools<br />
<br />
==== Email ====<br />
* [[Mutt]] - CLi email client<br />
* [[Sendmail]] - A very widely used MTA<br />
==== Encryption ====<br />
* [[OpenSSL]] - SSL and TLS Protocols<br />
* [[GnuPG]] - GNU Privacy Guard<br />
* [[SKS]] - GPG Keyserver<br />
==== Filesystem ====<br />
* [[GlusterFS]] - Scalable network FS<br />
* [[NFS]] - Need for Speed<br />
==== Kernel ====<br />
* [[Modules]] - Kernel module drivers<br />
* [[Power management]] - Linux power management<br />
* [[udev]] - Device manager<br />
==== Monitoring ====<br />
* [[M/Monit]] - Processes monitoring and management<br />
* [[Nagios]] - Hosts monitoring<br />
* [[SNMP]] - Simple Network Management Protocol<br />
==== Network hardware ====<br />
* [[Brocade]] - Brocade/Foundry switches<br />
* [[Cisco]] - Routers and switches<br />
==== Network services ====<br />
* [[DHCP]] - Dynamic Host Configuration Protocol <br />
* [[DNS]] - Domain Name System<br />
==== Remote access ====<br />
* [[VNC]] - Graphical desktop sharing <br />
* [[VPN]] - Remote private access over public networks<br />
==== Security ====<br />
* [[Aide]] - Advanced Intrusion Detection Environment <br />
* [[PCI compliance]] - Payment Card Industry<br />
==== System services ====<br />
* [[IPTables]] - IP packets filter rules in the Linux kernel<br />
* [[SSH]] - Secure shell<br />
* [[Syslog]] - System log<br />
==== Virtualization ====<br />
* [[KVM]] - Kernel-Based Virtual Machine <br />
* [[VMware]] - Server/Desktop Virtualization<br />
==== Web services ====<br />
* [[Apache]] - HTTP Server <br />
* [[Nginx]] - Lightweight HTTP and mail proxy server <br />
----<br />
<br />
=== Operating Systems ===<br />
==== GNU/Linux ====<br />
* [[CentOS]] - Free Red Hat Enterprise rebuild<br />
* [[Debian]] - The Universal Operating System<br />
* [[Fedora]] - RPM based with the latest in opensource <br />
* [[Ubuntu]] - DEB based distribution<br />
* [[Zentyal]] - Linux alternative for SMBs based on Ubuntu<br />
==== Other Unix ====<br />
* [[Mac OS X]] - Apple operating system <br />
* [[OpenBSD]] - Multi-platform BSD 4.4 based Unix-like OS<br />
* [[Open Solaris]] - Sun Microsystems open-source OS<br />
==== Windows ====<br />
* [[Windows XP]] - 2002 MS OS<br />
* [[Windows 7]] - 2009 MS OS<br />
* [[Windows Server 2012]] - The server version of "Windows 7"<br />
----<br />
<br />
=== Desktop Administration ===<br />
==== Browser ====<br />
* [[Firefox]] - Web browser <br />
* [[Flash player]] - SWF media player <br />
* [[Google]] - Some search tips<br />
==== GUI ====<br />
* [[GDM]] - Gnome desktop manager<br />
* [[Gnome]] - Desktop environment<br />
* [[Xorg]] - Implementation of the X Window System<br />
==== Multimedia ====<br />
* [[FFmpeg]] - Audio and video streaming <br />
* [[GStreamer]] - Library for Media and Graphs<br />
* [[MuseScore]] - Music Compositon<br />
----<br />
<br />
=== Computer Hardware ===<br />
==== Branded Sytems ====<br />
* [[AMD Geode]] - AMD mobile CPU on thin clients<br />
* [[Dell]] - Dell systems<br />
* [[Mac Mini]] - Apple small factor desktop<br />
* [[VIA CX700]] - VIA Mobile CPU on small factor systems<br />
==== Peripheral Devices ====<br />
* [[MSR]] - Magnetic Stripe Readers<br />
* [[Touchscreens]] - Resistive and capacitive touchscreens<br />
----<br />
<br />
=== Electronics ===<br />
==== Development Boards ====<br />
* [[Arduino]] - Arduino boards and IDE<br />
* [[Make Controller]] - ARM7 with Atmel micro <br />
* [[MSP-EXP430G2]] - TI MSP430 LaunchPad<br />
<br />
==== Embedded Linux ====<br />
* [[Cross Compiling]] - Create executables for other architectures<br />
==== Microcontrollers ====<br />
* [[ARM]] - ARM7/9 and Cortex-M <br />
* [[Atmel AVR]] - Atmel AVR micros<br />
* [[Microchip PIC]] - Microchip pic micros<br />
==== PCB ====<br />
* [[Eagle CAD]] - PCB Schematic and design<br />
* [[Electronics providers ]] - List of part providers and manufacture<br />
==== System-on-Chip ====<br />
* [[Cubox-i]] - Fanless nettop-class computer based on i.MX6<br />
* [[Raspberry Pi]] Tiny and affordable computer<br />
* [[VoCore]] - A coin-sized Linux computer with WiFi<br />
----<br />
<br />
=== Music ===<br />
==== Synths ====<br />
* [[Alesis]] - Quadrasynth and QS series<br />
* [[E-MU Systems] - Proteus series<br />
* [[Korg]] - Most of the rack version of the 90's synths<br />
* [[Kurzweil]] - K series and PC series<br />
* [[Roland]] - JV series and successors<br />
* [[Yamaha]] - Motif series<br />
<br />
<sub>Linux is a registered trademark of Linus Torvalds. Other trademarks are property of their respective owners. All other content is the resultant work of my field experience</sub></div>Manpazhttp://wiki.bashlinux.com/index.php?title=CarrolTouch&diff=1285CarrolTouch2022-12-01T19:10:53Z<p>Manpaz: /* How to install the CarrolTouch driver = */</p>
<hr />
<div>__NOTOC__<br />
This is an infrared touchscreen offered by [[Elo Touch]].<br />
<br />
You can get the sources from elotouch by acessing http://www.elotouch.com/Support/Downloads/dnld.asp, then scroll down through the page and download the latest serial driver for Linux.<br />
<br />
=== How to get sources for CarrolTouch ===<br />
* Install the kernel development packages and libraries for calibration<br />
# yum install gcc make kernel-headers kernel-devel openmotif<br />
* Get the sources, decompress the file, and move needed files under <tt>/etc/opt/elo</tt><br />
# mkdir /etc/opt/elo<br />
# tar zxvf Unified_Serial_Driver_v3.2.tar.gz<br />
# mv bin-serial /etc/opt/elo<br />
# cd /etc/opt/elo<br />
<br />
=== How to build the CarrolTouch driver ===<br />
* Change directory into the kernel module folder<br />
* Create the <tt>Makefile</tt> and build the kernel module<br />
* Copy kernel module created to elo folder<br />
# cd /etc/opt/elo/elok_s-source<br />
# cp makefile_2.6 Makefile<br />
# make<br />
# cp /etc/opt/elo/elok_s-source/elok_s.ko /etc/opt/elo/<br />
<br />
=== How to install the CarrolTouch driver ===<br />
* Go the elo folder<br />
* Set full permissions<br />
* Install xorg driver for CarrollTouch<br />
* Install kernel driver module<br />
# cd /etc/opt/elo<br />
# chmod 777 *<br />
# /sbin/install -m 755 elo_drv.so_7.2 /usr/lib/xorg/modules/input/<br />
# /sbin/install -m 744 elok_s.ko /lib/modules/`uname -r`/kernel/drivers/<br />
<br />
=== Howto setup elo service for CarrollTouch driver ===<br />
* Edit <tt>/etc/rc.d/rc.local</tt> file and add<br />
/etc/opt/elo/loadelo<br />
/etc/opt/elo/eloser ttyS4<br />
: where <code>ttyS4</code> is <code>COM5</code>, if you have the touchscreen on any other port, then set the right name at last line in the above file.<br />
<br />
=== How to setup Xorg for CarrollTouch driver ===<br />
* Open and edit <tt>/etc/X11/xorg.conf</tt> and add the following section at the end of the file<br />
Section "InputDevice"<br />
Identifier "elo"<br />
Driver "elo"<br />
Option "Device" "/dev/input/elo_ser"<br />
Option "SendCoreEvents" "true"<br />
EndSection<br />
* Then and add the following line on <tt>ServerLayout</tt> section:<br />
InputDevice "elo"<br />
* In order to setup the drivers environment, reboot the system to load drivers in the proper way after finish to setup xorg configuration file.<br />
<br />
=== How to install the CarrollTouch driver from rpm ===<br />
Bashlinux rpm repository has an rpm ready for fedora, if the repository is already setup on system, then you can install with yum<br />
# yum install xorg-x11-drv-carrolltouch-elo</div>Manpazhttp://wiki.bashlinux.com/index.php?title=OpenSSL&diff=1284OpenSSL2022-10-05T05:53:08Z<p>Manpaz: /* How to create SSL certificates for server/client(s) environment */</p>
<hr />
<div>__NOTOC__<br />
=== How to create SSL certificates for server/client(s) environment ===<br />
* Create openssl directory structure for OpenSSL<br />
mkdir -p /etc/pki/openssl<br />
mkdir -p /etc/pki/openssl/private<br />
mkdir -p /etc/pki/openssl/newcerts<br />
* Initialize Index database<br />
touch /etc/pki/openssl/index.txt<br />
* Create control serial number<br />
date +%Y%m%d > /etc/pki/openssl/serial<br />
* Copy default openssl configuration file<br />
cp /etc/pki/tls/openssl.cnf /etc/pki/openssl/<br />
* Change the default dir on the new configuration file<br />
replace ../../CA /etc/pki/openssl -- /etc/pki/openssl/openssl.cnf<br />
* Generate CA<br />
openssl req -new -x509 -keyout /etc/pki/openssl/private/cakey.pem -out /etc/pki/openssl/cacert.pem -config /etc/pki/openssl.cnf<br />
* Create Server REQ and KEY<br />
openssl req -new -keyout /etc/pki/openssl/server-key.pem -out /etc/pki/openssl/server-req.pem -days 3600 -config /etc/pki/openssl/openssl.cnf<br />
* Remove passphrase from KEY<br />
openssl rsa -in /etc/pki/openssl/server-key.pem -out /etc/pki/openssl/server-key.pem<br />
* Sign server cert<br />
openssl ca -policy policy_anything -out /etc/pki/openssl/server-cert.pem -config /etc/pki/openssl/openssl.cnf -infiles /etc/pki/openssl/server-req.pem<br />
* Create REQ and KEY for the client<br />
openssl req -new -keyout /etc/pki/openssl/client-key.pem -out /etc/pki/openssl/client-req.pem -days 3600 -config /etc/pki/openssl/openssl.cnf<br />
* Remove passphrase from the client KEY<br />
openssl rsa -in /etc/pki/openssl/client-key.pem -out /etc/pki/openssl/client-key.pem<br />
* Sign client cert<br />
openssl ca -policy policy_anything -out /etc/pki/openssl/client-cert.pem -config /etc/pki/openssl/openssl.cnf -infiles /etc/pki/openssl/client-req.pem<br />
<br />
=== How to generate strong private key and CSR ===<br />
In order to increase the security and generate a unique and unpredictable key we will provide the random data to OpenSSL.<br />
<br />
=== How to generate an RSA private key ===<br />
* Create a folder and place 3 larger files<br />
# mkdir -p /etc/pki/local<br />
# cd /etc/pki/local<br />
# tar zcvf logs.tgz /var/logs<br />
# cp /boot/vmlinuz-2.6.18-92.1.6.el5 .<br />
* Generate RSA private key<br />
openssl genrsa -des3 -rand logs.tgz:vmlinuz-2.6.18-92.1.6.el5:/dev/random -out local.bashlinux.com.key 1024<br />
* Patience, it will take a long, up to 10 minutes<br />
* Enter the passphrase when prompts<br />
* '''To remove passphrase''' ''if Apache, in order to avoid it asks for passphrase every time it starts''<br />
# openssl rsa -in local.bashlinux.com.key -out local.bashlinux.com.pem<br />
<br />
=== How to generate a Self-Signed certificate that is good for 1 year ===<br />
# openssl x509 -req -days 360 -in local.bashlinux.com.csr -signkey local.bashlinux.com.key -out local.bashlinux.com.crt<br />
<br />
=== How to generate Certificate Signing Request (CSR) ===<br />
# openssl req -new -key local.bashlinux.com.key -out local.bashlinux.com.csr<br />
<br />
=== How to generate a Personal Information Exchange file (PFX) ===<br />
# openssl pkcs12 -export -out star.bashlinux.com.pfx -inkey star.bashlinux.com.key -in star.bashlinux.com.crt<br />
<br />
=== How to convert a CRT into a Microsoft compatible CER ===<br />
* Double-cliek the CRT file<br />
* On the <tt>Details</tt> tab click on the button <tt>Copy to File...</tt><br />
* Select <tt>Base-64 encoded X.509 (.CER)</tt> and click Next<br />
* Set the proper name ending with <code>cer</code><br />
<br />
=== How to import an Certificate on Windows ===<br />
* Do a right-click on the certificate<br />
* Select <code>Install certificate</code><br />
<br />
If the file is not listed on "Server Certificates" on IIS, then:<br />
* Generate a [[#How_to_convert_a_CRT_into_a_Microsoft_compatible_CER | PFX]]<br />
* Do a right-click on the pfx file<br />
* Select install <code>Install PFX</code><br />
<br />
=== How to setup Nginx to match AWS ELB Protocols/Ciphers ===<br />
* Add the following protocols and ciphers to nginx site<br />
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;<br />
ssl_ciphers HIGH:!aNULL:!MD5:!DH:!CAMELLIA;<br />
<br />
=== How to check SSL ciphers on a website ===<br />
* List all the available ciphers by protocol with nmap<br />
# nmap --script ssl-enum-ciphers -p 443 <FQDN></div>Manpazhttp://wiki.bashlinux.com/index.php?title=Microchip_PIC&diff=1283Microchip PIC2021-06-08T07:58:48Z<p>Manpaz: </p>
<hr />
<div>__NOTOC__<br />
== Cautions ==<br />
'''Config'''<br><br />
* NEVER disable the PIC's <tt>/MCLR</tt> (Reset) pin function.<br />
* NEVER program a PIC "in circuit" with ANY other connections to the target board.<br />
<br />
'''Circuit Design'''<br><br />
ALWAYS set <tt>MCLRE_ON</tt> in the config options and have <tt>MCLR</tt> pin with a 10K pull-up resistor to Vdd.<br />
<br />
'''Initialization'''<br><br />
ALWAYS set the input pins and clear the output pins, excepting UART TX/RX.<br />
i.e.<br />
* SDO should have <tt>TRISX</tt> bit cleared<br />
* SDI should have <tt>TRISX</tt> bit set.<br />
<br />
== Configuration Fuses ==<br />
'''HI-TECH PICC (MPLAB IDE v8.x)'''<br><br />
__CONFIG(1,HS&CPUDIV1) ; // Conf Reg 1: Use external crystal 4MHz<br />
__CONFIG(2,WDTDIS) ; // Conf Reg 2: Watchdog off<br />
__CONFIG(3,PBADDIS) ; // Conf Reg 3: Configure PORTB<4:0> pins as digital I/O on Reset<br />
__CONFIG(4,XINSTDIS) ; // Conf Reg 4: Extended CPU Enable Disabled<br />
<br />
'''MPLAB XC (MPLAB X v2.x/v3.x)'''<br><br />
#pragma config PLLDIV = 1 // No prescale (4 MHz oscillator input drives PLL directly)<br />
#pragma config WDT = OFF // Watchdog off<br />
#pragma config PBADEN = OFF // Configure PORTB<4:0> pins as digital I/O on Reset<br />
#pragma config CPUDIV = OSC1_PLL2 // [OSC1/OSC2 Src: /1][96 MHz PLL Src: /2]<br />
#pragma config FOSC = HS // HS oscillator, HS used by USB<br />
<br />
== Development boards ==<br />
* [https://www.microchip.com/en-us/development-tools-tools-and-software/development-boards-and-hardware Product-spscific boards] - 8-bit, 16-bit, and 32-bit Explorer boards and development kits<br />
* [https://www.microchip.com/en-us/development-tools-tools-and-software/development-boards-and-hardware/curiosity-boards Curiosity boards] - Rapid prototyping boards for first-time users<br />
* [https://store.digilentinc.com/digilent-system-boards-and-components/ Digilent] - Training board with peripherals and prototyping area<br />
<br />
== IDEs ==<br />
* [http://www.microchip.com/archived MPLAB] - Discontinued Microchip's IDE<br />
* [http://www.microchip.com/mplabx/ MPLAB X] - Official's Microchip IDE<br />
* [https://uecide.org/ UECIDE] - Alternative to Arduino IDE with support for chipKIT</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Microchip_PIC&diff=1282Microchip PIC2021-06-08T07:44:07Z<p>Manpaz: /* IDEs */</p>
<hr />
<div>__NOTOC__<br />
== Cautions ==<br />
'''Config'''<br><br />
* NEVER disable the PIC's <tt>/MCLR</tt> (Reset) pin function.<br />
* NEVER program a PIC "in circuit" with ANY other connections to the target board.<br />
<br />
'''Circuit Design'''<br><br />
ALWAYS set <tt>MCLRE_ON</tt> in the config options and have <tt>MCLR</tt> pin with a 10K pull-up resistor to Vdd.<br />
<br />
'''Initialization'''<br><br />
ALWAYS set the input pins and clear the output pins, excepting UART TX/RX.<br />
i.e.<br />
* SDO should have <tt>TRISX</tt> bit cleared<br />
* SDI should have <tt>TRISX</tt> bit set.<br />
<br />
== Configuration Fuses ==<br />
'''HI-TECH PICC (MPLAB IDE v8.x)'''<br><br />
__CONFIG(1,HS&CPUDIV1) ; // Conf Reg 1: Use external crystal 4MHz<br />
__CONFIG(2,WDTDIS) ; // Conf Reg 2: Watchdog off<br />
__CONFIG(3,PBADDIS) ; // Conf Reg 3: Configure PORTB<4:0> pins as digital I/O on Reset<br />
__CONFIG(4,XINSTDIS) ; // Conf Reg 4: Extended CPU Enable Disabled<br />
<br />
'''MPLAB XC (MPLAB X v2.x/v3.x)'''<br><br />
#pragma config PLLDIV = 1 // No prescale (4 MHz oscillator input drives PLL directly)<br />
#pragma config WDT = OFF // Watchdog off<br />
#pragma config PBADEN = OFF // Configure PORTB<4:0> pins as digital I/O on Reset<br />
#pragma config CPUDIV = OSC1_PLL2 // [OSC1/OSC2 Src: /1][96 MHz PLL Src: /2]<br />
#pragma config FOSC = HS // HS oscillator, HS used by USB<br />
<br />
== IDEs ==<br />
* [http://www.microchip.com/archived MPLAB] - Discontinued Microchip's IDE<br />
* [http://www.microchip.com/mplabx/ MPLAB X] - Official's Microchip IDE<br />
* [https://uecide.org/ UECIDE] - Alternative to Arduino IDE with support for chipKIT</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Electronics_providers&diff=1281Electronics providers2018-08-23T21:23:12Z<p>Manpaz: /* End product */</p>
<hr />
<div>__NOTOC__<br />
This page contains providers of parts for minor production, PCB manufacture and assembly<br />
== Parts ==<br />
=== Testing ===<br />
Low price parts and components with good enough quality.<br />
* [http://www.futurlec.com Futurlec] from Australia, usually is $4 shipping and is delivered in about 10 days.<br />
* [http://www.taydaelectronics.com Tayda Electronics] from China, shipping is about $2 and is delivered in 1 week.<br />
The only bad thing is after first purchase they continually send promos by mail on daily basis.<br />
* [http://www.goldmine-elec.com Electronics Goldmine] Cheaper bulk electronics<br />
* [http://www.allelectronics.com All Electronics] Local store but also allow to place online orders.<br />
=== End product ===<br />
More expensive but high quality parts<br />
* [http://www.digikey.com Digi-Key]<br />
* [http://www.mouser.com Mouser]<br />
* [http://www.mcmelectronics.com MCM Electronics]<br />
<br />
== PCB ==<br />
* [https://www.sunstone.com Sunstone Circuits] Small boards in small quantities, usually less than $100.<br />
* [http://www.pcbnet.com PCBnet] 2 Layers $25 each - 4 Layers $50 each. Even 1 piece is Ok - No Tooling.<br />
* [https://www.seeedstudio.com/fusion_pcb.html Seeed Studio] 2 Layers $9.90. Gerber files, 10 units of 100mm*100mm.<br />
* [http://www.gadgetronicx.com/easyeda-products/ Gadgetronicx] 4 Layers $29.50. EasyEDA files, 10 units of 50mm* 50mm.<br />
* [https://jlcpcb.com/ JLCPCB] 2 Layers $2, 4 Layers $15. Gerber files, 10 units of 100mmx100mm.</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Electronics_providers&diff=1280Electronics providers2018-08-23T21:23:01Z<p>Manpaz: /* End product */</p>
<hr />
<div>__NOTOC__<br />
This page contains providers of parts for minor production, PCB manufacture and assembly<br />
== Parts ==<br />
=== Testing ===<br />
Low price parts and components with good enough quality.<br />
* [http://www.futurlec.com Futurlec] from Australia, usually is $4 shipping and is delivered in about 10 days.<br />
* [http://www.taydaelectronics.com Tayda Electronics] from China, shipping is about $2 and is delivered in 1 week.<br />
The only bad thing is after first purchase they continually send promos by mail on daily basis.<br />
* [http://www.goldmine-elec.com Electronics Goldmine] Cheaper bulk electronics<br />
* [http://www.allelectronics.com All Electronics] Local store but also allow to place online orders.<br />
=== End product ===<br />
More expensive but high quality parts<br />
* [http://www.digikey.com Digi-Key]<br />
* [http://www.mouser.com Mouser]<br />
* [http://www.mcmelectronics.com MCM Electronics]<br />
<br />
== PCB ==<br />
* [https://www.sunstone.com Sunstone Circuits] Small boards in small quantities, usually less than $100.<br />
* [http://www.pcbnet.com PCBnet] 2 Layers $25 each - 4 Layers $50 each. Even 1 piece is Ok - No Tooling.<br />
* [https://www.seeedstudio.com/fusion_pcb.html Seeed Studio] 2 Layers $9.90. Gerber files, 10 units of 100mm*100mm.<br />
* [http://www.gadgetronicx.com/easyeda-products/ Gadgetronicx] 4 Layers $29.50. EasyEDA files, 10 units of 50mm* 50mm.<br />
* [https://jlcpcb.com/ JLCPCB] 2 Layers $2, 4 Layers $15. Gerber files, 10 units of 100mmx100mm.</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Electronics_providers&diff=1279Electronics providers2018-08-23T21:17:28Z<p>Manpaz: /* PCB */</p>
<hr />
<div>__NOTOC__<br />
This page contains providers of parts for minor production, PCB manufacture and assembly<br />
== Parts ==<br />
=== Testing ===<br />
Low price parts and components with good enough quality.<br />
* [http://www.futurlec.com Futurlec] from Australia, usually is $4 shipping and is delivered in about 10 days.<br />
* [http://www.taydaelectronics.com Tayda Electronics] from China, shipping is about $2 and is delivered in 1 week.<br />
The only bad thing is after first purchase they continually send promos by mail on daily basis.<br />
* [http://www.goldmine-elec.com Electronics Goldmine] Cheaper bulk electronics<br />
* [http://www.allelectronics.com All Electronics] Local store but also allow to place online orders.<br />
=== End product ===<br />
Usually this parts are more expensive but high quality<br />
* [http://www.digikey.com Digi-Key]<br />
* [http://www.mouser.com Mouser]<br />
* [http://www.mcmelectronics.com MCM Electronics]<br />
<br />
== PCB ==<br />
* [https://www.sunstone.com Sunstone Circuits] Small boards in small quantities, usually less than $100.<br />
* [http://www.pcbnet.com PCBnet] 2 Layers $25 each - 4 Layers $50 each. Even 1 piece is Ok - No Tooling.<br />
* [https://www.seeedstudio.com/fusion_pcb.html Seeed Studio] 2 Layers $9.90. Gerber files, 10 units of 100mm*100mm.<br />
* [http://www.gadgetronicx.com/easyeda-products/ Gadgetronicx] 4 Layers $29.50. EasyEDA files, 10 units of 50mm* 50mm.<br />
* [https://jlcpcb.com/ JLCPCB] 2 Layers $2, 4 Layers $15. Gerber files, 10 units of 100mmx100mm.</div>Manpazhttp://wiki.bashlinux.com/index.php?title=OpenSSL&diff=1278OpenSSL2018-03-23T22:01:26Z<p>Manpaz: /* How to setup Nginx to match AWS ELB Protocol/Ciphers */</p>
<hr />
<div>__NOTOC__<br />
=== How to create SSL certificates for server/client(s) environment ===<br />
* Create openssl directory structure for MySQL<br />
mkdir -p /etc/pki/openssl<br />
mkdir -p /etc/pki/openssl/private<br />
mkdir -p /etc/pki/openssl/newcerts<br />
* Initialize Index database<br />
touch /etc/pki/openssl/index.txt<br />
* Create control serial number<br />
date +%Y%m%d > /etc/pki/openssl/serial<br />
* Copy default openssl configuration file<br />
cp /etc/pki/tls/openssl.cnf /etc/pki/openssl/<br />
* Change the default dir on the new configuration file<br />
replace ../../CA /etc/pki/openssl -- /etc/pki/openssl/openssl.cnf<br />
* Generate CA<br />
openssl req -new -x509 -keyout /etc/pki/openssl/private/cakey.pem -out /etc/pki/openssl/cacert.pem -config /etc/pki/openssl.cnf<br />
* Create Server REQ and KEY<br />
openssl req -new -keyout /etc/pki/openssl/server-key.pem -out /etc/pki/openssl/server-req.pem -days 3600 -config /etc/pki/openssl/openssl.cnf<br />
* Remove passphrase from KEY<br />
openssl rsa -in /etc/pki/openssl/server-key.pem -out /etc/pki/openssl/server-key.pem<br />
* Sign server cert<br />
openssl ca -policy policy_anything -out /etc/pki/openssl/server-cert.pem -config /etc/pki/openssl/openssl.cnf -infiles /etc/pki/openssl/server-req.pem<br />
* Create REQ and KEY for the client<br />
openssl req -new -keyout /etc/pki/openssl/client-key.pem -out /etc/pki/openssl/client-req.pem -days 3600 -config /etc/pki/openssl/openssl.cnf<br />
* Remove passphrase from the client KEY<br />
openssl rsa -in /etc/pki/openssl/client-key.pem -out /etc/pki/openssl/client-key.pem<br />
* Sign client cert<br />
openssl ca -policy policy_anything -out /etc/pki/openssl/client-cert.pem -config /etc/pki/openssl/openssl.cnf -infiles /etc/pki/openssl/client-req.pem<br />
<br />
=== How to generate strong private key and CSR ===<br />
In order to increase the security and generate a unique and unpredictable key we will provide the random data to OpenSSL.<br />
<br />
=== How to generate an RSA private key ===<br />
* Create a folder and place 3 larger files<br />
# mkdir -p /etc/pki/local<br />
# cd /etc/pki/local<br />
# tar zcvf logs.tgz /var/logs<br />
# cp /boot/vmlinuz-2.6.18-92.1.6.el5 .<br />
* Generate RSA private key<br />
openssl genrsa -des3 -rand logs.tgz:vmlinuz-2.6.18-92.1.6.el5:/dev/random -out local.bashlinux.com.key 1024<br />
* Patience, it will take a long, up to 10 minutes<br />
* Enter the passphrase when prompts<br />
* '''To remove passphrase''' ''if Apache, in order to avoid it asks for passphrase every time it starts''<br />
# openssl rsa -in local.bashlinux.com.key -out local.bashlinux.com.pem<br />
<br />
=== How to generate a Self-Signed certificate that is good for 1 year ===<br />
# openssl x509 -req -days 360 -in local.bashlinux.com.csr -signkey local.bashlinux.com.key -out local.bashlinux.com.crt<br />
<br />
=== How to generate Certificate Signing Request (CSR) ===<br />
# openssl req -new -key local.bashlinux.com.key -out local.bashlinux.com.csr<br />
<br />
=== How to generate a Personal Information Exchange file (PFX) ===<br />
# openssl pkcs12 -export -out star.bashlinux.com.pfx -inkey star.bashlinux.com.key -in star.bashlinux.com.crt<br />
<br />
=== How to convert a CRT into a Microsoft compatible CER ===<br />
* Double-cliek the CRT file<br />
* On the <tt>Details</tt> tab click on the button <tt>Copy to File...</tt><br />
* Select <tt>Base-64 encoded X.509 (.CER)</tt> and click Next<br />
* Set the proper name ending with <code>cer</code><br />
<br />
=== How to import an Certificate on Windows ===<br />
* Do a right-click on the certificate<br />
* Select <code>Install certificate</code><br />
<br />
If the file is not listed on "Server Certificates" on IIS, then:<br />
* Generate a [[#How_to_convert_a_CRT_into_a_Microsoft_compatible_CER | PFX]]<br />
* Do a right-click on the pfx file<br />
* Select install <code>Install PFX</code><br />
<br />
=== How to setup Nginx to match AWS ELB Protocols/Ciphers ===<br />
* Add the following protocols and ciphers to nginx site<br />
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;<br />
ssl_ciphers HIGH:!aNULL:!MD5:!DH:!CAMELLIA;<br />
<br />
=== How to check SSL ciphers on a website ===<br />
* List all the available ciphers by protocol with nmap<br />
# nmap --script ssl-enum-ciphers -p 443 <FQDN></div>Manpazhttp://wiki.bashlinux.com/index.php?title=OpenSSL&diff=1277OpenSSL2018-03-23T22:00:08Z<p>Manpaz: /* How to check SSL ciphers for a site */</p>
<hr />
<div>__NOTOC__<br />
=== How to create SSL certificates for server/client(s) environment ===<br />
* Create openssl directory structure for MySQL<br />
mkdir -p /etc/pki/openssl<br />
mkdir -p /etc/pki/openssl/private<br />
mkdir -p /etc/pki/openssl/newcerts<br />
* Initialize Index database<br />
touch /etc/pki/openssl/index.txt<br />
* Create control serial number<br />
date +%Y%m%d > /etc/pki/openssl/serial<br />
* Copy default openssl configuration file<br />
cp /etc/pki/tls/openssl.cnf /etc/pki/openssl/<br />
* Change the default dir on the new configuration file<br />
replace ../../CA /etc/pki/openssl -- /etc/pki/openssl/openssl.cnf<br />
* Generate CA<br />
openssl req -new -x509 -keyout /etc/pki/openssl/private/cakey.pem -out /etc/pki/openssl/cacert.pem -config /etc/pki/openssl.cnf<br />
* Create Server REQ and KEY<br />
openssl req -new -keyout /etc/pki/openssl/server-key.pem -out /etc/pki/openssl/server-req.pem -days 3600 -config /etc/pki/openssl/openssl.cnf<br />
* Remove passphrase from KEY<br />
openssl rsa -in /etc/pki/openssl/server-key.pem -out /etc/pki/openssl/server-key.pem<br />
* Sign server cert<br />
openssl ca -policy policy_anything -out /etc/pki/openssl/server-cert.pem -config /etc/pki/openssl/openssl.cnf -infiles /etc/pki/openssl/server-req.pem<br />
* Create REQ and KEY for the client<br />
openssl req -new -keyout /etc/pki/openssl/client-key.pem -out /etc/pki/openssl/client-req.pem -days 3600 -config /etc/pki/openssl/openssl.cnf<br />
* Remove passphrase from the client KEY<br />
openssl rsa -in /etc/pki/openssl/client-key.pem -out /etc/pki/openssl/client-key.pem<br />
* Sign client cert<br />
openssl ca -policy policy_anything -out /etc/pki/openssl/client-cert.pem -config /etc/pki/openssl/openssl.cnf -infiles /etc/pki/openssl/client-req.pem<br />
<br />
=== How to generate strong private key and CSR ===<br />
In order to increase the security and generate a unique and unpredictable key we will provide the random data to OpenSSL.<br />
<br />
=== How to generate an RSA private key ===<br />
* Create a folder and place 3 larger files<br />
# mkdir -p /etc/pki/local<br />
# cd /etc/pki/local<br />
# tar zcvf logs.tgz /var/logs<br />
# cp /boot/vmlinuz-2.6.18-92.1.6.el5 .<br />
* Generate RSA private key<br />
openssl genrsa -des3 -rand logs.tgz:vmlinuz-2.6.18-92.1.6.el5:/dev/random -out local.bashlinux.com.key 1024<br />
* Patience, it will take a long, up to 10 minutes<br />
* Enter the passphrase when prompts<br />
* '''To remove passphrase''' ''if Apache, in order to avoid it asks for passphrase every time it starts''<br />
# openssl rsa -in local.bashlinux.com.key -out local.bashlinux.com.pem<br />
<br />
=== How to generate a Self-Signed certificate that is good for 1 year ===<br />
# openssl x509 -req -days 360 -in local.bashlinux.com.csr -signkey local.bashlinux.com.key -out local.bashlinux.com.crt<br />
<br />
=== How to generate Certificate Signing Request (CSR) ===<br />
# openssl req -new -key local.bashlinux.com.key -out local.bashlinux.com.csr<br />
<br />
=== How to generate a Personal Information Exchange file (PFX) ===<br />
# openssl pkcs12 -export -out star.bashlinux.com.pfx -inkey star.bashlinux.com.key -in star.bashlinux.com.crt<br />
<br />
=== How to convert a CRT into a Microsoft compatible CER ===<br />
* Double-cliek the CRT file<br />
* On the <tt>Details</tt> tab click on the button <tt>Copy to File...</tt><br />
* Select <tt>Base-64 encoded X.509 (.CER)</tt> and click Next<br />
* Set the proper name ending with <code>cer</code><br />
<br />
=== How to import an Certificate on Windows ===<br />
* Do a right-click on the certificate<br />
* Select <code>Install certificate</code><br />
<br />
If the file is not listed on "Server Certificates" on IIS, then:<br />
* Generate a [[#How_to_convert_a_CRT_into_a_Microsoft_compatible_CER | PFX]]<br />
* Do a right-click on the pfx file<br />
* Select install <code>Install PFX</code><br />
<br />
=== How to setup Nginx to match AWS ELB Protocol/Ciphers ===<br />
* Add the following protocol and ciphers to nginx site<br />
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;<br />
ssl_ciphers HIGH:!aNULL:!MD5:!DH:!CAMELLIA;<br />
<br />
=== How to check SSL ciphers on a website ===<br />
* List all the available ciphers by protocol with nmap<br />
# nmap --script ssl-enum-ciphers -p 443 <FQDN></div>Manpazhttp://wiki.bashlinux.com/index.php?title=OpenSSL&diff=1276OpenSSL2018-03-23T21:59:43Z<p>Manpaz: /* How to check SSL ciphers for a site */</p>
<hr />
<div>__NOTOC__<br />
=== How to create SSL certificates for server/client(s) environment ===<br />
* Create openssl directory structure for MySQL<br />
mkdir -p /etc/pki/openssl<br />
mkdir -p /etc/pki/openssl/private<br />
mkdir -p /etc/pki/openssl/newcerts<br />
* Initialize Index database<br />
touch /etc/pki/openssl/index.txt<br />
* Create control serial number<br />
date +%Y%m%d > /etc/pki/openssl/serial<br />
* Copy default openssl configuration file<br />
cp /etc/pki/tls/openssl.cnf /etc/pki/openssl/<br />
* Change the default dir on the new configuration file<br />
replace ../../CA /etc/pki/openssl -- /etc/pki/openssl/openssl.cnf<br />
* Generate CA<br />
openssl req -new -x509 -keyout /etc/pki/openssl/private/cakey.pem -out /etc/pki/openssl/cacert.pem -config /etc/pki/openssl.cnf<br />
* Create Server REQ and KEY<br />
openssl req -new -keyout /etc/pki/openssl/server-key.pem -out /etc/pki/openssl/server-req.pem -days 3600 -config /etc/pki/openssl/openssl.cnf<br />
* Remove passphrase from KEY<br />
openssl rsa -in /etc/pki/openssl/server-key.pem -out /etc/pki/openssl/server-key.pem<br />
* Sign server cert<br />
openssl ca -policy policy_anything -out /etc/pki/openssl/server-cert.pem -config /etc/pki/openssl/openssl.cnf -infiles /etc/pki/openssl/server-req.pem<br />
* Create REQ and KEY for the client<br />
openssl req -new -keyout /etc/pki/openssl/client-key.pem -out /etc/pki/openssl/client-req.pem -days 3600 -config /etc/pki/openssl/openssl.cnf<br />
* Remove passphrase from the client KEY<br />
openssl rsa -in /etc/pki/openssl/client-key.pem -out /etc/pki/openssl/client-key.pem<br />
* Sign client cert<br />
openssl ca -policy policy_anything -out /etc/pki/openssl/client-cert.pem -config /etc/pki/openssl/openssl.cnf -infiles /etc/pki/openssl/client-req.pem<br />
<br />
=== How to generate strong private key and CSR ===<br />
In order to increase the security and generate a unique and unpredictable key we will provide the random data to OpenSSL.<br />
<br />
=== How to generate an RSA private key ===<br />
* Create a folder and place 3 larger files<br />
# mkdir -p /etc/pki/local<br />
# cd /etc/pki/local<br />
# tar zcvf logs.tgz /var/logs<br />
# cp /boot/vmlinuz-2.6.18-92.1.6.el5 .<br />
* Generate RSA private key<br />
openssl genrsa -des3 -rand logs.tgz:vmlinuz-2.6.18-92.1.6.el5:/dev/random -out local.bashlinux.com.key 1024<br />
* Patience, it will take a long, up to 10 minutes<br />
* Enter the passphrase when prompts<br />
* '''To remove passphrase''' ''if Apache, in order to avoid it asks for passphrase every time it starts''<br />
# openssl rsa -in local.bashlinux.com.key -out local.bashlinux.com.pem<br />
<br />
=== How to generate a Self-Signed certificate that is good for 1 year ===<br />
# openssl x509 -req -days 360 -in local.bashlinux.com.csr -signkey local.bashlinux.com.key -out local.bashlinux.com.crt<br />
<br />
=== How to generate Certificate Signing Request (CSR) ===<br />
# openssl req -new -key local.bashlinux.com.key -out local.bashlinux.com.csr<br />
<br />
=== How to generate a Personal Information Exchange file (PFX) ===<br />
# openssl pkcs12 -export -out star.bashlinux.com.pfx -inkey star.bashlinux.com.key -in star.bashlinux.com.crt<br />
<br />
=== How to convert a CRT into a Microsoft compatible CER ===<br />
* Double-cliek the CRT file<br />
* On the <tt>Details</tt> tab click on the button <tt>Copy to File...</tt><br />
* Select <tt>Base-64 encoded X.509 (.CER)</tt> and click Next<br />
* Set the proper name ending with <code>cer</code><br />
<br />
=== How to import an Certificate on Windows ===<br />
* Do a right-click on the certificate<br />
* Select <code>Install certificate</code><br />
<br />
If the file is not listed on "Server Certificates" on IIS, then:<br />
* Generate a [[#How_to_convert_a_CRT_into_a_Microsoft_compatible_CER | PFX]]<br />
* Do a right-click on the pfx file<br />
* Select install <code>Install PFX</code><br />
<br />
=== How to setup Nginx to match AWS ELB Protocol/Ciphers ===<br />
* Add the following protocol and ciphers to nginx site<br />
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;<br />
ssl_ciphers HIGH:!aNULL:!MD5:!DH:!CAMELLIA;<br />
<br />
=== How to check SSL ciphers for a site ===<br />
* List all the available ciphers by protocol with nmap<br />
# nmap --script ssl-enum-ciphers -p 443 <FQDN></div>Manpazhttp://wiki.bashlinux.com/index.php?title=OpenSSL&diff=1275OpenSSL2018-03-23T21:59:20Z<p>Manpaz: </p>
<hr />
<div>__NOTOC__<br />
=== How to create SSL certificates for server/client(s) environment ===<br />
* Create openssl directory structure for MySQL<br />
mkdir -p /etc/pki/openssl<br />
mkdir -p /etc/pki/openssl/private<br />
mkdir -p /etc/pki/openssl/newcerts<br />
* Initialize Index database<br />
touch /etc/pki/openssl/index.txt<br />
* Create control serial number<br />
date +%Y%m%d > /etc/pki/openssl/serial<br />
* Copy default openssl configuration file<br />
cp /etc/pki/tls/openssl.cnf /etc/pki/openssl/<br />
* Change the default dir on the new configuration file<br />
replace ../../CA /etc/pki/openssl -- /etc/pki/openssl/openssl.cnf<br />
* Generate CA<br />
openssl req -new -x509 -keyout /etc/pki/openssl/private/cakey.pem -out /etc/pki/openssl/cacert.pem -config /etc/pki/openssl.cnf<br />
* Create Server REQ and KEY<br />
openssl req -new -keyout /etc/pki/openssl/server-key.pem -out /etc/pki/openssl/server-req.pem -days 3600 -config /etc/pki/openssl/openssl.cnf<br />
* Remove passphrase from KEY<br />
openssl rsa -in /etc/pki/openssl/server-key.pem -out /etc/pki/openssl/server-key.pem<br />
* Sign server cert<br />
openssl ca -policy policy_anything -out /etc/pki/openssl/server-cert.pem -config /etc/pki/openssl/openssl.cnf -infiles /etc/pki/openssl/server-req.pem<br />
* Create REQ and KEY for the client<br />
openssl req -new -keyout /etc/pki/openssl/client-key.pem -out /etc/pki/openssl/client-req.pem -days 3600 -config /etc/pki/openssl/openssl.cnf<br />
* Remove passphrase from the client KEY<br />
openssl rsa -in /etc/pki/openssl/client-key.pem -out /etc/pki/openssl/client-key.pem<br />
* Sign client cert<br />
openssl ca -policy policy_anything -out /etc/pki/openssl/client-cert.pem -config /etc/pki/openssl/openssl.cnf -infiles /etc/pki/openssl/client-req.pem<br />
<br />
=== How to generate strong private key and CSR ===<br />
In order to increase the security and generate a unique and unpredictable key we will provide the random data to OpenSSL.<br />
<br />
=== How to generate an RSA private key ===<br />
* Create a folder and place 3 larger files<br />
# mkdir -p /etc/pki/local<br />
# cd /etc/pki/local<br />
# tar zcvf logs.tgz /var/logs<br />
# cp /boot/vmlinuz-2.6.18-92.1.6.el5 .<br />
* Generate RSA private key<br />
openssl genrsa -des3 -rand logs.tgz:vmlinuz-2.6.18-92.1.6.el5:/dev/random -out local.bashlinux.com.key 1024<br />
* Patience, it will take a long, up to 10 minutes<br />
* Enter the passphrase when prompts<br />
* '''To remove passphrase''' ''if Apache, in order to avoid it asks for passphrase every time it starts''<br />
# openssl rsa -in local.bashlinux.com.key -out local.bashlinux.com.pem<br />
<br />
=== How to generate a Self-Signed certificate that is good for 1 year ===<br />
# openssl x509 -req -days 360 -in local.bashlinux.com.csr -signkey local.bashlinux.com.key -out local.bashlinux.com.crt<br />
<br />
=== How to generate Certificate Signing Request (CSR) ===<br />
# openssl req -new -key local.bashlinux.com.key -out local.bashlinux.com.csr<br />
<br />
=== How to generate a Personal Information Exchange file (PFX) ===<br />
# openssl pkcs12 -export -out star.bashlinux.com.pfx -inkey star.bashlinux.com.key -in star.bashlinux.com.crt<br />
<br />
=== How to convert a CRT into a Microsoft compatible CER ===<br />
* Double-cliek the CRT file<br />
* On the <tt>Details</tt> tab click on the button <tt>Copy to File...</tt><br />
* Select <tt>Base-64 encoded X.509 (.CER)</tt> and click Next<br />
* Set the proper name ending with <code>cer</code><br />
<br />
=== How to import an Certificate on Windows ===<br />
* Do a right-click on the certificate<br />
* Select <code>Install certificate</code><br />
<br />
If the file is not listed on "Server Certificates" on IIS, then:<br />
* Generate a [[#How_to_convert_a_CRT_into_a_Microsoft_compatible_CER | PFX]]<br />
* Do a right-click on the pfx file<br />
* Select install <code>Install PFX</code><br />
<br />
=== How to setup Nginx to match AWS ELB Protocol/Ciphers ===<br />
* Add the following protocol and ciphers to nginx site<br />
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;<br />
ssl_ciphers HIGH:!aNULL:!MD5:!DH:!CAMELLIA;<br />
<br />
=== How to check SSL ciphers for a site ===<br />
* List all the available ciphers by protocol with nmap<br />
nmap --script ssl-enum-ciphers -p 443 <FQDN></div>Manpazhttp://wiki.bashlinux.com/index.php?title=OS_X_command_line&diff=1274OS X command line2018-01-17T21:12:59Z<p>Manpaz: Created page with "As of 2018, some of the CLi tools, if not all, have not been updated to their current versions, some of them dating from more than 10 years ago. So, first thing first, install..."</p>
<hr />
<div>As of 2018, some of the CLi tools, if not all, have not been updated to their current versions, some of them dating from more than 10 years ago. So, first thing first, install homebrew then proceed to install bash and anything else we might need.<br />
<br />
== Homebrew ==<br />
=== How to install homebrew ===<br />
* Install XCode<br />
xcode-select --install<br />
* Install homebrew<br />
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"<br />
* Update brew<br />
brew update<br />
<br />
== Packages ==<br />
=== How to setup bash ===<br />
* Install bash<br />
brew install bash<br />
* Add bash to the list of shells<br />
sudo bash -c 'echo /usr/local/bin/bash >> /etc/shells'<br />
* Set bash as the default shell<br />
chsh -s /usr/local/bin/bash<br />
* Exit the current terminal and start a new one<br />
<br />
=== How to setup sed ===<br />
* Install sed replacing the current binary<br />
brew install gnu-sed --default-names<br />
* Reload the terminal<br />
hash -r</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Mac_OS_X&diff=1273Mac OS X2018-01-17T20:58:59Z<p>Manpaz: </p>
<hr />
<div>* [[Startup key combinations for Macs]]<br />
* [[Hard drive image creation for Macs]]<br />
* [[OS X password recovery]]<br />
* [[OS X installation]]<br />
* [[OS X command line]]</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Arduino&diff=1272Arduino2017-12-10T07:01:23Z<p>Manpaz: Created page with "== IDE == === How setup Arduino IDE 1.8.4 on Fedora 27 or newer === * Install arduino from the repository # yum -y install arduino * Create the packages directory (REF: https..."</p>
<hr />
<div>== IDE ==<br />
=== How setup Arduino IDE 1.8.4 on Fedora 27 or newer ===<br />
* Install arduino from the repository<br />
# yum -y install arduino<br />
* Create the packages directory (REF: https://bugzilla.redhat.com/show_bug.cgi?id=1435029#c15)<br />
# mkdir -p .arduino15/packages<br />
* Edit <code>/usr/share/arduino/hardware/arduino/avr/platform.txt</code> and remove <code>-flto</code> from <code>compiler.cpp.flags</code> (REF: https://bugzilla.redhat.com/show_bug.cgi?id=1358510#c7)<br />
# sudo sed -i -e '/compiler\.cpp\.flags/s/ -flto//' /usr/share/arduino/hardware/arduino/avr/platform.txt</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Main_Page&diff=1271Main Page2017-12-10T06:50:31Z<p>Manpaz: /* Development Boards */</p>
<hr />
<div><!-- ##master-page:[[Main_Page]] --><br />
<!-- #language en --><br />
{{DISPLAYTITLE:<span style="display: none">{{FULLPAGENAME}}</span>}}<br />
<div style="float:right;margin:0 0 1em 1em;top:150px;right:10px;">__TOC__</div><br />
This is my personal knowledge base. It's mainly about Linux engineering, development, system customization, and networking but also some things I might want to recall about other operating systems. So basically this an extension of my thoughts, but you are welcome to navigate around this wiki, hope it helps you too much.<br />
<br />
If you want to make some comments or just say hello, you can send me an email to admin@bashlinux.com<br />
----<br />
=== Software Development ===<br />
==== Interpreted Languages ====<br />
* [[Bash]] - Command language interpreter <br />
* [[Perl]] - The camel<br />
* [[Python]] - The snake <br />
* [[Ruby]] - The stone<br />
<br />
==== SDKs ====<br />
* [[Android]] - Google mobile platform<br />
* [[java|Java]] - The Sun Microsystems Language <br />
* [[openFrameworks]] - C++ toolkit for creative coding<br />
* [[Qt4]] - Cross-Platform application development framework<br />
==== Web ====<br />
* [[CSS]] - Style sheet language <br />
* [[Javascript]] - JS frameworks<br />
==== Windows ====<br />
* [[ASP.Net]] - Active Server Pages<br />
----<br />
=== System Administration ===<br />
==== Authentication ====<br />
* [[PAM]] - Pluggable Authentication Modules <br />
* [[passwd]] - Password database<br />
==== Boot ====<br />
* [[Booting devices]] - Devices and loaders <br />
* [[Boot parameters]] - Kernel parameters<br />
* [[Wake-on-LAN]] - Power up a remote PC on the same LAN<br />
==== Cloud Computing ====<br />
* [[AWS]] - Amazon Web Services <br />
* [[Eucalyptus]] - Private cloud computing<br />
==== Configuration management & provisioning ====<br />
* [[Ansible]] - Radically simple IT automation tool<br />
* [[Cobbler]] - Network based OS installation<br />
* [[Puppet]] - Unix & windows configuration management tool<br />
<br />
==== Content Management Systems ====<br />
* [[moinmoin]] - Python Wiki clone<br />
==== Data Encoding ====<br />
* [[uuencode]] - Binary to text encoding<br />
==== Database ====<br />
* [[MySQL]] - The world's most poupular DB<br />
* [[Oracle]] - Specifically Oracle XE<br />
* [[Postgres]] - The world's most advanced DB<br />
* [[Vertica]] - BigData SQL analytic platform<br />
==== Disk management and storage ====<br />
* [[Disk images]] - Partitions and FS<br />
* [[DRBD]] - Distributed storage system <br />
* [[LVM]] - An allocation mode<br />
* [[RAID]] - Hardware and Software RAID tools<br />
<br />
==== Email ====<br />
* [[Mutt]] - CLi email client<br />
* [[Sendmail]] - A very widely used MTA<br />
==== Encryption ====<br />
* [[OpenSSL]] - SSL and TLS Protocols<br />
* [[GnuPG]] - GNU Privacy Guard<br />
* [[SKS]] - GPG Keyserver<br />
==== Filesystem ====<br />
* [[GlusterFS]] - Scalable network FS<br />
* [[NFS]] - Need for Speed<br />
==== Kernel ====<br />
* [[Modules]] - Kernel module drivers<br />
* [[Power management]] - Linux power management<br />
* [[udev]] - Device manager<br />
==== Monitoring ====<br />
* [[M/Monit]] - Processes monitoring and management<br />
* [[Nagios]] - Hosts monitoring<br />
* [[SNMP]] - Simple Network Management Protocol<br />
==== Network hardware ====<br />
* [[Brocade]] - Brocade/Foundry switches<br />
* [[Cisco]] - Routers and switches<br />
==== Network services ====<br />
* [[DHCP]] - Dynamic Host Configuration Protocol <br />
* [[DNS]] - Domain Name System<br />
==== Remote access ====<br />
* [[VNC]] - Graphical desktop sharing <br />
* [[VPN]] - Remote private access over public networks<br />
==== Security ====<br />
* [[Aide]] - Advanced Intrusion Detection Environment <br />
* [[PCI compliance]] - Payment Card Industry<br />
==== System services ====<br />
* [[IPTables]] - IP packets filter rules in the Linux kernel<br />
* [[SSH]] - Secure shell<br />
* [[Syslog]] - System log<br />
==== Virtualization ====<br />
* [[KVM]] - Kernel-Based Virtual Machine <br />
* [[VMware]] - Server/Desktop Virtualization<br />
==== Web services ====<br />
* [[Apache]] - HTTP Server <br />
* [[Nginx]] - Lightweight HTTP and mail proxy server <br />
----<br />
<br />
=== Operating Systems ===<br />
==== GNU/Linux ====<br />
* [[CentOS]] - Free Red Hat Enterprise rebuild<br />
* [[Debian]] - The Universal Operating System<br />
* [[Fedora]] - RPM based with the latest in opensource <br />
* [[Ubuntu]] - DEB based distribution<br />
* [[Zentyal]] - Linux alternative for SMBs based on Ubuntu<br />
==== Other Unix ====<br />
* [[Mac OS X]] - Apple operating system <br />
* [[OpenBSD]] - Multi-platform BSD 4.4 based Unix-like OS<br />
* [[Open Solaris]] - Sun Microsystems open-source OS<br />
==== Windows ====<br />
* [[Windows XP]] - 2002 MS OS<br />
* [[Windows 7]] - 2009 MS OS<br />
* [[Windows Server 2012]] - The server version of "Windows 7"<br />
----<br />
<br />
=== Desktop Administration ===<br />
==== Browser ====<br />
* [[Firefox]] - Web browser <br />
* [[Flash player]] - SWF media player <br />
* [[Google]] - Some search tips<br />
==== GUI ====<br />
* [[GDM]] - Gnome desktop manager<br />
* [[Gnome]] - Desktop environment<br />
* [[Xorg]] - Implementation of the X Window System<br />
==== Multimedia ====<br />
* [[FFmpeg]] - Audio and video streaming <br />
* [[GStreamer]] - Library for Media and Graphs<br />
* [[MuseScore]] - Music Compositon<br />
----<br />
<br />
=== Computer Hardware ===<br />
==== Branded Sytems ====<br />
* [[AMD Geode]] - AMD mobile CPU on thin clients<br />
* [[Dell]] - Dell systems<br />
* [[Mac Mini]] - Apple small factor desktop<br />
* [[VIA CX700]] - VIA Mobile CPU on small factor systems<br />
==== Peripheral Devices ====<br />
* [[MSR]] - Magnetic Stripe Readers<br />
* [[Touchscreens]] - Resistive and capacitive touchscreens<br />
----<br />
<br />
=== Electronics ===<br />
==== Development Boards ====<br />
* [[Arduino]] - Arduino boards and IDE<br />
* [[Make Controller]] - ARM7 with Atmel micro <br />
* [[MSP-EXP430G2]] - TI MSP430 LaunchPad<br />
<br />
==== Embedded Linux ====<br />
* [[Cross Compiling]] - Create executables for other architectures<br />
==== Microcontrollers ====<br />
* [[ARM]] - ARM7/9 and Cortex-M <br />
* [[Atmel AVR]] - Atmel AVR micros<br />
* [[Microchip PIC]] - Microchip pic micros<br />
==== PCB ====<br />
* [[Eagle CAD]] - PCB Schematic and design<br />
* [[Electronics providers ]] - List of part providers and manufacture<br />
==== System-on-Chip ====<br />
* [[Cubox-i]] - Fanless nettop-class computer based on i.MX6<br />
* [[Raspberry Pi]] Tiny and affordable computer<br />
* [[VoCore]] - A coin-sized Linux computer with WiFi<br />
<br />
<sub>Linux is a registered trademark of Linus Torvalds. Other trademarks are property of their respective owners. All other content is the resultant work of my field experience</sub></div>Manpazhttp://wiki.bashlinux.com/index.php?title=Electronics_providers&diff=1270Electronics providers2017-03-08T21:43:31Z<p>Manpaz: /* PCB */</p>
<hr />
<div>__NOTOC__<br />
This page contains providers of parts for minor production, PCB manufacture and assembly<br />
== Parts ==<br />
=== Testing ===<br />
Low price parts and components with good enough quality.<br />
* [http://www.futurlec.com Futurlec] from Australia, usually is $4 shipping and is delivered in about 10 days.<br />
* [http://www.taydaelectronics.com Tayda Electronics] from China, shipping is about $2 and is delivered in 1 week.<br />
The only bad thing is after first purchase they continually send promos by mail on daily basis.<br />
* [http://www.goldmine-elec.com Electronics Goldmine] Cheaper bulk electronics<br />
* [http://www.allelectronics.com All Electronics] Local store but also allow to place online orders.<br />
=== End product ===<br />
Usually this parts are more expensive but high quality<br />
* [http://www.digikey.com Digi-Key]<br />
* [http://www.mouser.com Mouser]<br />
* [http://www.mcmelectronics.com MCM Electronics]<br />
<br />
== PCB ==<br />
* [https://www.sunstone.com Sunstone Circuits] Small boards in small quantities, usually less than $100.<br />
* [http://www.pcbnet.com PCBnet] 2 Layers $25 each - 4 Layers $50 each. Even 1 piece is Ok - No Tooling<br />
* [https://www.seeedstudio.com/fusion_pcb.html Seeed Studio] 2 Layers $9.90. Gerber files, 10 units of 100mm*100mm<br />
* [http://www.gadgetronicx.com/easyeda-products/ Gadgetronicx] 4 Layers $29.50. EasyEDA files, 10 units of 50mm* 50mm</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Electronics_providers&diff=1269Electronics providers2017-03-06T19:04:00Z<p>Manpaz: /* PCB */</p>
<hr />
<div>__NOTOC__<br />
This page contains providers of parts for minor production, PCB manufacture and assembly<br />
== Parts ==<br />
=== Testing ===<br />
Low price parts and components with good enough quality.<br />
* [http://www.futurlec.com Futurlec] from Australia, usually is $4 shipping and is delivered in about 10 days.<br />
* [http://www.taydaelectronics.com Tayda Electronics] from China, shipping is about $2 and is delivered in 1 week.<br />
The only bad thing is after first purchase they continually send promos by mail on daily basis.<br />
* [http://www.goldmine-elec.com Electronics Goldmine] Cheaper bulk electronics<br />
* [http://www.allelectronics.com All Electronics] Local store but also allow to place online orders.<br />
=== End product ===<br />
Usually this parts are more expensive but high quality<br />
* [http://www.digikey.com Digi-Key]<br />
* [http://www.mouser.com Mouser]<br />
* [http://www.mcmelectronics.com MCM Electronics]<br />
<br />
== PCB ==<br />
* [https://www.sunstone.com Sunstone Circuits] Small boards in small quantities, usually less than $100.<br />
* [http://www.pcbnet.com PCBnet] 2 Layers $25 each - 4 Layers $50 each. Even 1 piece is Ok - No Tooling<br />
* [https://www.seeedstudio.com/fusion_pcb.html Seeed Studio] 2 Layers $9.90. Gerber file, 10 units of 100mm*100mm</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Microchip_PIC&diff=1268Microchip PIC2017-02-02T18:40:58Z<p>Manpaz: /* Cautions */</p>
<hr />
<div>__NOTOC__<br />
== Cautions ==<br />
'''Config'''<br><br />
* NEVER disable the PIC's <tt>/MCLR</tt> (Reset) pin function.<br />
* NEVER program a PIC "in circuit" with ANY other connections to the target board.<br />
<br />
'''Circuit Design'''<br><br />
ALWAYS set <tt>MCLRE_ON</tt> in the config options and have <tt>MCLR</tt> pin with a 10K pull-up resistor to Vdd.<br />
<br />
'''Initialization'''<br><br />
ALWAYS set the input pins and clear the output pins, excepting UART TX/RX.<br />
i.e.<br />
* SDO should have <tt>TRISX</tt> bit cleared<br />
* SDI should have <tt>TRISX</tt> bit set.<br />
<br />
== Configuration Fuses ==<br />
'''HI-TECH PICC (MPLAB IDE v8.x)'''<br><br />
__CONFIG(1,HS&CPUDIV1) ; // Conf Reg 1: Use external crystal 4MHz<br />
__CONFIG(2,WDTDIS) ; // Conf Reg 2: Watchdog off<br />
__CONFIG(3,PBADDIS) ; // Conf Reg 3: Configure PORTB<4:0> pins as digital I/O on Reset<br />
__CONFIG(4,XINSTDIS) ; // Conf Reg 4: Extended CPU Enable Disabled<br />
<br />
'''MPLAB XC (MPLAB X v2.x/v3.x)'''<br><br />
#pragma config PLLDIV = 1 // No prescale (4 MHz oscillator input drives PLL directly)<br />
#pragma config WDT = OFF // Watchdog off<br />
#pragma config PBADEN = OFF // Configure PORTB<4:0> pins as digital I/O on Reset<br />
#pragma config CPUDIV = OSC1_PLL2 // [OSC1/OSC2 Src: /1][96 MHz PLL Src: /2]<br />
#pragma config FOSC = HS // HS oscillator, HS used by USB<br />
<br />
== IDEs ==<br />
* [http://www.microchip.com/archived MPLAB] - Discontinued Microchip's IDE<br />
* [http://www.microchip.com/mplabx/ MPLAB X] - Official's Microchip IDE<br />
* [http://chipkit.s3.amazonaws.com/index.html MPIDE] - Arduino like IDE for ChipKit & Fubarino</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Microchip_PIC&diff=1267Microchip PIC2017-02-02T18:36:36Z<p>Manpaz: /* Configuration Fuses */</p>
<hr />
<div>__NOTOC__<br />
== Cautions ==<br />
'''Config'''<br><br />
* NEVER disable the PIC's <code>/MCLR</code> (Reset) pin function<br />
* NEVER program a PIC "in circuit" with ANY other connections to the target board<br />
<br />
'''Circuit Design'''<br><br />
* ALWAYS set <code>MCLRE_ON</code> in the config options and have <code>MCLR</code> pin with a 10K pull-up resistor to Vdd.<br />
<br />
'''Initialization'''<br><br />
* ALWAYS set the input pins and clear the output pins, excepting UART TX/RX.<br />
i.e. SDO should have TRISX bit cleared, SDI should have TRISX bit set.<br />
<br />
== Configuration Fuses ==<br />
'''HI-TECH PICC (MPLAB IDE v8.x)'''<br><br />
__CONFIG(1,HS&CPUDIV1) ; // Conf Reg 1: Use external crystal 4MHz<br />
__CONFIG(2,WDTDIS) ; // Conf Reg 2: Watchdog off<br />
__CONFIG(3,PBADDIS) ; // Conf Reg 3: Configure PORTB<4:0> pins as digital I/O on Reset<br />
__CONFIG(4,XINSTDIS) ; // Conf Reg 4: Extended CPU Enable Disabled<br />
<br />
'''MPLAB XC (MPLAB X v2.x/v3.x)'''<br><br />
#pragma config PLLDIV = 1 // No prescale (4 MHz oscillator input drives PLL directly)<br />
#pragma config WDT = OFF // Watchdog off<br />
#pragma config PBADEN = OFF // Configure PORTB<4:0> pins as digital I/O on Reset<br />
#pragma config CPUDIV = OSC1_PLL2 // [OSC1/OSC2 Src: /1][96 MHz PLL Src: /2]<br />
#pragma config FOSC = HS // HS oscillator, HS used by USB<br />
<br />
== IDEs ==<br />
* [http://www.microchip.com/archived MPLAB] - Discontinued Microchip's IDE<br />
* [http://www.microchip.com/mplabx/ MPLAB X] - Official's Microchip IDE<br />
* [http://chipkit.s3.amazonaws.com/index.html MPIDE] - Arduino like IDE for ChipKit & Fubarino</div>Manpazhttp://wiki.bashlinux.com/index.php?title=PenMount&diff=1266PenMount2017-02-02T17:57:58Z<p>Manpaz: /* How to setup PenMount driver on Xorg */</p>
<hr />
<div>__NOTOC__<br />
== Installation ==<br />
=== How to get PenMount driver sources ===<br />
'''Centos 5.1'''<br />
* Download the driver from PenMount website http://www.penmount.com.tw/down_2_1.php<br />
# wget http://www.penmount.com.tw/Download/Driver/PenMount/PenMount%20Fedora%20Core5_6_7%20Driver%20V2.0.zip<br />
* Pick the Fedora Core 5/6/7 driver<br />
* Unzip the file<br />
# unzip "PenMount Fedora Core5_6_7 Driver V2.0.zip"<br />
* Move the unzipped file to <tt>/usr/local</tt><br />
# mv "PenMount Fedora Core5_6_7 Driver V2.0" /usr/local/penmount<br />
* Go into the new created folder<br />
# cd /usr/local/penmount<br />
* Make executable the bash script files and binaries<br />
# chmod +x *sh pm* *calib<br />
<br />
'''Centos 5.2/5.3 - Fedora 8/9/10'''<br />
*Download the driver from PenMount website http://www.penmount.com/support_9000.htm and follow the same steps above.<br />
<br />
=== How to setup PenMount driver ===<br />
* Run the install script<br />
# ./install.sh<br />
* Follow the steps to setup the device and choose:<br />
** '''model:''' Penmount 9000<br />
** '''port:''' Serial port 4 (/dev/ttyS3)<br />
** '''baudrate:''' 19200 bps<br />
** '''beeper:''' Off<br />
** '''righ button:''' Off<br />
<br />
The output will be similar to:<br />
+----------------------------------------------------+<br />
| PenMount touch screen setup |<br />
+----------------------------------------------------+<br />
X server confguration file : /etc/X11/xorg.conf<br />
<br />
<br />
+-------------------------------+<br />
| Select PenMount model |<br />
+-------------------------------+<br />
1. PenMount 9000<br />
2. PenMount 5000<br />
3. PenMount 6000 (COM)<br />
4. PenMount 6000 (USB)<br />
Which one? (1-4) => 1<br />
<br />
>>>>> PenMount 9000<br />
<br />
+--------------------------------+<br />
| Select serial port |<br />
+--------------------------------+<br />
1. Serial port 1 (/dev/ttyS0) (default)<br />
2. Serial port 2 (/dev/ttyS1)<br />
3. Serial port 3 (/dev/ttyS2)<br />
4. Serial port 4 (/dev/ttyS3)<br />
5. Other serial port<br />
<br />
Which one? (1-5) => 4<br />
<br />
>>>>> /dev/ttyS3<br />
<br />
+--------------------------------+<br />
| Select PenMount baudrate |<br />
+--------------------------------+<br />
1. 19200 bps (default)<br />
2. 9600 bps<br />
<br />
Which one? (1-2) => 1<br />
<br />
>>>>> 19200 bps<br />
<br />
+--------------------------------+<br />
| PenMount Beeper |<br />
+--------------------------------+<br />
1. On (default)<br />
2. Off<br />
Which one? (1-2) => 2<br />
<br />
>>>>> Beeper Off<br />
<br />
+--------------------------------+<br />
| PenMount Right Button |<br />
+--------------------------------+<br />
1. On<br />
2. Off<br />
Which one? (1-2) => 2<br />
<br />
>>>>> Right Button Off<br />
<br />
+--------------------------------+<br />
| Finish |<br />
+--------------------------------+<br />
Model : PenMount 9000 series<br />
Port : /dev/ttyS3 (COM)<br />
Baud : 19200 bps<br />
Beep : OFF<br />
R-button : OFF<br />
<br />
PenMount setup finished!<br />
<br />
=== How to setup PenMount driver on Xorg ===<br />
The install script generates an input entry for the PenMount device and the configuration section for it, it could be modified by hand.<br />
<br />
The <tt>ServerLayout</tt> entry looks like:<br />
Section "ServerLayout"<br />
...<br />
InputDevice "Penmount" "AlwaysCore"<br />
EndSection<br />
And the <tt>InputDevice</tt> entry looks like:<br />
Section "InputDevice"<br />
Identifier "PenMount"<br />
Driver "penmount"<br />
Option "Protocol" "PM9000"<br />
Option "Device" "/dev/ttyS3"<br />
Option "PMode" "2"<br />
Option "MinX" "10"<br />
Option "MaxX" "1000"<br />
Option "MinY" "10"<br />
Option "MaxY" "1000"<br />
Option "ADBit" "10"<br />
Option "Baudrate" "19200"<br />
Option "Beep" "0" # 0 = no beep, 1 = beep enabled<br />
Option "PressVol" "100" # volume of beep (press event)<br />
Option "PressPitch" "880" # pitch of beep (press event)<br />
Option "PressDur" "15" # length of beep in 10ms (press event)<br />
Option "ReleaseVol" "0" # volume of beep (release event)<br />
Option "ReleasePitch" "1200" # pitch of beep (release event)<br />
Option "ReleaseDur" "10" # len of beep in 10ms (release event)<br />
Option "RightButton" "0" # right button active in ms<br />
Option "RightButtonStart" "500" # right button active in ms<br />
Option "RightButtonEnd" "900" # right button inactive in ms<br />
EndSection<br />
<br />
=== How to calibrate the PenMount touchscreen ===<br />
Just run the calibration tool telling it how many points you'd like to test, that could be 4,9,16 or 25. Suppose we want to calibrate touching only 4 points (the actual 4 screen corners), then issue the command:<br />
# /usr/local/penmount/adv-calib 4<br />
On recent versions of penmount driver the calibration tool is invoked with the command:<br />
# /usr/sbin/gCal 4<br />
<br />
== RPM Driver ==<br />
The driver for PenMount devices can also being installed from Bashlinux repository.<br />
# yum install xorg-x11-drv-penmount-iei<br />
The name has <tt>-iei</tt> at the end to avoid confusions with the regular "non-working" rpm available in base repositories of standard Linux distributions</div>Manpazhttp://wiki.bashlinux.com/index.php?title=PenMount&diff=1265PenMount2017-02-02T17:56:48Z<p>Manpaz: /* How to setup PenMount driver on Xorg */</p>
<hr />
<div>__NOTOC__<br />
== Installation ==<br />
=== How to get PenMount driver sources ===<br />
'''Centos 5.1'''<br />
* Download the driver from PenMount website http://www.penmount.com.tw/down_2_1.php<br />
# wget http://www.penmount.com.tw/Download/Driver/PenMount/PenMount%20Fedora%20Core5_6_7%20Driver%20V2.0.zip<br />
* Pick the Fedora Core 5/6/7 driver<br />
* Unzip the file<br />
# unzip "PenMount Fedora Core5_6_7 Driver V2.0.zip"<br />
* Move the unzipped file to <tt>/usr/local</tt><br />
# mv "PenMount Fedora Core5_6_7 Driver V2.0" /usr/local/penmount<br />
* Go into the new created folder<br />
# cd /usr/local/penmount<br />
* Make executable the bash script files and binaries<br />
# chmod +x *sh pm* *calib<br />
<br />
'''Centos 5.2/5.3 - Fedora 8/9/10'''<br />
*Download the driver from PenMount website http://www.penmount.com/support_9000.htm and follow the same steps above.<br />
<br />
=== How to setup PenMount driver ===<br />
* Run the install script<br />
# ./install.sh<br />
* Follow the steps to setup the device and choose:<br />
** '''model:''' Penmount 9000<br />
** '''port:''' Serial port 4 (/dev/ttyS3)<br />
** '''baudrate:''' 19200 bps<br />
** '''beeper:''' Off<br />
** '''righ button:''' Off<br />
<br />
The output will be similar to:<br />
+----------------------------------------------------+<br />
| PenMount touch screen setup |<br />
+----------------------------------------------------+<br />
X server confguration file : /etc/X11/xorg.conf<br />
<br />
<br />
+-------------------------------+<br />
| Select PenMount model |<br />
+-------------------------------+<br />
1. PenMount 9000<br />
2. PenMount 5000<br />
3. PenMount 6000 (COM)<br />
4. PenMount 6000 (USB)<br />
Which one? (1-4) => 1<br />
<br />
>>>>> PenMount 9000<br />
<br />
+--------------------------------+<br />
| Select serial port |<br />
+--------------------------------+<br />
1. Serial port 1 (/dev/ttyS0) (default)<br />
2. Serial port 2 (/dev/ttyS1)<br />
3. Serial port 3 (/dev/ttyS2)<br />
4. Serial port 4 (/dev/ttyS3)<br />
5. Other serial port<br />
<br />
Which one? (1-5) => 4<br />
<br />
>>>>> /dev/ttyS3<br />
<br />
+--------------------------------+<br />
| Select PenMount baudrate |<br />
+--------------------------------+<br />
1. 19200 bps (default)<br />
2. 9600 bps<br />
<br />
Which one? (1-2) => 1<br />
<br />
>>>>> 19200 bps<br />
<br />
+--------------------------------+<br />
| PenMount Beeper |<br />
+--------------------------------+<br />
1. On (default)<br />
2. Off<br />
Which one? (1-2) => 2<br />
<br />
>>>>> Beeper Off<br />
<br />
+--------------------------------+<br />
| PenMount Right Button |<br />
+--------------------------------+<br />
1. On<br />
2. Off<br />
Which one? (1-2) => 2<br />
<br />
>>>>> Right Button Off<br />
<br />
+--------------------------------+<br />
| Finish |<br />
+--------------------------------+<br />
Model : PenMount 9000 series<br />
Port : /dev/ttyS3 (COM)<br />
Baud : 19200 bps<br />
Beep : OFF<br />
R-button : OFF<br />
<br />
PenMount setup finished!<br />
<br />
=== How to setup PenMount driver on Xorg ===<br />
The install script generates an input entry for the PenMount device and the configuration section for it, it could be modified by hand.<br />
<br />
The <tt>ServerLayout</tt> entry looks like:<br />
Section "ServerLayout"<br />
...<br />
InputDevice "Penmount" "AlwaysCore"<br />
EndSection<br />
And the {{InputDevice}} entry looks like:<br />
Section "InputDevice"<br />
Identifier "PenMount"<br />
Driver "penmount"<br />
Option "Protocol" "PM9000"<br />
Option "Device" "/dev/ttyS3"<br />
Option "PMode" "2"<br />
Option "MinX" "10"<br />
Option "MaxX" "1000"<br />
Option "MinY" "10"<br />
Option "MaxY" "1000"<br />
Option "ADBit" "10"<br />
Option "Baudrate" "19200"<br />
Option "Beep" "0" # 0 = no beep, 1 = beep enabled<br />
Option "PressVol" "100" # volume of beep (press event)<br />
Option "PressPitch" "880" # pitch of beep (press event)<br />
Option "PressDur" "15" # length of beep in 10ms (press event)<br />
Option "ReleaseVol" "0" # volume of beep (release event)<br />
Option "ReleasePitch" "1200" # pitch of beep (release event)<br />
Option "ReleaseDur" "10" # len of beep in 10ms (release event)<br />
Option "RightButton" "0" # right button active in ms<br />
Option "RightButtonStart" "500" # right button active in ms<br />
Option "RightButtonEnd" "900" # right button inactive in ms<br />
EndSection<br />
<br />
=== How to calibrate the PenMount touchscreen ===<br />
Just run the calibration tool telling it how many points you'd like to test, that could be 4,9,16 or 25. Suppose we want to calibrate touching only 4 points (the actual 4 screen corners), then issue the command:<br />
# /usr/local/penmount/adv-calib 4<br />
On recent versions of penmount driver the calibration tool is invoked with the command:<br />
# /usr/sbin/gCal 4<br />
<br />
== RPM Driver ==<br />
The driver for PenMount devices can also being installed from Bashlinux repository.<br />
# yum install xorg-x11-drv-penmount-iei<br />
The name has <tt>-iei</tt> at the end to avoid confusions with the regular "non-working" rpm available in base repositories of standard Linux distributions</div>Manpazhttp://wiki.bashlinux.com/index.php?title=File:AwsCertifiedDeveloper_AE.pdf&diff=1264File:AwsCertifiedDeveloper AE.pdf2016-10-29T20:02:50Z<p>Manpaz: </p>
<hr />
<div></div>Manpazhttp://wiki.bashlinux.com/index.php?title=File:AwsSysOpsAdmin_AE.pdf&diff=1263File:AwsSysOpsAdmin AE.pdf2016-09-24T20:12:55Z<p>Manpaz: </p>
<hr />
<div></div>Manpazhttp://wiki.bashlinux.com/index.php?title=File:AwsSolutionsArchitect_AE.pdf&diff=1262File:AwsSolutionsArchitect AE.pdf2016-09-24T20:12:35Z<p>Manpaz: </p>
<hr />
<div></div>Manpazhttp://wiki.bashlinux.com/index.php?title=Building_an_AMI&diff=1261Building an AMI2016-07-31T07:58:42Z<p>Manpaz: /* How to install the AMI tools */</p>
<hr />
<div>__NOTOC__<br />
=== How to install the AMI tools ===<br />
* Download the AMI Tools RPM available Amazon:<br />
wget https://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.noarch.rpm<br />
* Install the downloaded RPM:<br />
# rpm -ivh ec2-ami-tools.noarch.rpm<br />
Preparing... ########################################### [100%]<br />
1:ec2-ami-tools ########################################### [100%]<br />
<br />
* In order to isolate the resulting files create a new folder and put the image there:<br />
# mkdir /usr/local/src/EC2/bundle<br />
# mv /usr/local/src/EC2/bashlinux-general-server.fs /usr/local/src/EC2/bundle<br />
# cd /usr/local/src/EC2/bundle<br />
<br />
* Bundle the image<br />
# ec2-bundle-image -i bashlinux-general-server.fs -k pk-ABCDEFGHI1ABCDEFG2ABC3ABCD45ABC.pem -c cert-ABCDEFGHI1ABCDEFG2ABC3ABCD45ABC.pem -u 123456789012<br />
: It will splits and encrypts the image into manageable parts for upload.<br />
:* ''-i'' refers to the name of the image.<br />
:* ''-k'' refers to the <tt>Private Key</tt> file.<br />
:* ''-c'' refers to the <tt>Certificate</tt> file.<br />
:* ''-u'' refers to the <tt>User ID</tt> which is the <tt>AWS account ID</tt> without dashes.<br />
<br />
* Upload the bundle image<br />
# ec2-upload-bundle -b bashlinux -m /tmp/bashlinux-general-server.fs.manifest.xml -a <access_key> -s <secret_key><br />
:* ''-b'' refers the target bucket, use <tt>bashlinux</tt>.<br />
:* ''-m'' refers to the manifest that was created by <tt>ec2-bundle-image</tt> command and placed on <tt>/tmp</tt> folder<br />
:* ''<access_key>'' is your AWS Access Key.<br />
:* ''<secret_key>'' is your AWS Secret Key.<br />
<br />
=== How to install the EC2 API tools ===<br />
The API tools is a set of command-line executable files created in Java, them come in a zip file ready to use in both systems, Linux and Windows.<br />
* Download API tools from http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&categoryID=88<br />
* Decompress the file and place the content under /opt<br />
# cd /opt<br />
# unzip ec2-api-tools.zip<br />
* Set the environment variable for EC2 API tools<br />
# export EC2_HOME=/opt/ec2-api-tools-1.3-19403<br />
* Add the _bin_ directory of API tools to the system path<br />
# export PATH=$PATH:$EC2_HOME/bin<br />
<br />
To simplify the work environment calling the commands from anywhere in the system and avoid to write long lines to run a command we might want to set up the environment variables to have done it.<br />
<br />
=== How to setup a Private Key and Certificate for authentication ===<br />
* Place private key and certification into a secure and accessible location<br />
# mkdir -p ~/.ec2<br />
# cp /usr/local/src/EC2/bundle/pk-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem ~/.ec2<br />
# cp /usr/local/src/EC2/bundle/cert-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem ~/.ec2<br />
* Set the environment variable to allow authentication using private key and certificate<br />
# export EC2_PRIVATE_KEY=~/.ec2/pk-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem<br />
# export EC2_CERT=~/.ec2/cert-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem<br />
<br />
=== How to setup the Java environment for the API tools ===<br />
As mentioned above the API tools has been build on Java, is mandatory to have installed at least ''Java 1.5''. To be sure you have installed run the command<br />
# rpm -qa | grep jre<br />
<br />
if the command yields another version different or older than version 1.5, then you must run yum using bashlinux repository enabled<br />
yum install jre<br />
and the set the Java home environment as follows:<br />
# export JAVA_HOME=/usr/java/jre1.6.0_05<br />
<br />
'''Mac OS X users'''<br><br />
The correct path to Java home in OS X is:<br />
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home<br />
<br />
==== Putting all together ====<br />
To be sure you have exported all the environment variables in <code>~/.bashrc</code>, open the above file and add the following lines at the end of the file:<br />
export JAVA_HOME=/usr/java/jre1.6.0_05<br />
export EC2_HOME=/opt/ec2-api-tools-1.3-19403/<br />
export EC2_PRIVATE_KEY=~/.ec2/pk-PJZHCYUQ5WGEVOJCM24PAQL734TXXK5H.pem<br />
export EC2_CERT=~/.ec2/cert-PJZHCYUQ5WGEVOJCM24PAQL734TXXK5H.pem<br />
export PATH=$PATH:$EC2_HOME/bin<br />
<br />
'''Mac OS X users'''<br><br />
The file to be used is <tt>/etc/bashrc</tt> and the lines to be added at the end of the file are:<br />
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home<br />
export EC2_HOME=/opt/ec2-api-tools-1.3-19403/<br />
export EC2_PRIVATE_KEY=~/.ec2/pk-PJZHCYUQ5WGEVOJCM24PAQL734TXXK5H.pem<br />
export EC2_CERT=~/.ec2/cert-PJZHCYUQ5WGEVOJCM24PAQL734TXXK5H.pem<br />
export PATH=$PATH:$EC2_HOME/bin</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Building_an_AMI&diff=1260Building an AMI2016-07-31T07:58:31Z<p>Manpaz: /* How to install the AMI tools */</p>
<hr />
<div>__NOTOC__<br />
=== How to install the AMI tools ===<br />
* Download the AMI Tools RPM available Amazon:<br />
wget https://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.noarch.rpm<br />
* Install the downloaded RPM:<br />
# rpm -ivh ec2-ami-tools.noarch.rpm<br />
Preparing... ########################################### [100%]<br />
1:ec2-ami-tools ########################################### [100%]<br />
<br />
* In order to isolate the resulting files create a new folder and put the image there:<br />
# mkdir /usr/local/src/EC2/bundle<br />
# mv /usr/local/src/EC2/bashlinux-general-server.fs /usr/local/src/EC2/bundle<br />
# cd /usr/local/src/EC2/bundle<br />
<br />
* Bundle the image<br />
# ec2-bundle-image -i bashlinux-general-server.fs -k pk-ABCDEFGHI1ABCDEFG2ABC3ABCD45ABC.pem -c cert-ABCDEFGHI1ABCDEFG2ABC3ABCD45ABC.pem -u 123456789012<br />
: It will splits and encrypts the image into manageable parts for upload.<br />
:* ''-i'' refers to the name of the image.<br />
:* ''-k'' refers to the <tt>Private Key</tt> file.<br />
:* ''-c'' refers to the <tt>Certificate</tt> file.<br />
:* ''-u'' refers to the <tt>user ID</tt> which is the <tt>AWS account ID</tt> without dashes.<br />
<br />
* Upload the bundle image<br />
# ec2-upload-bundle -b bashlinux -m /tmp/bashlinux-general-server.fs.manifest.xml -a <access_key> -s <secret_key><br />
:* ''-b'' refers the target bucket, use <tt>bashlinux</tt>.<br />
:* ''-m'' refers to the manifest that was created by <tt>ec2-bundle-image</tt> command and placed on <tt>/tmp</tt> folder<br />
:* ''<access_key>'' is your AWS Access Key.<br />
:* ''<secret_key>'' is your AWS Secret Key.<br />
<br />
=== How to install the EC2 API tools ===<br />
The API tools is a set of command-line executable files created in Java, them come in a zip file ready to use in both systems, Linux and Windows.<br />
* Download API tools from http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&categoryID=88<br />
* Decompress the file and place the content under /opt<br />
# cd /opt<br />
# unzip ec2-api-tools.zip<br />
* Set the environment variable for EC2 API tools<br />
# export EC2_HOME=/opt/ec2-api-tools-1.3-19403<br />
* Add the _bin_ directory of API tools to the system path<br />
# export PATH=$PATH:$EC2_HOME/bin<br />
<br />
To simplify the work environment calling the commands from anywhere in the system and avoid to write long lines to run a command we might want to set up the environment variables to have done it.<br />
<br />
=== How to setup a Private Key and Certificate for authentication ===<br />
* Place private key and certification into a secure and accessible location<br />
# mkdir -p ~/.ec2<br />
# cp /usr/local/src/EC2/bundle/pk-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem ~/.ec2<br />
# cp /usr/local/src/EC2/bundle/cert-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem ~/.ec2<br />
* Set the environment variable to allow authentication using private key and certificate<br />
# export EC2_PRIVATE_KEY=~/.ec2/pk-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem<br />
# export EC2_CERT=~/.ec2/cert-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem<br />
<br />
=== How to setup the Java environment for the API tools ===<br />
As mentioned above the API tools has been build on Java, is mandatory to have installed at least ''Java 1.5''. To be sure you have installed run the command<br />
# rpm -qa | grep jre<br />
<br />
if the command yields another version different or older than version 1.5, then you must run yum using bashlinux repository enabled<br />
yum install jre<br />
and the set the Java home environment as follows:<br />
# export JAVA_HOME=/usr/java/jre1.6.0_05<br />
<br />
'''Mac OS X users'''<br><br />
The correct path to Java home in OS X is:<br />
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home<br />
<br />
==== Putting all together ====<br />
To be sure you have exported all the environment variables in <code>~/.bashrc</code>, open the above file and add the following lines at the end of the file:<br />
export JAVA_HOME=/usr/java/jre1.6.0_05<br />
export EC2_HOME=/opt/ec2-api-tools-1.3-19403/<br />
export EC2_PRIVATE_KEY=~/.ec2/pk-PJZHCYUQ5WGEVOJCM24PAQL734TXXK5H.pem<br />
export EC2_CERT=~/.ec2/cert-PJZHCYUQ5WGEVOJCM24PAQL734TXXK5H.pem<br />
export PATH=$PATH:$EC2_HOME/bin<br />
<br />
'''Mac OS X users'''<br><br />
The file to be used is <tt>/etc/bashrc</tt> and the lines to be added at the end of the file are:<br />
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home<br />
export EC2_HOME=/opt/ec2-api-tools-1.3-19403/<br />
export EC2_PRIVATE_KEY=~/.ec2/pk-PJZHCYUQ5WGEVOJCM24PAQL734TXXK5H.pem<br />
export EC2_CERT=~/.ec2/cert-PJZHCYUQ5WGEVOJCM24PAQL734TXXK5H.pem<br />
export PATH=$PATH:$EC2_HOME/bin</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Building_an_AMI&diff=1259Building an AMI2016-07-31T07:57:29Z<p>Manpaz: /* How to install the AMI tools */</p>
<hr />
<div>__NOTOC__<br />
=== How to install the AMI tools ===<br />
* Download the AMI Tools RPM available Amazon:<br />
wget https://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.noarch.rpm<br />
* Install the downloaded RPM:<br />
# rpm -ivh ec2-ami-tools.noarch.rpm<br />
Preparing... ########################################### [100%]<br />
1:ec2-ami-tools ########################################### [100%]<br />
<br />
* In order to isolate the resulting files create a new folder and put the image there:<br />
# mkdir /usr/local/src/EC2/bundle<br />
# mv /usr/local/src/EC2/bashlinux-general-server.fs /usr/local/src/EC2/bundle<br />
# cd /usr/local/src/EC2/bundle<br />
<br />
* Bundle the image<br />
# ec2-bundle-image -i bashlinux-general-server.fs -k pk-ABCDEFGHI1ABCDEFG2ABC3ABCD45ABC.pem -c cert-ABCDEFGHI1ABCDEFG2ABC3ABCD45ABC.pem -u 123456789012<br />
: It will splits and encrypts the image into manageable parts for upload.<br />
:* ''-i'' refers to the name of the image.<br />
:* ''-k'' refers to the <tt>Private Key</tt> file.<br />
:* ''-c'' refers to the <tt>Certificate</tt> file.<br />
:* ''-u'' refers to the <tt>user ID</tt> that is the <tt>AWS account</tt> ID without dashes.<br />
<br />
* Upload the bundle image<br />
# ec2-upload-bundle -b bashlinux -m /tmp/bashlinux-general-server.fs.manifest.xml -a <access_key> -s <secret_key><br />
:* ''-b'' refers the target bucket, use <tt>bashlinux</tt>.<br />
:* ''-m'' refers to the manifest that was created by <tt>ec2-bundle-image</tt> command and placed on <tt>/tmp</tt> folder<br />
:* ''<access_key>'' is your AWS Access Key.<br />
:* ''<secret_key>'' is your AWS Secret Key.<br />
<br />
=== How to install the EC2 API tools ===<br />
The API tools is a set of command-line executable files created in Java, them come in a zip file ready to use in both systems, Linux and Windows.<br />
* Download API tools from http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351&categoryID=88<br />
* Decompress the file and place the content under /opt<br />
# cd /opt<br />
# unzip ec2-api-tools.zip<br />
* Set the environment variable for EC2 API tools<br />
# export EC2_HOME=/opt/ec2-api-tools-1.3-19403<br />
* Add the _bin_ directory of API tools to the system path<br />
# export PATH=$PATH:$EC2_HOME/bin<br />
<br />
To simplify the work environment calling the commands from anywhere in the system and avoid to write long lines to run a command we might want to set up the environment variables to have done it.<br />
<br />
=== How to setup a Private Key and Certificate for authentication ===<br />
* Place private key and certification into a secure and accessible location<br />
# mkdir -p ~/.ec2<br />
# cp /usr/local/src/EC2/bundle/pk-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem ~/.ec2<br />
# cp /usr/local/src/EC2/bundle/cert-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem ~/.ec2<br />
* Set the environment variable to allow authentication using private key and certificate<br />
# export EC2_PRIVATE_KEY=~/.ec2/pk-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem<br />
# export EC2_CERT=~/.ec2/cert-HKZYKTAIG2ECMXYIBH3HXV4ZBZQ55CLO.pem<br />
<br />
=== How to setup the Java environment for the API tools ===<br />
As mentioned above the API tools has been build on Java, is mandatory to have installed at least ''Java 1.5''. To be sure you have installed run the command<br />
# rpm -qa | grep jre<br />
<br />
if the command yields another version different or older than version 1.5, then you must run yum using bashlinux repository enabled<br />
yum install jre<br />
and the set the Java home environment as follows:<br />
# export JAVA_HOME=/usr/java/jre1.6.0_05<br />
<br />
'''Mac OS X users'''<br><br />
The correct path to Java home in OS X is:<br />
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home<br />
<br />
==== Putting all together ====<br />
To be sure you have exported all the environment variables in <code>~/.bashrc</code>, open the above file and add the following lines at the end of the file:<br />
export JAVA_HOME=/usr/java/jre1.6.0_05<br />
export EC2_HOME=/opt/ec2-api-tools-1.3-19403/<br />
export EC2_PRIVATE_KEY=~/.ec2/pk-PJZHCYUQ5WGEVOJCM24PAQL734TXXK5H.pem<br />
export EC2_CERT=~/.ec2/cert-PJZHCYUQ5WGEVOJCM24PAQL734TXXK5H.pem<br />
export PATH=$PATH:$EC2_HOME/bin<br />
<br />
'''Mac OS X users'''<br><br />
The file to be used is <tt>/etc/bashrc</tt> and the lines to be added at the end of the file are:<br />
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home<br />
export EC2_HOME=/opt/ec2-api-tools-1.3-19403/<br />
export EC2_PRIVATE_KEY=~/.ec2/pk-PJZHCYUQ5WGEVOJCM24PAQL734TXXK5H.pem<br />
export EC2_CERT=~/.ec2/cert-PJZHCYUQ5WGEVOJCM24PAQL734TXXK5H.pem<br />
export PATH=$PATH:$EC2_HOME/bin</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Raidcfg&diff=1258Raidcfg2016-07-31T07:52:45Z<p>Manpaz: </p>
<hr />
<div>__NOTOC__<br />
== Setup ==<br />
=== How to install raidcfg ===<br />
'''CentOS'''<br />
yum install raidcfg<br />
'''Ubuntu'''<br />
apt-get install raidcfg<br />
<br />
== Commands ==<br />
=== How to list the controller info ===<br />
# /opt/dell/toolkit/bin/raidcfg -ctrl -c=0<br />
<br />
=== How to list all virtual disks in all the controllers ===<br />
# /opt/dell/toolkit/bin/raidcfg -vd<br />
<br />
=== How to list all physical disks in all the controllers ===<br />
# /opt/dell/toolkit/bin/raidcfg -pd -c=0<br />
<br />
=== How to blinks/unblink physical disk NN in controller 0 ===<br />
# /opt/dell/toolkit/bin/raidcfg -pd -ad=0:NN:1 -ac=<blink|unblink> -c=0<br />
<br />
=== How to clear foreing configuration on controller ===<br />
# /opt/dell/toolkit/bin/raidcfg -ctrl -c=0 -ac=fgnclr<br />
<br />
=== How to assign disk NN as global hot spare ===<br />
# /opt/dell/toolkit/bin/raidcfg -ctrl -ac=sghs -c=0 -pd=0:NN:1<br />
<br />
=== How to set disk NN state to online ===<br />
# /opt/dell/toolkit/bin/raidcfg -pd -ac=online -pd=0:NN:1 -c=0</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Electronics_providers&diff=1257Electronics providers2016-07-31T07:50:34Z<p>Manpaz: /* End product */</p>
<hr />
<div>__NOTOC__<br />
This page contains providers of parts for minor production, PCB manufacture and assembly<br />
== Parts ==<br />
=== Testing ===<br />
Low price parts and components with good enough quality.<br />
* [http://www.futurlec.com Futurlec] from Australia, usually is $4 shipping and is delivered in about 10 days.<br />
* [http://www.taydaelectronics.com Tayda Electronics] from China, shipping is about $2 and is delivered in 1 week.<br />
The only bad thing is after first purchase they continually send promos by mail on daily basis.<br />
* [http://www.goldmine-elec.com Electronics Goldmine] Cheaper bulk electronics<br />
* [http://www.allelectronics.com All Electronics] Local store but also allow to place online orders.<br />
=== End product ===<br />
Usually this parts are more expensive but high quality<br />
* [http://www.digikey.com Digi-Key]<br />
* [http://www.mouser.com Mouser]<br />
* [http://www.mcmelectronics.com MCM Electronics]<br />
<br />
== PCB ==<br />
* [https://www.sunstone.com Sunstone Circuits] Small boards in small quantities, usually less than $100.<br />
* [http://www.pcbnet.com PCBnet] 2 Layers $25 each - 4 Layers $50 each. Even 1 piece is Ok - No Tooling</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Cubox-i&diff=1256Cubox-i2016-07-06T18:31:09Z<p>Manpaz: /* Hpw to enable OpenGL suport */</p>
<hr />
<div>__NOTOC__<br />
Prefered Linux Distribution: Debian<br />
<br />
== Image setup ==<br />
=== How to setup an image ===<br />
* Extract the image<br />
# unxz <image name>.img.xz<br />
* Transfer the image<br />
# dd bs=4k conv=fsync if=<image name>.img of=/dev/sdb<br />
<br />
== OS Setup ==<br />
<br />
==== DVI Support ====<br />
<br />
=== How to enable HDMI Support ===<br />
The default imagest doesn't support HDMI-DVI converters<br><br />
'''REFERENCE:''' http://boundarydevices.com/dvi-support-on-i-mx6-boards<br />
<br />
* In order so setup a fixed resolution, add to <tt>>uEnv.txt</tt><br />
video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32<br />
Otherwise the best higher resolution will be choosen.<br />
<br />
=== How to enable OpenGL suport ===<br />
Kind of message like this<br />
libEGL warning: DRI2: failed to authenticate<br />
[ error ] ofAppGLFWWindow: 65544: X11: RandR gamma ramp support seems broken<br />
X Error of failed request: BadMatch (invalid parameter attributes)<br />
Major opcode of failed request: 72 (X_PutImage)<br />
Serial number of failed request: 120<br />
Current serial number in output stream: 121<br />
Can be solved updating all the mesa packages to the same version<br />
# apt-get install libopenvg1-mesa libgl1-mesa-dri libgl1-mesa-dev libgbm1<br />
<br />
=== How to build Mesa video drivers on a new kernel ===<br />
'''Reference:''' http://www.solid-run.com/community/viewtopic.php?f=8&t=851<br />
<br />
* Get the latest open source driver<br />
# git clone https://github.com/laanwj/etna_viv<br />
<br />
* Build the driver<br />
# cd etna_viv<br />
# export GCABI=imx6_v4_1_0<br />
# make<br />
<br />
* Get the mesa fork for the library generated above: <tt>libetnaviv.a</tt><br />
# git clone https://github.com/laanwj/mesa<br />
<br />
* Install dependencies to build the mesa driver<br />
# apt-get -y install x11proto-dri3-dev x11proto-present-dev<br />
<br />
* Configure the mesa driver<br />
:* First pass to try to trick the intel drivers<br />
# cd mesa<br />
#./autogen.sh --with-driver=dri INTEL_CFLAGS=disable INTEL_LIBS=disable<br />
<br />
:* Second pass to enable etnaviv<br />
# cat > build.sh << EOF<br />
export ETNAVIV_BASE="/mnt/build/kernel/video/etna_viv/"<br />
export ETNAVIV_LIB="${ETNAVIV_BASE}/src/etnaviv" # important!<br />
export ETNAVIV_INC="${ETNAVIV_BASE}/src" # important!<br />
<br />
export CFLAGS="-I${ETNAVIV_INC}"<br />
export CXXFLAGS="-I${ETNAVIV_INC}"<br />
export LDFLAGS="-L${ETNAVIV_LIB}"<br />
<br />
export ETNA_LIBS="-letnaviv" # important!<br />
<br />
./configure --prefix=/usr --with-driver=dri \<br />
--enable-gles2 --enable-gles1 --disable-glx --enable-egl --enable-dri \<br />
--with-gallium-drivers=swrast,etna --with-egl-platforms=fbdev \<br />
--enable-gallium-egl --with-dri-drivers=<br />
EOF<br />
# bash build.sh<br />
<br />
* Build the mesa driver<br />
# make<br />
<br />
* Install the mesa driver<br />
# sudo make install<br />
<br />
* Build kernel module<br />
# cd /lib/modules/3.14.14+/build<br />
# make modules_prepare<br />
# cd /mnt/build/kernel/video/etna_viv/kernel_drivers/imx6_v4_0_0<br />
# make -C /lib/modules/`uname -r`/build M=$PWD<br />
<br />
* Get the sources from http://repository.timesys.com/buildsources/<br />
<br />
=== How to build Xorg video drivers ===<br />
* Setup the dependencies<br />
# git clone git://ftp.arm.linux.org.uk/~rmk/libdrm-armada.git/<br />
# cd libdrm-armada<br />
# autoreconf --install<br />
# ./configure --prefix=/usr<br />
# make & sudo make install<br />
<br />
* Get the sources<br />
# git clone http://ftp.arm.linux.org.uk/cgit/xf86-video-armada.git<br />
<br />
* Build the driver<br />
# cd xf86-video-armada<br />
<br />
# export ETNAVIV_BASE="/mnt/build/kernel/video/etna_viv"<br />
# export ETNAVIV_LIB="${ETNAVIV_BASE}/src/etnaviv"<br />
# export ETNAVIV_INC="${ETNAVIV_BASE}/src"<br />
<br />
# ./autogeh.sh --with-etnaviv-include=$ETNAVIV_INC --with-etnaviv-lib=$ETNAVIV_LIB --with-libgal-include=$ETNAVIV_INC/include_imx6_v4_1_0 --with-libgal-lib=/usr/lib<br />
# make</div>Manpazhttp://wiki.bashlinux.com/index.php?title=File:Logo.png&diff=1255File:Logo.png2016-06-10T06:23:38Z<p>Manpaz: Logo banner</p>
<hr />
<div>Logo banner</div>Manpazhttp://wiki.bashlinux.com/index.php?title=Distcc&diff=1254Distcc2016-05-28T08:15:15Z<p>Manpaz: Created page with "=== Install distcc === In both Target(ARM) and Cross-Compiler(i686,x86_64) node setup distcc * Install distcc dependencies apt-get -y install subversion autoconf automake py..."</p>
<hr />
<div>=== Install distcc ===<br />
In both Target(ARM) and Cross-Compiler(i686,x86_64) node setup distcc<br />
<br />
* Install distcc dependencies<br />
apt-get -y install subversion autoconf automake python python-dev binutils-dev libgtk2.0-dev<br />
<br />
* Install libiberty<br />
:* Raspberry Pi (ARMv6l)<br />
cd /usr/local/src<br />
wget http://archive.raspbian.org/raspbian/pool/main/libi/libiberty/libiberty-dev_20141014-1_armhf.deb<br />
dpkg -i libiberty-dev_20141014-1_armhf.deb<br />
:* Cubox-i (ARMv7l)<br />
apt-get -y install libiberty-dev<br />
* Configure distcc<br />
cd /usr/src<br />
svn checkout http://distcc.googlecode.com/svn/trunk/ distcc<br />
cd distcc <br />
./autogen.sh<br />
./configure --with-gtk<br />
<br />
* Remove warning for unused varieables<br />
sed -i -e '/^WERROR_CFLAGS/s/=/= -Wno-unused-variable/' Makefile<br />
<br />
* Build and install distcc from sources<br />
make && sudo make install<br />
<br />
'''On the Target (ARM)'''<br />
* Masquerade the proper compilers<br />
ln -s /usr/local/bin/distcc /usr/local/bin/gcc<br />
ln -s /usr/local/bin/distcc /usr/local/bin/cc<br />
ln -s /usr/local/bin/distcc /usr/local/bin/g++<br />
ln -s /usr/local/bin/distcc /usr/local/bin/c++<br />
ln -s /usr/local/bin/distcc /usr/local/bin/cpp<br />
<br />
* Fix the path to search on /usr/local before anything else, usually this could be done in /etc/profile<br />
<br />
* Setup distcc parameters at /etc/profile.d/distcc.sh<br />
# The remote machines that will build things for you.<br />
# Don't put the ip of the Pi unless you want the Pi to take part to the build process.<br />
# The syntax is : "IP_ADDRESS/NUMBER_OF_JOBS IP_ADDRESS/NUMBER_OF_JOBS" ...<br />
# The documentation states that your should set the number of jobs per machine to <br />
# its number of processors.<br />
# jeremy-nicola.info advises to set it to twice as much.<br />
export DISTCC_HOSTS="192.168.0.5/4"<br />
<br />
# When a job fails, distcc backs off the machine that failed for some time.<br />
# We want distcc to retry immediately<br />
export DISTCC_BACKOFF_PERIOD=0<br />
<br />
# Time, in seconds, before distcc throws a DISTCC_IO_TIMEOUT error and tries to build the file<br />
# locally ( default hardcoded to 300 in version prior to 3.2 )<br />
export DISTCC_IO_TIMEOUT=3000<br />
<br />
# Don't try to build the file locally when a remote job failed<br />
export DISTCC_SKIP_LOCAL_RETRY=1<br />
<br />
'''On the Cross-Compiler system (i686,x86_64)'''<br />
* Start distccd service<br />
export DISTCCD_PATH=/opt/crosstool-ng/tools/arm-bashlinux-linux-gnueabihf/arm-bashlinux-linux-gnueabihf/bin<br />
distccd --daemon --jobs 4 --allow 192.168.0.4 --verbose --log-stderr --no-detach<br />
<br />
REF: http://jeremy-nicola.info/portfolio-item/cross-compilation-distributed-compilation-for-the-raspberry-pi/</div>Manpaz