Results 1 to 9 of 9

Thread: Stuff achieved so far - ICQ, WOL, HTTP, GCC

  1. #1

    Stuff achieved so far - ICQ, WOL, HTTP, GCC

    Hi guys,

    I falled in love with my wl-500gP. So I managed to make him capable of many stuff.

    As I mentioned I made icq work, sending messages can be called by scripts. Part of that process was gcc and g++ so I can build almost anything...

    I have also webserver with password protected scripts which are executed on my router. That includes Wake on lan over internet and checking status of my pc. I also have shutdown on lan , thats right, you heard me

    One of really cool sh*t is www browser in command line.

    I am not saying this to make myself look cool. I am offering my help to anyone who wants make this happen. I am not going to write howto just for myself.

    BTW All hail Oleg

    And sorry for my good english, I am from Czech Republic (and I am partially proud of it)
    Last edited by darkdiablo; 07-10-2007 at 15:52.

  2. #2
    It sounds very interesting. If you don't want to write a HOWTO for yourself, well, could you write it for us then?

  3. #3

    re:

    Hi,

    thanx for response. What exactly you want to know?

    Pavel

  4. #4

    interested in wol/shutdown

    Hi Pavel,
    i am interested in wol an machine shutdown on lan from my wl500gp. i am able to power up my pc from router using ether-wake from router's commandline, but not managed how to shut the machine down (win xp) except from remote desktop of pc.
    Petr, Brno

  5. #5

    RE: shutdown

    Hi Peter,

    shutting pc down is really easy. Samba2 (not sure about Samba1) includes command "rpcclient" which is able to connect to machine running XP and shut it down.

    Example -> rpcclient -U user%pass -c shutdown pc_name
    (replace user with your xp login name, and pass with xp password and pc_name with name of your pc.)

    There is one tiny problem. This works as shutdown command in cmd, but it does not force apps to quit. You need to set this up in your xp using XP manager or something else. And there is unfortunately 30 seconds countdown before it shuts down, I didnt have time to solve this...

    Second problem if this doesnt work you need to change you local policies -> in control panel - administrative tools - local security settings - local policies - security options - network access: sharing and security model - change to classic (not guest)

    If you want to execute shutdown from web. you need to have webserver and script that shuts down pc. Move script to cgi-bin in your web-server folder, make it executable and there you go. And one more thing, you should secure that script by password, you can do that in httpd configuration file.

    Second way how to do all this is to connect to your pc via ssh, but you need to install freesshd on your pc with XP. Then you can call shutdown command on your pc remotely (you can use "shutdown -s -f -t 0" to skip countdown and to force apps to quit).

    Let me know about results.

    Pavel
    Last edited by darkdiablo; 30-10-2007 at 10:30.

  6. #6
    how did you install gcc?

  7. #7

    re: gcc

    Hi man,

    it is as easy as breathing. just install package:

    ipkg install buildroot

    be careful about the size of that - about 60MB. So it downloads for a longer time...

    I also recommend to install:

    ipkg install make
    ipkg install automake
    ipkg install autoconf

    for installing apps.

    Have fun.

    Pavel

  8. #8
    Quote Originally Posted by darkdiablo View Post
    As I mentioned I made icq work, sending messages can be called by scripts. Part of that process was gcc and g++ so I can build almost anything...
    Hi darkdiablo,

    could you please write a short howto how to get icq running or can you provide your scripts? I am thinking about running ICQ in a browser but I need a simple backend to send/receive messages.

    Thanks for any advice.

    Georgoz

  9. #9
    Quote Originally Posted by georgoz View Post
    Hi darkdiablo,

    could you please write a short howto how to get icq running or can you provide your scripts? I am thinking about running ICQ in a browser but I need a simple backend to send/receive messages.

    Thanks for any advice.

    Georgoz
    i wrote a tut for running icq on olegs firmware, you dont need gcc:

    wiki.mastereder.de

Similar Threads

  1. ICQ (CenterICQ, CenterIM) auf Router?
    By wky in forum German Discussion - Deutsch (DE)
    Replies: 5
    Last Post: 03-04-2008, 12:41
  2. Replies: 3
    Last Post: 13-08-2007, 16:42
  3. Ports fьr ICQ Dateitransfer forwarden?
    By deranonyme in forum German Discussion - Deutsch (DE)
    Replies: 7
    Last Post: 03-02-2007, 00:23

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •