Modify

Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#14761 closed defect (wontfix)

Wifidog is no longer autostarting

Reported by: biso911@… Owned by: developers
Priority: high Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: wifidog, init.d, startup Cc:

Description

With the recent trunk images, Wifidog is working manually only.
the init.d/wifidog is creating similinks s65wifidog in rc.d
however wifidog doesn't start.

this is exclusively to the new trunk images, test with the last one
uploaded 12.1.2014

Attachments (0)

Change History (7)

comment:1 Changed 4 years ago by anonymous

Partially Fixed with the new trunk snapshots, however you need to modify the similink in rc.d to be S99 rather than S65.
atleast for me

comment:2 Changed 4 years ago by anonymous

still not working.
pls fix

comment:3 Changed 4 years ago by anonymous

still trouble

comment:4 Changed 4 years ago by anonymous

Init procedure is f@@@ed up :(

comment:5 Changed 3 years ago by julien@…

Modified /etc/init.d/wifidog and used procd (http://wiki.openwrt.org/inbox/procd-init-scripts) to make it work again (BB 14.07) :

#!/bin/sh /etc/rc.common
# Copyright (C) 2006 OpenWrt.org

USE_PROCD=1

START=99
EXTRA_COMMANDS="status"
EXTRA_HELP="        status Print the status of the service"


start_service() {
        procd_open_instance
        procd_set_param command /usr/bin/wifidog-init start
        procd_set_param respawn # respawn automatically if something died, be careful if you have an alternative process supervisor
        procd_set_param file /etc/wifidog.conf
        procd_close_instance
}

stop_service() {
        /usr/bin/wifidog-init stop
}

status() {

        /usr/bin/wifidog-init status
}

service_triggers() {
        # don't know which one is used by now, adjust to your need
        procd_add_network_trigger "eth0"|"eth1"|"wlan0"|"br-lan"
        procd_add_reload_interface_trigger "eth0"|"eth1"|"wlan0"|"br-lan"
}

I am not used to procd, so please write it beautifully if you know how.

comment:6 Changed 3 years ago by nbd

  • Resolution set to wontfix
  • Status changed from new to closed

wifidog is in the oldpackages repo. no changes will be made to it until it is submitted to github and maintained there from that point on.

comment:7 Changed 3 years ago by anonymous

I have set 'START=99' and could see S99wifidog in '/etc/rc.d/',but isn't work

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.