Results 1 to 6 of 6

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: ✰✰ iphone web server project (lighttpd) ✰✰ some tasks to accomplish.

  1. #1
    Talking ✰✰ iphone web server project (lighttpd) ✰✰ some tasks to accomplish.
    dear community,

    i'm running an old iphone 2g (dead strip edition) as a web server on my home connection (vdsl 50/10mbit). i'm using lighttpd as a web server, which does its job very well.

    i installed aptitude.

    some questions:

    -which launchdaemons can be killed? i don't need the gsm functions as there's not even a sim card in the phone. i only need http,sftp,ftp,ssh. and more free ram.

    -is there a command line tool which would allow me to take a photo with the internal camera in an interval and store it somewhere on the device and make it accessible via http? or even stream video via http?

    -could i take control of the led backlights via command line, so that everytime someone connects to my server, those lights will flash?

    -can i play a sound via command line on certain events?

    -can i keep wifi alive without using insomnia?

    -how do i rotate lighttpds log files the best way?

    thank you for any ideas.

  2. #2
    got 190 views so far but no reply - is it the wrong forum? could anyone suggest another place? thnxx.

  3. #3
    you need to search on google on how to remove launch daemons and language packs. Also look up overclocking. That will greatly increase the speed

  4. #4
    thanks - already did first two things, but rather than overclocking i'd like to kill some now unneeded processes. gonna ask in irc.

  5. #5
    Hmm also I don't think you need insomnia.

  6. #6
    this is what top gives me:

    Code:
    Processes:  20 total, 1 running, 19 sleeping... 71 threads              14:51:32
    Load Avg:  0.08,  0.02,  0.01    CPU usage:  2.80% user,  7.48% sys, 89.72% idle
    SharedLibs: num =    0, resident =     0 code,     0 data,     0 linkedit.
    MemRegions: num =  1320, resident =   21M +     0 private,   18M shared.
    PhysMem:   23M wired,   26M active,   38M inactive,  108M used, 7756K free.
    VM: 587M + 0   29582(0) pageins, 0(0) pageouts
    
      PID COMMAND      %CPU   TIME   #TH #PRTS #MREGS  RPRVT  RSHRD  RSIZE  VSIZE
    55251 top          6.5%  0:00.39   1    21     34   360K  6668K   840K    17M
    55236 bash         0.0%  0:00.13   1    15     49   284K  6680K  1088K    19M
    55234 sshd         0.0%  0:01.33   1    15     34   300K  6424K  1300K    18M
      237 ptpd         0.0%  0:32.17   2    54     39   388K- 6424K-  828K    17M
       70 MobilePhon   0.0%  0:01.40   1    57     99  1720K  7836K    11M    68M
       41 iapd         0.0%  0:51.61   4   105     44   660K- 7380K- 2164K    33M
       35 lighttpd     0.0%  5:05.27   1    15     51   624K  6412K  1052K    17M
       34 CommCenter   0.0%  1:05.82   8   115     80   980K  7388K  1968K    45M
       31 SpringBoar   0.0%  5:50.13  11   274    360 10816K- 7836K-   29M    87M
       28 fairplayd    0.0%  0:00.29   1    34     37   300K  6412K  1172K    18M
       25 mediaserve   0.0%  0:06.22  12   176     92  1096K- 7388K- 2784K    39M
       24 lockdownd    0.0%  0:01.19   3    51     50   932K  7380K  2584K    33M
       20 sbsettings   0.0%  0:00.21   1    38     29   356K  7368K  1276K    30M
       19 InsomniaDa   0.0%  0:15.16   1    29     29   432K  7368K  1444K    30M
       17 BTServer     0.0%  0:47.21   2    72     49   480K  6424K  1268K    21M
       15 configd      0.0%  3:44.27  10   210     87   936K  6424K  2120K    22M
    what about fairplayd and btserver for instance, will iphoneos boot correctly without them running? if anyone knows a place where to ask questions like this.. thanks a lot!

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