CAT | Main
10
Troubleshooting a D-Link DPR-1260 Wireless Print Server
No comments · Posted by admin in Main
I wanted to print to my two printers in a different room, but my D-Link DPR-1260 just wouldn’t let me. The DPR-1260 is a really great value for the money, with 4 USB ports you could potentially set it up with 4 different printers. It also includes a ethernet port so if you wanted you could set up a NAS (Network Attached Storage).
However, using the wizard D-Link provided it will print half a test page then stop, not very useful. This is how I fixed it.
According to this post by “talkview365″ at this forum (http://help.lockergnome.com/general/link-DPR-1260-vista–ftopict52662.html) he found a way to add a printer using LPR protocol instead of TCP/IP.
According to D-Link’s documentation, “LPR/LPD is more commonly used in Mac or Unix environments.” His post describes a fix for Vista, but I’m running Windows 7 and having the same problem. I altered my steps slightly because it wouldn’t work exactly the way talkview365 described.
- Go to the Start Menu – Control Panel – Hardware & Sound – Printer
- From the printer page, click on Add a Printer.
- Choose to add a “Local Printer”
- Choose “Create new port” and select Standard TCP/IP from the list. Click next.
- Leave the first option, it should be autodetected. The hostname IP and port are BOTH going to be your dlink-xxxxxx (the x’s are the first 6 chars of your print server’s MAC address). Keep the box checked, then click next.
- Wait for detection.
- Choose custom and then click on Settings
- From here, there’s 2 ways to set it up. Choose the 2nd way, it is the only way that worked for me.
- 1st Way -
- Leave the port and ip as is.
- Protocal = RAW
- RAW Setting = 9100 (default TCP/IP setting for DCP-1260 unless you changed it. Different for each printer so check first.)
- Check the SNMP Status Enables: with option Public and 1 (default)
- Click Ok.
- 2nd Way -
- Leave the port and IP as is.
- Protocol = LPR
- LPR Setting = In the DPR-1260s configuration in the Status page it will tell you the LPR Queue name. It will be different for each printer.
- ENABLE “LPR Byte Counting Enabled” <- This is what fixed the whole thing for me. For a better explanation why, go here. It references RFC1179.
- Do NOT enable SNMP.
- Click Ok.
- 1st Way -
- From here, click Next.
- On the following screen, just choose your printer brand and model from the list, this is where you install your driver.
- Click next. Do a test print and it should work.
Now I can print wirelessly to my printers!
Thanks to the lockergnome.com forums and forum member talkview365. Also, the printers I tested successfully were a HP Photosmart C4100 series and a HP LaserJet 1200 series.
No tags
I’m creating a desktop calendar program that has a built-in Gantt Chart and syncs with online calendar services such as Google Calendar. Here’s my first revision of the logo.

No tags
5
Linux SLOB (Simple List of Blocks) Memory Allocator
No comments · Posted by admin in Linux/Unix, Main, Operating Systems
A recent project I completed in my Operating Systems II class was to improve the existing linux SLOB memory allocator from first-fit to best-fit. The kernel currently gives 3 choices of allocators (SLAB, SLUB, and SLOB). The SLOB (Simple List Of Blocks) allocator, is designed to be a small and efficient allocation framework for use in small systems such as embedded systems. Unfortunately, a major limitation of the SLOB allocator is that it suffers greatly from internal fragmentation.
There is a recent reply from Linus Torvalds himself on a Linux mailing list where he suggested the use of a best-fit algorithm.
The first-fit uses the first available space for memory. The best-fit algorithm my team implemented works by looping through the list of free pages until the first page found with enough free space. Then, we sort the list from smallest to largest free space. In this way the first space encountered by the algorithm will be the smallest space which fits the required amount available. Essentially, we are modifying the input to the algorithm to ensure better fragmentation rates and utilizing space on each page better.
There wasn’t a lot lines of code to add. It was a fairly simple hack, but I’m sure it could be even more efficient.
We compared the fragmentation from both algorithms and there was a definite difference.
The version of Linux we used was 2.6.23.17
No tags
24
California Wildfires of October 2007
No comments · Posted by admin in Firefighting, Main, Newsworthy Stories
October 2007 California wildfires are a series of wildfires that began burning across Southern California on October 20. At least 1,500 homes were destroyed[4] and over 500,000 acres (2,000 km²) of land burned from Santa Barbara County to the U.S.–Mexico border. As of October 24, 18 active fires were burning in the region.[5] Seven people died as a direct result of the fire; 85 others were injured, including at least 61 fire fighters[6].California Governor Arnold Schwarzenegger declared a state of emergency in seven California counties where fires were burning.[7] President George W. Bush declared an emergency in the State of California and ordered federal aid to supplement state and local response efforts.[8] Over 6,000 firemen worked to fight the blazes; they were aided by units of the United States Armed Forces[9], United States National Guard.[10], almost 3,000 prisoners convicted of non-violent crimes [11], and 60 firefighters from the Mexican cities of Tijuana and Tecate [12].
No tags
nmc380 storyboard project – will be added soon
No tags
5
Davey Jackson, Garage Games, speaking on: “Come to Indie GamesCon”
No comments · Posted by admin in Game Development, Main
Davey Jackson from game company Garage Games came to my CS419 (CS Skills for Simulation and Game Development) class and talked about developing for well known and interesting platforms as well as how to break into the game industry. Garage Games is interesting to me because they aren’t very far away, Eugene, Oregon. They also have members from the company Dynamix which created the “Tribes” series of games which I really liked.
No tags
We were suprised to find that we would be driving across more than one state for our next fire. We stopped in Kennewick, WA for the night and made it the rest of the way through Idaho the next day, the sky being very smoky throughout all of our entire trip through Idaho.
Missoula – Jocko Lakes Fire http://www.inciweb.org/incident/904/
Billings – Ford Fire http://www.inciweb.org/incident/953/
The Ford Fire was in the Emerald Hills subdivision on the outskirts of Billings. We arrived once the fire was secured, but this time we were in some different territory, suburban houses instead of a forest. I remember putting out a smoker right next to a man’s house and he came outside and gave us drinks. As I came to find out, Billings is home to a few oil refineries. For a few nights we slept across the highway from the Exxon Mobile refinery.
No tags

Social Links