Code Monkey home page Code Monkey logo

Comments (4)

geohuz avatar geohuz commented on June 28, 2024

I got the same problem, and I can't turn on the redir option. I noticed you were saying "If I start the chilli process without stdin/stdout/stderr (which are closed by the calling program before)", so is there an "unofficial" way to start the chilli? As I only use the stock /etc/init.d/chilli to start it, Anyway if you can point out a way to start chilli with redir option on It will be a great help for me. BTW, I have debug mode turns on, also I have full of the following messages in the log:
Oct 9 20:40:24 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16674 exited
Oct 9 20:40:24 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16676 exited
Oct 9 20:40:24 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16677 exited
Oct 9 20:40:24 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16678 exited
Oct 9 20:40:24 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16679 exited
Oct 9 20:40:25 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16680 exited
Oct 9 20:40:25 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16681 exited
Oct 9 20:40:25 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16682 exited
Oct 9 20:40:25 vyos coova-chilli[3799]: Having to re-launch chilli_redir... PID 16683 exited

from coova-chilli.

andusvan avatar andusvan commented on June 28, 2024

Am 03.11.2015 um 11:33 schrieb geohuz:

I got the same problem, and I can't turn on the redir option. I noticed you were saying "If I start the chilli process without stdin/stdout/stderr
(which are closed by the calling program before)", so is there an "unofficial" way to start the chilli? As I only use the stock /etc/init.d/chilli to
start it, Anyway if you can point out a way to start chilli with redir option on It will be a great help for me.

Hello!

A collegue solved this problem. I do not know, what he exactly did, but
I found the following patch. Maybe this helps...

--- coova-chilli-1.3.0/src/redir.c.orig 2015-03-05 12:36:05.242229771 +0100
+++ coova-chilli-1.3.0/src/redir.c 2015-03-05 12:36:20.018651913 +0100
@@ -3210,7 +3210,7 @@
}
#endif
if (forked) _redir_close_exit(socket.fd[0], socket.fd[1]);

  • return _redir_close(socket.fd[0], socket.fd[1]);
  • return 0; //_redir_close(socket.fd[0], socket.fd[1]);
    }

Regards
Sven

Sven Anders [email protected] () UTF-8 Ribbon Campaign
/\ Support plain text e-mail
ANDURAS intranet security AG
Messestraße 3 - 94036 Passau - Germany
Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55

Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht: Passau HRB 6032
Mitglieder des Vorstands: Dipl.-Inf. Sven Anders, Dipl.-Inf. Marcus Junker
Vorsitzender des Aufsichtsrats: RA Mark Peters

from coova-chilli.

geohuz avatar geohuz commented on June 28, 2024

I saw the patch is based on 1.3.0, but I am having issue with the git version: 1.3.1, could you confirm the patch is applied to version 1.3.0? Thanks

from coova-chilli.

wlanmac avatar wlanmac commented on June 28, 2024

The patch suggested seems to leak file descriptors, which wouldn't be good.

from coova-chilli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.