dingus9's blog

Avahi ~ The battle

Recently I upgraded my Debian distribution to discover that my ssh logins, and pings would occasionally take over 20 seconds to resolve the connection. As you may note the time on this post is well after 3:00, but I am victorious. You see my problems all started the other day while I was trying to setup a new vps box(the one hosting this site,) every time I would try and connect over ssh it would take about 15 seconds to respond. At first I thought it was the new server, so I sshd to another box, and it went fast. So I naturally I was a bit upset at the thought I had just paid for a server with a slow connection. It wasn't until I mentioned it to reaneyk, who didn't have the same problem, that I realized I was dealing with different beast entirely. Now I began to start testing things out. First I began by trying it from my Macbook, it worked, then my file server, which also worked. Now I figured it was a global problem with my ssh installation on my desktop, but it wasn't, after reinstalling and purging any previous config files I was right back where I started, totally confused. After a few hours of muddling around in /etc with hosts resolve, I decided it was time for irc and some real help. I ended up searching google for hours, testing various different services, programs and finally capturing a ton of packets with Wireshark. Nothing I did gave me any leads as to the cause of my problem. So far I had discovered it was only on the one computer, only effected pinging and ssh to my one server, and to make it even more confusing I wasn't getting any errors and my dns configs where exactly the same as my file servers. I decided to try killing processes one at a time to see if something was interfering with dns traffic, and when I had finished I reran KDM which for some reason locked up. I was almost out of patience and was seriously considering a reinstall at this point. I restarted and at the grub menu I saw the single user entry and was like ahhh what the heck. Booting into su I made the shocking discovery that ssh was fast, Finally progress. I quickly "init"ed into runlevel 2 and saw THE service avahi mdns, Doh how did I miss that. After poking around starting and stopping it I found that it was indeed avahi causing my woes. Apearenly one of the recent upgrades has a small bug that causes avahi to try and resolve an address, and if it cant it just sits there, even though the address would be easly resolved by dns. So until they get it fixed I won't have zeroconf nor be able to ping my Macbook with its bonjour address. Btw this bug could possible rear its ugly head if you install feisty fawn, as it is part of the default installation now.

Dell offers solid state HDD

I just saw this dell is now offering solid state hard drives in two laptop models, and soon in and entire line of computers. 32 gigs of solid state memory? wow nice Article

a cool ssh tunnel

ssh -D 8080 user@really.cool.server

So basically you just go into your browser and select socks v5 proxy at port 8080. You can also do some the other way but you can look that up. You might want to also check your sshd.conf for session timeout options. My Macbook times out after a few minutes of no keyboard entry. Making a ssh key file is nice too then you don't have to use a passwd.

woot reanyk got the php sessions working again

So we are now fully upgraded to drupal 7.... Oh check out the wiki too!! www.uvog.org/wiki. Not sure if that was the actual problem, but.... I never really botherd to check with school and all :) thanks reaneyk.

debian-media repository

Today I found a really useful mirror for Debain. Add this line to your sources.list. deb http://ftp.sh.cvut.cz/MIRRORS/debian-multimedia/ testing main This mirrior has a ton of really good tools, including the entire myth tv install, some really good dvd ripping/encoding tools, music players/converters, and a bunch of other stuff I haven't really checked out.

WebDAV

Hey uvog members I have a testing WebDAV site up at www.uvog.org/memberdav . If you want an account let me dingus9 know I will set one up for you. You could use it for bookmark syncing, ical, or as I am a project collaboration server for some classmates.

Tri-Booting My Macbook

I recently bought a Macbook for school, the first thing I wanted to do was get gcc, Firefox, vlc, and a bunch of my other favorite opensource software installed but of course that just wasn't good enough. So I decided to Tri-boot OSX, Ubuntu, and Windows XP(which I rarely ever use, but... why not.) It took me a couple of times installing multiple OS's and reformats to get it right. I decided to make a quick how-to of the steps that I took to get it to work. Most of the stuff is from other authors and sources that I gleaned from during my two day quest.

Flash Update

Flash 9 finally available for linux! Flashplayer-- (flash on linux)++ Get flash 9

I just had to blog this

Dell offers "Open-Source systems" One thing to note. The "Open-Source" operating system is FreeDOS. They don't or won't support any opensource operating systems that some one might actually use. Maybe there is a price break on those systems for them not having to buy a copy of XP. Any way I just thought I would note this, it made me laugh in side :) Dell's website since dell changes there site so frequently just go to Dell home and click on the open-source desktops.

Universal Media Library

Profile Project title: Unified/or Universal Media Library Goal: to provide access to organized media everywhere Language: Python Configs: XML Data storage: XML and or MySQL Skin design: XML and CSS Media controls: a plugin interface allowing python, XML, php, and C++ GUI frontend: Python with futer provisions for GLX extensions Web frontend: Python, php, xml, html, javascript, and CSS Introduction I am an avid music enthusiast, over the years I have collected allot of music which I have since placed converted to various formats. I have a lot of songs , and keeping them organized is a continuous task for me. I have several computers and multiple operating systems, so keeping my music collection synchronized and up to date can sometimes be a chore, especially when I have multiple media players that each want to catalog the entire collection. I decide that I needed a unified media library. Primarily it needed to be platform independent, it would also need to save its files in a format and location that could be accessible to me from all OS's and remote locations. I wanted it to be media player independent, and to be able to control my desired player from one interface. The library would have to have all the library features of most leading media players but remain easy to use and configure. Well searched for a while in the package repos and google, and basically decided that there isn't much available that has the level of simplicity and ease of use and development that I want. So I decide to start a project to make my own.
Syndicate content