patrik's blog

My Saab 9-5


Linux and Atmel processors

Some notes about programming ATTiny25 and likes with an Ubuntu system.

USBProg
embedded-projects.net
Open Source soft and hardware, relativly cheap.
lsusb gives:
Bus 001 Device 034: ID 03eb:2104 Atmel Corp. AVR ISP mkII

Programming software - avrdude. use 'man avrdude' to see possible options. In my case an ATTiny25 was used.

programmer
id = "avrispmkII";
desc = "Atmel AVR ISP mkII";
type = stk500v2;
;

partno:
t25 ATtiny25
m168 ATmega168

(see "man avrdude" for more)

This gives the following command:

PicAmp

Belkin Wireless G+ MIMO USB Adapter in Linux

Got this nice USB adapter (Belkin F5D9050B, 050d:905b ) working in Linux with a little help from the internet... The things I did was these:

Download driver from Ralink:
RT2571W/RT2671USB, http://web2.ralinktech.com/ralink/Home/Support/Linux.html

Unpack driver, modify code as of this Forum post:
http://forums.ralinktech.com.tw/phpbb2/viewtopic.php?t=2809

Compile driver as in Module/README, use './Configure / make / make install' instead of 'make config'.

Try to configure manually:

ifconfig rausb0 192.168.0.X up
iwconfig rausb0 channel N
iwconfig rausb0 essid 'ESSID'
iwpriv rausb0 set AuthMode=WPAPSK

Mambo Server

This site uses Drupal, but there are other good CMS's out there. Mambo (http://www.mamboserver.com) is one of them, I made some notes when I installed it on my private server.

    Download and untar file
  • wget http://mamboxchange.com/frs/download.php/7368/mambov4.5.3h.tar.gz
  • tar zxvf mambov4*
  • touch configuration.php
  • chown nobody configuration.php
  • chown nobody administrator/backups/
  • chown nobody administrator/components/
  • chown nobody administrator/modules/
  • chown nobody administrator/templates/
  • chown nobody cache/
  • chown nobody components/
Syndicate content