Category Archives: notes

netgear ps121 usb print server notes

I had one while I was living with my , and got used to not having to walk to the printer, plug in the laptop and wait.  Over the weekend I ordered a refurbished Netgear PS121 USB Mini Print Server for cheap and got it up and running in minutes not counting my fruitless searches to find the default log-in and password.

Hopefully this page will rank high for those searching for the default log-in, password, and settings of their new Netgear print server.  I am using CUPS on Linux.  Right now using Ubuntu, and Gentoo primarily.

By default it uses DHCP to request an available address from your network.

Also by default the user-name is “admin” and password, “password” both with no quotes.

LPR Queue name “P1

IPP URL “http://ip:631/ipp/p1” (Connects; unable to print; reason below)

AppSocket/HPJetDirect “socket://ip:9100/p1” (Works; Read Update Below.)

Also to print a test page, hold down the reset button for 2 seconds.

To reset back to factory default settings, hold down the reset button for 10 seconds.

The web based configuration tool for the Netgear isn’t that involved, and certainly isn’t as “smart” as the banner proclaims it.  There isn’t even a way to control jobs via the web interface.   If you do not know how to configure your DHCP server to assign a static IP address reservation, the only important thing to configure security wise is the password.

After a quick nmap scan of the new device on my network, it revealed several open ports which you may want to firewall from outside networks as there is no password authentication required to telnet, or print to the device.

PORT     STATE SERVICE
23/tcp   open  telnet
80/tcp   open  http
139/tcp  open  netbios-ssn
515/tcp  open  printer
631/tcp  open  ipp
9100/tcp open  jetdirect

UPDATE:

I’ve had the printer server for about a month now, and I have to say that it pretty much sucks.  I would not recommend it to anyone.  I haven’t really been able to print anything reliably without multiple attempts or wasting paper from printing garbage.  I have only had luck with the AppSocket/HPJetDirect, LPR/LPD methods.  I have not been able to get IPP to work either.  This post from 2005 confirms it’s apparently by design.  Pretty lame.

the catch and release plan.

Current Mood:Confused emoticon Confused

So here is the catch to back to . I need to find a in order to be fiscally OK with paying the rent related expenses. Consider this, a 1 bedroom in the same community would have costed me roughly $1300-1500/month versus the $1665/month for a two bedroom and splitting rent with someone else. I need to figure out a good amount to split including utilities/cable, and even decide if I want to take the master bedroom. Nice dilemma right? I also need more information which I do not yet have, but I should be able to guesstimate.

These are a few things I need to work on over the next 12 days. A plan of attack if you will. I am going to update this list as needed even though I should be using my for this task. Maybe I’ll just use it to write up the gist on the blog and then move it over to the wiki tomorrow. The items on my list are somewhat in order and include my general thoughts about each.

  1. Decide if I want the master bedroom in my unit.
  2. Go read similar roommate requests from craigslist and other sites to get a good idea of what information to convey.
  3. Write up a general posting; Basically a press release including some of the benefits of the apartment and other information which I need to determine.
    1. Email jay.brim at jpi.com about which unit style did I rent. So I can get the sqft.
    2. First Floor unit.
    3. top/bottom style clothes washer/dryer in unit
    4. Kitchen appliances; Refrigerator, toaster, microwave, electric stove, and oven.
    5. Pets OK! Dogs and Cats. Pet Deposit/Rent info. (Definitely will need to check on the compatibility with .)
    6. Proximity to shops and stores; Trader Joe’s, Laguna Hills Mall, Marshall’s
    7. Google Map link to location. Along with search links to grocery, shopping, gas, services.
    8. 65″ HDTV,cable tv, High-speed cable internet, WiFi
    9. No Phone; I’ll need a fax line, maybe Vonage?
    10. Figure out Security Deposits, $600, extra Gate remote $50.
    11. $35 Application fee
    12. Scan in the floor plan of my unit. This will be a nice touch.
  4. Copy the above roommate request and repost ahem, spam to;
    1. craigslist (which seems only fitting as the place I found was via craigslist)
    2. myspace, facebook, livejournal. To get the word out amongst my friends.
  5. Call the local U-haul place, and possibly moving company.
  6. Change of Address via USPS for my mail and periodicals.
  7. Change my address with all my accounts, banking, credit cards, mobile phone, online accounts, etc.
  8. Call Utilities etc, and have them switch on stuff.
  9. Cashiers Check or Money Order for Total Move in cost of $1832.00.

