Skip to main content

Posts

Ubuntu:: root password

I could not understand the policy of password for root user when I start to use Ubuntu linux. I didn't know root password on Ubuntu Linux. Actually, no one know about it...... because it is null. The policy of root password is that if root has no password then no one can attack it. However, some one wont to use root as other distribution of linux. You can make password for root on Ubuntu Linux. But, it makes risks for attacked by malicious user. Be careful to make your root password. If you want to make password for root then you should check your root password is safty or not by some kind of password checking site. # sudo passwd root enter password for current user (if your account has authority for using sudo command) enter new password for root user enter same password for root user

MEMO:NEKO:Logger

This is memo. ABOUT NEKO(http://ddg.jaist.ac.jp/neko/) We can see message in log.log, when protocol send/receive NekoMessage  to/from other protocols. However, if some message extends NekoMessage then the send/receive log doesn't print into log. Because, the message is extended class from NekoMessage. The log mechanisms are working as (MAYBE) calling NekoMessage.getSource(). HOW TO PRINT LOG INTO "log.log" One of the solutions is to call Logger.info(). This meaning is .... #####BEGIN EXAMPLE###### (This is not completed code...... You need implements more for implementing protocols. ) Logger logger = new NekoLogger.getLogger(YourClassName.class.getName()); SenderInterface sender; public void send(NekoMessage m) { logger.info("ANY MESSAGE  " + m.getSource());  sender.send(m); } public void setSender(SenderInterface sender) { this.sender = sender; } ###########END EXAMPLE###############

Ubuntu 8.10 Intellistation

I was using Ubuntu 8.04 on Intellistation Z Pro. This ubuntu was upgraded from Ubuntu 7.04 -> 7.10 -> 8.04. Last week, I upgraded it to 8.10. Then I could install it. But it was not working. I got error before kernel loading. The error messages are following. ###################### Starting up..... Loading, please wait.... Gave up waiting for root device. Common problems: -Boot args (cat /prcc/cmdline) -Check rootdelay= (did the system wit long enough?) - Check root=(did the system wait for he right device?) - Missing module (cat /proc/modules; ls /dev) ALERT! /dev/disk/by-uuid/ed...( 16進数の数字列) does not exist. Dropping to a shell! BusyBox v1.10.2 (Ubuntu 1:1.10.2-1ubuntu6) built-in shell (ash) Enter `help` for a list of bult-in commands. ###################### I sourch some other same problems. Then, I could find it on Ubuntu forum. The problem is kernel version. On defaults, Ubuntu 8.10 supports Kernel 2.6.27. However, he/she also said that Kernel 2.6.27 is not work...

Virtual Memory

My mac laptop got crash by (null) process. Before crash it, I captured it from active monitor. The process had virtual memory more than 1600000TB. Where this mac hid such a big storage?????

Player/Stage :: Mac OSX Leopard

This is just memo. I write memo for Player/stage on Mac OSX Leopard. At first, we have to install Player/Stage by MacPort. sudo port install playerstage-stage sudo port install playerstage-player Maybe, when you execute the player on your OSX then you will see the error for rgb.txt. If you see this error then you need to make the symbolic link from "/usr/X11/share/X11/rgb.txt". Well, MacPort provides Player/Stage version 2.0.3. But, latest version of Player/Stage is version 3.0.1. I downloaded version 3.0.1. However, it didn't work because of version. I try to use on version 2.0.3, then I can use player/stage.

Mac OSX::Subversion GUI client

Usually, I use cvs for managing version for my works with command line. Whenever, I use the histry command. Today, I found the GUI client for subversion. http://versionsapp.com/ It can use over ssh version. For my imange, I can use the subversion as the scp clients.

[player/stage: javaclient2] sample

This 2 days, I could not understand about the player/stage. javaclient2 is one of the client tool for player. Official site (player/stage) http://playerstage.sourceforge.net/wiki/Main_Page Official page(javaclient2 for player/stgage) http://java-player.sourceforge.net/index.php The following url is community for javaclient2 for player/stage. http://www.nabble.com/Javaclient-for-Player-Stage-f3213.html I try to write sample program same behavior as laserobstacleavoid.cc. ======================================================================== import javaclient2.*; import javaclient2.structures.PlayerConstants; import javaclient2.structures.laser.*; public class TestClassBasic { private String hName = "localhost"; private int port = 6664; private double lLimit = 2; public TestClassBasic() { PlayerClient robot = new PlayerClient(hName, port); Position2DInterface p2d = robot.requestInterfacePosition2D(1, PlayerConstants.PLAYER_OPEN_MODE); Lase...