Tuesday, October 21, 2008

How A Calculator Works Series



I've wondered for months (ie since I finally removed Windows s ul my computer) as you could do firmware upgrades recorders with linux. Here's what I tried and because it has not worked so far:


a DOS boot disk: there are many in the network, that of HP, which is mounted on USB devices such as pens, memory card than the Dell but I have not felt up to that I prefer that it is "Ultimate Boot CD" which is loaded with features and diagnostic and allows you to have different boot disk to dos that is linux. Started the FreeDos ok prompt, the sad answer is that the program to upgrade the ASUS is only for Windows!

a WindowsXP liveCD (amazing you can do with Ba rtPE), but I only have disks to ext3 and then the liveCD does not work begins with a reassuring screen WindowsXP Professional (weird I made a LiveCDizzare Home) but the result is a nice blue screen (remember those)


since I had no desire to remove the recorder and take it from one who had a SATA port and free running a windows and I did not want to reinstall windows on my computer, I thought why not try wine?

I used Wine for other things but I will not have heard of using it for things like low-level firmware upgrade and as always, I was wrong!

then I launched

wine nomefile.exe

and magically started the ASUS software (and so far nothing strange)
I did do the flash and of course I had a "Flash fail" and therefore has not even started to flash (not bad if I had stopped halfway cooked the recorder!)

and then I said to myself, but yes! let's do it even though everyone always says to NEVER use as a root user for security reasons
wine

sudo wine nomefile.exe


told me that was not the owner of root. wine (I love it when so precise!)

then I take the property

sudo chown-R root / home / user / .wine

sudo wine nomefile.exe

and everything magically worked! As always the simplest solution is always the one that works and by the way I noticed on the web and even one with a CD burner Samsung has managed

then I put back all my property

sudo chown-R $ USER : $ USER / home / user / .wine


*** is obvious that what worked for me and I take responsibility for them if you want to try ***

And on another

RFK

dsfdf

Why Does Skype Not Recognise My Webcam

ASUS burner and firmware file $ HOME / .dmrc

For some version of ubuntu (currently are beta to 8.10) after I installed some applications more (to be honest I do not know exactly which one) I find this message after the login

"The file $ HOME / .dmrc user is ignored. This prevents the saving of the session and the default language. The file should be owned by user and have 644 permissions.
user's $ HOME directory must be owned by user and not writable by other users. "

Ovviemente I went to see the file. DMRC

ls-l / home / username / .dmrc

and I saw it was my property but it was 644 (-rw-r - r - ) that is scriviile to me and readable by everyone, but it was 600 (-rw -------) that is writable only by me but by setting 644 the message does not disappear

are then going to see my home

ls -l / home

and I saw it was 777 (drwxrwxrwx): I had set so I open? probably yes, but go get a reminder, perhaps one of the times I tried to configure samba

then in my smallness I put my home at 644 as the message said only that the message did not say its good to read it as saying that 644 was true for the file. DMRC and not for the home and in fact the next time you log all blocked since I'd taken the chance to perform the files in my home. Smart.

Ok do not panic, linux is not windows (it also shows that shows you a clear message like the one above), then

CTRL + ALT + F1
I open a text login, and return

chmod 744 / home / username
CTRL + ALT + F7 back to my

graphical shell

CTRL + ALT + BACKSPACE

canceled the session rearrange my login and voila! no message and above all working

A small victory for me.

I saw that this problem is common among users, but I found a lot of information on general assistance (which still work) but do not analyze the fact that this thing has to happen probably for some program that is installed later. If one day I'll update maybe ask more attention.

A praise yet for Linux that was able to give me an error message clear to work on, which windows, from which I come, I would surely have given.

greetings

RFK