Shop Victoriously

The winner of my Nokia N770 only paid $106.49, what a steal. heh After my PayPal fee of -$3.39 USD I made a cool $103.10 USD.  This of course does not count in my shipping costs which I have yet to figure out.

It kind of feels like I rented it in effect. For something I owned a few months, and spent around ~$150 that’s not bad, I had fun with the device, and now I have about a 1/4 of the money to buy myself a Nokia N810.

Next time; never have your auctions end this morning at 5am MST. I have no idea why I did that, I should have made it end a lot latter around 5pm MST. Ohwell. Learning experience. :)

Marriot Residence Inn Speed Test #2

I am again staying at the Costa Mesa Marriot Residence Inn while here in California. Quite bored, and with a lack of anything better to do, it’s time.

Apart from staying in a different building, the main difference this time is I brought my La Fonera with me so I wouldn’t need to be tethered to anything. The last time I was completely unable to get the Ethernet working, and only able to use the USB port to function. This time the ethernet is working just fine, and I had to use my laptop to get the La Fonera up and connected.

The internet access here, like most, uses a web based captive portal to force you to read and accept something. It also asks a couple questions, like would you prefer to have a public IP address? The La Fonera is obviously not going to be able to answer any of the questions, so it just sits there. Being unable to talk to the world, something inside of the La Fonera also triggered the captive portal for the encrypted “myplace” SSID, which then makes it impossible to use the to enable the internet access for the room. At this point I decided to use an extremely helpful Linux utility, macchanger, and switch the laptop Ethernet mac address to my La Fonera’s. I then went through the captive portal, gave myself a public IP address, restarted the interface, and it was gravy. I plugged the Ethernet and power back into the La Fonera, and a couple minutes later I was in business. It’s almost been 24 hours since starting this session, so soon again I will have to go through the portal. Maybe this time the La Fonera captive portal won’t trigger.

Enough background story on to the numbers.

speed test image San Francisco, CA
speed test image Palo Alto, CA, USA
speed test image Los Angeles, CA, USA
speed test image Parsippany, NJ, USA

Note: There is a huge difference in speed compared to my last stay.

speed test image Miami, FL, USA
speed test image Palo Alto, CA, USA

wordpress url change mysql code

I changed the url of my blog again recently here is some helpful mysql code to renaming a wordpress blog url. YMMV. You’ll need to find all the other fields which containd the old information. I’d like this to be a plugin, it’s more or less a set of simple database commands, but for now cut and paste code will work ok.

 
UPDATE `wp_postmeta` SET `meta_value` = REPLACE(`meta_value`,'blog.blog.px.ns1.net','blog.px.ns1.net');# MySQL returned an empty result set (i.e. zero rows).
 
UPDATE `wp_comments` SET `comment_author_url` = REPLACE(`comment_author_url`,'blog.blog.px.ns1.net','blog.px.ns1.net');# MySQL returned an empty result set (i.e. zero rows).
 
UPDATE `wp_options` SET `option_value` = REPLACE(`option_value`,'blog.blog.px.ns1.net','blog.px.ns1.net');# MySQL returned an empty result set (i.e. zero rows).
 
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,'https://px.ns1.net','http://blog.px.ns1.net:81');
 
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,'http://px.ns1.net:81','http://blog.px.ns1.net:81');
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,'/wordpress','/');
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,':81//',':81/');
UPDATE `wp_xspf_player` SET `url` = REPLACE(`url`,'https://px.ns1.net','http://blog.px.ns1.net:81');
 
UPDATE `wp_posts` SET `guid` = REPLACE(`guid`,'https://px.ns1.net/','http://blog.px.ns1.net:81/');
 
UPDATE `wp_posts` SET `guid` = REPLACE(`guid`,'http://px.ns1.net:81/','http://blog.px.ns1.net:81/');
 
