Batch (.bat) copy paste commands

VN:F [1.9.22_1171]
Rating: 9.0/10 (1 vote cast)

Today we was working on compiling an application using Mingw MSYS.
After a few minutes we found out that you can’t copy paste a command by default. Searching the net didn’t help as well.

Finally we got an idea:
http://support.microsoft.com/kb/282301

It could be activated by opening the options menu by right clicking the window:
shellshell_2And that’s it :) Now you could copy & paste in your shell / .bat :)
This instruction works with any bat file.
To show you thanks simply rate this post or give it a google +1. Thanks

Posted in C++ General | Leave a comment

Root access Buffalo Linkstation

VN:F [1.9.22_1171]
Rating: 9.0/10 (1 vote cast)

First of all you need a tool called “acp_commander”. It’s a small java commandline script. So you’re going to need java installed. You could simply check if you have it installed by entering “java” in your cmd.exe.

The following commands worked well with Buffalo Linkstation Pro (firmware 1.64) installed:

Execute them at your own risk!

exchange 192.168.0.104 into the ip of your linkstation,
exchange “password” into the password that you use for the web interface
exchange “newpasswd” into the password that you like to use

java -jar acp_commander.jar -t 192.168.0.104 -ip 192.168.0.104 -pw password -c “(echo newpasswd;echo newpasswd)|passwd”

java -jar acp_commander.jar -t 192.168.0.104 -ip 192.168.0.104 -pw password -c “sed -i ‘s/UsePAM yes/UsePAM no/g’ /etc/sshd_config”

java -jar acp_commander.jar -t 192.168.0.104 -ip 192.168.0.104 -pw password -c “sed -i ‘s/PermitRootLogin no/PermitRootLogin yes/g’ /etc/sshd_config”

java -jar acp_commander.jar -t 192.168.0.104 -ip 192.168.0.104 -pw password -c “/etc/init.d/sshd.sh restart”

After that the Linkstation was able to be accessed by putty (root:newpasswd).

 

Posted in Personal | Leave a comment

Buffalo Linkstation change language

VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)

The default language of buffalo NAS is Japanese to change it follow these steps:



Don’t forget to rate his post!

Posted in Allgemein | Leave a comment

Linkstation duo red light

VN:F [1.9.22_1171]
Rating: 9.7/10 (3 votes cast)

If you’re in a hurry scroll down to “how I fixed it“.

Today we revived two hard drives that we ordered for using our “Buffalo Linkstation Duo“.
After building them in and following the instructions it didn’t work. What happened actually was that a red light appeared at function.

The Linkstation takes a few minutes to start up. You could see it by looking at the leds. When it starts the blue light blinks. After it’s done starting the light turn blue permanently.

At that point holding the function button doesn’t install the firmware in any way. Inserting the CD and trying to install it will lead into “setup could not be completed” but you could run the software and see the output. In my case I a note that the Linkstation is in EM-Mode.

Ok enough storry telling now let me tell you how I fixed it:

Make sure that you know what you’re doing. You’re responsible. Unplugging the power cable at the wrong time may cause a bad state of your firmware which require some effort to fix.

1.) Download the windows firmware update tool from buffalo:
http://www.buffalo-technology.com/en/ls-wxl-linkstation-duo-downloads.html

2.) Make some modifications in the LSUpdater.ini:
add this at the bottom:

[Flags]
VersionCheck = 0
NoFormatting = 1

[SpecialFlags]
Debug=1

3.) Open it and access the options menu by clicking the icon:
4.) Open Debug and check the following boxes:
5.) Wait and don’t unplug the power!
In my case it took about 15 minutes. The info/error led blinks orange while the flashing is in progress.

6.) Result:
7.) Give this post a 10 star rating!!!

Hope this is helpful and what you’re looking for.

Default login details:
Username: admin
Password: password

Posted in Personal | Leave a comment

How I fixed my S1200BTL / Amber blink or on / Screen or graphic problem / BMC fix

VN:F [1.9.22_1171]
Rating: 9.5/10 (2 votes cast)

Before you start reading my story and doing it by your own you should really know what you’re doing. I’ll take no warranty if you damage your hardware!

