Today the mdev service stopped. No changes or reboot was done.
Strange!
What's wrong?
This thread was automatically locked due to age.
Lanching the command: service mdev:start -dsnosync putted the service into unregistered status and now services icon is green again.
However, having a list of what each service does, would help us to investigate and troubleshoot XG more easily.
Sophos you should create a KB with the meaning of each service (most of them are already known but others.....)
Thanks
Hi Luk,
As far as I know, mdev is a light-weight alternative to udev. This handles the creation of device files in /dev directory and starting of actions when certain events happen. For example- when I connect a USB dongle to my XG appliance mdev service will handle the creation and starting of the event in backend. Check the logs:
XG# tail -f mdev.log
Tue Oct 18 14:02:20 IST 2016 add event: add event from /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2
UPDATE 1
Tue Oct 18 14:02:20 IST 2016 add event : found /dev/ttyUSB0
Tue Oct 18 14:02:20 IST 2016 add event : found /dev/ttyUSB1
Tue Oct 18 14:02:20 IST 2016 add event : found /dev/ttyUSB2
Tue Oct 18 14:02:20 IST 2016 scan start
Tue Oct 18 14:02:20 IST 2016 scaning /dev/ttyUSB0 .....
/bin/atcmd : not able to setup /dev/ttyUSB0
/bin/atcmd : cannot write on /dev/ttyUSB0
Tue Oct 18 14:02:20 IST 2016 scaning /dev/ttyUSB0 .....
OK
ATI
Manufacturer: huawei
Model: EC306
Revision: TCPU_HWEC306DT05
ESN: +GSN:80
+GCAP: +CIS707-A,CIS-856-B,+MS, +ES, +DS, +FCLASS
OK
Tue Oct 18 14:02:20 IST 2016 tty event :found modem port ttyUSB0
Tue Oct 18 14:02:20 IST 2016 scaning /dev/ttyUSB1 .....
/dev/ttyUSB1 is not responding
Tue Oct 18 14:02:20 IST 2016 scaning /dev/ttyUSB2 .....
ATQ0 V1 E1XG115_XN02_SFOS 15.01.0# tail -f mdev.log
Tue Oct 18 14:02:20 IST 2016 tty event :found secondary port ttyUSB2
at+csq
+CSQ:26, 99
When the 3G dongle was removed-
OK
at+cfun=1
OK
UPDATE 1
Tue Oct 18 14:02:20 IST 2016 gateway type is active and dialtype is auto ,i am connecting
Tue Oct 18 14:02:20 IST 2016 scan end
Tue Oct 18 14:15:57 IST 2016 remove event: remove event from /devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2 for
Tue Oct 18 14:15:57 IST 2016 remove event: disconnecting modem
UPDATE 1
Hope that helps :)