UPDATE `wp_posts` SET `guid` = REPLACE(`guid`,'/wordpress/wordpress/','/');
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,"[php]","<pre lang=\"php\">");
 
 UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,"[/php]","</pre>");

update:

UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,'/wordpress/wordpress/','/');
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,'/wordpress/','/');
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,'http://px.ns1.net:81/','http://blog.px.ns1.net/');
UPDATE `wp_posts` SET `post_content` = REPLACE(`post_content`,'http://blog.px.ns1.net:81/','http://blog.px.ns1.net/');
UPDATE `wp_posts` SET `pinged` = REPLACE(`pinged`,'ns1.net/wordpress/','ns1.net/');
UPDATE `wp_posts` SET `pinged` = REPLACE(`pinged`,'http://px.ns1.net:81/','http://blog.px.ns1.net/');
UPDATE `wp_posts` SET `pinged` = REPLACE(`pinged`,'/wordpress/wordpress/','/');
 
UPDATE `wp_posts` SET `guid` = REPLACE(`guid`,'http://blog.px.ns1.net:81/','http://blog.px.ns1.net/');
 
UPDATE `wp_postmeta` SET `meta_value` = REPLACE(`meta_value`,'http://px.ns1.net:81/','http://blog.px.ns1.net/');
UPDATE `wp_postmeta` SET `meta_value` = REPLACE(`meta_value`,'http://blog.px.ns1.net:81//','http://blog.px.ns1.net/');
UPDATE `wp_postmeta` SET `meta_value` = REPLACE(`meta_value`,'http://blog.px.ns1.net:81/','http://blog.px.ns1.net/');
UPDATE `wp_postmeta` SET `meta_value` = REPLACE(`meta_value`,'/wordpress','/');
 
UPDATE `wp_options` SET `option_value` = REPLACE(`option_value`,':81','');

Marriott Residence Inn Costa Mesa Internet Speed Test

My dad and I have both been having pretty silly issues with the supposed High Speed Internet here where we are staying.
From having to re-login to their captive portal every 24 hours, even if your in the middle of something, drag ass slow access to my dad’s work VPN. OK, so I think the internet here is only fractionally better than dialup. It’s a stretch, but for the most part very true. I hate how companies can get away with saying Broadband is anything faster than 192kbps on average. Just because you can use the service with an ethernet cable or fancy USB connection doesn’t mean anything unless the bandwidth can make a dent in the size of it’s upstream pipe.

The internet here sucks, but at least it’s internet. (I couldn’t be writing this without it.) The connection is provided by a DSL modem/router which is in the room, which my guess goes to a wiring closet somewhere on the hotel premises next to some possibly ancient looking PBX that looks like HAL 9000. The Ethernet connection from the device works only on my dad’s laptop. Fortunately the Elastic DSL device has a USB port, which Linux happily recognizes as an Ethernet adapter.

[   31.976260] eth1: register 'cdc_ether' at usb-0000:00:03.0-1, CDC Ethernet Device, 00:30:52:05:c4:3c

Using the Ethernet on my dad’s laptop only links up at 10mbps Half-Duplex. The link from the DSL to where it goes, is very slow, both up and down stream.

[note: Thanks to the internet here, I just lost what I've written since my last draft save, bah. Hopefully broadband reports won't mind me redoing the tests.]

Their speed test comes in two flavors; Java Speed Test, and also in a Flash Speed Test. On the Java page, it notes. “Unlike FLASH based speed-tests, our upload payload cannot be compressed, so it gives the correct result even on satellite or wireless connections.” Basically do not trust it’s readings. So stick with the Java one for more correct numbers. I also forgot to copy some of the data I wanted from each speed test. Ohwell.

Palo Alto, California

Miami, Florida
Down/Up
178 / 692 (Kbps)
(21.7 / 84.5 KB/sec)

New Jersey, USA
21 / 521 (Kbps)
(2.6 / 63.6 KB/sec)

Ok, well since I mentioned it earlier, here is my results from the Flash based speed test.


Running a traceroute from my home machine to the public IP address I was assigned, is alright until it hits their firewall as it seems. Most likely blocking incoming traceroutes.

 $ traceroute 216.132.2.226
