Archive

Archive for the ‘Embedded’ Category

Adding an IP alias on DD-WRT lan interfaces

January 13, 2010 5 comments

I didn’t find any straight documentation about that, so I decide to write myself one.

Adding an IP alias under dd-wrt console (linux) is simple:

ifconfig br0:1 <ip_address> <netmask>

and is done. Now we should save this command for running on startup. You have 2 choices:

1. web interface
2. shell (ssh or telenet)

1. Web interface

Go to Administration Tab -> Command.
Type the following commands on Command edit box:


#!/bin/ash
PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"
ifconfig br0:1 <ip_address> <netmask>

Now press Save Startup
Now you can reboot you router.

2. Shell interface

Log on your router.
and runt the following command:

$ nvram set rc_startup="
#!/bin/ash
PATH="/sbin:/usr/sbin:/bin:/usr/bin:${PATH}"
ifconfig br0:1 <ip_address> <netmask>
"
$ nvram commit

Success !

Categories: Embedded, Linux, Quick Tip, Shell Tags: , ,

Debian on Android installer released

January 16, 2009 1 comment

The ghostwalker from androidfanatic.com released an installer of Debian for Android platform. Yes that means you can install Debian on your mobile phones/smart phones etc. The installing doesn’t take more than 10 minutes and after it will let you in a shell with access to all Debian repository for testing and fun :)

Check more about Android and Debian here

Categories: Embedded, Linux Tags: , , ,

Garmin Nuvi 8XX, 5XXX and 9xx runs linux

January 15, 2009 2 comments
Garmin Nuvi 880

Garmin Nuvi 880

Right now linux is everywhere even in embedded devices. Even Garmn Nuvi series 8XX, 5XXX and 9xx are running linux. So if they are running linux that means they need to release their modifications and sources for this devices. Garmin already published sources here.

The hardware of this devices differ from at device to other but are almost the same:

* Processor — Monahans (Marvell PXA/3xx)
* Memory — “solid state” storage, and probably 64MB of RAM
* Display — 4.3 inches (10.9 cm); 3.81 x 2.25 inches (9.7 x 5.7 cm); 480 x 272 pixels, WQVGA color TFT
* Bluetooth — 1 x Bluetooth 2.0; hands-free dialing feature
* Dimensions — 4.9 x 3.1 x 0.7 inches (12.5 x 7.8 x 1.8 cm)
* Weight — 6.2 ounces (176 grams)
* Battery — removable, rechargeable lithium-ion; up to 4 hours
* Expansion — 1 x microSD slot
* USB — 1 x USB port; optional USB mass storage device is compatible with Windows or Mac OS X only
* Other features — FM transmitter; headphone jack/audio line-out; Garmin Lock anti-theft feature

The software used on this devices is:

gnome 2.4.0
gnome-vfs-2.16.3
xserver-kdrive-common-0.1
busybox-1.01
tinylogin-1.4
alsa
blueZ
matchbox window manager
geoclue-0.9

Off course this is just the most important software what is used not all.
The prices are not such high for such a device. For example Garmin Nuvi 885 costs ~249$ and it knows:
- speach recognition
- bluetooth hands free
- real-time local weather, traffic, movie times, gas prices, stock information, and local news and events
- MP3 player, audio book player, JPEG picture viewer, currency converters, games, and an alarm clock.
- FM transmitter

Categories: Embedded, Linux

Sony DSC-G3 Camera runs Linux

January 14, 2009 Leave a comment

At  Las Vegas Consumer Electronics Show Sony presented the new camera  Cyber-shot DSC-G3.

Features:

1. Zeiss Lens 4x zoom

2. Display 3.5”

3. 4Gb of internal Memory

4. Wifi enabled

5. Runs linux

The latest feature was the most interesting one: Camera runs linux 2.6.11 with busybox.

Categories: Embedded, Linux Tags: , ,
Follow

Get every new post delivered to your Inbox.