Recycling Workshop

Binary Ethics – Binario Etico(Italian)

Introduction

Binary Ethics based some 50Km from Rome (no don’t ask me which direction), are calling for participants for a ten day long workshop covering the Ethical disposal or reuse of old redundant computers and their like.

Below is an email I received from Alessandra at Furtherfield an organisation SoSLUG has some association with in the past.

Hi Derek

How are you?

Some friends from Binario Etico in Italy have been awarded some EU funding to run a project that looks at recycling, repairing and
reusing computers to change our consumption habits. http://www.binarioetico.org/index.php?option=com_content&task=view&id=188&Itemid=5

They are currently looking for participants from the UK (all expenses covered by the fund) and I thought you might help spread the
news. All the workshops will focus on the use of recycled technology and FOSS.

Attached is the call out and more info about the project.

Hope you’ll be able to help.

Thanks.

best

Alessandra

Alessandra Scapin
Furtherfield Producer

Furtherfield – A living, breathing, thriving network
http://www.furtherfield.org – for art, technology and social change since 1997

Furtherfield
Furtherfield Gallery, McKenzie Pavilion
Finsbury Park, London N4 2NQ
T +44(0)208 802 2827
M +44(0)7717 887923
www.furtherfield.org

Furtherfield is a Not-for-Profit Company limited by Guarantee registered
in England and Wales under the Company No.7005205. Registered business
address: Ballard Newman, Apex House, Grand Arcade, Tally Ho Corner, London N12 0EH.

Binary Ethics Workshop

Now I have already sent an email via our newsletter but if you didn’t get it for whatever reason you can ferret out all the info here or the attached links. Now as far as I know all accommodation, food and travel is funded but you will need to get to the organisation in order for your travel expenses to be refunded. Below are the attachments that came with the email I am happy to answer any questions I can please contact derek@soslug.org.

Author: Derek Shaw - Page reference: 4135
Last modified: Alan Campion - 2015-01-24

Categories: Uncategorised Tags: , ,

Number of comments: 0

Robot Johnny 5

Intro Johnny 5 is coming Alive

The Project is to create a robot ( Johnny 5 ). A driven 3 wheeled, talking robot. Software Os – Ubuntu 13.10 ( Programming Lag ) Python – pip pyTTS: Python Text-to-Speech

Author: Derek Shaw - Page reference: 2090
Last modified: Derek Shaw - 2015-01-20

Categories: Uncategorised

Number of comments: 0

Vanity Bitcoin Address Generator

Vanity Address Generator

Introduction

“Vanitgen” is an interesting program if you are in any way interested in the development and fulfillment of the Bitcoin industry. The Bitcoin currency system utilises a wallet system that can generate a unique 56 Bit random number to receive currency transfers or payments. All address bits of this type start with a single prefix “1” plus a continuous random sequence of 55 additional alpha numeric characters that comprise of a Public and Private address that form the Bitcoin address system, not the Bitcoin currency itself. Many such address are complex, unreadable if not unpronounceable. It’s purpose is to provide a unique address no one else is using to identify the recipient with whom the Bitcoins are intended. Vanitygen on the other hand intention is to exploit these unique codes and identify or in some other way produce generated sequences that match a preferred vanity word you have chosen, these vanity words can appear directly after the “1” or any variation there on after using regular expression locating the vanity string anywhere in the key, these then are used within your Bitcoin wallets usually by importing the key or keys.

Random keys are not very impressive in themselves so how would it be if you could use a word within generated keys that personalise that key, a bit like a personalised number plate for a car. So if you were a Jaguar dealer for example and you had clients that would pay you the value of a car in Bitcoins you might be interested in sending them your Public key that just might look a bit like this.

eg 1JaguarqyMHHqnDPRSfiZ5GXJ8Gk9dbjL providing a personalised address

Alternatively, vanitygen can be used to generate random addresses offline. Vanitygen accepts as input a pattern, or list of patterns to search for, and produces a list of addresses and private keys. Vanitygen’s search is probabilistic, and the amount of time required to find a given pattern depends on how complex the pattern is, the speed of your computer, and whether you get lucky.

You might liken “Vanitygen” to a fruit machine used for gambling on these machine you can lock the wheels and load your chances by selecting Bells, Fruit, Numbers or Bars. Your chances or odds are slightly better in Vanitygen because sooner or later you will obtain your desired address but the longer the vanity name the longer it may take to solve. If it does cost you something at least it is not money it is that it cost’s you machine time.

Prerequisites

In order to run “Vanitygen” from the command line you will need to install some additional specific installation dependencies.

># sudo apt-get update
># sudo apt-get upgrade
># sudo apt-get install build-essential git libssl-dev libpcre3-dev

The above only installs the programs dependencies and must be followed in order work. You now have to download the git repository that contains the files required using the following command line.

># cd Downloads ># git clone https://github.com/samr7/vanitygen.git

We do suggest that you take take all the standard precautions when downloading this sequence of files and that you have switched to the directory where you expect to find the downloaded files. Vanitygen should work on most Linux ditros available however please read all accompanying supporting information provided by the program developer, and understand what is expected of you. This program does work on Ubuntu 12.04 in the manner described below.

Installation

If you have the above dependencies installed you can open a new terminal window, change directory to the directory which host your vanitygen repository, example below.

># cd Downloads/vanitygen ># make

You shouldn’t need to compile anything extra but you might need to use the following command if the above fails for any reason. Once again please ensure you have installed the above dependencies which are only valid for the Ubuntu installation. Please feel free to comment below if you have further information that aids installation on other distro’s.

># sudo make

Again please ensure you are inside the vanitygen directory before running the command.

Running Vanitygen

Once you have run make you should see if you run the “ls” command additional files that were not there before you ran the command “make”. This is a good thing as it indicates successful completion of the compilation process.

To run “vanitygen” from the command line you need append a prefix to the command to force execution within the current directory (look at vanitygen command below). Ensure you have a command terminal window open and select using “cd” command, the directory that contains the vanitygen code thus.

># cd Downloads/vanitygen

There are a number of ways vanitygen can be run we will look at some of them and what might happen if you run them please be aware of the prefix this is not a mistake just the correct way to run an executable file without specifying the entire path.

># ./vanitygen

On it’s own vanitygen dispalys the help file that enable you run and execute the program efficiently

># ./vanitygen 1BMW

This command runs and generates the Bitcoin address code looking for the first instance of “1BMW” as a prefix once a match has been located the program displays this to the screen and exits the program. This program because it has only a very short sequence of letters to match “BMW” may take only a few minutes to find, longer sequences require much longer to run and find.

># ./vanitygen -v 1BMW -o matches.txt

A slight modification enables verbose output (-v) and can record the match to a file called “matches.txt” using option (-o).

># ./vanitygen -v -k 1BMW -o matches.txt

A new option command (-k) this allows the program run continuously finding all matches and placing them in the file defined as “matches.txt”, this file can of course be called anything you like.