I had a lot of issues with one of my home servers. In fact I was thinking of shipping it back. But finally after spending some time reading manuals I fixed it:

1.) My main issue was that I get “84F2 Baseboard Management Controller failed to respond”. The server sometimes took about 5-8 minutes before I get any screen output. (At that state four green LED’s are on / two in the up and two in the down).

2.) Aside from that I had some serious issues with the onboard video. Sometimes the output started “strange”. Sometimes stripes appeared then letters disappeared or switched to a total unreadable state which didn’t switch to readable again. So I thought that the problem must be the onboard graphic chip.

3.) Adding to that one status LED blink amber or sometimes stays on amber.

I took care of number 2 the easy way. I went to the malls and bought a PCIe graphics card and build it into my system. That worked well now my screen was readable all the time.

Then I started to read the intel manual (G13326-003_S1200BT_TPS_v1_0.pdf) in detail to take care of issue 1 and 3. I put the name of the PDF in there because there’re a lot of pdf’s that wouldn’t help in that case. E.g. the “Quickstart” provided by intel wouldn’t help you at all with that,…

I found out that the amber light + graphic output are connected in some way. They both come from the BMC chip. The BMC also regulates the FAN speed so if you’ve fans that spin at maximum speed it might also be fixed with my solution.

So I started taking a look at the jumpers and found:
J1E2: CMOS Clear
J1F2: ME Force Update
J1F1: Password Clear
J1F3: BIOS Recovery
J4A2: BMC Force Update

First of all I did a CMOS clear to be sure that my settings didn’t cause any of my issues.
Refer to the intel manual how to do it.

Then I set J4A2 and flashed my system with the newest firmeware by using a usb stick.
When you flash it you’ll be asked about your FAN settings and if you’ve several features. You should all answer it correctly otherwise the status LED will blink amber or stay on.
Aside from that be informed that CPU FAN & SYSFAN 4 must be installed.

After doing the restart my system seems to pass the 84F2 problem but the amber light stays blinking so I decided to use SELVIEWER

To use SELVIEWER you should download DOS SELVIEWER + make a bootable usbstick:

Make sure you’re working as administator and assume X: is the usb sticks drive letter
Delete all partitions on your stick
Create one primary partition and mark it as active
Format that partition using FAT32
syslinux\syslinux.exe -fma X:
xcopy usb-root\* X:\ /E/H/I
create a new folder and copy SELViewer.exe + needed SEL files in it
Reboot
press [Enter] at syslinux boot: prompt
double press [Enter] while your asked to change date and time
then navigate to your SELViewer folder and start selviewer
your done! have fun!
bootstick.zip

Thanks to:
http://goebelmeier.de/bootstick/
for providing the Freedos Image.

Finally I had SELVIEWER running and could check why the amber light is on.
I could see something like:

“FAN x32 getting lower”
“FAN x32 getting critical”
I don’t remember the exact term but was something like.
I removed some fans to find out which fas in x32,… The strange thing with it is that FAN x32 spined proper. Anyway I replaced him and that fixed the last issue.

Now I’ve a very fine system running without issues :)
Hope this post it helpful for someone else.

Have a nice day, thanks for reading!

Posted in Personal | Tagged , , , , , , , , | Leave a comment

In honor Kim DotCom Megaupload / Megavideo

VN:F [1.9.22_1171]
Rating: 8.5/10 (2 votes cast)

A few days I was trying to watch some videos hosted at Megavideo the video didn’t load. I just thought it’s another issue of my provider. But then the next day I read in the news that Kim DotCom was arrested and the websites has been suspended by the FBI. That’s a sad week. One of the world’s biggest websites for online streaming and file-sharing is down.

It’s the next big strike against online streams after “kino.to” a website for online streams. In case of kino.to it went well. After a week a new website called kinox.to appeared. Sure for some people the story of kino.to didn’t go well they got arrested and have a pending case.

In case of Kim DotCom it’ll be taking a very long time and it isn’t said that he’s really responsible for this but the music industry reached their target already. As I see it for them it doesn’t matter how the case ends. There target was to stop those sites even if just for a limited time.

