SMD Probe Case

By ctherouxNo Comments
view3

“SMD Probe Case” is now available. More details at SMD Probe Case.

3D Printing, object

Business Cards And Credit Cards Storage Box

By ctherouxNo Comments
view1

“Business Cards And Credit Cards Storage Box” is now available. More details at Business Cards And Credit Cards Storage Box.

3D Printing, object

Octoprint and Cura Disk Image for the Raspberry Pi (Version 2015-03-15)

By ctheroux1 Comment

Cura integrated with Octoprint brings your 3D printer to the next level. You can download from HERE a fully functional image of Cura integrated with Octoprint. Simply copy this image to an SD-card of 4GB or more. Instruction to copy an image on an SD-card is given on this PAGE. You will need to unzip this file prior copying the image to the SD-card.

A 4 GB SD-card will give you about 1.2 GB of free space to upload your models after expanding the filesystem. Be aware that some folders are hidden. Make sure you display them.

This image is based on the following:

  • http://docstech.net/OctoPiMirror/2015-01-31-octopi-0.11.0.zip
  • https://github.com/foosel/OctoPrint/wiki/Cura-Integration (2015-03-15 version)
  • https://github.com/Ultimaker/CuraEngine.git (2015-03-15 version)

This image is fully functional. Nevertheless, the following might need to be done.

  1. Logon to the Raspberry Pi. Issue the command sudo raspi-config. You may wish to expand the filesystem (Option 1) and change the memory split to 64 (Option 8 > A3).
  2. Modify the settings as needed on another computer with Cura installed. Save them as CuraConfig.ini by going to File > Save Profile. Replace the content of /home/pi/Cura/config/CuraConfig.ini (on the SD-card) with the content of the saved CuraConfig.ini file.
  3. Copy the file preferences.ini located on the computer (located in ~/.cura/[version]/ if using Linux) to /home/pi/.cura/dev/preferences.ini on the SD-car.
  4. Set up a fixed IP address to the Raspberry Pi. Instruction can be found HERE.
  5. Change the default password for the user pi. Instruction can be found HERE.
  6. Enable the access control of Octoprint. To do so, edit /home/pi/.octoprint/config.yaml. Set accessControl: enabled to true and server: firstRun to true and reboot the Raspberry Pi running Octoprint.
3D Printing, Cura, Octoprint, Raspberry PI, Wheezy

Fume Extractor

By ctherouxNo Comments
view2

“Fume Extractor” is now available. More details at Fume Extractor.

3D Printing, object

Aluminium Extrusion Led Strip Holder

By ctherouxNo Comments
view1

“Aluminium Extrusion Led Strip Holder” is now available. More details at Aluminium Extrusion Led Strip Holder.

3D Printing, object

Fan Holder for Aluminium Extrusion (New Design)

By ctherouxNo Comments
view1

“Fan Holder for Aluminium Extrusion (New Design)” is now available. More details at Fan Holder for Aluminium Extrusion (New Design).

3D Printing, object

Aluminium Extrusion Fan Holder

By ctherouxNo Comments
view1

“Aluminium Extrusion Fan Holder” is now available. More details at Aluminium Extrusion Fan Holder.

3D Printing, object

Terminal Block Holder for Aluminium Extrusion

By ctherouxNo Comments
view2

“Terminal Block Holder for Aluminium Extrusion” is now available. More details at Terminal Block Holder for Aluminium Extrusion.

3D Printing, object

3D Printing ABS Juice

By ctherouxNo Comments

ABS juice makes the first layer of a print stick very well to the print bed. Put a small quantity of ABS juice on a paper towel and rub it gently on the printing bed. Making ABS juice is simple. In order to do so, you will need:

  • At least 250 ml of pure acetone
  • 30 cm of 3 mm ABS filament OR 90 cm of 1.75 mm ABS filament
  • An acetone safe container with a cap

Cut the ABS filament in small pieces of 1 to 2 cm. Put 250 ml of acetone in the container. Put the filament into the container. Put the cap on and shake the bottle for a few seconds. Let it sit there overnight. The ABS will dissolve completely. Shake the bottle before using it. 250 ml is plenty for many prints.

3D Printing, ABS

How to Install libnfc for PN532 NFC Readers on Linux

By adminNo Comments

