Archive for December, 2009

How To Enable Telnet On A Samsung TV

The recent set of Samsung TV firmware is based on the Linux Kernel, which mean that it is possible to research and enhance your own Samsung TV. Pretty fancy.

The list of Linux-based Samsung TVs is available here.

How To Enable Telnet On A Samsung TV

Reminder: Enabling telnet with this program is not dangerous but with wrong telnet commands, still you have a chance to brick your TV.

Download SamyGO Telnet Enabler Samsung TV application from SourceForge.

Copy the SamyGO Telnet Enabler Samsung TV application to a USB Flash, then plug it into your TV. Using the Content Library from the Pup-Up menu, select USB, then under Game menu, select and start the SamyGO application once. The TV will then turn into black and then return to the menu. This will enable a telnet session on the Samsung TV. When you reboot your TV (switch off and back on) you need to reopen telnet via the menu.

Now you are able to telnet to your Samsung TV.

$ telnet 192.168.2.11

Take a look around e.g. at /proc/cpuinfo

# cat /proc/cpuinfo
Processor       : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 599.65
Features        : swp half fastmult vfp edsp java
CPU implementer : 0x41
CPU architecture: 6TEJ
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7
Cache type      : write-back
Cache clean     : cp15 c7 ops
Cache lockdown  : format C
Cache format    : Harvard
I size          : 16384
I assoc         : 4
I line length   : 32
I sets          : 128
D size          : 16384
D assoc         : 4
D line length   : 32
D sets          : 128

Hardware        : Samsung-SDP83 Eval. Board(64bit 512MB)
Revision        : 0000
Serial          : 0000000000000000

Related posts:

  1. Review: Samsung LED TV
  2. SMTP Telnet Session
  3. PHP 5.2 and APC (Alternative PHP Cache) Performance
  4. Tap, Bug and Spy on a Mobile Phone – Nokia, Samsung, LG, Blackberry
  5. Crack Windows Password
  6. Optimize MySQL Performance With MySQLTuner
  7. How to mount bin / cue image files in Linux
  8. Slow Query Log Analyzes Tools
  9. Browse Faster Using a Local DNS Cache
  10. Varnish : Simple and Fast HTTP Acceleration

Comments

Howto Publish Weather Data from a LaCrosse 2300 Weather Station using a Linksys NSLU2 and Open2300

The LaCrosse 2300 Weather Station is a widespread and popular amateur weather station. This Howto outlines howto install and configure a LaCrosse 2300 Weather Station and Linksys NSLU2 to stream data to DMI, which is the agency that manages the meteorological, climatological and oceanographic services
to the society in Denmark, the Faeroe Islands and Greenland.

The hardware setup is as follows:

  • LaCrosse 2300 Weather Station
  • Linksys NSLU2
  • PL-2303 USB to Serial Converter/Bridge (connects the Weather Station to the NSLU2)

Some may ask, why not just use a PC; desktop or HTPC and use the Windows software; Virtual Weather Station (VWS), Weather Display or Weatherlink. The reason is simple – a traditional PC makes noise and consumes too much power.

A lean, silent, and power efficient solution is required and here the Linksys NSLU2 comes into the game. A Linksys NSLU2 combined with the customized firmware OpenWrt is an incredible powerful and effective couple, which you can use for many interesting things e.g. SlimServer, uShare, iTunesServer, Asterisk, and a LAN/WAN digital camera server. Many different things, a more complete list is available here.

What is OpenWrt
OpenWrt is an open source project to create a free embedded operating system for network devices. Users wanting to use only internal flash memory to install the system should try OpenWrt. It has a large user community and is actively developped.

Anyway back to the configuration of the NSLU2.

