Archive for April, 2006

Configuring FreeBSD to be your DSL router

Friday, April 28th, 2006

I have been using my old , celeron 333-64 RAM-4GB HDD (running 4.5) , as a DSL dialer and router. I only use Ethernet DSL modem.

And recently I bought a new computer for my little brother “Abdurrahman”, so his old machine P3 866MHz-512MB RAM – 12GB HDD , became free(without BSD ;) . so I decided to upgrade my FreeBSD ( machine , and OS too).


Install FreeBSD is pretty easy, and even configuring the Network card and the ip Address.

PPPoE is needed to connect to internet through FreeBSD. In FreeBSD 4.9 and above, no need to recompile the kernel. You will need only to configure ppp.conf file.

this link will help you to do the first configuration needed to make it run. but you will need to consider those lines to make it working in your network.

  • name_of_service_provider : put any name for this section I usually choose pppoe
  • under this secotion add those lines:
  • set mru 1492
  • set mtu 1492
  • under defualt section add :
    • nat enable yes
    • set ifaddr 192.168.0.1/0 255.255.255.0 0.0.0.0 # if you are going to use this network 192.168 etc..

    and go on with the doucment , and your DSL will be up inshallah.

    The Next comming days I will inshallah enable the firewall ipfw , Port Forwarding using ipnat. then Finally I will configure Squid & apache+php & mysql.

    SQLer ver 0.1 vs TOAD

    Thursday, April 27th, 2006

    I have been using TOAD for 4 years, TOAD is a powerfull tool to access ORACLE and do queries and administration easier than any expectation. You can read more about TOAD here
    I have some comments on TOAD,

    • To use toad , you have to install Oracle Client ( too big around 100 MB).
    • Toad is too expensive for simple administration.
    • Works only on Windows Platform.

    I tried to copy some of features I liked in TOAD to a simple application and I named it SQLer. have a look at it.

    and if you wish to try it download it from here
    and if you would like to have a look at my dirty code download it from here

    from SQLer you will have:

    • Free software ;)
    • Runs on any platform.
    • it uses Oracle thin driver ( less than 1.2 MB).
    • Automatically it saves all of your sql statments ( History Button ).
    • can open more than window on the same Oracle Connection.
    • Can export the result to excel .xls file.

    I’m planing to post it as project in sourceforge.

    Contradiction Prove التعارض للاثبات

    Saturday, April 22nd, 2006

    كثير من الاحيان تأتينا اشياء نريد ان نثبتها لأنفسنا او ننفيها او نختارها او نقرر فيها ، و فكرة التعارض تريحنا كثير في استبعاد كثير من الاختيارات .

    اللي درس الرياضيات اكيد يتذكرها ،

    استفدت منها صراحة كثير في عملي في الشركة ، بأبسط صور التعارض لاثبات بعض الاشياء ، فمثلا : كانت عندي معلومات من المبعيات عن نوعية من المشتركين، قد تكون المعلومات هذي صحيحة او قد تكون مغلوطة نوعنا ما.

    أبسط طريقة لمعرفة صحتها ، اطلب معلومات منهم عن نوعية اخرى من المشتركين و في الاتفاق فان هذه النوعية من المشتركين ، المفروض ان تعطي نتائج اقل من نتائج الاولى . ( كمعلومة مسبقة )

    فاذا طلعت النتائج ، كما هو متوقع منطقيا بدون تعارض ، كويس و تمام . لكن في كثير من الاحيان لا.

    حاول تستفيد من التعارضات بما ينفعك .

    لمزيد من المعلومات مراسلنا في ويكي بيديا wikipedia

    A New LCD Monitor for My Desktop Computer

    Tuesday, April 18th, 2006

    2 days ago, I ran Microsoft Update. then after 1 hour, My monitor stopped displaying resolutions more than 640×480.

    My Monitor is 10 years old, so I figured out that it is the time to buy :) – I like to buy computer stuffs- It is time to buy a new monitor, Yahooooo LCD Monitor .

    I chosed ViewSonic VA712 with build-in speakers – 3 years warranty.

    I came back home to install it on my Desktop.

    When I pluged it in the power and the data cable. and I were expecting to see something on the LCD, NOTHING DISPLAYED :(

    NOW it came to my mind that I ran microsoft updates then I didn’t restart my computer , and after 1 hour I restarted it , and that cause the problem :D   Microsoft updated my VGA card driver with wrong driver that could all of this issue.
    I deleted the new driver – in Safe Mode – and installed the oldder driver.

    Wait a second!!! I just bought a monitor for no reason !!

    Leather Seats Cleaners and Conditioners

    Friday, April 7th, 2006

    A week ago, I met one of my friends. and I saw his car. His car is almost in the age of my car. But it was totally worse than mine!!!

    I took a look at the his leather seats. 4 years ago , they were in Great condition.
    But now, alot of cracks here and there.

    My Car Seats also are not even in Great condition, but in good condition. only some small cracks.

    The only different between my car and my friend’s car, was only the Leather Cleaners and Conditions.

    Take a look at the brands that I’ve been using for the last 4 years.

    the two small ones, I usually buy them from Ikea (30SR), and the two tall ones, from SACO(65 SR) .
    So if you have a car with Leather Seats. take my advice and start use some of cleaners and conditioners, for one time every 6 months.

    Your car’s seats will look nice and it will keep in good condition for a small amount of money and 30 minutes of hand work.

    مليت من الشغل بس مخي ما مل

    Friday, April 7th, 2006

    Yesterday,  my friends started pushing me to keep my blog active.

    Actually I’m busy with some issues, and I don’t want to write about them, all about work.

    I tried to write anything I thought about the last 2 weeks, in my free time , all was about that project to make it success.

    I just found that 2 minutes ago while I’m working clearing some imported data :)

    Sorry I think I need to quit or find a way to split my life from my work.