Syndicate content

download

My NVG 510 broadband light is blinking red

Somehow my NVG 510 broadband light started blinking red a couple of time in the last few days. I've been wondering why and I think I have the answer now.

In most cases it may just be that the broadband signal disappears for too long and the modem disconnects.

However, in my case, I think it was because they made an upgrade (a push!) on the modem because a few things do not work as expected anymore. (i.e. I cannot access the nsh shell anymore...)

Whenever software is upgraded, the likelyhood that you have to reset the whole thing is very high. I had to restart twice and even after that, ...

Do you know how to pronounce Linux?

Yes.

I have been around a lot of people and there are many who heard of Linux but to not know how to pronounce that word. I never thought it was complicated, that's a latin word, right?

So... maybe it is not "Lie neex"... Think about the "i" later and see how Italians, Spanish and French people pronounce it... Yes! The right way! You got it!

 

Anyway... for those in doubt, there is a file you can listen to:

Scan Alert

Just got that message today:

[18:06:04] Scan Alert: WINDOWS REQUIRES IMMEDIATE ATTENTION
=============================

ATTENTION ! Security Center has detected
malware on your computer !

Affected Software:

Microsoft Windows Vista
Microsoft Windows XP
Microsoft Windows 2000
Microsoft Windows Server 2003

Impact of Vulnerability: Remote Code Execution / Virus Infection /
Unexpected shutdowns

Recommendation: Users running vulnerable version should install a repair
utility immediately

Your system IS affected, download the patch from the address below !
Failure to do so ...

gVIM surprise!

What a surprise!

Today, by mistake, I loaded a URL in gVIM instead of my browser. The mind going silly I guess since I had to type :e<space> to load, as usual...

And to my surprised, it loaded something. Yes! It actually sent the necessary HTTP request and shown the reply in my gVIM window!

What does this mean? Well! That means I can check out my websites directly in gVIM to see whether they worked as I expected.

Fantastic! If you ask me... 8-)


Well... I knew that a firewall could generate a few problems, but this one, I did not expect!

I just could not FTP anything from my FedoraCore box. I checked the source system firewall, tweaked all sorts of options in the vsftpd.conf file to no aval.

The error I was getting was this:

Mon Aug 11 21:31:57 2008 [pid 12033] CONNECT: Client "192.168.2.11"
Mon Aug 11 21:31:57 2008 [pid 12032] [alexis] OK LOGIN: Client "192.168.2.11"
Mon Aug 11 21:31:57 2008 [pid 12034] [alexis] FAIL DOWNLOAD: Client "192.168.2.11", \
               "{fullpath to}/ubuntu-8.04.1-server-amd64.iso", 0.00Kbyte/sec

I read that permissions could be wrong. Not the case.

The firewall has some REJECT and DROP rules. None of which would increase when I was getting the FAIL DOWNLOAD message.

The fact was that the FedoraCore system firewall was not accepting the connection. That's why it would fail. I thus opened the firewall a bit by adding a rule like this:

-A INPUT -i eth0 -p tcp -m tcp -s 192.168.2.1 -d 192.168.2.2 --sport 20 -j ACCEPT

Then it finally worked.

Note that I am using FTP in non-passive mode. This is important because I do not want to open "random" ports on my server. There is nothing to control that in vsftpd as far as I know. Which sucks. My company's FTP server will automatically change the firewall and open ports as required. Once the FTP connection ends, the port is closed in the firewall. This means the port is open only very temporarily.

Anyway, all that to say that the message FAIL DOWNLOAD blah means nothing when it could be telling you: could not connect to client. At least that way you'd know right away what's wrong.

Well... I knew that a firewall could generate a few problems, but this one, I did not expect!

I just could not FTP anything from my FedoraCore box. I checked the source system firewall, tweaked all sorts of options in the vsftpd.conf file to no aval.

The error I was getting was this:

Mon Aug 11 21:31:57 2008 [pid 12033] CONNECT: Client "192.168.2.11"
Mon Aug 11 21:31:57 2008 [pid 12032] [alexis] OK LOGIN: Client "192.168.2.11"
Mon Aug 11 21:31:57 2008 [pid 12034] [alexis] FAIL DOWNLOAD: Client "192.168.2.11", \
               "{fullpath to}/ubuntu-8.04.1-server-amd64.iso", 0.00Kbyte/sec

I read that permissions could be wrong. Not the case.

The firewall has some REJECT and DROP rules. None of which would increase when I was getting the FAIL DOWNLOAD message.

The fact was that the FedoraCore system firewall was not accepting the connection. That's why it would fail. I thus opened the firewall a bit by adding a rule like this:

