Tags: lucid lynx

08/29/10

  01:40:00 pm, by The Dreamer   , 389 words  
Categories: Software, Networking, Cox HSI, AT&T DSL, Ubuntu

ddclient & squid

In the aftermath of the summer storm of August 13th, (hmmm, totally missed that it was a Friday the 13th), I made a tweak to my ddclient config for updating dyndns for my DSL line. Because I found that it wasn't able to update the IP change while Cox was down.

Couldn't find a way to make ddclient to bind to the local IP that routes out by DSL (or use non-default gateway). But, since I have squid proxy on the same box...and depending on what port I come in on, it can use either of my connections.

I set proxy=box.lhaven.homeip.net:3128

Couldn't use localhost, because ddclient does some kind of validation to require an fqdn+port, and localhost isn't an fqdn. And, yes, I use my dyndns domain as my home domain. So I can have bookmarks that'll work whether I'm at home or on the road &#59;D

But, this change wasn't tested...as it has been less than 28 days for a refresh, and no IP change.

That was until this morning, when my IP did change.

The updates weren't working....seems that ddclient wants to do SSL all the way or not at all. No using an http proxy to connect out on SSL. But, I didn't feel like sending my dyndns password out non-SSL.... So, after some thought, I decided I would figure out how to set up SSL on squid.

I made the necessary configuration change, but no go. Seems that ubuntu doesn't distribute squid with SSL, because squid and openssl have incompatible open source licenses. So, I did a quick search to find the ubuntu way of rebuilding it from source.

apt-get source squid
apt-get build-dep squid
apt-get install devscripts build-essential fakeroot
cd squid-2.7.STABLE7
vi debian/rules
     Add --enable-ssl \ to “# Configure the package” section
debuild -us -uc -b
cd ..
dpkg -i squid??? squid-common???

Change to proxy=box.lhaven.homeip.net:3218, and it worked. :cool:

Full story »

05/18/10

  08:29:00 am, by The Dreamer   , 703 words  
Categories: Software, Computer, Networking, BOINC, Ubuntu

'Accidentally' Upgraded 'box' to Lucid

Last night I wasn't thinking....running into the fact that my boinc-client package is broken on 'box', I thought..."why isn't it running the boinc-client from Lucid?" And, I proceeded to fix it with "apt-get"...and then realized that I'm still running karmic and unbreaking it wasn't. The boinc-client pre-Lucid is too old for a project I'm in, and it is annoying how ubuntu doesn't update packages within releases (which get's really annoying with LTS.)

Anyways....I decided the way to resolve the mess I had now made by downgrading my boinc-client, was to upgrade to Lucid Lynx 10.04LTS. It was my plan to upgrade both my Ubuntu servers to 10.04LTS (the other being 'orac' which is currently 8.04LTS)....but I was going to put it off to when I had more time and allow time for the release to stabilize (given all the issues I had when I first started running box on fresh Karmic).

So, it started....things got a little annoying, in that the upgrade requires attention....and I didn't want to spend my whole evening watching it upgrade. So, I'd check it now and then, and sometimes find it stuck waiting for me to make a decision for it, though the first one where it wants to restart stuff after a pam upgrade...that's annoying. Just do it okay, stuff it restarted weren't working right along the way anyways. Namely I found that I couldn't access websites...at first I thought the squid had become dorked, and I couldn't restart it because invoking /etc/init.d/squid said it was now a service...but using service didn't find it. Though later I realized it wasn't working because DNS was broke ('box' is my primary DNS server)... I was able to restart that in the usual manner.

Partly because of the pauses, and a bit due to slow download....it wasn't looking like I would finish before 'bedtime'....but it seemed that it would be close enough.... It wasn't, but I ended up staying up to the bitter end. So, that I could reboot and do a quick check that all was clean.

Namely, I checked that named, dhcpd, ntpd and squid were running (since these were some key services of this server, and were ones that often failed to start after boot in karmic...especially named. Manual start always worked...at one time I was restarting these services in rc.local where it always worked rather than at the 'normal' time).

Then I went to fill in the missing icons in my launcher panel....there were two holes, there also seemed to be a hole in the tray area. The missing icons were Evolution (which I right-clicked to make reappear), and boxee (which I installed the latest of). I then called it a night.

The next morning, I continued to poke around some more....adjust appearance, add some chat/broadcast accounts...and look into my ubuntuone issue....first the tray thing was missing, apparently its by design...but, I don't remember that. I poked around some more and some more....then I looked at 'ulkc' and saw that it also didn't have the tray applet anymore, and I just didn't miss it... So, I then went to check that it was connected to my account and sync'd. Actually, it really was syncing, etc. When I was at Penguicon, I had put a copy of the pictures I had taken into my cloud...expecting to see them later on 'box' when I got home. But, it would never appear. Upgrading 'ulkc' didn't help things.

During the poking around, I disconnected 'box' and reconnected...and that apparently fixed whatever was wrong, as it started syncing...and soon the folders appeared.

While this was going on, I thought that maybe I would need to finish things up by remote....so sadly I discovered that remote desktop still doesn't work in Lucid. Turning it on, consumes 50% of my CPU. My 8.04LTS (orac) doesn't suffer from this problem. But, I want to bring both servers in sync eventually, so I can see about getting failover for dhcp working between the two.

Oh well....at least it seems more successful than when I had upgraded 'box' to Karmic. And, now I'm at an LTS where it can stay for the next 2 years.... We'll see what happens when I upgrade from 8.04LTS to 10.04LTS next month....

05/08/10

  02:31:00 pm, by The Dreamer   , 990 words  
