Electronox Blog Electronox Photo Gallery Electronox Forum
updates
most recent blog posts
most recent comments
most recent forum posts

HQ back online & steady at geosynchronous orbit May 22nd, 2014 by Justin

 

Queue the thumbnail rebuilds. Open the hard drive floodgates. The forum shall rise again! Following the desecration of life imposed by graduate school, and all the bit flipping that ensued, I welcome you to the new, hosted-in-the-sky, Electronox.net. It’s the same as the old enet, only better ‘cuz the computer stays on all the time now ;)

Netizen Ryan and I will also be working on making the site load more easily on mobile devices, and making updates and news more front and center by removing the splash page and making resizes more friendly.

Update multiple domains with Namecheap and ddclient August 18th, 2012 by Justin

 

ddclient is a dynamic DNS client for multiple services, however Namecheap support is lacking in that multiple domain names are not handled correctly. If you are running into problems, here is a guide to fixing ddclient, tested on Debian, so that all your hosted domains are updated.

Note: this has been taken and modified from http://robertianhawdon.me.uk/2010/09/03/making-ddclient-work-with-multiple-domains-on-namecheap/

Copy the DDClient binary to the directory you’re working in:

$ sudo cp /usr/sbin/ddclient .

Open your copy of ddclient

$ sudo nano ddclient

Find this code section at line 3376 in the nic_namecheap_update section:

 my $url;
 $url = "http://$config{$h}{'server'}/update";
 $url .= "?host=$h";
 $url .= "&domain=$config{$h}{'login'}";
 $url .= "&password=$config{$h}{'password'}";
 $url .= "&ip=";
 $url .= $ip if $ip;

And change it to:

 my $url;
 $url = "http://$config{$h}{'server'}/update";
 my $domain = $config{$h}{'login'};
 my $host = $h;
 $host =~ s/(.*)\.$domain(.*)/$1$2/;
 $url .= "?host=$host";
 $url .= "&domain=$domain";
 $url .= "&password=$config{$h}{'password'}";
 $url .= "&ip=";
 $url .= $ip if $ip;

Write the changes and save.

Copy modified ddclient back:

$ sudo cp ddclient /usr/sbin/ddclient

For good measure, delete the ddclient cache (may be in different location):

$ sudo rm /var/cache/ddclient.cache

Edit your /etc/ddclient.conf file to include the top-level domain name with every subdomain. For example, if your domain name is example.com you would change your sub-domain line from:

@, www, subdomain

to

@.example.com, www.example.com, subdomain.example.com

An example for two domains would look like this:

protocol=namecheap
use=web, web=checkip.dyndns.com, web-skip='IP Address'
server=dynamicdns.park-your-domain.com
login=electronox.net
password='password'
@.electronox.net,www.electronox.net,pix.electronox.net,forum.electronox.net,forums.electronox.net
protocol=namecheap
use=web, web=checkip.dyndns.com, web-skip='IP Address'
server=dynamicdns.park-your-domain.com
login=website2.org
password='password'
@.website2.org,www.jryder.org

Now you can restart ddclient:

$ sudo /etc/init.d/ddclient restart

DDClient should now be patched and able to work with multiple namecheap domains.

This process will need to be done every time DDClient is updated on your system, unless, of course, the patch has been merged in a later version of ddclient (last updated Nov 2011).

So, you can block ddclient updates with these few lines:

$ sudo echo "ddclient hold" | sudo dpkg --set-selections

And:

$ sudo aptitude hold ddclient

 

No sound coming from iPod and Apple’s response July 11th, 2010 by Dane

 

After settling in after a long flight, I found my iPod wasn’t outputting any sound from the headphone jack. I thought perhaps the iPod was trying to send audio through the bottom connector’s output. I had a few other theories, but went through the standard procedure of trying different headphones, restarting, resetting, and restoring the unit. Still, no sound from the headphone jack. Everything else was working properly. I could even enable the button click sound and hear that through an internal speaker. Like any self-respecting DIY geek, I set out to the interweb.

Mostly I found more people advocating the restore button fix-all. Eventually, I ran across the aqua soft forums discussing the problem. Apparently some of the 5th generation (iPod Video as it was called back in the day) iPods have been having an issue with a connection on the logic board. The forum is also full of users who have called Apple, explained the defect and received a free replacement iPod. This sounded appealing.

So, I grabbed my phone and called Apple’s customer service line. After answering a handful of questions from a machine (whose voice recognition actually seemed to work…) I was connected with Nick. He asked for my name and the serial number of the iPod. I was expecting this question, and I think he appreciated my anticipation. It saved us both several minutes on the phone. He warned me that my iPod was waaay out of warranty (something else I already anticipated) but asked me to proceed with the problem. I told him that the sound had stopped coming out of the headphone jack but everything else worked perfectly. I said I had read online that it was a manufacturer’s defect with the logic board. He immediately asked if I had tried pushing on the bottom right corner (which I had) to confirm the bad logic board connection. The pace of the conversation was remarkably quick as we had both anticipated each other’s next move. He said this was a known problem, confirmed that my unit was within the range of the serials involved and put me through to his supervisor.

Stuart answered after a few minutes of hold time and I explained my problem to him. He set about to creating an “exception” in the system. I think “exception” is their term for “this thing is way outta warranty but we’re gonna fix it anyway.” He said I could ship it to Apple’s repair facilities and I would have one mailed back. This is where I became more difficult and Stuart handled it expertly. I told him I was overseas, but had access to an Apple store. He then set out to open a case for me in their system. I am led to believe that the case contains all of the information about the problem and approvals for repair. He warned me it was possible that my Apple store would want to send it back stateside to be repaired and would thus take more time than otherwise. I was ok with this as it would still be free. This is where things got impressive. Stuart wanted to make sure that everything went smoothly. He gave me the case number and his personal contact information in case there was an issue. He actually took ownership of the problem, something almost unheard of in customer service, especially in a company the size of Apple. Did I mention that Nick and Stuart were also located in the US and had no hint of an accent?

From that point it was as easy as setting up an appointment with the Genius Bar online and showing up in person. I told Flo, the Genius I spoke with, that I had called Apple and they said the Apple Store could replace my unit. (Yeah, I kinda planted the ‘replace’ seed instead of the ‘repair’ seed so I could get it back sooner. Who knows if they would have replaced it anyhow.) Flo hadn’t heard of the problem, but found the bit about pressing on the bottom right corner humorous. He typed in my name and must have found the case straight away and told me they could replace it. The catch: they didn’t have the replacement for my unit on hand so they would have to call me when it came in. This meeting was on wednesday and I received a call on friday. I picked up my replacement iPod (still in cellophane) on saturday.

The whole deal was quite streamlined and impressive. After working at Best Buy for oh those many years, I feel like Apple really has customer service figured out. They are blowing Best Buy out of the water.

Windows 7/Vista Power Settings Not Working May 17th, 2010 by Ryan

 

Recently I began having trouble with my machine going to sleep and while awake spinning down hard drives.  Waiting for drives to spin back up when changing tabs in Firefox and trying to remote desktop and vnc into an asleep machine got old very quickly. What was maddening was that the power profiles under the control panel were configured to not do either of these.

Browsing some forums, at least one other person started having this issue after install an update for .NET 2.0, and although this might do it I am pretty sure this can happen for other reasons as well.

What is happening is that the registry entry that tells the system what power profile to use is not being updated when you save the settings in the control panel.  Here is how to fix it.

Read the rest of this entry »

updates
most recent blog posts
most recent comments
most recent forum posts