Wednesday, November 05, 2008

D-Link DSL-2320B How I loathe you.

The subject of today's rant is my old D-Link DSL-2320B modem/router. It's hard to hate something that you bought for only $10 off craigslist, but this thing drove me crazy for months. It wasn't broken equipment, DLink just made sure to cripple it for who knows why. Oh sure, on the outside it looks like a very standard piece of equipment. It's got a port for the phone line, an ethernet port, usb, reset switch etc... But to be honest this piece of junk would have worked better if it was an empty box.

I run a very standard internet setup in my apartment. There is no cable internet service, so we have DSL through Grande Communications in Texas. Despite charging us for premium service and only providing basic internet bandwith since January (now resolved), I've been pretty satisfied with their service. So I need a DSL modem which plugs into my apple airport extreme router (I know, apple what a surprise, right? Well it has a USB port I can plug our printer into so I dont need a print server). My desktop plugs into the router via cat5, all other computers/ps3 are wireless N. Giggity. What I look for in a DSL modem is simplicity. Like UNIX, do one thing and do it well. Seems like DLink's strategy is to attempt to do many things, but utterly fail at everything. Come on D-Link! It's not a complex mission I bought you for:
1:) Connect router to Grande network
2:) ???
3:) Profit!

Because I'm a hacker like yash, I decompiled the source code to the modem which is ironically written in basic:
10 Assign 192.168.1.1 to self
20 Connect to grande
30 Assign WAN IP to everything
40 COMPLETELY FUCK UP DHCP
50 Disconnect from Grande
60 Goto 10

This modem refuses to play nice with the most standard router setups. My old modem before it broke had a DHCP server - that's fine with me, I put the router in bridge mode and the dsl modem gives my computers IP addresses and interwebs. Not my preferred way, but it works. It croaked, hence me getting DLINK SPAWN OF SATAN off craigslist. DLINK also assigns itself 192.168.1.1 but won't give connected computers internal LAN IPs. It tries to give every computer connected the WAN IP and it fucks up. The only way I got it to work was basically double NAT, the router assigning DHCP fighting with DLINK on another subnet. Ugh squared.

But that's not even the worst part! The absolutely useless web interface gave me no info other than WAN IP and the fact that itself was 1.1. After installing the modem for the first time Alison and I found we couldn't reach certain websites like yahoo and my work website. A little google digging revealed that the MTU, or Max Transmission Unit was to blame. Basically when you transfer info over the internet the info is broken into little pieces called packets and the MTU is the largest size in bytes each packet can be. For ethernet/cable internet the MTU is 1500 bytes, which computers use standard. For DSL connections, depending on your provider, it is 1492 bytes. Normally your DSL modem will tell your computer you're connected with an MTU of 1492, but not DLINK, no way... That's way too helpful. You would think a DSL Modem would connect at a DSL MTU. There's no setting, nowhere on the unit where you can connect at an MTU of 1492. DLINK thinks it's easier and more obvious to dig through the registry to change it on your computer itself. Windows is nicer about it, and stores the registry key, but on OSX (3 out of 4 computers in my apt.) you have to change the MTU manually, via the console, every single time you reboot. Good riddance...goodbye DLINK I won't miss you.

Jo gave me his old Motorola Netopia 2210 DSL modem when I was last in OH and yesterday I replaced Satanlink with it. It's more of a dumb modem where I can have the router store the connection info and just use the box to dial out over PPPoE. Exactly what I was looking for. Easy, fast, stable. Do one thing and do it well. Thank you Jo.
Posted by eclipse on 11/05/2008 at 02:21 PM
InternetTechRants • (0) CommentsLink to this entry

Wednesday, November 05, 2008

Website updates for november

I've got enough website news to warrant its own post I think. I'll talk about this stuff first so the post will sink to the bottom.

Well the big news is aphelionsites.net, my former webdomain expired, as planned. Not too big of a deal since I don't use it much. What this means is some hotlinked images might not show up. I tried to look through my history and correct these errors, but some may still exist. The DGS site was the only website still using the domain, so that's been moved to http://www.darkmercury.net/dgs. If you can't or don't want to remember that you can find the link in my featured section. While I was messing with that I also embedded the quakecon video into the related DGS and DarkMercury pages, so it can be watched without downloading the whole thing.

Next up is the "Categories" selection at the top left of the site. You can click there or on the category image to a page showing all my website categories. From there, click on any you want to read about.. say Flying posts.. and voila! You're now seeing only Flying related website entries. That's pretty neat. A simple feature but long missing.