-A INPUT -i eth0 -p tcp -m tcp -s 192.168.2.1 -d 192.168.2.2 --sport 20 -j ACCEPT

Then it finally worked.

Note that I am using FTP in non-passive mode. This is important because I do not want to open "random" ports on my server. There is nothing to control that in vsftpd as far as I know. Which sucks. My company's FTP server will automatically change the firewall and open ports as required. Once the FTP connection ends, the port is closed in the firewall. This means the port is open only very temporarily.

Anyway, all that to say that the message FAIL DOWNLOAD blah means nothing when it could be telling you: could not connect to client. At least that way you'd know right away what's wrong.

Well... I knew that a firewall could generate a few problems, but this one, I did not expect!

I just could not FTP anything from my FedoraCore box. I checked the source system firewall, tweaked all sorts of options in the vsftpd.conf file to no aval.

The error I was getting was this:

Mon Aug 11 21:31:57 2008 [pid 12033] CONNECT: Client "192.168.2.11"
Mon Aug 11 21:31:57 2008 [pid 12032] [alexis] OK LOGIN: Client "192.168.2.11"
Mon Aug 11 21:31:57 2008 [pid 12034] [alexis] FAIL DOWNLOAD: Client "192.168.2.11", \
               "{fullpath to}/ubuntu-8.04.1-server-amd64.iso", 0.00Kbyte/sec

I read that permissions could be wrong. Not the case.

The firewall has some REJECT and DROP rules. None of which would increase when I was getting the FAIL DOWNLOAD message.

The fact was that the FedoraCore system firewall was not accepting the connection. That's why it would fail. I thus opened the firewall a bit by adding a rule like this:

-A INPUT -i eth0 -p tcp -m tcp -s 192.168.2.1 -d 192.168.2.2 --sport 20 -j ACCEPT

Then it finally worked.

Note that I am using FTP in non-passive mode. This is important because I do not want to open "random" ports on my server. There is nothing to control that in vsftpd as far as I know. Which sucks. My company's FTP server will automatically change the firewall and open ports as required. Once the FTP connection ends, the port is closed in the firewall. This means the port is open only very temporarily.

Anyway, all that to say that the message FAIL DOWNLOAD blah means nothing when it could be telling you: could not connect to client. At least that way you'd know right away what's wrong.

Advanced Topics about Drupal Development

Managing your own Drupal Download Site

The other day, I was thinking, it would be nice if I could find the way to manage my own download site so people who use my modules that I do not provide directly on https://www.drupal.org would still show as expected (i.e. Green in the update window).

I found this page about it: https://www.drupal.org/node/210984

This is done by creating a service in your Drupal environment. You should use the ready made script named:

project-release-serve-history.php

which you can find in the D6 version of the Drupal project named Project. Being very ...

IrfanView

I created this page to have a place to save my copy of IrfanView.

I have to say that the author has made his download so complicated (at least last time I tried it was deadly complex!) that I have to just keep my own copy somewhere. Maybe it's illegal, but the software is freeware anyway.

You can find the original (and most certainly more advanced version) on his website: http://www.irfanview.com

There other tools one can use to work on images as follow:

PAD File

PAD File Module for Drupal

Introduction

You can find my PAD File module on Drupal.

It is intended for any company and individual that has executable files for download but its customers and potential customers. The PAD File describes the content of such executable to the target machine (robots that spider the Internet for PAD Files).

With the module you can create, import, update and delete PAD Files as necessary. It automatically generates the XML files and maintains them on your website without you having to do anything about it.

It is also intended ...

Visual C++ for free!

Download a free copy of your C++ development environment! (Visual C++ v8.0)

Yes! Microsoft is doing the same thing as Linux: they offer their IDE for free with their fully compliant C/C++ compiler (as well as other bits if you are interested, I only want C++ on my end!)

At this time, the link is like this: ... (does not work anymore...)

It may require a bit of digging to get older versions but they should remain available. (but who wants the old stuff anyway?!)

I don't have links anymore and the one I had before doesn't work... it make still be available, but you'll have o

FTP not working?!

Well... I knew that a firewall could generate a few problems, but this one, I did not expect!

I just could not FTP anything from my FedoraCore box. I checked the source system firewall, tweaked all sorts of options in the vsftpd.conf file to no aval.

The error I was getting was this:

Force the download of any file

How to force a download of any file in a CGI script

I have been wondering for a while, now I have the answer, so I can share it with you guys.

Your script has to do the following steps:

  1. Print a header which at least includes:

    1. Content-Type: application/force-download

      (you can also use octet-stream instead of force-download)

Syndicate content Syndicate content