Installing libnfc for PN532 based NFC reader is not exactly as described in the documentation. Some information is scattered in the documentation. This installation guide has been tested with the GO2NFC GO2NFC141U NFC Reader and the Adafruit PN532 NFC/RFID controller breakout board.

1) Install the dependencies:

sudo apt-get install libusb-0.1-4 libusb-dev libpcsclite1 libpcsclite-dev libccid pcscd

2) Create the configuration directory

sudo mkdir -p /etc/nfc/devices.d/

3) Create the file /etc/nfc/devices.d/pn532_uart.conf containing

name = "PN532 board via UART"
connstring = pn532_uart:/dev/ttyACM0
allow_intrusive_scan = true

Replace ttyACM0 with ttyUSB0 if you are using the Adafruit reader.

5) Create the file /etc/nfc/libnfc.conf containing

allow_autoscan = true

6) Download the libnfc library at https://bintray.com/nfc-tools/sources/libnfc. Decompress the archive somewhere. Go into the libnfc-x.x.x directory.

7) Build the library

sudo ./configure --sysconfdir=/etc --prefix=/usr --with-drivers=pn532_uart
sudo make
sudo make install

8) Test your installation. Execute the command utils/nfc-scan-device. You should get an output similar to this one:

nfc-scan-device uses libnfc 1.7.1
1 NFC device(s) found:
- pn532_uart:/dev/ttyACM0:
pn532_uart:/dev/ttyACM0

GO2NFC, Linux, PN532, Ubuntu, Ubuntu 11.04, Ubuntu 11.10, Ubuntu 12.04, Ubuntu 14.04

How To Setup an Internet Gateway using Ubuntu

By ctherouxNo Comments

Setting up an Internet Gateway using Ubuntu is pretty straight forward. In order to do so, you will need:

  1. A computer with two network interfaces. One hooked to your WAN connection, the other one to your LAN.
  2. The computer needs Ubuntu installed with a minimum of software installed.
  3. Copy the script below to your gateway machine in /etc/network/if-up.d/00-my-gateway. Make sure that the script has the execute permission.
  4. Update the LAN and WAN variables in the script. For example, if eth0 is your WAN interface and eth1 is your LAN interface, then set WAN=eth0 and LAN=eth1.
  5. Reboot.

This script configures the Ubuntu Firewall to forward LAN traffic to the Internet but drops all unsolicited incoming traffic from the Internet. Your network will be stealth. You can use the online tool ShiedlsUP! at https://www.grc.com to test it.


#!/bin/bash

PATH=/usr/sbin:/sbin:/bin:/usr/bin

# Interfaces
LAN=lan
WAN=wan

#
# Delete all existing rules.
#
iptables -F
iptables -t nat -F
iptables -t mangle -F
iptables -X

# Enable routing.
echo 1 > /proc/sys/net/ipv4/ip_forward

# Loopback traffic.
iptables -A INPUT -i lo -j ACCEPT

# Allow established connections.
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -m state --state NEW -i $LAN -j ACCEPT
iptables -A FORWARD -i $WAN -o $LAN -m state --state ESTABLISHED,RELATED -j ACCEPT

# Allow connections from the $LAN to the $WAN.
iptables -A FORWARD -i $LAN -o $WAN -j ACCEPT

# Enable masquerading.
iptables -t nat -A POSTROUTING -o $WAN -j MASQUERADE

# No forwarding from the $WAN to the $LAN.
iptables -A FORWARD -i $WAN -o $WAN -j DROP

# Drop everything else from the WAN ... Stealth mode.
iptables -A INPUT -i $WAN -j DROP

Linux, Networking, Ubuntu, Ubuntu 11.04, Ubuntu 11.10, Ubuntu 12.04, Ubuntu 14.04

SYSTEM WARNING: session_start()…No such file or directory.

By ctherouxNo Comments

When installing Mantis in a shared hosting environment, you may get an error message like this one on the Mantis login panel:

SYSTEM WARNING: session_start() [function.session-start]: open(/var/php_sessions/sess_ac5acafaecb612345675d30123456789, O_RDWR) failed: No such file or directory (2)

This message is likely caused by the fact that /var/php_sessions/ is not accessible. It can be resolved by adding to the config_inc.php file the following line
$g_session_save_path = '/home/users/web/b880/ipw.myaccount/sessions';.