traceroute to 216.132.2.226 (216.132.2.226), 30 hops max, 38 byte packets
 1  XXm0n0wallXX (192.168.48.1)  0.250 ms  0.228 ms  0.217 ms
 2  10.241.64.1 (10.241.64.1)  10.712 ms  8.736 ms  11.765 ms
 3  ip68-0-128-141.tc.ph.cox.net (68.0.128.141)  11.967 ms  10.276 ms  7.982 ms
 4  68.2.13.154 (68.2.13.154)  10.062 ms  14.038 ms  11.619 ms
     MPLS Label=350896 CoS=0 TTL=1 S=1
 5  68.2.13.134 (68.2.13.134)  14.493 ms  12.933 ms  16.501 ms
     MPLS Label=235032 CoS=0 TTL=1 S=1
 6  * 68.2.13.26 (68.2.13.26)  14.571 ms  22.003 ms
     MPLS Label=173265 CoS=0 TTL=1 S=1
 7  * * *
 8  chnddsrj02-ae2.rd.ph.cox.net (68.2.14.5)  15.999 ms  21.430 ms  27.875 ms
 9  68.1.0.232 (68.1.0.232)  29.104 ms  29.012 ms  30.435 ms
10  ge-6-3-0.mpr1.lax9.us.above.net (64.125.13.65)  30.232 ms  28.158 ms  29.797 ms
11  ge-1-0-0.core1.lax.megapath.net (209.249.11.149)  28.261 ms  29.489 ms  27.028 ms
12  155.229.123.208 (155.229.123.208)  54.352 ms  88.281 ms  136.522 ms
     MPLS Label=3066 CoS=0 TTL=1 S=1
13  giga0-0-0.sna-e100.gw.epoch.net (155.229.101.130)  46.077 ms  43.008 ms  43.916 ms
     MPLS Label=3583 CoS=0 TTL=1 S=1
14  206-135-10-18.sna-e100.cust.gw.epoch.net (206.135.10.18)  79.464 ms  65.763 ms  50.747 ms
15  * * *

After attempting to traceroute to my machine from this SlowSpeed, we can see it truly is blocking them. What a crock.

$ traceroute px.ns1.net
traceroute to ip68-225-53-142.tc.ph.cox.net (68.225.53.142), 30 hops max, 38 byte packets
 1  198.18.0.1 (198.18.0.1)  726.732 ms  239.889 ms  57.909 ms
 2  * * *
 3  * *

Ohwell, that’s enough of this. I’m tired, and should start thinking about trying to sleep.

Pocket PC Windows Tax

I read something the other day about the “Windows Tax” via [linux-watch.com] basically a method for getting a refund on the OEM version of MS Windows you are “Forced” to buy with a PC from some manufacturers. I wonder if this method will also work when purchasing a Pocket PC with Microsoft Software on it. I’m thinking about this because I just read on the this weeks GWN, that a member of the Russian Gentoo Community managed to get E17 running on his HP iPAQ hx4700. Obviously users have managed to get Linux running on their PDA’s for quite some time, but my brain didn’t really put the one and two together. Why should you have to buy the Pocket PC OS when your just going to put Linux on it anyway? Does Palm have the same terms in their license I wonder?

Now I wonder how difficult this could be mostly because I don’t think I’ve ever seen the Pocket PC OS sold separately. In the Linux.com article the person uses the Microsoft Windows Home Edition as a baseline for his requested refund amount.

Perhaps the refund amount will be more substantial since the cost of a sweet PDA is almost twice as much as the run of the mill PC.

reading feeds on google.

Maybe it’s me, but managing my subscriptions should be a lot easier. Google Reader needs to be able to edit tag names. Right now you can make as many tags as you want, and delete them. WTF?

ideas for tags to use on top of what you may already have them organized by;
daily, spare time,bored, fun, projects, movie reviews, Netflix, news.
for
better tag based reading
allow tags to include tag groupings.
daily = netflix + projects + news
fun = movie reviews + spare time + bored

