Skip to main content

Posts

Showing posts from June, 2010

Solving RadiusManager Web Interface

Siamak asked me: After following the installation manual, the admin.php page still showing blank page instead of the login page. Why is that?

My Answer: I'm not a wizard to magically answer your problem... let me check your server.

After checking the server here is some information...

The linux:
[root@localhost html]# uname -a Linux localhost.localdomain 2.6.27.5-117.fc10.i686 #1 SMP Tue Nov 18 12:19:59 EST 2008 i686 i686 i386 GNU/Linux
I try to see what is happening in the /var/log/httpd/access_log...

XX.XX.XX.XXX - - [18/Jun/2011:23:12:03 +0800] "GET /radiusmanager/admin.php HTTP/1.1" 500 - "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.19) Gecko/2010040118 Ubuntu/8.10 (intrepid) Firefox/3.0.19"
so, I can see it is getting 500 error... seems like the server is misconfigured or something.

This RadiusManager is using ionCube to encode the page. Therefore, I think the httpd server haven't configured to use enough memory to parse the file.

What…

Beginning C Programming in Linux

Don't ask a lot to begin C programming in Linux. Just grab your tools and start small. This time, I just wanna show you how to start C programming in linux. You can use any Linux distro. However, if you are beginner, just follow me using Ubuntu Linux.

1. Install the required packages.
First of all, you have to make sure that you have C compiler to compile your code. In linux, we use "gcc - GNU project C and C++ compiler".

In Debian, Ubuntu and it's family distro, all the basic programming tools for C programming can be found in build-essential package. Use this command to install this package:

$ sudo apt-get install build-essential
2. Write your first program
Now, after installing the required package, we can start coding our first program. As usual, you may start with a "Hello World" program.

Create new project directory
Under your home directory, you may start creating your project directory to begin with. In this example, I'm calling it as myhello:

$ mkd…