And the Friends page update...Every time I post I say it's the last time I'm gonna change it. It's kind of ended up full circle. The old versions showed only one post, but you got to see what was going on in all my friend's lives at a glance. If someone posted multiple times quickly, I wouldn't see any but the latest post. I was overjoyed to prove the concept of creating a Livejournal emulation from just RSS links, but that led to a lot of posts from one or two people at the top and everyone else lost at the bottom. I changed it to unlimited posts for 24 hours (so I wont miss any) and after that it just shows your latest entry. All sorted by date of post and I think I like it this way. It's kinda come back to where it was before. I also chopped the time off the post, leaving just the date. It looks cleaner. Anyways I'll see how I like it this way. I still have my LJ style proof of concept at http://www.darkmercury.net/friendsunlimited.php.

News Page opens links in a new window by default now...I removed the comment word bubbles that I was experimenting with this morning. I think that's it.
Posted by eclipse on 11/05/2008 at 02:01 PM
Internet • (0) CommentsLink to this entry

Monday, October 20, 2008

Once more in the Saab, dear friend

better title than “LAXitive” I guess…

It feels good to be home now! I've actually been busy since my last update. I went to Ohio from the 13-15th to see people since I haven't been working a lot. I got in later than I wanted on Monday but no one could give me a ride earlier. Had dinner with my mom that night and later went to Jo's. I spent Tuesday out at the KSU airport. It was Kent's turn to host the regional flight competition. I hoped to help judge but they had enough already so I mostly just talked to people I hadn't seen in a while. It was great to see the planes and everyone since I spent just about every day from 2004 to 2007 at that airport it's kind of weird to be away from it now. Had dinner with Tim and my dad and then went to Tim's apartment to play some Quakewars.

Tim (Alkali) and I are pretty good at Quakewars together, and it would be awesome if more people would play with us. We stick together, usually with me as an Engineer and Tim a medic. I sometimes change my class depending on the objective, but typically it's my job to complete the mission and tim's job to revive me when I get shot. I prefer offense and Tim likes defense, but we usually just play on the Strogg (Alien) side. We played for about 2 hours. In one mission we were on the human team and it was our job to construct a generator underground. It's a good map that requires teamwork by the GDF (humans) to get into the highly defended area. If people just rush in randomly you will get mowed down or set off a mine. The strogg side was putting up a strong fight and we were getting pissed off so I came up with a strategy. I waited for some teammates to run in before me to take the fire, then I jumped in onto the generator, setting off the mines and dying. Then tim jumps in behind me to revive me and we got the generator built. After that we were able to rush the map before they could get a solid defense up. I had a good airstrike at a critical time to finish the map too, but it was our classic revive strategy that won the map. I always wish more people would get the game before like Wolf:ET, some people are just too good.

Read Full Entry (Friends Only)

Posted by eclipse on 10/20/2008 at 04:24 PM
WorkFlyingLifeGaming • (7) CommentsLink to this entry

Friday, October 10, 2008

It’s been a long road

getting from there to here…

Friends 2.0


I promise this will be the end since there isn't much else I can do to the friends page. But I finally achieved what I set out to do in 2005 when I created the friends page. Starting from a set of rss links, the friends page achieves what Livejournal does by listing posts made by your friends in the order in which they were posted. LJ accomplishes this by storing posts on its server which it can read in order, but it's a bit of a feat to do it from nothing but a few rss links. I give you unlimited entries up until a week. If you haven't posted in more than a week, your last entry is truncated at the bottom in purple. It's all displayed in order by post date and it's awesome.

The page works through with the basic logic:

Define friends array with rss links, names, homepage
For each friend in the array, find all the posts in the last week -> each post is added to separate "posts" array
Sort that array of posts by date
Print the sorted array of posts

Sorting the array was the big problem solved today. Starting with the initial friends array in version 1.5 really did make this possible after all. It's easy to add/remove friends and the script handles everything! Of course there is a lot of error handling there too since RSS feeds are very flexible. Since you've probably already read about everything already I'll stop posting about it now. If anyone cares to to see the different versions of the site as it evolved:

0.9 - 1st edition, loading of first RSS post from each user
1.0 - Error handling if RSS feed not found, page went live, cosmetic changes
1.1 - Added History feature
1.2 - First Color support = red table if rss error, title moved to blue area of table
1.3 - Support for ['Content']['Encoded'] in place of description
1.4.2 - Script detects post age, homepage link changed to username, script assigns table color based on age, hides 2 week old entries, removed table border, changed default charset to UTF-8 to fix '?' issue, added leftmenu
1.5 - Friends Array added, rss image support w/failsafe
2.0 - Friends Sort by post date
2.1 - Multiple posts by one author, 4 posts by friends up to two weeks
Posted by eclipse on 10/10/2008 at 08:15 PM
Internet • (1) CommentLink to this entry

