Wednesday, August 25, 2010
eBox Installation Problems
Sunday, August 15, 2010
Linux Commands Most Useful
Friday, July 30, 2010
Linux Mint 9 LXDE setup for Spanish Child Use
- run command: sudo nano /etc/xdg/lxdm/lxdm.conf
- this opens the configuration file to edit
- delete the # and space before the autologin and session lines and change the autologin user to the desired user
- since you are there, you can set the numbers lock to on if desired by removing the # and set numlock=1
- ctrl-o to save (write out) and ctrl-x to exit
- Open Openbox Configuration Manager
- On the Desktops tab, set the number of desktops to 1
- Chestnut dialer (multiple packets) - for dialup Internet connections
- Transmission (multiple packets) - bittorrent client
- open Preferences/Users and Groups then
- add listo and itadmin as users
- add itadmin to the admin group
- add all 3 users into users group
- add itadmin to admin group (maestra is already there)
- add itadmin and maestra to staff group
- [sudo mkdir /share] make share directory for the following sub-directories
- [sudo mkdir /share/musica] make directory for music
- [sudo mkdir /share/foto] make directory for fotos
- [sudo mkdir /share/wiki] make directory for wikipedia content
- [sudo mkdir /share/biblia] make directory for bible study content
- [sudo chown -R itadmin.users /share] This changes the ownership on all these directories to itadmin along with changing the associated group to users, which now includes everyone. Of course -R makes this recursive to all subdirectories.
- [sudo chmod -R a+rwx /share] this changes the rights for all (file owners, groups and other) to allow read, write and execute, basically opening up access to everyone.
- [sudo chmod -R +t /share] This puts the "sticky bit" on for these directories which disallows different users from deleting or renaming another user's files or directories. This will allow us to add content as itadmin or maestra user that the listo user will not be able to delete or corrupt. We can use this for adding wiki content to the wiki directory and bible content to the biblia directory. We will set the user to these files as itadmin, then only itadmin (or maestra as super user) will be able to delete these files. It will also allow the listo user to add and delete photos and music to the corresponding directories or additional wikis or bible content for that matter.
- [sudo ls -l /share] this shows the long form of the list of directories which allows us to verify correct configuration. Should look as follows:
- Open a terminal session and enter "gksu pcmanfm" which opens PCMan File manager as super user.
- Navigate to /usr/share/applications
- Open childsplay.desktop with Leappad or another text editor
- Change the Exec line to "Exec=LANGUAGE=es childsplay" or "Exec=childsplay --language=es" These are two command options used to open the program (Be careful to use all caps for "LANGUAGE" or this command will not work.
- [sudo add-apt-repository ppa:kiwixteam/ppa]
- [sudo apt-get update]
- [sudo apt-get install kiwix]
- login as itadmin
- download the Spanish Wikipedia zim from the kiwix web page.
- move to the /share/wiki directory
- set owner as follows [sudo chown -R itadmin.users /share/wiki/]
- give read permission at the group level
- log in as each user, open the Wikipedia zim file and choose to index it, which must be done for each user and takes some time. This way it will be ready to use on each computer.
- create shared directory as described above
- open BibleTime then open its book administrator
- click on the tool to edit installation directories and add /share/bible directories to the install directories
- Login as all users to add this directory to the installed directories
- Selected a few bibles from the CrossWire list and installed them to the /share/biblia directory. I did this as itadmin so I did not need to change user ownership rights and with the sticky bits only the itadmin would be able to delete these files.
- This was giving some trouble, so also logged in as maestra and listo and downloaded bibles and commentaries for each user separately into the default directory of each user.
- Included the GLOSSARY Ergane "Spanish to English Glossary" This give a quick translation from Spanish to English.
- Atomix - game for constructing molecules
- BibleTime - see install notes above
- Childsplay - see install notes above
- El Pequeno Mago (little wizard) - introduction to programming using actions to move a clown... Great program with decent Spanish translation
- KBruch - practice exercises with fractions
- KTurtle - introduction to programming using scripts to move a turtle
- Kalzium - periodic table of elements
- Kiwix - see install notes above
- Klavaro - typing tutorial with good Spanish support
- KmPlot - graphing program
- Marble - simple off line globe showing countries, capitals and major cities
- Setllarium - real time star chart
- Tux Paint - painting program for young chidren
- Tux Typing - fun typing practice game
- TuxMath -fun math practice game
- GIMP Image Editor - advanced drawing program
- Inkscape - vector drawing
- OpenOffice.org Dibujos - OpenOffice drawing program
- Scribus - Desktop publishing
- Picasa - popular photo editing & viewing program
- the default programs for the rest
- Chromium - a fast Web browser
- FreeMind - mind mapping program
- OpenOffice - full open office suite
- included programs: chestnut Dialer
- Chromium web browser
- Ballz - sim
- Aisleroit Solitaire - a group of solitaire card games under a common interface
- Atomix - educational puzzle creating molecules from elements
- Ballz - simple Indy platform game
- BZFlag - Multiplayer Tank battle game works on somewhat older macines
- Berusky - Ladybug puzzle game
- BurgerSpace - classic arcade game
- Chess (glchess) - faster chess game for slower computer
- Childsplay (also under Educaton)
- Emulator DOSBox - see notes above - for running old DOS games
- Enigma - puzzle game controlling marble with the mouse
- FloboPuyo - clone of puyopuyo, similar to tetris
- Freeciv - Civilization game for Linux (installed gtk client)
- Frozen-Bubble - entertaining marble matching game
- Gamine - Game for VERY young children teaching mouse usage by sounds and colors
- gbrainy - logic game in English (prior version was translated) but very good game
- Gweled - like Diamond Mine
- glTron - Tron bike game
- gPlanarity - game of untangling lines
- LBreakout2 - breakout clone
- Maelstrom - arcade game like Asteroids
- Mahjongg (gnome-mahjongg) - classic
- Mastermind - similar to the classic logic testing board game
- Mines - just like Mines for other platforms
- Monsterz - arcade puzzle like Bejeweled
- Moon-lander - ship landing game
- Nibbles (gnibbles) - simple worm game my daughter loves
- OpenTTD - transport tycoon with good Spanish translation
- Pingus - game like lemmings but with penguins - great Spanish translation
- Play on Linux - see separate section
- Quadrapassel - falling block game like Tetris
- Ri-li - toy train simulator with fun game play and excellent translation
- Secret Maryo Chronicles (SMC) - platform Super Mario clone
- Sudoku (gnome-sudoku) - numbers & logic game
- Suite educativa GCompris - educational games for young children
- SuperTux-stable - Mario like platform (older version for older hardware)
- Tremulous - combination RTS & FPS with great reviews and works on older hardware
- Warzone 2100 - real time strategy with decent translation and works on somewhat dated hardware
- Wessnoth 1.8 - Turn based strategy (under La Batalla por Wesnoth) translated very nicely and great gameplay on older machines
- ZaZ - arcade marble game
- Follow directions above to change number of desktops for the "listo" user. Need to login to listo.
- Follow directions above to change auto-login to the "listo" user.
- De-select the box to pull up the Linux Mint Welcome panel on startup for the "listo" user.
- for future support reasons install openssh server
- login as itadmin
- [sudo apt-get install openssh-server]
- [sudo nano /etc/apt/sources.list] This opens the apt sources to append the remastersys source
- Add the following lines to the file: the first line is a comment, the second the correct source
- #Remastersys
- deb http://www.geekconnection.org/remastersys/repository karmic/
- [sudo apt-get update]
- [sudo apt-get install remastersys]
- by default remastersys creates an iso file in the /home/remastersys/remastersys directory named custombackup.iso
- I copied this over to another machine to burn it using
- [scp /home/remastersys/remastersys/custombackup.iso maestra@[ipofmachine]:/home/maestra/Downloads]
- switch users to Maestra user
- open home folder
- double click on the Install shortcut
- language and time zone choices are not important as the system installs the options in the remastered image instead of what is chosen here.
- Reboot after installation, removing install disk when prompted
- Log off and back on as Maestra (need privelaged user)
- Install any updates
- Remove the following broken programs
- gltron
- gplanarity
- Add the following programs (last minute addition - games that work well on older computers)
- slingshot
- pyracerz (Py Racerz)
- tomatoes (I have no tomatoes)
- Copy Wikipedia image from other computer
- I saved this on a particular computer in directory /home/username/share
- sudo scp [user]@[ipaddres]:/home/[user]/share/wikipedia_es_all_09_2010_beta1.zim /share/wiki/ --this copies from other computer to correct directory
- sudo chown /share/wiki/wi.... itadmin
Wednesday, July 14, 2010
Most Useful Linux Programs & Configurations
Dolphin - Network and web browser. Allows me to easily see Samba and Linux shared drives. Works better than many alternatives and works with LXDE desktop.
Sunday, May 16, 2010
My Favorite Linux Games
Tuesday, April 6, 2010
Remote desktop to Linux from Windows
- Enable remote desktop access in your Linux distribution or setup.
- Download VNC Viewer free addition
- Access using port 0 => [IP address]:0
Friday, March 12, 2010
Wireless bridge from DD-WRT on WRT54GL
Downloaded both the mini firmware and the standard generic firmware from the DD-WRT site. http://www.dd-wrt.com/site/support/router-database These were downloadable after selecting the router model number.
login to the router at http://192.168.1.1 using the default blank user and password = “admin”
Since I am not using a production model, I skip the normal step of returing to factory defalut as it already is. I then flash the router with the micro build (dd-wrt.v24_micro_generic.bin) as an intermediate step. This is because the Linksys firmware will produce an error if the new image is over 3MB. Proceed to reset the hardware by holding down the reset button for 30 sec, unpluging for 30 sec while reset still down, then keeping the reset button down for 30 sec more. It takes another 30 seconds for the lights to quit blinking at which point I plug into my laptop again. I cycle the power off and on again as instructed then log into the router with defaults: 192.168.1.1 user: root password: admin
Now I upgrade the firmware to the standard generic (dd-wrt.v24_std_generic.bin). Reset the hardware once more as above.
Primary router: setup as Wireless Access Point
The principal router in the pair will be setup as a wireless access point as it is not desired to route or NAT computers behind the router, but rather to connect them to the principal DHCP server, etc. This is the router that will send the wireless signal out to be picked up by the remote router.
Starting with factory defaults:
Setup/Advanced routing
*changed operating mode to Router
Wireless/Basic Setup
*change SSID to “myNewSSID”
*changed wireless channel to that desired (1 in my case)
*disable broadcasting (as I am wanting this to be used for linking only)
*kept sensativity range the same but unsure if I will need to adjust this later
Wireless/Wireless Security
*leave insecure for now, but will add security after confirmed working
Services/Services
*disable DNSMasq
*disable ttraff Daemon
Security/Firewall
*uncheck all boxes excpet Filter Multicast
*disable SPI firewall
Administration/Management
*disable Info Site Password Protection
*disable routing
Setup/Basic Setup
*disable WAN connection type
*change router name as desired
*change local IP address to a unique IP address out of the DHCP pool
*set Subnet Mask as appropriate
*set Gateway and Local DNS to the address of the primary server
*select assign WAN port to switch, which allows you to use the WAN port as another switched interface, otherwise it is disabled. This dummy proofs the box so someone cannot plug the cable into the WAN port and wonder why the access point does not work
*disable DHCP server and uncheck the DNSMasq options
Settings are saved on each page. When they are all saved, select apply settings and cycle power.
Tested by connecting network cable to back of router then testing wireless connectivity.
Second Router:
Install the DD-WRT system as before. Make the following modifications, saving after each page, then applying changes only when all changes are made.
Wireless/Basic Setings
*change wireless mode to Client Bridge
*change the network mode and SSID to match the primary router
*disable SSID broadcast as I do not intend anyone to pickup the signal
Wireless/Wireless Security
*leave insecure for now, but will add security after setup is working
Setup/Basic Setup
*disable WAN connection type
*change router name as desired
*change local IP address to a unique IP address out of the DHCP pool
*set Subnet Mask as appropriate
*set Gateway and Local DNS to the address of the primary server
*select assign WAN port to switch, which allows you to use the WAN port as another switched interface, otherwise it is disabled. This dummy proofs the box so someone cannot plug the cable into the WAN port and wonder why the access point does not work
Setup/Advanced Routing
*set Operating Mode to Router
Security/Firewall
*uncheck all boxes excpet Filter Multicast
*disable SPI firewall
Administration/Management
*select apply setting
*select reboot router
Tested the connection by hooking up my laptop to a wired port on the client bridge and connecting through the router connection. Everything works perfectly! Next added security to both routers as follows:
Wireless/Wireless Security
*change security mode to WPA Personal
*select TKIP algorithm and add the same key to both routers
Save and reset each router, starting with the one most distant from your computer.
Use the signal quality indicator on the Status/Wireless page to adjust antenna for maximum signal quality. On the Administration/Management page change the language to Spanish since these routers will be shipped to Honduras. A last minute change was to set the style to chromo on the Administration/Administration page since the Status pages were not showing up with the default "elegant" style.