Difference between revisions of "Gumstix"

From New IAC Wiki
Jump to navigation Jump to search
Line 73: Line 73:
 
ifdown
 
ifdown
 
ifup eth0
 
ifup eth0
</ore>
+
</pre>
  
 
Must check the if address of a machine which is connected to the same network by ifconfig and route -n
 
Must check the if address of a machine which is connected to the same network by ifconfig and route -n

Revision as of 15:46, 30 January 2010

Hardware

(2)The gumstix motherboard has a 600MHz Marvell XScale processor, 128MB of RAM, and 32MB of flash.
(2)The 80 pin expansion socket is attached to a network interface card for TCP/IP networking.
(3)The 60 pin expansion socket has a breakout-vx card to allow access to the I2C signals, serial ports, and various other GPIO possibilities.
(2)Additionally, 4V power adapters
(10)screw and spacer kits are needed.
(2)TTL to serial adapters

Software

Gumstix Documentation Wiki

I2C installation

cgi-bin programs

Boa Webserver is the webserver on the Gumstix.
cgicc is the C++ library used for handling web scripts.
Buildroot is the system used to build the root image for the gumstix.

Tutorials

I2C Linux from userspace.
[http://www.yolinux.com/TUTORIALS/LinuxTutorialC++CGI.html libcgicc


Misc

Setting the date

The busybox date -s accepts a very limited format. Use it from another Linux box as follows:

ssh root@134.50.203.56 "echo date -s `date +%m%d%H%M%Y`"

Setting Static IP adress

Use the static method modifiy the file tc/network/interfaces so it says


# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
 
# The loopback interface
#
auto lo
iface lo inet loopback

#
# Wired interfacesq
#
auto eth0
iface eth0 inet static
address 129.57.36.61
#network 129.57.1.0
gateway 129.57.36.1
netmask 255.255.252.0
broadcast 129.57.39.255

# if netduo attached uncomment lines below
#auto eth1
#iface eth1 inet dhcp

#


Then do commands

ifdown
ifup eth0

Must check the if address of a machine which is connected to the same network by ifconfig and route -n


ifconfig interfaces inet addr >>> address Bcast >>> broadcast

route -n Genmask >>> netmask Gateway >>> gateway