># ./vanitygen -v -r BMW

You will notice in the above command we are using the option (-v -r)so we a verbose-ing the output as we go just gives us a little more information and using the regular expression to derive a key that contains the vanity word BMW, note we do not use 1BMW because this is not a prefix ie we do not want a code that starts with 1BMW but has the string BMW elsewhere in the key. This may are may not be easy to spot but it will be there.

These are just a few possible permutations which you are free to indulge in. Give them a try and see what combinations you can come up with then try to install these keys into your Bitcoin wallet

Addendum

This is an after thought and have only just found out how to do it.

With your installed Vanitygen it is possible to use the graphics card if it supports Open CL, there are two flavours of card I am aware of that support this feature ATI which I can’t tell you about and NVidia which I think I can. You will need to install in addition to a Graphic card that supports Cuda and the Cuda drivers additional files from the Ubuntu repository see below.

># sudo apt-get install opencl-headers libcurl4-gnutls-dev

The “opencl-headers” will not install unless you activate the Universe repository before you run “make” on the command line

You will also need to edit the Makefile in the vanitygen directory

># cd PATH_TO_Vanitygen_DIRECTORY
># vim Makefile

If this is within your home own directory you will not need sudo to modify this file

Locate this line

most: vanitygen keyconv

You need to add or change this line so it looks like this

most: oclvanitygen oclvanityminer vanitygen keyconv

If you have edited the Mafefile using the suggested vim editor and presuming you have previously installed this, exit and save the file by pressing your esc key once and “:wq” this saves the file.

ubuntu@asus-x58l:~/Downloads/vanitygen$ make cc -ggdb -O3 -Wall   -c -o oclvanitygen.o oclvanitygen.c cc -ggdb -O3 -Wall   -c -o oclengine.o oclengine.c oclengine.c: In function ‘vg_ocl_dump_info’: oclengine.c:313:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘cl_ulong’ [-Wformat] oclengine.c:315:9: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘cl_ulong’ [-Wformat] oclengine.c: In function ‘vg_ocl_prefix_check’: oclengine.c:1553:18: warning: variable ‘tablesize’ set but not used [-Wunused-but-set-variable] cc oclvanitygen.o oclengine.o pattern.o util.o -o oclvanitygen -ggdb -O3 -Wall -lpcre -lcrypto -lm -lpthread -lOpenCL /usr/bin/ld: cannot find -lOpenCL collect2: ld returned 1 exit status make: *** [oclvanitygen] Error 1 

If you get one of these errors well you haven’t read thoroughly enough my documentation or you have not yet installed the correct Graphics card and Cuda divers first.

When you have successfully installed the NVidia Card and Cuda drivers and compiled the “oclvanitygen” you may run the following command.

># ./oclvanitygen -v -d 0 1VanityName

There are some important differences with this code the first is “-d 0” this selects the default graphics card the number would change should you have more than one NVidia device. The second difference is that it does not support regular expression so according to the documentation you can not use it, the rest is as far as I know the same.

Author: Derek Shaw - Page reference: 2087
Last modified: Derek Shaw - 2015-01-20

Categories: Uncategorised

Number of comments: 0

Ascii Art

Video Ascii – ASCII Art

Introduction

ASCII stands for “American Standard Code for Information Interchange” it is one of the the most widely used examples of usable character standards currently in use. You probably don’t even realise it but if you are using a computer to read this, then you are most likely using ASCII to access and read this very article. It is widely used as common printable characters a-z, A-Z and 0-9 along with the various punctuation marks and readily found on your screen and keyboard. Video Ascii is a form of Ascii Art this is the depiction of a readily distinguishable object, person or form that uses the tonal qualities within individual characters to display a recognisable picture. This type of art first came about with the early typewriter and with individual keyboard characters painstakingly manipulated to depict a person or object. This process was only made slightly quicker with the introduction of the electric typewriter, but not much. As computers came into the scene display outputs were extremely simple, both video and print but the production of Ascii Art was almost automated and much simplified. Now it is possible to produce video Ascii Art using common tools readily available from within standard Ubuntu repositories.

ASCII code Table

Video Ascii Art – “hasciicam”

The simplest way to display a moving image using Ascii is to download “hasciicam” unfortunately if you like me have an Acer Aspire One with a Webcam installed “hasciicam” correctly identifies the webcam in the unit but refuses to work, so if you have a fix for this please let me know. Open a new terminal and type the following.

#> sudo apt-get update
#> sudo apt-get upgrade
#> sudo apt-get install hasciicam

This will install “hasciicam” which you can then run from the command line.

#> hasciicam

The output if it works will go directly to the screen as a cascade of changing ASCII characters that as objects within your video move this will be replicated to your screen only using shade of ASCII.

Now if Hasciicam does not work then don’t dismay there is another way to produce the same or similar output it’s just a bit more involved at not at all well documented. Or alternatively you can find a webcam that works with this program.

Colour Video Ascii Art – “vlc”

#> sudo apt-get update
#> sudo apt-get upgrade
#> sudo apt-get install vlc v4l

This will install “vlc” which you can then run from the command line however we will use the variant especially for the command line called “cvlc”.

#> cvlc –vout caca v4l2:///dev/video0

Where “video0” is your installed webcam device. This generates a colourful ascii video art output which fills your screen. So lets look a little more closely at the command line string we have used above.

cvlc – is the command line version of vlc both commands can be substituted with one another –vout – selects the video output module

caca – is a plugin that converts the video to ascii art in colour

v4l2:// – is the device URL so to speak and allows us to select the source input video

Tux

It should be possible to use other plugins also in a similar manner to view a full list on your system you can use the following command.

#> vlc –list

VLC media player 1.0.6 Goldeneye
   