I’ll be keeping an eye on it and being excited to know what will be the outcome. To honor the services of Megaupload / Megavideo I’ve embedded the MegaUpload song:

For the people who don’t know Kim. The corpulent man with the headset is him.

corpulent

Posted in Personal | Leave a comment

HUAWEI E220 MCN Mobile Partner

VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)

Today I got my new “HUAWEI E220 HSDPA UMTS 3G USB Dongle modem“. I plugged my Talk ‘N Text SIM and tried to send a SMS but it wasn’t successful. I always get “sending / message failed”. So I took a look at the settings of the software that comes with (Mobile Partner). The so called “Message Centre Number” was not set and that’s why it didn’t work at all.

Depending on your SIM you should enter the right data. I’ve listed some filipino data centers:

+639180000101  (Smart/Talk ‘N Text)
+639180001467  (Red Mobile)
+639990001801  (ümobile)
+639150200003  (Islacom)
+639170000130  (Globe/TM)
+639220001501  (SUN)


So now I could text and get messages. The only thing is the balance inquiry function. After doing some reseaches I found the command for Talk ‘N Text:

STEP 1: Type ?15001 or ?15005 <- (Questionmark is important will fail if you skip it!)
STEP 2: Send to 214

STEP 3:
Get your balance details such as free texts, unlimited text expiry and of cause load balance,…

Posted in Android | Leave a comment

Android (angry birds) not compatible with your device Solution

VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)

Today I’ve tried to install “angry birds” on my WonderMedia WM8650 trough market. Additional to that I’ve to say that I’ve flashed my device. I “installed” Universal Uberoid HoneyCombMOD. The reason for that is quiet simple. In the so called “app market” that comes with firmware you can’t find the application you need. It’s some kind of a “fake android market”.

Now back to the main topic. I’ve tried to install it and I get an error:

“This item is not compatible with your device”

android not compatibleBUT! That isn’t true. I’ve another WonderMedia WM8650 which comes with Angry Birds.
So I tried to bypass it and I found some ways.

For both solutions  you need the following things:
1.) PC with internet connection
2.) MicroSD Card
3.) MicroSD Card reader for PC

Solution 1:
1.) Search for “angry birds apk download” on google and download it.
2.) Use the MicroSD Card reader and copy it to your SD card
3.) Plug MicroSD Card into tablet and open the file trough a Android data browser like “File Expert”.
4.) Search the apk file that you copied and open it.
5.) The installer will ask for permission. Grant it and it should work

Data browsers on android look like that:

Solution 2:
1.) Go to: applanet.net
2.) Install the APK (look at solution 1 if you need help)
3.) Now open applanet in your tablet and you could install “angry birds” over it

Posted in Android | Leave a comment

Unmount SD card Android

VN:F [1.9.22_1171]
Rating: 7.5/10 (2 votes cast)

microsd
Today I was asked what’s the correct way to remove an SD card from an android tablet to prevent data loss. If you don’t remove it that way Android will also display you a note:
“SD card removed unexpectedly”

Before you unplug your SD card go to:
Menu > Settings > Storage > Unmount SD card

Posted in Android | Leave a comment

“Download unsuccessful” Android Market

VN:F [1.9.22_1171]
Rating: 8.5/10 (2 votes cast)

android
Yesterday I tried to download some applications with my new tablet and I always got: “Download unsuccessful” and in status there was also a notice that Gtalk doesn’t work due to some errors.

After a few tries I got it fixed. Let me tell you how:
1. Open Menu
2. Find “Settings” and open it
3. Select “Applications”
4. Press “All” on the top menu
5. Now select Market
6. Click “Clear cache”
7. Now go back and select “Download Manager”
8. Click “Clear data”
9. Go Back and do the same with   Google Talk, Checkin Service and Browser
10. Try if it works

11. If it didn’t work you’ve to “Clear data” at “Google Frameworks”
12. After clicking “Clear data” you’ve to restart your tablet otherwiese your tablet will say unexpected error and market will not start

Finally it should work ;)

Posted in Android | Leave a comment