Replace the path above by one accessible by your environment.

Mantis, PHP

How to rotate or flip a video?

By ctherouxNo Comments

This can be easily done using HandBrake. Simply add the following option in the tab VIDEO in the EXTRA OPTIONS box:

, --rotate=n

Take note that the comma and the space following it are required.

n can take one of these values:
1 = x flip
2 = y flip
3 = 180 degrees rotate (DEFAULT)
4 = 90 degrees rotate (clockwise)
5 = 90 degrees rotate + y flip
6 = 270 degrees rotate + y flip
7 = 270 degrees rotate

Handbrake, Video

Installing memcached to use it with php

By ctherouxNo Comments

Installing Memcached with php support in Ubuntu is a matter of a few steps:

sudo apt-get install memcached php5-memcached
sudo service apache2 restart

You can test if memcached is active by running this command:
echo "stats settings" | nc localhost 11211
You will end up with a response like this one:

STAT maxbytes 67108864
STAT maxconns 1024
STAT tcpport 11211
STAT udpport 11211
STAT inter 127.0.0.1

STAT item_size_max 1048576
STAT maxconns_fast no
STAT hashpower_init 0
STAT slab_reassign no
STAT slab_automove 0
END

apache, memcache, PHP, Ubuntu, Ubuntu 11.04, Ubuntu 11.10, Ubuntu 12.04, Ubuntu 14.04, Unix

Logic Probe Case

By ctherouxNo Comments
view2

“Logic Probe Case” is now available. More details at Logic Probe Case.

3D Printing, object

Octoprint and Cura Disk Image for the Raspberry Pi

By ctherouxNo Comments

A newer version is available HERE

Cura integrated with Octoprint brings your 3D printer to the next level. You can download from HERE a fully functional image of Cura integrated with Octoprint. Simply copy this image to an SD-card of 4GB or more. Instruction to copy an image on an SD-card is given on this PAGE. You will need to unzip this file prior copying the image to the SD-card.

A 4 GB SD-card will give you about 1.2 GB of free space to upload your models after expanding the filesystem. Be aware that some folders are hidden. Make sure you display them.

This image is based on the following:

  • http://docstech.net/OctoPiMirror/2014-09-09-wheezy-octopi-0.10.0.zip
  • https://github.com/foosel/OctoPrint/wiki/Cura-Integration (2015-01-05 version)

This image is fully functional. Nevertheless, the following might need to be done.

  1. Logon to the Raspberry Pi. Issue the command sudo raspi-config. You may wish to expand the filesystem (Option 1) and change the memory split to 64 (Option 8 > A3).
  2. Modify the settings as needed on another computer with Cura installed. Save them as CuraConfig.ini by going to File > Save Profile. Replace the content of /home/pi/Cura/config/CuraConfig.ini (on the SD-card) with the content of the saved CuraConfig.ini file.
  3. Copy the file preferences.ini located on the computer (located in ~/.cura/[version]/ if using Linux) to /home/pi/.cura/dev/preferences.ini on the SD-car.
  4. Set up a fixed IP address to the Raspberry Pi. Instruction can be found HERE.
  5. Change the default password for the user pi. Instruction can be found HERE.
  6. Enable the access control of Octoprint. To do so, edit /home/pi/.octoprint/config.yaml. Set accessControl: enabled to true and server: firstRun to true and reboot the Raspberry Pi running Octoprint.
3D Printing, Cura, Raspberry PI, Wheezy

Another Prusa i3 Filament Guide

By ctherouxNo Comments

“Another Prusa i3 Filament Guide” is now available. More details at Another Prusa i3 Filament Guide.

v3view2

3D Printing, object

Fan Stand

By ctherouxNo Comments

A “Fan Stand” is now available. More details at Fan Stand.

view1

3D Printing, object

Two USB Cables Holder

By ctherouxNo Comments

A “Two USB Cables Holder” is now available. More details at Two USB Cables Holder.

view2

3D Printing, object

Dremel Extension Shaft Holder

By ctherouxNo Comments

A “Dremel Extension Shaft Holder” is now available. More details at Dremel Extension Shaft Holder.

view1

3D Printing, object
Blue Taste Theme created by Jabox