1. argh..

    Today I noticed that blog stopped working;(

    I have to add some magic into .htaccess to switch some PHP flags — one of them will be magic_quotes_gpc which suxx.

    UPDATE: I have to find why plugins stopped working…

    UPDATE II:It was magic_quotes_runtime option.

    Written by Marcin Juszkiewicz on
  2. 4 years of work as PHP programmer

    Today I noticed that 4 years ago I started work at Polnet SA in Wrocław, Poland as PHP programmer. It was times of PHP 4.0.4 when register_globals was normal thing, when using short_tags (< ? ?>) was something which does not bothered me (today it conflict with XML).

    Now portal for which I wrote most of code exist in other form, many sections was removed, not all work — time passed, company died.

    Written by Marcin Juszkiewicz on
  3. 20th Birthday of Commodore Amiga

    It was 20 years ago when Commodore Amiga (the initial name of the Amiga 1000) was unveiled officially at the Lincoln Centre in New York.

    I had Amiga 600 (with HDD and 2MB RAM) then switched to A1200 which got many upgrades like faster CPU (68030/50 and then 68040/40), additional IDE controler and more RAM (64MB FastRAM was very big amount of RAM :)

    Now I don’t have Amiga machine but does not feel that I need one — that time passed away few years ago.

    Written by Marcin Juszkiewicz on
  4. APT repositories

    I don’t have APT repository with ROX-Filer from few months. If you have my website in /etc/apt/sources.list then remove them.

    I have lot of hits to the /apt/* directories which does not exists.

    UPDATE: ROX-Filer is in Debian since 29 Jul 2004 — it’s my second package in Debian (first one was tex-skak).

    Written by Marcin Juszkiewicz on
  5. OPIE developer

    Yesterday I got account on handhelds.org server and R/W access to OPIE source code.

    I use OPIE for over year. From time to time I hacked source a bit and sent patches via opie-devel ML — now I can commit patches directly ;)

    Written by Marcin Juszkiewicz on
  6. Miasta pod skałą

    W poprzednim numerze Przekroju była informacja o nowej książce Marka S. Huberatha “Miasta pod skałą”. Jako że “Gniazdo światów” tego samego autora ciekawą książką jest to uznałem, że i tę nabędę. W sobotę byłem w Empiku, wydałem 39.99zł i jadąc sobie pociągiem przeczytałem ~180 stron. Muszę przyznać, że wciąga i to nieżle — akcja pokręcona maksymalnie.

    Written by Marcin Juszkiewicz on
  7. Wake on LAN

    Few days ago I had to go from work to home just to turn on my desktop computer. Now when I have possibility to remote login to my router I tried to get Wake-On-LAN working.

    My desktop PC has 3 network cards:

    • 3Com 3c905b-tx (my favorite one which I use since 2001)
    • SMC 9332 DST (card from 1995 year — I bought it because it has good packet driver under DOS)
    • Via-Rhine 6102 (onboard — was disabled)

    I installed “ethtool” and started to checking which card support WOL. First tested was 3Com one:

    root@home:~# ethtool eth0
    Settings for eth0:
            Supported ports: [ TP MII ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
            Supports auto-negotiation: Yes
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
            Advertised auto-negotiation: Yes
            Speed: 10Mb/s
            Duplex: Half
            Port: MII
            PHYAD: 24
            Transceiver: internal
            Auto-negotiation: on
            Current message level: 0x00000001 (1)
            Link detected: no
    

    As you see — no WOL here.. So I build “tulip” module and checked SMC card:

    root@home:~# ethtool eth1
    Settings for eth1:
    No data available
    

    It’s so old card that I was not suprised that it does not support WOL. Next step was rebooting machine, enable onboard LAN and enabling two other options in BIOS:

    Wake on Onboard LAN
    Wake on PCI card
    

    Started Linux and started ethtool:

    root@home:~# ethtool eth2
    Settings for eth2:
            Supported ports: [ TP MII ]
            Supported link modes:   10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
            Supports auto-negotiation: Yes
            Advertised link modes:  10baseT/Half 10baseT/Full
                                    100baseT/Half 100baseT/Full
            Advertised auto-negotiation: Yes
            Speed: 100Mb/s
            Duplex: Full
            Port: MII
            PHYAD: 1
            Transceiver: internal
            Auto-negotiation: on
            Supports Wake-on: pumbg
            Wake-on: d
            Current message level: 0x00000001 (1)
            Link detected: yes
    

    And that card support WOL :) So I retired 3Com card and now VIA-Rhine is my default NIC. I added one line to /etc/init.d/hrw-misc:

    ethtool -s eth0 wol pumbg
    

    to get WOL turned on on each reboot.

    On router I installed “wol” package and created one line script “/sbin/wake-home”:

    wol -i 192.168.1.255 xx:yy:zz:aa:bb:cc
    

    where “xx:yy:zz:aa:bb:cc” is MAC address of desktop NIC.

    Thanks goes to Jimmy for his entry in blog.

    Written by Marcin Juszkiewicz on
  8. OpenWRT powered

    BusyBox v1.00 (2005.05.25-20:30+0000) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
      _______                     ________        __
     |       |.-----.-----.-----.|  |  |  |.----.|  |_
     |   --   ||  _  |  -__|     ||  |  |  ||   _||   _|
     |_______||   __|_____|__|__||________||__|  |____|
              |__| W I R E L E S S   F R E E D O M
    
    root@OpenWrt:~# uname -a
    Linux OpenWrt 2.4.30 #1 Wed May 25 16:25:58 EDT 2005 mips unknown
    

    in near future it will be partially replaced by “wrt54oe” distribution build using OpenEmbedded.

    Written by Marcin Juszkiewicz on
Page 103 / 106