2008/10/242008/01/102008/01/102008/01/292008/01/072007/12/172007/12/172007/12/17I want to read data from an external storage device (USB Memory Stick, USB HDD, CF Card etc.) formatted in a windows file system (FAT).2007/12/17I configured the httpd (http daemon) over the Web Setup Tool / Serial Setup Tool, but no page appears.2007/12/17When I use the ftp program on the Windows command prompt to download files for OpenMicroServer / OpenBlockS / SSD/Linux from the ftp server, the files are broken.2007/12/14Do you have an indication how long an OpenMicroServer would run on a UPS (uninterruptible power supply)?2007/12/142007/12/14What is the difference between a special CF card for the OpenMicroServer / OpenBlockS266 compared to a normal one? What are the merits?2007/12/142007/12/142007/12/142007/12/142007/12/142007/12/142007/12/142007/12/142007/12/122007/12/142007/12/13I tried to use the OpenMicroServer / OpenBlockS266 as a router, but it did not work. I thought about using routing, but in the web setup tool the settings for IP masquerading, port forwarding and easy firewall do not appear.2007/12/112008/01/252007/12/042007/12/14
I want to change the timezone settings on the OpenMicroServer. How can I do this?
First, note that while the English factory standard firmware has the time zone set to Japan, this was changed to UTC with version 0.4-RELEASE-20080727.en
If you are booting the default installation from the flash ROM, more steps are necessary: you need to first provide the necessary files, and then store them in the flash ROM user area.
- Download the HDD image (base.tgz) version of the firmware and extract the directory /usr/share/zoneinfo/ and its contents. Copy the timezone date to OMS.
- Add this path to /etc/FLASHCFG
- Save the data to the second user area with
- Add the line extractuser=YES to rc.conf to read these files from the user area automatically at boot up
- Change the symbolic link /etc/localtime to the desired timezone data
- Add the path /etc/localtime to /etc/flashcfg
- Save the file with
# flashcfg -S /etc/FLASHCFG
# flashcfg -s /etc/flashcfg
If you have installed an extended OS distribution on a hard disk or Compact Flash card, you can easily change the time zone: change the symbolic link /etc/localtime to your desired time zone under /usr/share/zoneinfo/.
For more information, refer to http://www.linuxsa.org.au/tips/time.html2008/10/24435Back to topWhat is the MTBF (Mean Time Between Failure) for the OpenMicroServer?OpenMicroServer: 420,000 hours = 47.9 years
AC adapter: 50,000 hours2008/01/10412Back to topHow can I log in as root over telnet?
- If you are booting from internal ROM or CF card: Change the following lines in the file /etc/login.defs
(before) CONSOLE console:ttyS0:ttyS1 (after) CONSOLE console:ttyS0:ttyS1:ttyp0:ttyp1:ttyp2In case of the OpenMicroServer, for RELEASE-20060915 and later use
(before) CONSOLE console:ttyS0:ttyS1 (after) CONSOLE console:ttyS0:ttyS1:pts/0:pts/1:pts/2instead.
Add the following line to the file /etc/flashcfg
/etc/login.defsif it is not included already.
# /usr/sbin/flashcfg -s /etc/flashcfg
- When booting from HDDUncomment the lines from pts/0 to pts/7 in /etc/securetty2008/01/10410Back to topI want to implement log rotation.You can implement log rotation with the newsyslog command.
As newsyslog is not included in the standard factory firmware, retrieve the files first:
(in this example, we use the firmware RELEASE-20070221, IPv4 version)
Download the files base.tgz and etc.tgz from the ftp directory ftp://ftp.plathome.co.jp/pub/OMS400/RELEASE-20070221/mipsel-obs1550/binary/
Extract the files newsyslog and newsyslog.conf from the files. On a linux console, you can use the following commands:
$ tar ztpvf base.tgz ./usr/bin/newsyslog $ tar ztvpf etc.tgz ./etc/newsyslog.confLog in to the OpenMicroServer, and copy the files to the following directories:
/usr/bin/newsyslog /etc/newsyslog.confNext, set owner, group and mode:
# chown 0.0 /usr/bin/newsyslog # chmod 555 /usr/bin/newsyslog # chown 0.0 /etc/newsyslog.conf # chmod 444 /etc/newsyslog.confAdd the following line to the file /etc/FLASHCFG (create the file if it does not exist)
/usr/bin/newsyslogand run the command
# /usr/sbin/flashcfg -S /etc/FLASHCFGAdd the line
/etc/newsyslog.confto /etc/flashcfg In /etc/rc.conf, add
# crontab -eand check whether the line
0 * * * * /usr/bin/newsyslog -i 60shows up. If the line does not exist, add one.
Add the line
/var/cron/tabsto /etc/flashcfg if it does not exist.
At last, run
# /usr/sbin/flashcfg -s /etc/flashcfgand reboot.2008/01/29409Back to topThe device suddenly stops or reboots.Please check whether the power plug is tightly plugged in. If it is only plugged in halfway, it can happen that it has a loose contact, causing the device to suddenly stop or reboot sometimes.
Note that you can fasten the contact on the OpenMicroServer models with a cable clamp.2008/01/07407Back to topI want to use the OpenMicroServer as a ntp server (time server).First, add the following line to /etc/rc.conf
Next, prepare the file /etc/ntp.conf
Download etc.tgz from ftp://ftp.plathome.co.jp/pub/OMS400/LATEST/mipsel-obs1550/binary/etc.tgz
and extract the file from it.
% tar zxpvf etc.tgz ./etc/ntp.confYou can use this file as a basic setting.
Finally, add the line
and run the command
# /usr/sbin/flashcfg -s /etc/flashcfgto store the file on the internal flash ROM. (The last step is not necessary if your system is installed on external storage like a CF card.)2007/12/17403Back to topWhen I use the su command, I get the message `/dev/pts/0: Operation not permitted'When using su with the hyphen `-' as argument, the following message is displayed:
# su - <user name> Password: /dev/pts/0: Operation not permitted
To make the message disappear, comment out the following passage in the file /etc/profile
if [ -x /usr/bin/biff ]; then biff y fi2007/12/17402Back to topDoes Java work on the OpenMicroServer?The following versions work:
2007/12/17399Back to topI want to read data from an external storage device (USB Memory Stick, USB HDD, CF Card etc.) formatted in a windows file system (FAT).Please update the OpenMicroServer to the latest firmware version. VFAT support was included in firmware RELEASE-20060727.
- Java software products
- Open Source Java VM
Tested on OpenMicroServer under SSD/Linux and Debian.
See http://www.kaffe.org/compatibility_japitools.shtml for the status of kaffe's implementation of Java API.
Tested on the OpenMicroServer under Debian.
To format the storage device in FAT, please use a Windows PC.
You can use the storage device in the OpenMicroServer after you mount it with the mount command.
2007/12/17397Back to topI configured the httpd (http daemon) over the Web Setup Tool / Serial Setup Tool, but no page appears.Please first check in the Web Setup Tool / Serial Setup Tool, whether your httpd settings are as the following:
- In case of a CF
# mount -t vfat /dev/hda1 /mnt
- In case of USB Flash Memory or a USB HDD
# mount -t vfat /dev/sda1 /mnt
- Mark the checkbox "httpd starts at startup"
- Mark the checkbox "Perform chroot to Data Directory"
- Data Directory (dir): /home/www
- CGI pattern (cgipat): **.cgi
- Log file (logfile): /home/www/logs/thttpd.log
# mkdir /home/www/data # mkdir /home/www/logsStore the contents of your Web pages in /home/www/data/
Next, add the following lines to /etc/flashcfg:
/home/www/data /home/www/logsto save the data to the Flash ROM at shutdown / reboot, otherwise the data is lost.
Finally, save the configuration and reboot.
2007/12/17396Back to topWhen I use the ftp program on the Windows command prompt to download files for OpenMicroServer / OpenBlockS / SSD/Linux from the ftp server, the files are broken.When using the Windows command prompt ftp program to upload / download files (that are not text files), be careful to use the right file transfer type. When downloading binary files like firmware, you need to set the transfer mode to binary.
- In the Web Setup Tool / Serial Setup Tool:
Select "Save: Restart" in the "Save" tab.
- At the command line, enter:
# /usr/sbin/flashcfg -s /etc/flashcfg # reboot
Since the default mode is ascii, always use the following command on the ftp prompt to switch to binary mode before downloading program files.
ftp> binary 200 Type set to I.2007/12/14393Back to topDo you have an indication how long an OpenMicroServer would run on a UPS (uninterruptible power supply)?We tested an OpenMicroServer with integrated CF card on a Mitsubishi Electric AX-M10R-1.5KS-B (1500VA) UPS. The server kept working for about 7.5 hours until power ran out.
For automatic shutdown, we tested FREQSHIP-mini for FreeUNIX (freq_2.00.tgz).
To use a UPS, you need a serial port adapter for the OMS and a serial cross adapter to connect it to the OMS.
See also our list of recommended peripheral devices: http://www.plathome.co.jp/support/labo/oms400/recommend.html2007/12/14392Back to topI installed Debian on the OpenMicroServer / OpenBlockS266, but the iptables command does not work.You can solve this by exchanging the debian iptables with the one from SSD/Linux.
- Boot to the factory default status. To do that, hold down the init button and plug in the power.
- Log in via telnet or serial port. Run the following commands with root permissions.
- Mount the storage device where you installed debian. In this guide, we assume a CF card in the internal slot, so the device name is /dev/hda1. Change as appropriate.
- Copy the iptables command from SSD/Linux
# cp /sbin/iptables /mnt/sbin/iptables
- Unmount the storage device where Debian was installed.
# umount /mnt
# e2fsck /dev/hda1 # mount -t ext3 /dev/hda1 /mnt2007/12/14390Back to topWhat is the difference between a special CF card for the OpenMicroServer / OpenBlockS266 compared to a normal one? What are the merits?The difference is that Plat'Home guarantees proper operation for CF cards sold especially for the OpenMicroServer / OpenBlockS266.
CF cards have different operation modes, which can lead to different problems during use. There can also be problems with the built-in memory controller. These specifications are usually hard to verify before purchase. Memory controller and specifications can differ even within the same model number.
To avoid this, all special CF cards are tested by us in the OpenMicroServer / OpenBlockS. There is also a preliminary control by the maker to avoid differences in one model. That way, we can guarantee proper operation. If there should still occur a problem, we will respond and investigate the matter.2007/12/14389Back to topI forgot my password, so I can't login anymore and can't change settings.With the method below, you can reset the password while retaining all other settings.
- Boot the device while pressing the INIT button.
IP address after boot:
ETHER-0: 192.168.252.254 ETHER-1: 192.168.253.254 ETHER-2: 192.168.254.254
- Login as root
ETHER-0: 192.168.253.254 ETHER-1: 192.168.254.254
- telnet Login as user1/user1, and become superuser with the command `su -' (password root)
- serial connection Login as root/root
- Run 'flashcfg -x'
- Set the password
- for the root user
- for a normal user Run `passwd <login name>'
- Run `flashcfg -s /etc/flashcfg'
- Reboot with the command `reboot'2007/12/14388Back to topI tried to use ftp or telnet, but it takes a long time to connect.It is likely that the name server settings are wrong. Either enter a correct name server, or remove all name servers from the setting files.
You can do that either by using the Web setup tool or serial setup tool, or by editing the configuration file directly.
2007/12/14387Back to topCan the OpenMicroServer / OpenBlockS266 be used as a load balancer?You can use the open source software Pen for load balancing with the OpenMicroServer / OpenBlockS266.
- Web setup tool or serial setup tool
In the section "network" under "resolver settings", either enter a correct name server address or make all entries blank.
Enter a correct name server address in the file /etc/resolv.conf in the line nameserver or remove the entry.
Note: We have tested and verified basic operation, but we did not perform a stress test. Please test whether pen runs in your environment before actual live use.
You can run the program by installing it into the user area of the internal Flash ROM.
You need an storage device to install the program, such as a CF card.
2007/12/14386Back to topDoes squid (a proxy server) run on the OpenMicroServer?We have verified that Squid runs on the OpenMicroServer.
- OpenMicroServer: ftp://ftp.plathome.co.jp/pub/OMS400/packages/ pen-0.17.0-mipsel-1.tgz
- OpenBlockS266: ftp://ftp.plathome.co.jp/pub/OpenBlockS266/packages/ pen-0.17.0-ppc-1.tgz
Caution: We have only tested basic functionality, not a stress test. Please test whether squid runs in your environment before actual use.
- OpenMicroServer You need to equip the server with a storage device to install squid. This can be either a CF card, a USB thumb drive or USB HDD.
2007/12/14385Back to topHow can I configure VLAN?In the following example, we setup eth0 as VLAN device with VLAN ID 3
- ftp://ftp.plathome.co.jp/pub/OMS400/packages/ squid-2.5.STABLE13-mipsel-1.tgz
# vconfig add eth0 3
- Assign IP address (192.168.0.3)
# ifconfig eth0.3 192.168.0.3
# vconfig rem eth0.3VLAN IDs can be set as any integer between 0 and 4094. Note that 0 and 1 are reserved.
802.1Q VLAN implementation for Linux:
http://www.candelatech.com/~greear/vlan.html2007/12/14384Back to topWhen I login over the serial port, the display in the vi editor is garbled.Before starting vi, use the following command to set the TERM variable.
# export TERM=vt1002007/12/14383Back to topHow can I fetch the setting files stored in the OpenMicroServer / OpenBlockS266 Flash ROM.The setting files stored in the OpenMicroServer/OpenBlockS266 Flash ROM with the command
# flashcfg -s /etc/flashcfgcan be fetched with the following commands:
# cp /dev/mtd/3 flashcfg.tgz
# cp /dev/mtd/0 flashcfg.tgzThe setting files are collected in the gzip-compressed tarball flashcfg.tgz.
You can view a list of them with the following command:
# tar ztpvf flashcfg.tgzNote: You can view the information in the device mtd.
# cat /proc/mtd2007/12/14382Back to topThe firmware update of my OpenBlockS / OpenMicroServer failed, and now it does not boot anymore.Try whether you can boot the device while holding down the init button.
If this works, check the correct update procedures and try again.
If this does not work, try the "Updating firmware by using BOOTP+TFTP server" method described in the User's Guide (Chapter 5.3.2 for OBS manual)
2007/12/12380Back to topIs the queryperf command from bind available for OpenMicroServer / OpenBlockS266?You can download a compiled version of the queryperf command for OpenMicroServer and OpenblockS266 from our ftp server.2007/12/14379Back to topCan I backup the OS environment to a CF card or (on OMS) a USB storage device?Yes, that is possible. You can make a complete backup of the OS environment to play it back in case of trouble.
Please check the integrity of the downloaded firmware files by comparing file sizes and MD5 sums.
If you are using the ftp command on a PC to download the firmware, set the ftp client to binary mode.
If the above methods and checks do not help, it is possible that there is a hardware failure. In that case, please contact our customer service.
The easiest way is to create an ext2 or ext3 partition on the medium and just copy all data.2007/12/13375Back to topI tried to use the OpenMicroServer / OpenBlockS266 as a router, but it did not work. I thought about using routing, but in the web setup tool the settings for IP masquerading, port forwarding and easy firewall do not appear.For security reasons, routing is disabled in the OpenMicroServer/OpenBlockS266 default configuration.
To activate it, add
iptables=YESas the last line in the file /etc/rc.conf.
Then, save the settings to the flash ROM with the command
# flashcfg -s /etc/flashcfgand reboot.2007/12/11368Back to topCan I use audio with the OpenMicroServer?You can use a USB audio device. We have successfully tested the Creative SBDMUPX.
Since sound drivers are not included in the standard firmware, you need to do the following:
First, download the OMS firmware from ftp://ftp.plathome.co.jp/pub/OMS400/RELEASE-20070221/mipsel-obs1550/installation/ (or ftp://ftp.plathome.co.jp/pub/OMS400/RELEASE-20070221/mipsel-obs1550.ipv6/installation/, version with IPv6 support) and update it. See the OMS user's guide on how to update the firmware.
Next, download the file kern.tgz from ftp://ftp.plathome.co.jp/pub/OMS400/RELEASE-20070221/mipsel-obs1550/binary/ or ftp://ftp.plathome.co.jp/pub/OMS400/RELEASE-20070221/mipsel-obs1550.ipv6/binary/ .
Extract the following files:
% tar zxpvf kern.tgz ./lib/modules/2.6.16/kernel/sound/core/oss/snd-mixer-oss.ko.gz …Copy the files into the directory /lib/modules/2.6.16/usb on the OpenMicroServer.
Finally, save the settings on the CompactFlash card.
# flashcfg -s /etc/flashcfgand reboot.
Easy operation check
# cat /dev/audio > test.auPlay
# cat test.au > /dev/audio2008/01/25367Back to topI want to use the DIO interface of the OMS. How can I do that?You can access the DIO port over the device file /dev/dio. The interface is operated by ioctl.
Use the following sample programs as a reference.2007/12/04366Back to topCan I upgrade the RAM in the OpenMicroServer / OpenBlockS?No, the RAM is hardwired onto the motherboard.2007/12/14365Back to top