telepathy Telepathy “Now Playing” (MissionControl)
inhibit Power Management Inhibitor
memcpymmxext MMX EXT memcpy
freetype Freetype2 font renderer
lua Fetch artwork using lua scripts
lua Lua Interface Module
lua Lua Playlist Parser Interface
osd_parser osd_parser
osd_parser XML OSD configuration importer
osd_parser OSD configuration importer
logger File logging
dummy Dummy interface function
dummy Dummy font renderer function
dummy Dummy video output function
dummy Dummy audio output function
dummy Dummy encoder function
dummy Dump decoder function
dummy Dummy decoder function
dummy Dummy demux function
dummy Dummy access function
memcpy libc memcpy
xml XML Parser (using libxml2)
probe_hal HAL devices detection
screensaver X Screensaver disabler
stats Stats encoder function
stats Stats video output function
stats Stats demux function
stats Stats decoder function
xtag Simple XML Parser
gnutls GnuTLS transport layer security
gnutls GnuTLS server
vod_rtsp RTSP VoD server
export export
export HTML playlist export
export XSPF playlist export
export Old playlist export
export M3U playlist export
notify LibNotify Notification Plugin
memcpy3dn 3D Now! memcpy
memcpymmx MMX memcpy
audiocrobbler Submission of played songs to last.fm
visual Visualizer filter
puzzle Puzzle interactive game video filter
sharpen Augment contrast between contours.
yuvp YUVP converter
dynamicoverlay Dynamic video overlay
canvas Automatically resize and pad a video
wall Wall video filter
gaussianblur Gaussian blur video filter
noise Noise video filter
wave Wave video filter
swscale Video scaling filter
erase Erase video filter
ripple Ripple video filter
transform Video transformation filter
blendbench Blending benchmark filter
bluescreen Bluescreen video filter
blend Video pictures blending
colorthres Color threshold filter
rv32 RV32 conversion filter
clone Clone video filter
marq Marquee display
osdmenu On Screen Display menu
motiondetect Motion detect video filter
scale Video scaling filter
panoramix Panoramix: wall with overlap video filter
rss RSS and Atom feed display
adjust Image properties filter
mosaic Mosaic video sub filter
alphamask Alpha mask video filter
magnify Magnify/Zoom interactive video filter
croppadd Video scaling filter
invert Invert video filter
motionblur Motion blur filter
postproc Video post processing filter
chain Video filtering using a chain of video filter modules
psychedelic Psychedelic video filter
deinterlace Deinterlacing video filter
deinterlace Deinterlacing video filter
grain Grain video filter
crop Crop video filter
rotate Rotate video filter
extract Extract RGB component video filter
scene Scene video filter
remoteosd Remote-OSD over VNC
gradient Gradient video filter
logo Logo sub filter
logo Logo video filter
fake Fake video decoder
subsdec Text subtitles decoder
cc Closed Captions decoder
spudec DVD subtitles decoder
spudec DVD subtitles packetiser
rawvideo Pseudo raw video decoder
rawvideo Pseudo raw video packetiser
faad AAC audio decoder (using libfaad2)
speex Speex audio decoder
speex Speex audio encoder
speex Speex audio packetiser
libass Subtitle renderers using libass
cmml CMML annotations decoder
cmml CMML annotations decoder
svcdsub Philips OGT (SVCD subtitle) decoder
svcdsub Philips OGT (SVCD subtitle) packetiser
x264 H.264/MPEG4 AVC encoder (x264)
sdl_image SDL_image video decoder
theora Theora video decoder
theora Theora video encoder
theora Theora video packetiser
dts DTS parser
dts DTS audio packetiser
avcodec FFmpeg audio/video decoder
avcodec FFmpeg deinterlace video filter
avcodec FFmpeg audio/video encoder
lpcm Linear PCM audio decoder
lpcm Linear PCM audio packetiser
flac Flac audio decoder
flac Flac audio packetiser
flac Flac audio encoder
subsusf USF subtitles decoder
dvbsub DVB subtitles decoder
dvbsub DVB subtitles encoder
png PNG video decoder
cdg CDG video decoder
a52 A/52 parser
a52 A/52 audio packetiser
telx Teletext subtitles decoder
invmem Memory video decoder
schroedinger Schroedinger video decoder
adpcm ADPCM audio decoder
libmpeg2 MPEG I/II video decoder (using libmpeg2)
t140 t140
t140 T.140 text encoder
araw Raw/Log Audio decoder
araw Raw audio encoder
mpeg_audio MPEG audio layer I/II/III decoder
mpeg_audio MPEG audio layer I/II/III packetiser
twolame Libtwolame audio encoder
cvdsub CVD subtitle decoder
cvdsub Chaoji VCD subtitle packetiser
aes3 AES3/SMPTE 302M audio decoder
aes3 AES3/SMPTE 302M audio packetizer
vorbis Vorbis audio decoder
vorbis Vorbis audio encoder
vorbis Vorbis audio packetiser
stream_filter_rar Uncompressed RAR
stream_filter_record Internal stream record
decomp Decompression
telnet VLM remote control interface
rc Remote control interface
gestures Mouse gestures control interface
http HTTP remote control interface
globalhotkeys Global Hotkeys interface
motion motion control interface
showintf Show interface with mouse
signals POSIX signals handling interface
hotkeys Hotkeys management interface
dbus D-Bus control interface
lirc Infrared remote control interface
stream_out_gather Gathering stream output
stream_out_description Description stream output
stream_out_rtp RTP stream output
stream_out_record Record stream output
stream_out_transcode Transcode stream output
stream_out_autodel Automatically add/delete input streams
stream_out_display Display stream output
stream_out_es Elementary stream output
stream_out_mosaic_bridge Mosaic bridge stream output
stream_out_bridge Bridge stream output
stream_out_duplicate Duplicate stream output
stream_out_dummy Dummy stream output
stream_out_raop Remote Audio Output Protocol stream output
stream_out_raop Remote Audio Output Protocol stream output
access_output_udp UDP stream output
access_output_dummy Dummy stream output
access_output_shout IceCAST output
access_output_file File stream output
access_output_http HTTP stream output
a52tospdif Audio filter for A/52->S/PDIF encapsulation
dolby_surround_decoder Simple decoder for Dolby Surround encoded streams
scaletempo Audio tempo scaler synched with rate
dtstospdif Audio filter for DTS->S/PDIF encapsulation
spatializer Audio Spatializer
headphone_channel_mixer Headphone virtual spatialization effect
headphone_channel_mixer Headphone virtual spatialization effect
trivial_channel_mixer Audio filter for trivial channel mixing
bandlimited_resampler Audio filter for band-limited interpolation resampling
bandlimited_resampler Audio filter for band-limited interpolation resampling
ugly_resampler Audio filter for ugly resampling
equalizer Equalizer with 10 bands
mpgatofixed32 MPEG audio decoder
mpgatofixed32 MPEG audio decoder
dtstofloat32 DTS Coherent Acoustics audio decoder
dtstofloat32 DTS Coherent Acoustics audio decoder
simple_channel_mixer Audio filter for simple channel mixing
simple_channel_mixer audio filter for simple channel mixing
converter_float Floating-point audio format conversions
converter_fixed Fixed point audio format conversions
audio_format Audio filter for PCM format conversion
normvol Volume normalizer
mono Audio filter for stereo to mono conversion
trivial_resampler Audio filter for trivial resampling
param_eq Parametric Equalizer
a52tofloat32 ATSC A/52 (AC-3) audio decoder
linear_resampler Audio filter for linear interpolation resampling
oss UNIX OSS audio output
aout_file File audio output
pulse Pulseaudio audio output
alsa ALSA audio output
packetizer_vc1 VC-1 packetizer
packetizer_h264 H.264 video packetizer
packetizer_mpeg4audio MPEG4 audio packetiser
packetizer_dirac Dirac packetizer
packetizer_mpegvideo MPEG-I/II video packetiser
packetizer_mlp MLP/TrueHD parser
packetizer_mpeg4video MPEG4 video packetiser
packetizer_copy Copy packetiser
i422_yuy2_mmx MMX conversions from I422 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv
yuy2_i422 Conversions from YUY2,YUNV,YVYU,UYVY,UYNV,Y422,cyuv to I422
i420_yuy2_mmx MMX conversions from I420,IYUV,YV12 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv
i420_rgb_mmx MMX I420,IYUV,YV12 to RV15,RV16,RV24,RV32 conversions
yuy2_i420 Conversions from YUY2,YUNV,YVYU,UYVY,UYNV,Y422,cyuv to I420
i420_rgb I420,IYUV,YV12 to RGB2,RV15,RV16,RV24,RV32 conversions
grey_yuv Conversions from GREY to I420,YUY2
i420_yuy2 Conversions from I420,IYUV,YV12 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv,Y211
i422_i420 Conversions from I422,J422 to I420,IYUV,J420,YV12,YUVA
i422_yuy2 Conversions from I422 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv,Y211
i420_ymga_mmx MMX conversions from I420,IYUV,YV12 to YMGA
i420_ymga Conversions from I420,IYUV,YV12 to YMGA
nuv Nuv demuxer
real Real demuxer
voc VOC demuxer
mp4 MP4 stream demuxer
mod MOD demuxer (libmodplug)
tta TTA demuxer
mkv Matroska stream demuxer
flacsys FLAC demuxer
live555 RTP/RTSP/SDP demuxer (using Live555)
live555 live555 RTSP/RTP access and demux
ogg OGG demuxer
subtitle Text subtitles parser
mpc MusePack demuxer
mjpeg M-JPEG camera demuxer
ty TY Stream audio/video demux
aiff AIFF demuxer
m4v MPEG-4 video demuxer
wav WAV demuxer
xa XA demuxer
demux_cdg CDG demuxer
asf ASF v1.0 demuxer
playlist Playlist
playlist iTunes Music Library importer
playlist Dummy ifo demux
playlist Google Video Playlist importer
playlist QuickTime Media Link importer
playlist Kasenna MediaBase parser
playlist ASX playlist import
playlist New winamp 5.2 shoutcast import
playlist XSPF playlist import
playlist Podcast parser
playlist DVB playlist import
playlist B4S playlist import
playlist PLS playlist import
playlist RAM playlist import
playlist M3U playlist import
demuxdump File dumper
ts MPEG Transport Stream demuxer
avformat FFmpeg demuxer
avformat FFmpeg muxer
nsc Windows Media NSC metademux
vobsub Vobsub subtitles parser
h264 H264 video demuxer
smf SMF demuxer
rawdv DV (Digital Video) demuxer
mpgv MPEG-I/II video demuxer
ps MPEG-PS demuxer
vc1 VC1 video demuxer
nsv NullSoft demuxer
dirac Dirac video demuxer
rawvid Raw video demuxer
es MPEG-I/II/4 / A52 / DTS / MLP audio
pva PVA demuxer
rawaud Raw audio demuxer
au AU demuxer
avi AVI demuxer
x11_screen Screen Input
dvdread DVDRead Input (no menu support)
access_file File input
access_mms Microsoft Media Server (MMS) input
access_mmap Memory-mapped file input
access_directory Standard filesystem directory input
zip Zip files filter
zip Zip access
dvdnav DVDnav Input
access_dv Digital Video (Firewire/ieee1394) input
vcdx Video CD (VCD 1.0, 1.1, 2.0, SVCD, HQVCD) input
v4l Video4Linux input
access_bd Blu-Ray Disc Input
access_udp UDP input
access_ftp FTP input
access_ftp FTP upload output
access_tcp TCP input
access_realrtsp Real RTSP
access_http HTTP input
access_alsa Alsa audio capture input
vcd VCD input
access_oss OSS input
access_fake Fake input
dvb DVB input with v4l2 support
cdda Audio CD input
access_smb SMB input
pvr IVTV MPEG Encoding cards input
rtp Real-Time Protocol (RTP) input
v4l2 Video4Linux2 input
v4l2 Video4Linux2 Compressed A/V
caca Color ASCII art video output
glx OpenGL(GLX) provider
xvideo XVideo extension video output
vmem Video memory output
x11 X11 video output
fb GNU/Linux framebuffer video output
drawable Embedded X window video
drawable Embedded Windows video
opengl OpenGL video output
yuv YUV video output
aa ASCII-art video output
skins2 Skinnable Interface
skins2 Skins loader demux
skins2 Skinnable Interface
qt4 Qt interface
qt4 Dialogs provider
ncurses Ncurses interface
mux_avi AVI muxer
mux_mpjpeg Multipart JPEG muxer
mux_dummy Dummy/Raw muxer
mux_mp4 MP4/MOV muxer
mux_wav WAV muxer
mux_ts TS muxer (libdvbpsi)
mux_ogg Ogg/OGM muxer
mux_ps PS muxer
mux_asf ASF muxer
folder Folder meta data
taglib Taglib
spdif_mixer Dummy S/PDIF audio mixer
float32_mixer Float32 audio mixer
trivial_mixer Trivial audio mixer
upnp_intel Universal Plug’n’Play discovery
bonjour Bonjour services
udev Capture devices2
udev Discs
shout Shoutcast radio listings
shout Freebox TV listing (French ISP free.fr services)
shout French TV
shout Shoutcast TV listings
podcast Podcasts
sap SAP Announcements
sap SDP Descriptions parser
hal HAL devices detection
main main program