Categories: Software, Computer, Ubuntu

Upgrading to Lucid Lynx

Since I got back from Penguicon 2010, it had been my plan to test out upgrading to Lucid Lynx.

I didn't get around to it the first day back to work, since I was busy catching up on 1000s of emails and making sure things that my co-workers had ignored or overlooked during my absence got done. I then came home with a fever, and ended up taking the next day off from work. The fever broke Thursday night, so I went back to work on Friday...even though head is still all stuffed up and I had a killer sinus headache.

Finally, near the end of the day, I remembered that I wanted to try the upgrade....

At work, I have two Karmic Koala VMs, running in VirtualBox on a Sun Ultra 20 running Solaris 10/x64.

One VM is/was a 32-bit server....it runs BOINC all the time, got a squid instance when I was testing something and more recently I set up backuppc so that I'd have backups of my windows desktop at work. The other VM is a 32-bit desktop which is mainly so I can offload and run my mail/calendar client on...since the Windows computer is starting to suffer with the bloat and growth of apps...the more recent versions of Thunderbird and Firefox are very resource intensive, and I can't run both at the same time anymore.

Though what I do now is run Thunderbird and direct it to open on Cygwin/X running on the Windows box. Since, I want it to be visible all the time as I'm doing tasks come from emails. Makes it strange opening links and attachments though, since they won't go to the Firefox/apps on my windows box....etc.

I first upgraded the server VM, and it largely worked without any major issues....the only thing is that it does complain with "Your CPU is lacking expected security protection"....the checker says the CPU family has NX, but my BIOS isn't ... but the box to enable PAE/NX in VirtualBox is checked. So, guess its just a bug with Ubuntu running in VirtualBox.

I then upgraded the desktop VM...again that went okay.

The server VM originally started out as a Jaunty Jackalope, and went to Karmic Koala...so that was my first experience that 32-bit servers are no longer supported by Ubuntu (I mentioned it as the Ubuntu Q+A at Penguicon, but was ignored...when they were saying that Ubuntu supports a wide range of older hardware..I have older hardware that won't run 64-bit that I use a servers at home...plus I ran into a lot of problems getting 32-bit apps to work on my 64-bit hardy heron server.) Hopefully someday there'll be a way to go from 32-bit to 64-bit, on the machines that can support 64-bit but had 32-bit Ubuntu installed on them.

So, last night....after making backuppc complete that day's incremental. I set out to upgrade my laptop 'ulkc' to Lucid Lynx. This is a laptop, and I originally installed Jaunty Jackalope 32-bit on it, even though its a Core 2 Duo. Main thing is that boxee didn't support 64-bit, and it was one of the key apps I wanted to run...at the time (I've never actually used it on here though...since the streams that wouldn't show on my AppleTV+Boxee also wouldn't work on here. Forcing me to resort to iTunes/AppleTV to get the content.

The upgrade was largely straight forward....though along with disabling 3rdparty sources, it removed picasa (that's the main thing I noticed missing).

Afterwards, I left the computer on, and ran a new full backup into backuppc.

This morning I did some poking around of the usual apps that I use...Firefox/Thunderbird. Of course, Thunderbird is now 3.04...so it did its upgrade/migrate thing and loss of extensions that haven't been updated for 3.x and don't work if I do 'make compatible'. I hope someday these extensions will appear....mainly the View Header toggle button and Mail Redirect.

Being that I some how am an email admin at work, needing to see full headers is something that happens regularly....and mail redirect is handy when I send a message, and then realize that I forgot to CC/BCC somebody...I can then do that with redirect and they won't see the alteration to the email that forwarding does. Also useful to 'cc' a copy of an email that was sent directly to me rather than through proper channels (even if I'll be the one that ends up doing the work).

I left the computer on again...so Thunderbird can do its new (annoying) thing....and guess it'll eventually get picked up for today's incremental...unless I go back to using it before it runs and suspend it.

Not sure when I'm going to upgrade my Ubuntu servers. 'box' is currently a karmic koala 32-bit server (older P4 that doesn't do 64-bit)...was a jaunty jackalope...though I probably should've made it a hardy heron...to match 'orac'...since there are things (namely DHCP fail-over) that I can't do due to version mismatches. But, the plan is to make both servers run the 10.04LTS...where they'll stay until 12.04LTS comes out, or not?

I'm very hesitant about touching 'orac'....because its working, has critical functions, and its temperamental. Of course, 'box' has functions more critical to my overall home network...but I'm going to risk the upgrade of it, to get it to an LTS version.

It was my original intent to not upgrade the servers until at least a couple months have past...since when I had upgraded 'box' to karmic koala shortly after its release, stuff important to me (name DNS) didn't work. apparmor was breaking it. Eventually they released the kernel upgrade that resolved the issue. Though building a 32-bit server kernel each time, etc. was also kind of painful. I've since opted to just have the server running on the 'generic-pae' kernel.

'orac' can continue to be a server, since it is a 64-bit system.

I'll probably go back to the waiting...there are other things I should get to first....

Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

Latest Poopli Updaters -- http://lkc.me/poop

bloglovin

There are 20 years 1 month 25 days 16 hours 13 minutes and 43 seconds until the end of time.
And, it has been 4 years 11 months 1 day 21 hours 49 minutes and 13 seconds since The Doctor saved us all from the end of the World!

Search

November 2017
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
Google

Linkblog

  XML Feeds

Who's Online?

  • Guest Users: 0
This seal is issued to lawrencechen.net by StopTheHacker Inc.
multiblog engine

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime