Go to advanced search

by Rilhas
Wed Aug 08, 2012 12:19 pm
Forum: Beginners
Topic: Running applications on startup
Replies: 29
Views: 110620

Re: Running applications on startup

Why do you complain about being an outsider then? I am an outsider in rocket science. Because I don't know enough about it and do not have the time or the will to change that. ... but... do you want to use rockets? My point is that I want to to live in my house and use it without knowing how it was...
by Rilhas
Wed Aug 08, 2012 11:24 am
Forum: Beginners
Topic: Running applications on startup
Replies: 29
Views: 110620

Re: Running applications on startup

No wonder Linux is a mystery - seems to me to be a missed-story. Lots of techies use it but keep it to themselves, I think - and that is called 'open-source'. Please help - I want to know where to find a dictionary or Theasurus of Linux commands and structures that work on my RPi. Like you I feel t...
by Rilhas
Sun Aug 05, 2012 11:52 pm
Forum: Beginners
Topic: Running applications on startup
Replies: 29
Views: 110620

Re: Running applications on startup

I finally got it. Well, I didn't really get it, but I was finally able to work around it. Being just about ready to give up I tried setting up a cron job at boot time, and it didn't work. I thought to myself that that was a little bit too much, enough was enough, so I tried starting a job, at boot t...
by Rilhas
Sun Aug 05, 2012 9:43 pm
Forum: Beginners
Topic: Running applications on startup
Replies: 29
Views: 110620

Re: Running applications on startup

joan wrote:I dislike mucking about with start up scripts. I'd just bung in a cron job to be run at boot, e.g.
I think I'm ready to join you. And maybe even form a club or start a cult. :)

I've heard of that cron thing before, I'll look it up. Thanks!
by Rilhas
Sun Aug 05, 2012 9:38 pm
Forum: Beginners
Topic: Running applications on startup
Replies: 29
Views: 110620

Re: Running applications on startup

/etc/rc.local is called during startup (I have my network setup with some setting of routes there) and yes, it works in Raspbian (gets called before the first login console is available, not sure in which runlevel but network is avail). Maybe I should mention that my applications reside in an USB d...
by Rilhas
Sun Aug 05, 2012 9:21 pm
Forum: Beginners
Topic: Running applications on startup
Replies: 29
Views: 110620

Re: Running applications on startup

You could also alternatively put the script in the folder /etc/init.d , although this may not work as not all other services will have started yet. Nice! I don't know why I didn't think of that and immediately went for the script-running-a-script option. Unfortunately however, it doesn't work. This...
by Rilhas
Sun Aug 05, 2012 9:00 pm
Forum: Beginners
Topic: Running applications on startup
Replies: 29
Views: 110620

Re: Running applications on startup

I'm no great expert on this, but I'm pretty sure rc.local will be run as root - get rid of `sudo`. Thanks for you suggestion. I initially tried it without the sudo, and it didn't work, and although I didn't know the reason why I inserted the sudo's in the script just to be on the safe side. I retri...
by Rilhas
Sun Aug 05, 2012 4:54 pm
Forum: Beginners
Topic: Running applications on startup
Replies: 29
Views: 110620

Running applications on startup

Hi, I'm having trouble running applications on Wheezy startup. I've tried a lot of things, so my system may be somewhat messed up by now, but I would like to try anything you care to suggest before reformatting the whole thing and starting over. My applications are started from an "autoexec.sh&...
by Rilhas
Sun Aug 05, 2012 3:52 pm
Forum: Beginners
Topic: Can't listen to port 80 on Wheezy??
Replies: 3
Views: 3493

Re: Can't listen to port 80 on Wheezy??

Ha... that makes sense... Windows doesn't really care about security, and in other versions of Linux I've used the applications ran as root, that is why I had never come across this issue.

Thanks!
by Rilhas
Sun Aug 05, 2012 9:52 am
Forum: Beginners
Topic: Can't listen to port 80 on Wheezy??
Replies: 3
Views: 3493

Can't listen to port 80 on Wheezy??

Hi, I want to run my own TCP server on port 80, but trying to listen to the port fails. I can start it on other ports, like 7000, for example, but not port 80. The server has been running on port 80 without any problems on Slackware and other versions of Linux as well as in Windows, so I'm pretty su...
by Rilhas
Sat Aug 04, 2012 8:26 am
Forum: C/C++
Topic: CodeSourcery G++ Hello World ... and then ... ?
Replies: 3
Views: 3009

Re: CodeSourcery G++ Hello World ... and then ... ?

I tried that same path, using Code::Blocks IDE and configured it to use the CodeSourcery's compilers and libraries. It all seemed to work beautifully, and it was suprisingly easy. The HelloWorld took me something like 3 minutes from starting IDE configuration to seeing the printed message on the PI'...

Go to advanced search