Wow what a list vlc is awsome.

Ascii art also extends to the command line also, tools are available such as “figlet” and on Ubuntu “linuxlogo” these fall outside the scope of the above tutorial but worthy a mention at least.

You can install these in Ubuntu using the package manager or apt-get, open a new terminal and add the following:

#> sudo apt-get install figlet linuxlogo

“Linuxlogo” may differ on the system you are using we have seen “linuxlogo” expressed as “linux_logo” and may appear graphically different on other systems in addition. it should also be possible to compose your own linuxlogo.

Author: Derek Shaw - Page reference: 2086
Last modified: Derek Shaw - 2015-01-20

Categories: Uncategorised

Number of comments: 0

XBMC – Xbox Media Centre

Introducing XBMC

Introduction

XBMC is a free and open source media player application developed by the XBMC Foundation, a non-profit technology consortium. XBMC is available for multiple operating-systems and hardware platforms, featuring a user interface for use with televisions and remote controls. It allows users to play and view most videos, music, such as podcasts from the internet, and all common digital media files from local and network storage media. As of version 12.0 (codename “Frodo”) XBMC will also feature PVR (Personal Video Recorder) GUI frontend for Live TV with EPG (Electronic Program Guide), and high definition DVR (Digital Video Recording) support.

The current release though is version 11.0 (codename “Eden”) and available from the standard Ubuntu Software Repository. As usual this release can be download in one of many different ways we for the purposes of this howto will concentrate on the command line installation method.

What is XBMC

