000webhost

Web hosting

Sunday, March 27, 2011

EeePC Recovery without the Recovery Partition and an Unbootable Recovery Image

Recently, I had an awkward circumstance whereby I ended up with a mangled partition table on my 1015PD and I somehow had a corrupt backup ISO that was unbootable (partition recovery utilities would not work due to the severity of the problem). Obviously, I tried the usual such as attempting to make it bootable again using BCDEasy, ImgBurn, CDBurnerXP to boot into the required recovery environment (WIM file). However, these attempts usually ended 'unusually' with the recovery process starting but then dropping out after commencing the 'Initialization' process which led to my partition table being mangled (Note that BCDEasy is a fantastic once you've discovered that you need to play around with long strings which are used to identify hard drive partitions).


I tried manually created a partitioning layout (based on research of what it should look like on the Internet), extraction of the relevant WIM (asus?.wim), and manually re-creating the recovery partition but as you'll note in the following you'll see that cylinders overlap one another which fdisk doesn't seem to allow. My setup was virtually identical apart from the the lack of overlap. I noticed that even if I was able to install this would lead to a boot 'stall' (blinking cursor in top left corner) when I attempted to install ExpressGate, and/or if I pressed the F9 button it would somehow end up toggling the 'Bootable' Flag on the the C:\ to another drive which meant that drive ordering would change such that the D:\ would now be the C:\ which meant that boot would fail if you had nothing installed there, which hence meant a reboot with GParted and switching the 'Bootable' flag back to the relevant partition and more experimentation.


I discovered that using a combination of optical drives containing ImageX, BOOT folder of the Windows hard drive as well as BOOTMGR file in combination with a Windows 7 Startup Repair Disk I could get things going again but it was a dirty method and involved too much manual work for me should I have other problems down the line. I could have written a BAT file to complete the job but I soon recalled that I had a spare 1005P Recovery Disk ISO around and took a closer look. I extracted it using WinRAR and extracted the WIM files for examination using ImageX, GImageX, and later on 7Zip (note that you'll soon discover that free tools may be easier to use than Windows AIK). I noted that basically, ASUS.wim was the file being installed/extracted and the WIM files in the SOURCES directory were there to create a recovery environment as is the case with a Windows 7 Startup Disk and/or something similar to BartPE.

Based on content on RCDWIM.BAT it seemed as though it were a generic file that would if required extract several WIM files (naming convention would be asus.wim, asus2.wim, asus3.wim, etc...) to the hard drive. It would then attempt to run a batch file that would then install drivers and other utilities (based on the contents of PERecover.exe the naming convention seems to be $V_[MODEL_NAME].bat, $7_[MODEL_NAME].bat, $[MODEL_NAME].bat with the fall back being Recovery.bat). However, since this was not really required if we were using an updated WIM with drivers/utilities included I didn't investigated this too deeply.

The contents of the Driver/Software directories are obvious, just download updates from the ASUS website if desired and extract them into the relevant directories. It seems as though BIN/AsusIntAll/InstAll.exe in combination with BIN/ASSETUP.EXE file seems to iterate through both directories in order to calculate which pieces of software are up to date (when compared to the base system by using ASSETUP.EXE as well as its corresponding configuration file ASSETUP.ini) and this is used to determine which pieces of software should be updated/installed. EG directory was obviously for ExpressGate. However, due to time limitations I didn't really investigate how this fitted in with regards to the batch file. My guess is that it is looking for a BAT file inside the BIN folder that corresponds to the model number of the netbook in question. However, while I tried 1015P, 1015PD it didn't seem to register this. We'll leave it for a later time to investigate further. However, like I said, extract ExpressGate into the required directory and run the correct executable and everything (including ExpresssGate) should work. Thereafter, you may consider Ghost (included on the disk funnily enough) and or other imaging tools mentioned on this blog and on other websites.Note that both Seagate and Western Digital supply free versions of Acronis to users of their drives.


Another option is using, BartPE, nLite, and vLite to create a standard bootable disk with elements of the standard ASUS image slipstreamed into the final image. Obviously, some research and analysis needed to be done in order to complete this project and you may be interested in the following links. Note that should you attempt to make the image bootable you'll need to extract a boot image from the original 1005P ISO and that the first 8 sectors are what are required in order to boot into the WinPE environment. This may change depending on the disk you use to create your image. Note that VirtualBox is useful for testing out whether your disk is bootable.

Tuesday, February 8, 2011

Soldering Tips

As I've discovered through time there are a few things that you'd love to know about soldering before you start doing it on a semi-regular level.
- you need a good soldering iron. You'll notice that lower quality irons will have a tendency to be slow to heat up, and have a larger tip which can make it harder to solder when a PCB is a bit 'cramped'
- if possible get a soldering iron with multiple tips and tips of different size/type so that you can deal with jobs of varying size/accuracy
- get a soldering iron which can allow you to vary the temperature to the tip. This will allow you to get away with having to cool it using external entities (such as a wet sponge which when used often can wear out your tip more quickly anyhow)
- de-soldering braid is 'extremely' useful if you are new electronics. Its essentially a bundle of copper fibers that have been layered in such a way that it resembles a 'braiding' pattern that you see in some hair styles. You use it by layering some of it over an area that you need to remove solder from. Heat it up by placing the soldering on top and then due to the braiding structure of the de-solder it will absorb the solder from the PCB. Cut off the used de-solder when you are done with it as it can make a big mess if you attempt to use it over and over again without it being completely 'clean'. Best of all, it doesn't cost much either!
- the stand that comes with most cheap soldering irons is next to useless unless you have a power board on top of the table supplying the power since the weight of the cable is likely to pull it off your table and/or workbench. If you do intend to make moderate use of a soldering iron get a complete soldering stand which is almost likely a third hand holding it in mid-air
- further, good advice regarding soldering is available here:

Thursday, January 27, 2011

Cheap Programmable Robots

I've always had somewhat of an interest in robots. Up until fairly recently though there haven't really been any cheap robots that I've been particularly interested in. Two that I recently found (and that were on sale :-)) were the Asuro as well as the Viper from Microbrics.

The Microbrics option seems to be aimed towards the beginner and reminds me a lot of more expensive Lego and Mecanno options. Components are Lego like in that they fit together as 'modules'. For instance, one module may consist of an IR receiver (for commands from a remote control) while another may consist of a small electric motor. Funnily enough, there also seem to be completely cosmetic parts as well. You should note that most of the parts are put together using a small (supplied) Philips headed screwdriver. The manual was decent but there could have been more detail to be honest (its fairly short at around 30 pages). Unlike other inexpensive robots though this one can be programmed via a serial port (newer versions can be programmed via USB obviously) using an IDE that uses the BASIC programming language. Moreover, it includes sensors for bump detection, motorised wheels as well as mechanisms for remote control, and line detection.


The Asuro robot is probably one of the least expensive options on the market for something this, 'advanced'. The reason why this is the case is that unlike other robots you need to completely assemble/solder it yourself. (For those of you who are relatively new to soldering short pin/side corresponds to the flat side of the LED diagram on the PCB. For those of you who are impatient, read the manual quickly but 'properly'. Some parts are more difficult to connect if others have been installed first. Other than that does not seem overly difficult to assemble.)

Like other more advanced electronic devices it can be programmed using the C programming language as well as a Visual Interface (which only seems to be accessible using German at this stage though). Like the Viper, it includes sensors for bump detection, motorised wheels as well as mechanisms for remote control, and line detection.

Tuesday, January 11, 2011

Free and Open Source Network Monitoring Systems, Random Stuff, and More

Nagios: is clearly the easiest to install/administer (even from source). Graphs could be better though but plugins and community support/documentation are probably the best.
Zabbix: is easily the best for graphs but still a slight learning curve and documentation could be better. SNMP support is lacking but is supposedly part of a commercial downstream project and is a project request for 1.8 (next version), slightly worried about agent having security vulnerabilities as well (although it does seem to be patched regularly).
ZenOSS: could be great but still has too many bugs and there's too much of a learning curve. In future I think this will be 'the standard' for larger networks if Zabbix doesn't fix its SNMP capabilities and/or Nagios doesn't fix its graphs or or plugin to do better graphing.
SNIPS: was a disaster. Don't want to even talk about it. Everything is manually configured (crontab, source code install, etc...) guessing it was developed a long time ago and hasn't been worked on since.
OpenNMS: will try later...

All have the ability to Email/SMS provided correct plugin.
All have SNMP/IP capabilities and other service monitoring.

Windows Tiling Window Managers

- Twinsplay: neat if you're into keyboard shortcuts, costs something, 29USD
- MaxTo, you basically setup regions beforehand and then max/min
within those regions, free
- WindowSize: extremely flexible and has pre-aranged setups. If money
wasn't a problem I'd probably go with this. not free, 20 USD
- GridMove: lack of flexibility with preset templates, free
- HashTWM: think TWM for windows, looked at help file not fun to use, free
- bugn: it works but has non-intuitive interface, doesn't work well
with multiple monitors, free

UPS Device Control/Configuration

APC UPS


Settings are 8,0,1,Xon/Xoff

The APC SC 1500 UPS uses a very simple command language that is based around single characters and control characters. Apparently, USB interface is slightly buggy (could be software/firmware but apparently requires to re-attach cable every once in a while).

http://linux.die.net/man/8/apcupsd (APC control software)

Upsonic UPS

While cheap the Upsonic Power PrOffice 650 seems to have configuration software available for it. It has an RS-232 interface and has Linux interfacing software.

Favourite Links

http://arstechnica.com
http://www.osnews.com/
http://www.reddit.com/
http://www.linux.com/
http://www.lifehacker.com.au/
http://www.engadget.com/
http://www.tomshardware.com/
http://www.smallnetbuilder.com/
http://www.linuxtoday.com/
http://www.techradar.com/
http://www.gizmodo.com.au/
http://www.f1technical.net/
http://stackoverflow.com/
http://techcrunch.com/
http://serverfault.com/
http://highscalability.com/
http://www.newscientist.com/
http://phys.org
http://www.itnews.com
http://itwire.com
http://www.zone-h.org/
http://www.net-security.org/
http://www.h-online.com/
http://www.computerweekly.com/
http://www.wired.co.uk/
http://www.digitaltrends.com/
http://www.nature.com/
http://allthingsd.com/
http://www.infosecisland.com/
http://www.theguardian.com
http://www.google.com.au/news
http://www.bing.com/news
http://newslookup.com

Thursday, October 21, 2010

Asus 1005P disassembly

The Seashell series look a little bit intimidating since they hide most of the hardware under a very streamlined exterior which seems to be fairly fragile. To upgrade the hard drive you need to remove all four screws from underneath. Then you need to remove a screw from underneath the RAM cover. Then using a business card push in the notches at the top of the keyboard (to avoid scratching the keyboard) inwards and lever upwards and towards you the keyboard. Then remove all screws underneath. You may need to remove the ZIF connector for the keyboard. Then use the business card around the edge of the laptop to separate the top from the middle panel. Remove the ZIF connector from the top of the hard drive by levering the notch upwards and towards the side of the laptop. Then remove relevant screws and pull the hard drive out. Reassembly should be the opposite.

Tuesday, October 19, 2010

Mobile 3G Router

Of late, I've discovered like others that having gadgets can have benefits as well as downsides. For instance, I have a phone that is just has a prepaid SIM card in it but I would like to upgrade to 3G connectivity but I can't be bothered upgrading my SIM card. As such, I'm reliant on free Internet WiFi hotspots for my connectivity and sometimes even swapping the 3G SIM card from my wireless dongle into my phone when I'm especially desperate. The time was nigh though when a series of devices were produced which had possessed certain things I had in mind though. One of them was the Netcomm 3GT1WN, while another was the Edimax 3G-6200n. Both are similar in that they allow you to insert a wireless USB 3G modem in order to establish a connection, both have a wireless hotspot capability, but most of all they both have the ability to be able to utilise an existing Ethernet based technology in order to use for WAN connectivity or to otherwise use as a LAN port for connection via 3G for when your primary connection goes down (which I have recently been having problems with during the last two weeks. Hence, my interest in these gadgets.). They differ though in the total number of devices they support as well as the battery life. Battery life on the Netcomm device is almost double that of the Edimax (4 vs 1.5) based on reviews on other websites. Moreover, while the Edimax supports about several dozen odd modems the Netcomm seems to support most modems on the market today making it a possible permanent solution for your routing problems. My only real gripes with it may be the occasional stall due to multiple concurrent connections sharing the same bandwidth, the slightly bulkier size, occasional stalls (that may be network related), and a sluggish web interface. I would also like the ability to have both separate WAN/LAN ports. Apart from that it is sensible price effective backup solution for your networking needs.

Mac OS X G4 on a PC via PearPC, , Random Stuff, and More

Old technology but I wanted to take a look at MacOSX without having to fork out the dollars for the technology. First step is acquiring a copy of MacOSX. Best place is via technology classifieds. Next step, is getting a copy of PearPC and PearPCSetup (to ease setup of the configuration file as well as virtual hard drives). Then extract PearPC (jitc version) to a directory of your choice. Run PearPCSetup. Then create a VM as you would in VirtualBox and/or VMWare. Depending on your version of OSX you may need to setup a network adapter as well and/or setup a TAP device. After this boot from a relevant boot image and install as any other MacOSX installation would go. Note that depending on the size of the hard drive you have setup you may have a very long wait. Moreover, you may need to reboot in order to have the installation recognize this as something that you can install the operating system to. Note that it may also be easier if you decide to rip all CD's to ISO files first and use this as your installation media. This can be both quicker as well as quieter. You'll also note the CD's have a tendency to be smaller in size (about the 350 mark for my G4 cd's).

- as usual thanks to all of the individuals and groups who purchase and use my goods and services
http://sites.google.com/site/dtbnguyen/
http://dtbnguyen.blogspot.com.au/

Random Quotes:
- Lavinia Woodward was 24 and dreamed of opening hearts as a cardiac surgeon. On December 30, 2016, at her accommodation in Oxford’s Christ Church college, she ended up stabbing her partner in the leg with a bread knife.
According to evidence presented to the court, the argument erupted after Thomas Fairclough, a Cambridge student she had met on Tinder, called her mother, concerned about her drinking. Woodward had already been drinking and using drugs. Before stabbing him, she threw a laptop, a glass, and a jar of jam at him. He needed four stitches and was also injured in two fingers.
She pleaded guilty to unlawful wounding, an offense that carries a sentence of up to five years in prison. The court heard that she suffered from an emotionally unstable personality disorder, a severe eating disorder, and alcohol and drug addiction. In May, Judge Ian Pringle suggested that preventing her from pursuing her vocation would be too severe and postponed sentencing. On September 25, 2017, he sentenced her to 10 months in prison, suspended for 18 months.
As she left the courtroom, in tears and with her family, she was seen mouthing "thank you" to the judge.
- The surgeons who saved one patient ended up flat on the floor.
At Fujian Medical University Union Hospital in China, a team of surgeons spent 32 hours removing brain tumors from one patient. The patient made it through 32 hours of brain surgery, and the surgeons ended up on the floor.
Before the operation, Dr. Chen Jianping and the other surgeons stood at the table with steady hands. After it, two of them lay flat in their scrubs, too tired to stand.
Should surgeons ever work 32 hours straight, or is that too much to ask of anyone?
Sources: Fujian Medical University Union Hospital, ZME Science
- Scientists at the University of Nottingham have developed an experimental gel that could help restore damaged tooth enamel, offering a promising new approach to dental treatment.
Tooth enamel is the hardest substance in the human body, but once it is significantly damaged, it cannot naturally regenerate. Unlike bones, enamel contains no living cells capable of rebuilding its original structure.
The researchers developed a protein-based gel designed to imitate the natural processes involved in enamel formation. When applied to a tooth, it creates a framework that encourages minerals from saliva to form new enamel-like crystals.
Laboratory experiments showed that the material could help restore mineral structure to damaged enamel within approximately two weeks.
The process works by guiding calcium and phosphate minerals into an organized structure resembling natural tooth enamel. This is different from simply coating a tooth with a protective substance.
The technology could eventually help treat early enamel erosion, tooth sensitivity, and damage caused by acidic foods and drinks.
However, the findings do not mean that severely damaged teeth or cavities can already be repaired using this gel. Further clinical testing is necessary to establish its effectiveness and long-term safety in patients.
Researchers hope the technology could eventually provide dentists with a less invasive way to repair early enamel damage before more extensive treatment becomes necessary.
If successful, it could represent an important advance in regenerative dentistry, a field focused on helping the body restore damaged tissues rather than simply replacing them.
Source: University of Nottingham; Nature Communications; research on enamel regeneration.
- On August 22, 2026, in Manaus, Brazil 🇧🇷, heavy rains cause a hole dug under a house to flood.
Inside are several puppies.
Their mother, a dog named Mary Jane, quickly senses that something is wrong. 😯
Very agitated, she grabs the attention of her owner, Edineia Moura, and leads her to the spot where her little ones are trapped.
Edineia then begins removing the mud and water with a shovel.
But two puppies are still stuck at the bottom.
Mary Jane then climbs into the flooded hole herself to get them out. 🥹
She comes back out with one of them, then goes back in for the last one.
In total, the dog had a litter of seven pups.
All of them were ultimately saved. 👏
- Bryan Cranston’s viral commentary forcefully reignited the national crossfire over systemic accountability and the indelible legacy of slavery: “Even though you might have never owned slaves, white people still owe Black people reparations because we still benefited from slavery.”
While this definitive quote anchors his message, Cranston has repeatedly used his public platform to demand institutional reckoning. He previously bluntly challenged the U.S. to "seriously think about reparations," tracing modern economic divides directly back to the theft of "150 years of free labor."
This ongoing clash exposes the deep-seated friction over generational liability for historic crimes. Proponents argue that centuries of bondage and subsequent state-sanctioned oppression engineered a cycle of compounding economic disenfranchisement that still handicaps minority wealth.
Opponents, meanwhile, contend that saddling modern citizens with race-based financial liability for an institution they had no part in is fundamentally unjust. 
Ultimately, the debate centers on the urgent imperative for a nation to confront, balance, and actively dismantle the structural remnants of its history.
- OUT OF CUSTODY A WEEK — NOW ACCUSED OF A MACHETE BREAK-IN AT A FAMILY HOME
It’s becoming the new norm for homeowners: being confronted by an alleged offender given a licence to run riot by lenient sentencing or bail. 
A teenager accused of trying to break into a Port Melbourne family’s home armed with a machete had been released from custody only the previous week, according to the father who confronted him.
At least in this case, the alleged offender came off second best.
Daniel Shoppee says police told him the 17-year-old had served a 49-day sentence relating to burglaries just hundreds of metres away.
Now another family is living with fear.
According to the Herald Sun report, barking dogs woke the household at about 5.30am. Shoppee says his mother screamed after seeing someone wielding a machete and trying to get into the home.
Inside were his wife and their three boys, aged one, two and four. His parents, both in their 60s, were also there.
Shoppee and his father intervened. During the confrontation, Shoppee suffered a fractured hand and the teenager sustained a broken jaw.
In my view, Daniel and his father showed real courage in protecting their family. There is something heroic about stepping forward when the people you love are threatened. And make no mistake, their actions probably prevented this individual from perpetrating more alleged acts of violence.
But confronting someone armed with a machete is desperately dangerous. This could have ended in death or permanent injury. Their courage deserves recognition; nobody should have to face that choice at their own front gate. 
Unfortunately, we may see homeowners facing court for dealing out summary justice on these brazen and unrepentant criminals.
In Victoria, a homeowner can face no criminal penalty at all if they act in lawful self-defence—even if the intruder is seriously injured or killed. But a break-in does not automatically justify any level of force.
Under section 322K of the Crimes Act 1958, the questions are whether the homeowner believed their actions were necessary to defend themselves or someone else, and whether their response was reasonable in the circumstances as they perceived them. This protection applies to defending family members during a home invasion. 
If self-defence does not apply, possible charges and maximum prison terms starting at 5 years.
Police arrested a 17-year-old and charged him with attempted aggravated burglary and possessing a prohibited weapon. The allegations will be dealt with in the Children’s Court. In other words, the most this alleged offender faces is 2-3 years jail, although aggravated offences can be uplifted to the County Court.
And please don’t tell me this individual will get bail again. If the circumstances reported here are established, the community deserves a clear explanation of how any further release would keep people safe. The report does not say whether bail has been sought or granted.
The reported timing of his release demands answers. What supervision was in place? How was the risk of further offending being managed?
Shoppee praised the police who responded. His frustration is with a system he believes leaves officers confronting the same problems repeatedly.
For his family, the fear didn’t end with the arrest. A passing car now has them sitting upright, wondering what’s happening.
Families should be able to sleep safely in their own homes. Rehabilitation matters, and so does protecting the public.
What needs to change? Has the Labor Government failed and does any policy or political party offer a solution? Tell me what you think.
#crime #burglary #selfdefence
- Two Detroit-area doctors and a clinic manager were charged in April 2017 in what prosecutors called the first federal prosecution under a 1996 law banning female genital m*tilation in the United States.
Dr. Jumana Nagarwala, an emergency room physician, was accused of performing the procedure on two seven-year-old girls from Minnesota at a clinic in Livonia, Michigan, in February of that year.
According to investigators, the girls were flown from Minnesota to Michigan after being told they were going on a “special girls’ trip.” One of the girls later recalled being told they were visiting a doctor because “our tummies hurt.”
Dr. Fakhruddin Attar, who owned the clinic, and his wife Farida Attar were also indicted, accused of allowing the procedures to take place there and aiding Nagarwala.
All three were identified by prosecutors as members of the Dawoodi Bohra community, a Shia Muslim sect. A federal complaint described the group as a community “known to practice female genital m*tilation as part of their religious and cultural practice.”
Nagarwala’s attorney maintained her client had committed no crime. Attorney Shannon Smith told a judge that Nagarwala had merely removed mucous membrane from the girls and handed the tissue to their families for burial, calling it a religious custom rather than m*tilation.
Prosecutors disputed that account, later arguing in court that Nagarwala had carried out similar procedures on as many as 100 girls over roughly a decade, each instructed to keep the surgeries secret.
The case prompted lawmakers in Minnesota to push new legislation. The Minnesota House voted 124-4 to impose felony penalties on doctors, parents and guardians involved in genital cutting.
In November 2018, a federal judge dismissed the genital m*tilation charges, ruling that the 1996 law exceeded Congress’s authority, though related charges in the case continued separately.

Lie or Die?, Random Stuff, and More

- I've never thought about it deeply but large chunks of society depend on lying and fakery to survive? We'll examine this in this...