Tags: ddclient

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 »

06/20/09

  09:52:00 pm, by The Dreamer   , 173 words  
Categories: Computer, Networking, Ubuntu

Calling 'box' done for now....

I'm can't think any more....don't know what's missing that I didn't intend to leave off.

Sure there's stuff that I wouldn't mind having back, and stuff that isn't readily available for the distro I'm using...namely no mondorescue for 9.04 yet. I also couldn't get DHCP peering to work, evidently the rule that both servers be the same version is important. They would start up fine, but once they talk to each other....the second is over. Perhaps I'll sync the servers when the next LTS comes out.

But, I did get ddclient moved (or rather I moved my configs to the version with ubuntu)...and I updated the ip configs to be like my other strange linux boxes.

I suppose I'll slowly comb through the old 'box' HD and figure out the various strange and twisted thigns I've been doing on there. Such as discovering the strangeness of how I've been doing my IVS Status updates.

I suppose one last item would be to make sure I can burn cds with the burner I moved over....

06/19/09

  03:36:00 pm, by The Dreamer   , 710 words  
Categories: ReplayTV, Hardware, Computer, Networking, Home, Ubuntu

Guess that answers one question about 'box'.

This morning while I was at home waiting for the building owner to show up to see about some noises inside the wall behind kitchen sink/washer&dryer. UPS showed up with a box from TigerDirect.

That should be the off-lease IBM ThinkCenter S51 that I snapped up thinking I'd rebuild 'box' on a new machine.

The condo's quarterly pest control was going to be at 1:30pm today, so he was thinking of setting off some kind of pest control spray bomb in the utility room...which may or may not reach into the wet wall space of my condo. Or consult with the pest control company on what else to try. Later as I was listening closer to the noise, I wondered if it sounded like a feret...because there's a "Lost Ferret" sign out by the mailboxes. Turns out the "Lost Ferret" is from the unit above me.

I popped in to work for a bit, and then returned around 1:30pm for the pest control visit. I arrived to find that FedEx ground had been by and there was a box sitting by my front door. Meanwhile, the building owner said the neighbor upstairs wanted to take a look and see if he can get the ferret out, otherwise the ferret owner would pay to have an exterminator deal with it. There's no openings in the wall that I knew of, but I let him. Pest control guy later showed up to do some spraying.

Well, the box was the pulled/untested power supply that I had snagged off of ebay. All the power supplies that matched the part number online were of this 'untested/as-is' condition...or more than what I had original paid for the computer (and more than what the off-lease computer I just got). Alas, it didn't make 'box' work again. Either I got another dead power supply or there something else wrong with the system that is making the powersupply not turn on. Not have an ATX P/S tester handy, I can't tell if this is the case or not.

Anyways...that eliminates one option for getting 'box' back online.

I'm pretty much leaning towards installing the latest Ubuntu server....since it looks like the main things I'd require on the system are DNS (master), DHCP (wonder about setting up peering), NTP, ddclient x 2, and email relay to my outbound.mailhop.org account, vpnc. The ivs-status-sniff stuff will just go away. And, I'll gradually remove all evidence of it and simplify the configurations on my border routers (been close to running out of nvram on them).

Hmmm, just realized that I never changed the configs on the routers to account for the lack of the internal router 'box' to reach my ReplayTVs for IVS...not just they were (date) confused because they were doing NTP off of 'box'...and first DNS in the search list was 'box'....

Also not sure vpnc is needed now, since it won't be functioning as an internal router anymore. Someday I'll upgrade to a computer where it'll be safe to install a vpn client again. My windows boxes are both pretty dorked in the network config department. The W2K box is completely dorked...when 'lhaven' died...it became pretty usuable because I couldn't get into the configs to change my DNS server. I haven't found the install disk, so risking a repair install hasn't been an option. The other computer is also somewhat messed up, though not as bad.

Both messed up networking are connected to previous attempts to install VPN software (SecureRemote). It was largely flawed because they didn't support users with their own routers doing NAT. Largely because every IANA non-routeable ranges were being used somewhere within the worldwide network of the company, which was all NAT'd behind a single IP in Canada. Made location based (or restricted) services fun to use from work...because they would mistakenly set Canadian preferences or deny access because only US IPs were allowed.

It was particularly bad with Yahoo..which kept bouncing us over to yahoo.ca and then defaulting to only searching Canadian sites.

Anyways....wonder when I'll get cracking on trying to build the new 'box'. The off lease machine came with a 40G drive, but do I use it...or see if I have any other IDE drives around (probably too late to buy one).

:hmm:

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 24 days 18 hours and 35 seconds until the end of time.
And, it has been 4 years 11 months 2 days 20 hours 2 minutes and 21 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: 1
This seal is issued to lawrencechen.net by StopTheHacker Inc.
blog engine

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

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