XBMC or the Xbox Media Centre is the default player that distributions such as MythTV rely to play and stream Music and Video content it is jam packed with features and plugins that make this application the must have it could also save you money, more about that later.

xbmc01.png

XBMC not only serves as an application but as a Desktop also, Note it does not help running any other applications when running XBMC so a dedicated Desktop is a good thing. The Media Centre will be a noticeable drain on your Internet Bandwidth so it is recommended that if you wish to make frequent use of this application that you have a fast and Unlimited Internet bandwidth (for those of you who don’t know the bandwidth refers to the amount of Internet content you can download and measured in months eg 1Gb per month, 5 Gb per month and so on). XBMC has the ability to stream content from a variety of sources which means you could gobble up your bandwidth quite quickly and if your bandwidth is capped and most of them are you could end up paying more for your Internet access because you have exceeded the capped limit – you have been warned.

For those of you with and Uncapped Internet and I do suggest you check what Internet access you have, you won’t believe the content available to you from a few simple plugins. XBMC on it’s own is great, providing you with feature rich solutions to play content on your own laptop or PC, however with a few plugins it is so much better than you can imagine.

Installation

Installation of the XBox Media Centre is very simple and has been explained clearly below it can be installed by way of a variety of different installation methods, Terminal via apt-get, Software centre and Synaptic, we recommend using the Ubuntu 12.04.1 Long Term Support Desktop version or later.

#> sudo apt-get update
#> sudo apt-get upgrade
#> sudo apt-get install xbmc

XBMC is a cross platform application and available for many systems not just Linux.

About XBMC – Plugins

The XBox Media Centre already comes with a number of plugins which you can enable – my advice for what it is worth is forget them, go for the hard to find third party plugins these are so much more interesting and useful. All third party plugins are installed in the same or similar way. Once you have mastered adding third party plugin content there is no looking back.

Running XBMC

If you have installed XBMC and because this is a Linux howto we will assume you have done this on the suggested Linux operating system, you may notice that once you have run XBMC you are limited as to what you can do once you have run it. The Media Centre is what I would call a dedicated application once in it you are not able to run any other application without closing XBMC first. It is still possible to run more than just XBMC but you would need to run all the other application first then XBMC, however because XBMC is a dedicated application it is much harder to switch to other played applications also on your Desktop.

Once you are running XBMC you will be greeted with a pleasing GUI (Graphical User Interface) and easy to understand selection preferences. Well that aren’t that many to select, however you may find depending on your system that the mouse pointer is very sensitive, this is especially true with mouse pads like those found on Laptop PC’s.

The attributes to concern yourself with within this application are Pictures, Video and Music this is the heart of the Media Centre providing a functioning user interface to access your Media Library lets take a look at Pictures and Music first as these will for the most part concern files you already have on your hard drive.

pictures-sourceadd.png
pictures-sourcebrowse.png
pictures-folderselect.png
pictures-sourceok.png

Once you have added the source directory of your Pictures that is whatever folder you have them contained in you can view the files, this is the same feature on MythTV the only difference is this accesses you data on the PC or Laptop you are working on.

Picture – Plugins

There are a number of useful plugins that might interest you here is how you access them.

picture-addons.png
addon-getmore.png
pictures_addonlist.png

Adding a Music Source is the same method, just select the folder from which your mp3, wmv or wav files reside which can be via any accessible shared network resource you may have.

Adding Music plugins is done in much the same way as those for Picture Addons

XBMC – Video

Perhaps one of the more versatile components of this application is that of the Video resource, not only will it play your videos and video downloads but it can stream content via plugins across the internet. Now it usefulness may not be immediately obvious, but bear with me a while longer and you will begin to.

Inline with many applications and here XBMC is no different, XBMC can utilise the plugins it comes with and third party applications written by others. Unlike other applications in Ubuntu such as Gimp , Blender and so on, XBMC derives these plugins directly rather than through a controlled repository, here lies the danger of unknown third party resources, however if you review plugins articles before you install them you can reasonably be assured of some safety. On the basis others would deem them safe.

First add the source library of your Video’s by adding a folder or Network resource which contain them. Then we can look at some much needed plugins to extend what you are able watch through your PC or Laptop, these plugins are called “Addons” and need be installed via a third party zip file. There are many third party Video resources you can install and not all of them are in one place or as easy to review, but they exist and you can watch and setup reminders for programmes that aren’t yet running. There are three aspects to take note of with such programme watching, those that have passed, those that are playing or about to, and those programmes set to play in the future or not playing yet.

Third Party – XBMC Video Plugins

There are two or three ways I know to obtain Video plugin zip files for XBMC the first and most obvious is on the XBMC website which so far I have found no plugins at all, however this may change by the time you read this article, second you can access 3rd Party websites supporting XBMC or third use a search engine to locate either XBMC Picture, Music or Video plugins. Let’s look at this plugin as an example.

XBMC Website

TVCatchup Plugin for XBMC

Tv Catchup is a slightly more complicated Plugin than some so lets start by installing this it is a zip file and can be downloaded directly from the TV Catchup website. Download the TV Catchup zip file to a location on your hard disk or Desktop were you can access it later. The TV Catchup plugin requires a Username and Password however whilst you need do this, it is not required for the purposes of installation. Run the XBMC application and just below the “System” option select “Addons” then “Install-Zip”.

systemselect.png
system-addons.png
system-installzip.png

Before we proceed further perhaps I should tell you a bit more of what TVCatchup is, it is or can be an Electronic Programme Guide to select standard air to view programmes available in the UK, so a must have in my opinion. It is very similar to Sky Electronic Programme Guide you access from a Sky Remote Control to browse all the channels before selecting any one of them, however it is limited only to the free air to view channels on Sky or Freeview. The EPG can view additional description info for each of the programmes selected within the EPG.

systemhomefolder.png
systemtvcatchup.png
tvcatchup-xbmc.png

Click on TV Catchup and select install to Enable

tvcatchup-install.png

Ok the above is already installed in which case this is what you should end up with just select the install option.

getaddons.png
selecttvcatchup.png

Select the option for TV Catchup – XMBC

TVcatchup2epg.png

I might have the exact sequence a little bit wrong but you should have enough info to enable the “EPG” selection you can add the non epg if you like which can if selected be very confusing.

Last remaining job create an account with TV Catch up website it is free by the way and edit the configuration settings for the TV Catchup Epg entry in Videos option with a right mouse click selecting appropriate tab option.

username.png
epg1.png

Author: Alan Campion - Page reference: 2085
Last modified: - 2012-12-28

Categories: Uncategorised

Number of comments: 0

eSellerPro and Linux

eSellerPro running on Linux

Introduction

Much as I would like to show you eSellerPro working under Linux I will refrain from doing so, but I can tell you it can work how well I am not sure I am not a expert on eSellerPro, if some body wants to work with me on this I am happy to add what expertise I can. Almost everything I tried seems to work, being a Java program there should be no reason why it shouldn’t work – Java being cross platform and the like.

You will need to recognise that there are some prerequisites that eSellerPro will require in order to run at all, and that on my system at least it is really quite slow. You will need on your Linux system Open JDK JRE probably version seven and Icedtea Netx Common files, more on the files you will need latter.

Installation of pre-requisite files

eSellerPro is not a website it is actually a Java application, so in order to run this program you need a (java runtime environment) called a jre on top of Linux.

#> sudo apt-get update
#> sudo apt-get insatall openjdk-7-jre icedtea icedtea-netx

Starting eSellerPro

You can actually run this two different ways one is from a browser and the second from the command line if there are any other ways I am not aware of them. Before running eSellerPro you need to understand it is a paid for product it is not free, because many businesses use it and currently at least some refrain from using Linux because they say it does not work this tutorial is made available so you can make the choice of which OS to use rather than be told.

This application is not a standalone product you cannot download the file and execute it, but java responds to a url in the same way as that of the browser.

Option 1 Launch your browser Firefox is best but it does work with Chromium-browser also type in the url given by “eSellerPro” (SoSLUG do not endorse the use of this product this howto is for information purposes only), this will look something like this example.

http://CLIENTNAME.esellerpro.com/eSellerPro.jsp

Where “CLIENTNAME” will be your business name perhaps provided by the eSeller company.

An alternative way to start this application is via the console, open a new terminal and enter the following command

#> javaws -jar http://CLIENTNAME.esellerpro.com/eSellerPro.jsp

Where “CLIENTNAME” will be your business name perhaps provided by the eSeller company.

In both these cases you will be asked to agree to a number certificates just allow when necessary

eSellerPro even though it runs is not without it’s problems under Linux, the one I have found is that the messages will not launch and display in the application. Also I mentioned it does run but the launch execution time is extremely slow. I cannot pinpoint where the problem actually lies Java, Linux or the application, but now you have been furnished with a howto that works, maybe someone else can fill in the blanks.

Author: Derek Shaw - Page reference: 2083
Last modified: Alan Campion - 2015-09-17

Categories: Uncategorised

Number of comments: 0

Recycling Workshop to combat electronic waste

Binary Ethics – Binario Etico(Italian)

Introduction

Binary Ethics based some 50Km from Rome (no don’t ask me which direction), are calling for participants for a ten day long workshop covering the Ethical disposal or reuse of old redundant computers and their like.

Below is an email I received from Alessandra at Furtherfield an organisation SoSLUG has some association with in the past.

Hi Derek

How are you?

Some friends from Binario Etico in Italy have been awarded some EU funding to run a project that looks at recycling, repairing and
reusing computers to change our consumption habits. http://www.binarioetico.org/index.php?option=com_content&task=view&id=188&Itemid=5

They are currently looking for participants from the UK (all expenses covered by the fund) and I thought you might help spread the
news. All the workshops will focus on the use of recycled technology and FOSS.

Attached is the call out and more info about the project.

Hope you’ll be able to help.

Thanks.

best

Alessandra

Alessandra Scapin
Furtherfield Producer

Furtherfield – A living, breathing, thriving network
http://www.furtherfield.org – for art, technology and social change since 1997

Furtherfield
Furtherfield Gallery, McKenzie Pavilion
Finsbury Park, London N4 2NQ
T +44(0)208 802 2827
M +44(0)7717 887923
www.furtherfield.org

Furtherfield is a Not-for-Profit Company limited by Guarantee registered
in England and Wales under the Company No.7005205. Registered business
address: Ballard Newman, Apex House, Grand Arcade, Tally Ho Corner, London N12 0EH.

Binary Ethics Workshop

Now I have already sent an email via our newsletter but if you didn’t get it for whatever reason you can ferret out all the info here or the attached links. Now as far as I know all accommodation, food and travel is funded but you will need to get to the organisation in order for your travel expenses to be refunded. Below are the attachments that came with the email I am happy to answer any questions I can please contact derek@soslug.org.

Author: Derek Shaw - Page reference: 2082
Last modified: Derek Shaw - 2015-01-20

Categories: Uncategorised

Number of comments: 0

Multiple Monitors using Nvidia Graphics cards

Multiple Video Outputs

Introduction

A rather neat way these days to expand the functionality of your Linux Desktop is to spread the Desktop screen itself across several monitors. There are many ways to achieve this and one of the ways we will discuss here in this article. Dual screens are not that uncommon now days even for Ubuntu(Linux), Windows and Mac, this article however will be dealing with the configuration of a Quad Monitor display output.

You will need to consider what it is that you require from your monitor outputs, by that I mean screen resolution, aspect ratio and refresh rates. To identify these you will need to consider the specifications of the monitors you intend to operate with your Video card, then find a card that will manage the number of ports you need at the resolution etc you require.

Graphics Cards

There are many graphics video cards on the market and nearly all PC clones with a relatively new motherboard will use a PCIe (Peripheral Component Interconnect Express) X16 slot. With only one PCIe slot you can only fit one card and usually this is adequate for most jobs as people seldom need more than two monitors. However if you need more monitors you need more specialised cards that fit in the one PCIe slot. If you are considering the addition of another video card on your motherboard it is strongly advised that these be of identical types and models.

PCIe Slots

There are essentially three different PCIe slots the x4 the x8 and the x16 and should not be confused with PCI-X which is the (Peripheral Component Interconnect eXtended). This is a less common slot usually found in servers rather than PC’s and PC clones.

The card we have chosen for the purposes of this article is the PCIe X16 NVS Nvidia 450 256Mb Ram at a cost of £160 this is not a cheap card, but it will do 1024 x 768 pixels and has the four standard VGA 15pin D-type via two splitter cables especially adapted for the video card. Alternatively you could choose the NVS 420 with 512Mb Ram but whilst this uses the same or similar splitter the four DVI outputs are a little special. These four outputs are called DVI-D and standard DVI cables do not fit in them, only DVI-D male connectors will fit in them trust me I have wasted many hours looking for the right cables, if you think you can use adapters on them to convert from DVI to VGA you can’t the standard converters, to differentiate the standard DVI have four pins two each side of the blade the DVI-D has no pins just the blade.
181px-DVI_Connector_Types.svg_.png

Installation

Installation of the card was extremely simple the dual graphics card that was installed was removed and the alternative NVS Nvidia 450 put in its place. Once the card was secured by way of a small retaining screw then both adapters were fitted dangling from the card outside the case.

Software and Operating System

We will be using Ubuntu with this installation and the recommended drivers identified via the “Additional Drivers” section of your System Administration menu options.

For this installation we used the 10.10 version of Ubuntu which is now out of current circulation as this still used Gnome as a standard display before the later versions adopted Unity in preference. We used the 64 Bit variant as our PC could support this CPU architecture, however the procedure outlined should work equally well for 64 and 32 Bit.

Once your Operating System is installed (Ubuntu or some variant thereof) select “System” from the Menu then “Administration” and finally “Additional Drivers“. Locate the Recommended drivers for the card detected and install them. Now reboot for the changes to take effect

Configuration

Our system setup is as follows:-

  • PC with standard AMD 64 Bit uProcessor and one PCIe x16 slot
  • NVidia NVS 450 256mb Ram PCIe x16 four VGA ports (Graphics Card)
  • Two VGA spliter adaptors for the aboove card
  • Ubuntu Ver 10.10 64 Bit OS
  • Four HP L1530 Monitors Max resolution (1024 x 768)

The purpose of this configuration is to extend a single desktop across four individual screens that will enable us to place any application run from the Desktop Menus or consoles anywhere in or between the displays configured

For your consideration I have attached below two configuration files that need to be renamed “xorg.conf” before you use either of them. One configuration setup is for a three screen display the other is for a four screen display. Please feel free to use or view the configuration examples to help you format your own displays.

When you have installed all of the above and updated as necessary you should follow the procedure below:-

  1. Open a new console and type the following commands

    #> cd /etc/X11
    #> sudo mv xorg.conf xorg-original.conf
    #> sudo nvidia-xconfig -a

  2. What we aim to achieve here is to backup the orginal xorg.conf so if we get into trouble we can recover to a known working state, then we want to enable all the GPU on the graphics card before we can configure the screens. This is what
    nvidia-xconfig -a” will do create a new xorg.conf and enable all the GPUs on the NVidia card we are using.
  3. Reboot the computer for the new configuration to take effect
  4. If the desktop has not started just login as usual on the command using you login username and password, recover the original xorg file and rename it xorg.conf in /etc/X11 directory, retry the above steps
  5. If you can login to your desktop well done we can proceed to the next step, locate and access the application
    NVIDIA X Server Settings” this is in System, Administration section of your menus.
  6. You should see in the list both GPU listed and any monitors attached
  7. Locate and access from the list “X Server Display Configuration” this will display the monitors enabled or disabled on the current system
  8. One screen at least possibly two will be active for sure make sure you can move the cursor between the screens do not enable “Xinerama” just yet use the “Save to X Configuration File” just above the “Quit” button on the panel. Save the configuration file as “xorg-2screen.conf” and commit to save the file in “/etc/X11 directory you could also save the files to their own directory however in both cases you will need to be the administrator with root or super user privileges.
  9. Be persistent and one at a time activate all thee screens saving the “xorg.conf” each time you add a screen.
  10. Once all screens are active enable “Xinerama” again this may take some persuasion but if you have doubts edit xorg.conf and look for ” Option “Xinerama” “1” ” in the Server Layout section of xorg.conf if the vaule is 1 then Xinerama is set if it is “0” reset this value to “1”

Author: Derek Shaw - Page reference: 2081
Last modified: Derek Shaw - 2015-01-20

Categories: Uncategorised

Number of comments: 0

RT Kernel for RoseGarden

RT (Real Time) Kernel for RoseGarden

rosegarden_fail

Warning – RT Installation described below does not work on Maverick Meerkat Ubuntu Ver 10.10

If you have ever installed RoseGarden and especially a beginner attaining a sound or noise from this application can be a troublesome affair. This article aims to address this issue by explaining the process from a technical perspective to get RoseGarden and Jack Server to work and work together. I would explain from the outset I am not a musician I rather wish I was as understanding many of the concepts would have been a lot easier. This is rather a clinical approach and may not be the correct way but least, it does work as my images in this article will show.

Installing a different kernel for use with RoseGarden

In the image above RoseGarden appears to show that it requires a module to run I am not sure that this is the case or not, at least in Ubuntu or Mint initialising this command would return “module not found” and end in failure. A Real Time kernel is an optimised kernel especially for audio. Now it is possible to run Jack without a RT kernel however RoseGarden seems less forgiving (perhaps I am wrong, I don’t know).

Running Jack on it’s own without RoseGarden and a Real Time kernel can also fail to initialise properly especially when the “realtime” option is ticked (see second image).

jack_fail jackset

It is sometimes possible to allow Jack to run just by unticking the realtime option in the setup panel, RoseGarden once initialise still throws up the error but it may still work, but it will not work unless you have installed some Midi synths and audio plugins.

no_rt jackwk rosegdn1 roswgdn2

Howto Install a RealTime Kernel

For many of us myself included I have or at least thought I had little use for a Kernel other than that which was supplied by the likes of Ubuntu, Mint and so on. If I needed to change the kernel for some reason or some aspect of it, and the menu.lst file did not update after a new kernel was installed, well you could as a matter of last resort edit the file yourself. Well, that is an option not any longer editing of the “grub/menu.lst” used to be so easy and now, guess what they changed it in Grub version 2 time will tell if it is actually better.

Actually your kernel is updated more times than you are probably aware of, especially if you update your Desktop or Server system on a regular basis. There are a number of ways you can update your system from the padlock icon located somewhere on your screen Desktop or via the command line with “apt-get update” and “apt-get upgrade” but I should quickly point out that many files are updated when the command is invoked the kernel is only one of them and is updated not nearly so often. A system restart will follow a kernel update in almost all cases.

The focus of this article will be the installation of a “realtime” kernel, it is a howto to select and install access and confirm your chosen kernel is installed and is being used. The first thing we need do is determine the current kernel being used with your system this can be observed in any one of a number of ways the most common being at the boot menu. Now I am using LinuxMint “Helena Edition” and have found the menu does not appear when you press the escape button during bootup as before now you need to press the shift key and hold during bootup until the menu appears. There is however another more accurate way to determine your kernel which you can do from the command line.

#> uname -a

This will tell you exactly the kernel in use.

Now we know what you are using the chances are it is not an “RT” kernel if it is then you are using a system possibly modified and optimised to work with the Operating Systems you have chosen such as “64studio”, Ubuntu-Studio or perhaps Puredyne plus others” all of these variants of the Linux operating system feature low latency with regard to audio and video processing of applications which are highly favored in audio and video processing.

We will assume for the purpose of this article you like me are using a standard kernel and for some reason best known to yourselves want to install and use an “RT” (Real Time) kernel. First you will need to locate the “linux rt” kernel, select and install it. I have found searching for what I want from the command line most unhelpful so would suggest the synaptic package manager instead from your “system / administration” section which should come up with result like these.

linux-rt
linux-image-rt
linux-headers-rt

To install you need to obtain from your Synaptic Package Manager the three above packages after which you will need to complete the installation by following the remaining steps below.

These should be the only packages you need to select, any dependencies will be associated automatically all you need do is confirm installation. Now usually this kernel would be updated in the grub configuration so that when the menu is accessed the new kernel will appear in the list. Well the configuration does not get updated this is because grub2 is only sort of installed you can use “update-grub” as recommended but it does not work, (well, yes actually it does work) the difference is that it updates the version 1 grub configuration which is not accessed by version 2 of grub. So to get around this problem we use the command line to install “grub2”

