Hi, list!
I need to restart the communication between the BTS and OpenBSC, in order to change some parameters.
I think, I have to use the command "drop bts connection BTS oml". Unfortunately, I can't find this command in the VTY...
I see in the code (vty_interface.c), that it is defined for the VIEW_NODE, but I can't find it in the VTY.
Need I vacancy or have I to switch to some other VTY-menu?
Thanks a lot
On 01/12/2011 09:39 AM, Luca Bertoncello wrote:
Hi, list!
I need to restart the communication between the BTS and OpenBSC, in order to change some parameters.
I think, I have to use the command "drop bts connection BTS oml". Unfortunately, I can't find this command in the VTY...
I see in the code (vty_interface.c), that it is defined for the VIEW_NODE, but I can't find it in the VTY.
Which branch are you looking at? The command is in bsc_vty.c and is registered at the ENABLE_NODE (see below). You will need to enter this node, just like when configuring things.
install_element(ENABLE_NODE, &drop_bts_cmd);
Am Wed, 12 Jan 2011 09:59:50 +0100 schrieb Holger Hans Peter Freyther holger@freyther.de:
Which branch are you looking at? The command is in bsc_vty.c and is registered at the ENABLE_NODE (see below). You will need to enter this node, just like when configuring things.
install_element(ENABLE_NODE, &drop_bts_cmd);
I'm using the branch on-waves/bsc-master, and I see the line:
install_element(VIEW_NODE, &drop_bts_cmd);
So, I think, it should to available for a normal user. But it's not. I searched in many session, and I didn't found it...
Thanks
On 01/12/2011 10:54 AM, Luca Bertoncello wrote:
install_element(VIEW_NODE, &drop_bts_cmd);
So, I think, it should to available for a normal user. But it's not. I searched in many session, and I didn't found it...
Well...
telnet 127.0.0.1 4242
?
... drop Debug/Simulation command to drop ipaccess BTS ...
are you executing the right executable? did you build it before?
Am Wed, 12 Jan 2011 11:09:33 +0100 schrieb Holger Hans Peter Freyther holger@freyther.de:
telnet 127.0.0.1 4242
?
... drop Debug/Simulation command to drop ipaccess BTS ...
By me it is not to see... :(
are you executing the right executable? did you build it before?
I think so!
Now I tried to get the latest version from git (main branch) and to compile it. I can use the command from enable mode.
But it will be interesting to know WHY I can't see it in the other branch...
Thanks
On 01/12/2011 11:13 AM, Luca Bertoncello wrote:
Now I tried to get the latest version from git (main branch) and to compile it. I can use the command from enable mode.
But it will be interesting to know WHY I can't see it in the other branch...
Well, only you can know. Maybe typing make would be start? touch file && make would be another option (check if the file rebuilds and links), adding a printf to the init function in file, make, execute would be another.
My assumption is that you execute the wrong binary (either wrong name/path, or you need to compile first)