Grouping the tags together, for me at least forms smaller and more manageableriver of news, which are easy to read(skim), and I also have some organization to my reading. I really don’t like having to go through hundreds of the newest releases on my netflix feed every week, or the constant spew of articles from the internet archive which i sometimes troll through for things of interestingness.

my stuff (rulez!)

Hurray!
Right now I’m sitting in the living room with a wall of my stuff which lived in California for the last two years without me.  It feels good to be reunited with my nice huge cal-king bed, and other missed material possessions.  Now that I have my bed again hopefully I’ll sleep better, when I am able to sleep.
  The storage unit my dad and I procured here, is waaaay ( few more a’s) to big for all that I need to store, which is good, because, well my dad has plenty of crap to store, some which has just been living in the garage since he moved in.

Interestingly; Fox bought MySpace and later stole bones’ URL, for fox’s crappy TV show of the same name.
Who owns the URL?  Well it would appear that the original band does since MySpace gave it back.

Fox better not come up with a show called PX.  MySpace is shitty now, with spam artists and fake profiles I wonder when their bubble will burst. GigaOm has some numbers.

Arizona Preliminary Election Results, from yesterday’s elections.
http://www.azsos.gov/election/2006/General/2006_General_results_query.htm

Today it seems Rumsfeld has done something good.  Maybe finally retire at 74?

Something cool just came to my mind, I’m thinking of a WordPress plug in which displays tag selected or all images around the date of the post(s) which are being viewed.  I was just taking some pictures of my stuff now that it is here, just because it’s good to take pictures of your stuff for insurance purposes.

The spell checker is pretty useful in Firefox 2.0, just wish it was easier to add new words with mixed capitalization.

laptop battery weirdness

while updating my system today, I decided to let my laptop use some of the battery because it’s been plugged in all week. now something interesting happened after trying to plug the system back into the wall. the battery says it’s charged.

Read More »

aggregators, traffic, boredom.

I wanted to write about this earlier in the week, but was unable to. I was kind of getting used to the plain River of News, but had to take out some of the more busier feeds which I only care to browse once in a while. Also the remembering where you were in earthlinkReader didn’t work out that well much of the time, as you change pages, content would seem to be pushed back a page, and you end up reading the same articles again.
I’ve been using Google Reader lately more than my bloglines, or earthlinkReader accounts. It displays all my feeds properly, has a lot of nifty AJAX stuff, multiple viewing options(read, unread, starred), keyboard shortcuts, imported every feed from my bloglines OPML (no option for URL importing, file only) and converted my folders into Tags. I can’t figure out or at least think I am able to create any new Tags for grouping, or reading lists without a new import. hmm.
Another thing irking me about earthlinkReader the traffic usage on my server, each of these hosts grabs my blog feed 2 to 3 times an hour and does not use gzip or compression as other good bots do. The next highest usage on my server is at 6 MB since the begining of this month.

myscheduler-bayberry.pas.sa.earthlink.net ? 366 366 80.60 MB 15 Oct 2006 - 18:10
myscheduler-petit.pas.sa.earthlink.net ? 356 356 78.41 MB 15 Oct 2006 - 18:32

Last month’s traffic stats.

myscheduler-bayberry.pas.sa.earthlink.net ? 1043 1043 230.74 MB 30 Sep 2006 - 19:28
myscheduler-petit.pas.sa.earthlink.net ? 1028 1028 227.40 MB 30 Sep 2006 - 23:30

UPDATE: Google’s Feed eating bot uses compression and 304 codes to consume less bandwidth.

px.ns1.net 72.14.199.78 - - [16/Oct/2006:09:27:42 -0700] "GET //feed/ HTTP/1.1" 200 26150 "-" "Feedfetcher-Google; (+http://www.google.com/feedfetcher.html)" mod_deflate: In:229775 Out:26132:11pct.
px.ns1.net 72.14.199.79 - - [16/Oct/2006:16:35:14 -0700] "GET //feed/ HTTP/1.1" 304 20 "-" "Feedfetcher-Google; (+http://www.google.com/feedfetcher.html)" mod_deflate: In:- Out:-:-pct.

Bad Behavior has blocked 1488 access attempts in the last 7 days.