#> sudo apt-get update && sudo apt-get upgrade && sudo apt-get install grub2

To simplify matters I have daisy chained the three separate commands into one.

This again will update the grub configuration only this time when you boot into your system holding down the shift key as you do so and the boot menu appears you will now see and be able to select the real time kernel as desired.

How do you know you are running a RealTime Kernel

Just like before after selecting the RT kernel from the boot menu all you need do is activate a terminal console screen and type in the following:-

#> uname -a

This will tell you if you are running the correct kernel, if you have confirmed you are running the correct kernel you will need to modify your Jack setup options this time to include “realtime” just tick the option.

jackset

Author: Derek Shaw - Page reference: 2080
Last modified: Derek Shaw - 2015-01-20

Categories: Uncategorised

Number of comments: 0

HSDPA – Three USB Modem

HSDPA Huawei E160g

Note – Since Ubuntu Intrepid Ibex, connection via a Mobile device has significantly improved in many of the later Ubuntu variants and this document is considered out of date however it contains good information possibly transferable to other system others might find useful.

Note:- If you intend to use this device with Intrepid Ibex Ubuntu Version 8.10 released at the end of October 2008 you do not need to follow any of the steps below. The new version of the Network Manager supports Mobile dialup connections from the Network Manager icon itself on your desktop

For the most part if you can connect you may be able to browse the Internet, I say may be reservedly as this device has a tendency to misbehave at critical moments. We can only recommend that you do not rely on this device to service your connection whatever platform you are using, if the project or work is important enough for an internet connection and this is essential then this is not the device to hedge your bets on or get you out of a jam it may work but chances are it won’t.

Although this howto is specifically written with Ubuntu in mind there is no reason why this procedure will not work on other Linux OS flavours.

Step 1

Your modem is supplied as a package, included in it is the USB modem itself the SIM card and the phone number that is used. At the moment the USB Modem device has no credit associated with it which will be needed for continued Internet operation.

Remove the SIM card from the package the USB Modem came with and insert this into your own mobile phone, yes thats right your own mobile phone not the USB Modem (Not Yet at any rate).

Step 2

Go to the following web page https://my3.three.co.uk/mysecurity/register.do. You need to do this first with the SIM card in the Mobile phone, at present you do not have a password to validate a voucher or login to your “my3” account. Filling the details on this page will send a text message to the SIM card in the phone this will be your login password for your USB Mobile phone Number, be certain to write this down when you receive it, this is very IMPORTANT.

Step 3

Now go to the following page my3 armed with your password enter the digits that correspond to the USB Modem device BUT with the SIM card still in your own phone, enter into the relevant box the password emailed to the USB Modem Phone No via your own mobile phone.

Step 4

At this point we recommend you purchase a three mobile voucher at the moment it is not suitable for use with USB Modem, the voucher itself needs to be converted however the process is well documented through your my3 page. The voucher can be obtained from many retail outlet’s, we do not recommend credit purchase using a credit card as the voucher value does not get converted for use with broadband without additional steps.

Step 5

By now we hope that the voucher has been correctly accredited to your USB Modem device. If you have logged into your account and converted your voucher please check the My Account section of your my3 page.

Step 6

We have followed all the steps we need to to activate the account and the SIM card, remove the card from your own Mobile phone and place this now into the USB Modem device. We now need to prepare the Linux operating system, if you are running Ubuntu 8.04 or Hardy Heron wvdial should already be installed however you need to make some entries to detect and the modem device is attached and install a modem script called wvdial.conf. First lets deal with wvdial.conf as this is the easiest to deal with run one of the following commands to edit this file.

If you are familiar with vim and can edit with it use the following command:

#> sudo vim /etc/wvdial.conf

If vim is a problem for you use this command instead

#> sudo gedit /etc/wvdial.conf

Using either of these methods above copy the contents below and paste these into the file you are editing also edit for the correct phone number and the correct password for the USB Device.

[Dialer Defaults for wvdial.conf]

Phone = *99#
#Phone = *99***1# #Not required
Username = 07723777777 #= Sample USB Mobile Phone No
Password = woiuFF #= Sample password as set by three
Stupid mode = 1
Dial Command = ATDT

[Dialer hsdpa]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = ATE0V1&D2&C1S0=0 +IFC=2,2
ISDN = 0
Modem Type = Analog Modem
Init3 = AT+CGDCONT=1,”IP”,”three.co.uk”;

Step 7

At the bottom of this page are attachment files that you need, you can right click on and select save, once copied to your computer this file needs to be copied to the relevant directories such as /etc/udev/rules.d all of these should be done as root user we suggest you do the following.

#> sudo cp (path_to_file/65-huewei-e220-modem.rules) /etc/udev/rules.d

You will need to use your standard login password but only if you have relevant ‘admin’ permissions.

Step 8

The above rules use a file called usb_modeswitch to detect when the USB modem has been inserted which has not yet been installed. A binary file is supplied below as an attachment we suggest you copy this file and place this file in the directory /sbin

#> tar xvjf (path_to_file/usb_modeswitch.tar_.gz)
#> sudo cp (path_to_file/usb_modeswitch) /sbin

Step 9 Along with the above file we also need a configuration file called usb_modeswitch.conf the file has already been altered to work with the E160g we suggest you copy this file into /etc directory.

#> sudo cp (path_to_file/usb_modeswitch.conf) /etc

Step 10

Ideally your USB device needs to be aligned to /dev/USB0, as the modem key is inserted the device needs to register this because it is a Modem which will take some time, several minutes in fact so please be patient even when you think the scrolling has stopped wait at least a minute more before initialising the Modem to the internet.

Plug in to a vacant USB slot the Huawei E160g with the SIM card inside it, it should not be necessary to reboot the PC or Laptop, often reseting the Huawei E160g out of and into the USB slot might correctly adjust USB device outputs, hopefully. To check what USB device output the system is aligned to run the following command. Open a clean terminal and paste this command to it.

#> tail -f /var/log/messages

Once you are sure the Modem has registered properly by viewing /var/log/messages run this command.

#> sudo wvdial HSDPA

Step 11

This part is only necessary when you can connect via three but do not or can not access the internet services, this procedure does not always work but does give you another avenue to try when the connection does not work as intended.

#> sudo vim /etc/resolv.conf

For some reason the DNS (Domain Name Service) provided by three do not work so why not change the DNS to openDNS instead. Simply edit the document above and place these entries into it.

208.67.222.222 and 208.67.220.220

Change the contents of resolv.conf to read the following.

nameserver 208.67.222.222
nameserver 208.67.220.220

WARNING each time the Modem is reset the values in /etc/resolv.conf will change.

If you should have any comments about this procedure we would like to here from you.

Author: Derek Shaw - Page reference: 2077
Last modified: Derek Shaw - 2015-01-20

Categories: Uncategorised

Number of comments: 0