Install UpSlug
UpSlug is a (Linux / MacOS X) tool to flash your NSLU2 from an external computer on the same subnet (direct Ethernet access is needed; it won’t work if you have routers or NAT devices between you and the NSLU2. On Ubuntu 9.10 UpSlug2 is available in the repositories.

sudo aptitude install upslug2

Get The Stable OpenWrt Firmware Image

wget http://kamikaze.openwrt.org/8.09.1/ixp4xx/openwrt-nslu2-squashfs.bin

Set The NSLU2 Into Upgrade Mode
To do this, make sure the NSLU2 is turned off. Then press the reset button with a paper clip or small screwdriver and keep it pressed. Turn the NSLU2 on. The “Ready/Status” led will be yellow. When it changes to a red shade, immediately release the reset button. If it flashes red and green, you have succeeded (if not, unplug and try again).

Now upslug2 should find the nslu2 over the LAN and display the information. Install the image with upslug2 -i filename. It will flash and verify the upload and then reboot automatically.

Afterwards the NSLU2 will take a few minutes to initialize the JFFS2 partition, don’t reboot if you cannot access it immediately. It will start up using the IP 192.168.1.1 and if that particular address is already taken then it will default to DHCP. Try telnet and ping to access it.

Install ssmtp, USB OHCI and pl2303 Kernel Drivers

root@nslu2:~# opkg update
root@nslu2:~# opkg install ssmtp kmod-usb-ohci kmod-usb-serial-pl2303

Install open2300
open2300 reads/writes data from the Lacrosse WS2300 family of weather stations. Includes tools that send data to: logfiles, webpages with graphs, XML file, MySQL, Weather Underground, Citizen Weather.

The open2300 is not available in the official OpenWrt package repository, however it can be compiled for the NSLU2 and OpenWrt from source using the OpenWrt and the open2300 source packages. A pre-compiled version of open2300 for OpenWrt and the NSLU2 architecture can be downloaded here.

$ scp open2300_1.11-1.11_armeb.ipk root@192.168.1.1:
root@nslu2:~# opkg install open2300_1.11-1.11_armeb.ipk

Adjust open2300 Configuration

Adjust /etc/open2300.conf to the correct serial device ike this:

SERIAL_DEVICE                 /dev/ttyUSB0  # /dev/ttyS0, /dev/ttyS1, COM1, COM2 etc

Fetch Data From The Weather Station

root@nslu2:~# fetch2300
Date 2009-Dec-29
Time 13:58:51
Ti 18.4
Timin 16.1
Timax 18.8
TTimin 00:46
DTimin 2001-01-01
TTimax 01:45
DTimax 2001-01-01
To 1.8
Tomin -3.4
Tomax 2.4
TTomin 06:03
DTomin 2001-01-01
TTomax 16:47
DTomax 2001-01-01
DP 0.1
DPmin -5.6
DPmax 0.8
TDPmin 04:09
DDPmin 2001-01-01
TDPmax 16:00
DDPmax 2001-01-01
RHi 38
RHimin 37
RHimax 48
TRHimin 17:22
DRHimin 2001-01-01
TRHimax 00:46
DRHimax 2001-01-01
RHo 89
RHomin 82
RHomax 90
TRHomin 00:48
DRHomin 2001-01-01
TRHomax 16:00
DRHomax 2001-01-01
WS 0.0
DIRtext WNW
DIR0 292.5
DIR1 292.5
DIR2 292.5
DIR3 292.5
DIR4 292.5
DIR5 292.5
WC 1.8
WCmin -3.4
WCmax 2.4
TWCmin 06:03
DWCmin 2001-01-01
TWCmax 16:47
DWCmax 2001-01-01
WSmin 0.0
WSmax 2.2
TWSmin 17:26
DWSmin 2001-01-01
TWSmax 10:52
DWSmax 2001-01-01
R1h 0.00
R1hmax 0.51
TR1hmax 17:16
DR1hmax 2001-01-01
R24h 0.51
R24hmax 0.51
TR24hmax 17:21
DR24hmax 2001-01-01
Rtot 15.01
TRtot 12:12
DRtot 2008-06-08
RP 990.400
RPmin 988.400
RPmax 991.000
TRPmin 00:21
DRPmin 2001-01-01
TRPmax 15:07
DRPmax 2001-01-01
Tendency Steady
Forecast Cloudy

Upload Data to DMI Borgervejr, Citizens Weather, and Weather Underground

DMI Borgervejr

Create a bash script like this:

#!/bin/sh
log2300 /tmp/open2300.log
echo "" > /tmp/mail.txt
date '+%d/%m/%Y %H:%M:%S' >> /tmp/mail.txt
tail -n 1 /tmp/open2300.log | awk '{print "Humidity: " $8 "%\n" "Temp: " $5 "C\n" "Raw Barom: " $16 "hPa\n" "Wind Dir: " $10 "\n" "Wind Spd: " $9 "mps\n" "Wind Gust: " $9 "mps\n" "Tot Rain: " $15 "mm\n"}' >> /tmp/mail.txt
cat /tmp/mail.txt | ssmtp borgervejr@dmi.dk
rm -rf /tmp/open2300.log
rm -rf /tmp/mail.txt

										

Related posts:

  1. Linksys Network Storage Link NSLU2
  2. MySQL Concatenate: Adding String At The End Of Field Data
  3. Mysql Data Import
  4. Howto: How to Reset the MySQL Root Password
  5. SMTP Telnet Session
  6. Howto install Sun Java on Debian Sarge
  7. Howto install Java on Debian Sarge
  8. Howto Secure Apache
  9. Howto Create a libstdc++ Compat on Debian (e.g. libstdc++-libc6.2-2.so.3)
  10. Howto Install Oracle on Debian

Comments

Skype Open Source

According to the Skype forum there’s an open source version of Linux client being developed. It will be a part of larger offering, but don’t communicate much information about it as of now. The version also seems to be limited to an open source UI, which it means that it will help Skype to get adopted in the land of Linux distributions, as well as on other platforms, but the protocol related stuff will remain proprietary.

Related posts:

    No related posts.

Comments

Online Hash Calculator

Comments

Card Security Code (CSC) and Card Verification Value (CVV)

The Card Security Code (CSC), also known as Card Verification Value (CVV or CV2), Card Verification Value Code (CVVC), Card Verification Code (CVC), Verification Code (V-Code or V Code), or Card Code Verification (CCV) are a security enhancing features for credit or debit card transactions, providing increased protection against credit card fraud.

There are technical differences among the types of security codes:

  • The first code, called CVC1 or CVV1, is encoded on the magnetic stripe of the card and used for transactions in person.
  • The second code, and the most cited, is CVV2 or CVC2. This CSC (also known as a CCID or Credit Card ID) is often asked for by merchants for them to secure “card not present” transactions occurring online over the Internet, by mail, fax or over the phone. In many countries in Western Europe, due to increased attempts at card fraud, it is now mandatory to provide this code when the cardholder is not present in person.
  • Contactless card and chip cards may supply their own codes generated electronically, such as iCVV or Dynamic CVV.

Location of CVV2 or CVC2
The CVV2 or CVC2 is a three- or four-digit value printed on the card or signature strip, but not encoded on the magnetic stripe.

Generation of CVV, CVC CVC2 and CVV2 codes and values
CVV, CVC CVC2 and CVV2 values are generated when the card is issued. The values are calculated by encrypting the PAN, expiration date and service code with encryption keys. These encryption keys is known only by the issuing bank.

Related posts:

    No related posts.

Comments (11)

Dansk Elproduktion og elforbrug i real-tid

Følg med i Danmarks elproduktion, elforbrug og udveksling med nabolandene.

Related posts:

  1. Danish Energy Production and Consumption
  2. Dansk latin ordbog

Comments

Jailbreak iPhone 3GS Using redsn0w (Linux)

redsn0w is a utility that jailbreaks the 3.0 and 3.0.1 version of the iPhone OS. It does so by downloading the custom firmware from the Internet, and then installing it onto the device. It allows users to install either Cydia or Icy, or both. This allows the user access to tweaks, home-brew applications, and the root directory and file system.

redsn0w is available for Linux, Mac OS X and Windows. This guide will show howto jailbreak an iPhone using the Linux-based version of redsn0w.

More to follow.

Related posts:

  1. Jailbreak iPhone 3GS Using redsn0w (Windows)
  2. How to Unlock iPhone 3GS
  3. Howto: Office 2007 on Linux with Wine
  4. iTunes on Linux (Ubuntu)
  5. Remote Control Your Computer with Your iPhone
  6. Howto install Sun Java on Debian Sarge
  7. Howto: How to Reset the MySQL Root Password
  8. TomTom on an iPhone
  9. Safari on Linux
  10. iPhone Background Package

Comments

Basic Roman Numerals and Numbers

The Romans were fairly active in trade and commerce, and from the time of learning to write they needed a way to indicate numbers. The system they developed lasted many centuries, and still sees some specialized use today.

Roman numerals traditionally indicate the order of rulers or ships who share the same name (i.e. Queen Elizabeth II). They are also sometimes still used in the publishing industry for copyright dates, and on cornerstones and gravestones when the owner of a building or the family of the deceased wishes to create an impression of classical dignity. The Roman numbering system also lives on in our languages, which still use Latin word roots to express numerical ideas. A few examples: unilateral, duo, quadricep, septuagenarian, decade, milliliter.

The big differences between Roman and Arabic numerals (the ones we use today) are that Romans didn’t have a symbol for zero, and that numeral placement within a number can sometimes indicate subtraction rather than addition.

Here are the basics:

I
The easiest way to note down a number is to make that many marks – little I’s. Thus I means 1, II means 2, III means 3. However, four strokes seemed like too many.

V
So the Romans moved on to the symbol for 5 – V. Placing I in front of the V — or placing any smaller number in front of any larger number — indicates subtraction. So IV means 4. After V comes a series of additions – VI means 6, VII means 7, VIII means 8.

X
X means 10. But wait — what about 9? Same deal. IX means to subtract I from X, leaving 9. Numbers in the teens, twenties and thirties follow the same form as the first set, only with X’s indicating the number of tens. So XXXI is 31, and XXIV is 24.

Related posts:

  1. Bank Identification Number (BIN) Database
  2. SSL: Verifying that a Certificate matches a Private Key
  3. Credit Card Number Generator

Comments

« Previous entries Next Page » Next Page »