cm_pc , cm_logic , cm_klogd , diap processes ?!
cm_pc , cm_logic , cm_klogd , diap processes ?!
could anyone give me some info about these processes running on my router ?
cm_pc
cm_logic
cm_klogd
diap
I found them in the list of active processes using ps command on my router...
cm_pc
cm_logic
cm_klogd
diap
I found them in the list of active processes using ps command on my router...
Re: cm_pc , cm_logic , cm_klogd , diap processes ?!
The first 3 at least are what we refer to as "core logic", they are binary only (no GPL sourcecode) router control processes.
Re: cm_pc , cm_logic , cm_klogd , diap processes ?!
Can you describe them more specifically ?
What kinda things each of them do ?
Do they accept any parameters from the Command line ?
Is it possible and worth trying to decompile and dissemble them?
What kinda things each of them do ?
Do they accept any parameters from the Command line ?
Is it possible and worth trying to decompile and dissemble them?
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Re: cm_pc , cm_logic , cm_klogd , diap processes ?!
He already said that they constitute the core logic. Between them, they (in conjunction with the linux OS) run everything to do with routing, configuration, system logs, driving the adsl modem, driving the wireless chip (if any), etc.Mortie wrote:Can you describe them more specifically ?
More or less what has just been described.Mortie wrote:What kinda things each of them do ?
Yes, some of them do - but you would be well advised to leave them alone. They are not meant to be toyed with from the command line.Mortie wrote:Do they accept any parameters from the Command line ?
I doubt it.Mortie wrote:Is it possible and worth trying to decompile and dissemble them?
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
Re: cm_pc , cm_logic , cm_klogd , diap processes ?!
Thank you both for the info.
I'm actually digging up my adsl router to find a way to manage it remotely and automate some actions like changing the vpi and vci numbers and connecting to the isp, all by a single press of a button.
I'm able to automate the telnet process and I can manage any of the interfaces using ifconfig but I have no idea about where the vpi and vci and other adsl options are set and how to change them. So I thought maybe it's related to those processes!
Any idea what should I do ?
I'm actually digging up my adsl router to find a way to manage it remotely and automate some actions like changing the vpi and vci numbers and connecting to the isp, all by a single press of a button.
I'm able to automate the telnet process and I can manage any of the interfaces using ifconfig but I have no idea about where the vpi and vci and other adsl options are set and how to change them. So I thought maybe it's related to those processes!
Any idea what should I do ?
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Re: cm_pc , cm_logic , cm_klogd , diap processes ?!
Have a look at the cm_cli PDF file in the firmware docs.
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
Re: cm_pc , cm_logic , cm_klogd , diap processes ?!
I have a guess that cm_pc is a sort of inetd daemon, and cm_klogd is a syslog daemon, there's leaked partial sources for cm_logic in various GPL distros, but don't waste time trying to reverse engineer!
Re: cm_pc , cm_logic , cm_klogd , diap processes ?!
that was a big help understanding what the cm_** commands do. So many thanksthechief wrote:Have a look at the cm_cli PDF file in the firmware docs.
gonna try it ASAP...
Re: cm_pc , cm_logic , cm_klogd , diap processes ?!
the cm_cli command worked like a charm.
thanks to everyone specially thechief
thanks to everyone specially thechief
- thechief
- RouterTech Team
- Posts: 12067
- Joined: Wed Feb 01, 2006 10:22 pm
- Location: England, the Centre of Africa
- Contact:
Re: cm_pc , cm_logic , cm_klogd , diap processes ?!
You're welcome As you will have read, there is no documentation for the cm_cli* commands, and we are now trying to document everything that we discover by trial and error. So if you learn new commands and/or parameters for cm_cli*, then please share them, so that we can add them to the docs.Mortie wrote:the cm_cli command worked like a charm.
thanks to everyone specially thechief
The Chief: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
No support via PM. Ask all questions on the open forum.
Re: cm_pc , cm_logic , cm_klogd , diap processes ?!
well that would be my pleasure to help the documentation ...