Wednesday, October 08, 2008

LAN Weekend and Days Off

These days it's getting hard to tell the days that I work from the days I don't. I'm enjoying being on reserve, or "On Call" for an airplane Eagle doesn't fly anymore. I've gotten called into the airport once out of 6 or 7 days and it doesn't look probable for many more days. The way to tell my days off from my days on are that I can travel on my days off. I did just that on Saturday, traveling back to Cleveland for a LAN Party hosted by one of Jo's coworkers, Caleb (Not sure exactly what his handle is, ma shtie or something).

It was a fun time, a great minilan. Caleb provided bawls, hamburgers, and good amish sweet bread or something. It was pretty much pure sugar. The network had some small hiccups, but I got to play some good Quake 3, and UT2k4. I have to say I am not a UT fan when playing with all those mods. I think it was an RTS mod where you get experience points which can be traded in for powerups. The whole reason I play FPS instead of RTS is to avoid that. It's no fun to jump in a game and be pummeled by someone with a ton of points. Most FPS set everyone pretty much the same so it's a game of skill. The highlight of the day though was definitely ET:Quakewars. Finally! This game has been out for a while but no one wanted to play it with me, due to WoW and xboxes. It really doesn't take too much to run, I was playing decently on my macbook pro. Being the only person who really knew the maps and gameplay, I took the role of the leader as a medic. I didn't think it would be fun for everyone else if I just ran through the levels completing the objectives myself. I shouted out what needed to be done, what classes were needed and where, revived teammates, and showed how all the different classes worked. I think everyone enjoyed that. We ended up playing pretty late into the night. I want to keep it up, but no one else has actually bought the game, so we can't play online. It was good to see Jo and Tim, and wish Dan would have stopped by. The party broke up about 1am eastern.

Crashed for about 4 hours on Jo's couch, before waking back up to jumpseat back to Dallas. Big thanks to Jo for picking me up, dropping me off, and letting me stay at his place even with work in the morning. The flight out of CLE was delayed by a flap issue or something. The captain boarded and we sat on the plane for 90 minutes before finally departing. I don't think there's been a cloud in the sky since Ike rolled through, but it was raining monday. I had planned to go to the "Big Tex" Texas State Fair with Alison, but it was looking like we couldn't go. By the time I got home though, the rain was clearing up, and although there were some short showers, we did go to the fair and had a pretty good time. The fair was pretty much a game of "how much $ can we take from you before you start to notice". After paying $14 for admission and $10 for parking, you had to buy a bunch of tickets to do anything. We walked around the free stuff, shops, and the auto show was pretty nice (one of few free things there). The food is always really popular there, even though it's not good for you at all! I got a turkey leg and a fried snickers bar. We walked everywhere to find that one place with the fried snickers bar, and it was something else, that's for sure! Very hard to describe, and it was good..but not really $4 good.. Alison and I both agreed just a normal snickers would have been better and cheaper. But by all means you should try one if you get the chance. It's not bad. We didn't want to ride a lot of the spinny fair rides since that's where you hear about people getting killed on in the news, but we rode on the big ferris wheel and the carousel. The wheel was $6 each and the carousel was $3, and most of the rides were 2-4 bucks. I didn't really like that approach, although I guess we saved money compared to an amusement park. I don't want it so seem like I didn't have fun either because I had a lot of fun and it's great to hang out with Alison. We have our routines and stuff we do together a lot, but this was special :D

Tuesday I spent working on my website again on the friends page. From 1.4.2 to 1.5, this is a very big change, although it doesn't look like anything changed from the initial look. It's largely a backend change where instead of copying the code several times and editing it for each person, I created a multidimensional array of friends and their website data, and I run a loop of the same code until it runs out of people. This means one day I should be able to sort by post date instead of person if I choose, and it's far easier to edit overall. Also, and this is a big one: You can now control the image on the friends page yourself! RSS feeds can contain a link to an image if you set one, and my page will use whatever you select. If none is set in the feed, it defaults to an image saved on my site. LJ uses your default pic I believe.. Anyways if you're not sure if the image is yours or mine, click "History" and see if it displays a pic in the title. If it does, that's the pic I'm also using on the friends page. So now if you don't like the pic there you have nothing to complain about. The last thing is that "Tweets for Today" doesn't light up, you actually have to write something constructive.
Posted by eclipse on 10/08/2008 at 01:10 PM
LifeInternetGamingLAN Party • (0) CommentsLink to this entry
Page 16 of 68 pages « First  <  14 15 16 17 18 >  Last »