gregtampa / coreemu

Automatically exported from code.google.com/p/coreemu
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

COREEMU and EMANE enabling the debug mode #214

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi there,

I have an ambient with COREEMU (version 4.5) and EMANE (version 0.8.1) in a 
Debian Jessie installation, I have configured a wireless network in 802.11abg 
mode (EMANE option). However, when i put it in the configuration file (made by 
COREEMU) in the section custom-config the parameter "debugportenable=1" and 
"debugport=42000" i dont get the expected result (is not created socket to port 
42000).

example:

---
    custom-config {
    custom-config-id emane
    custom-command {11 10 10 10 10 7 10 10 7}
    config {
    otamanagerchannelenable=0
    otamanagergroup=224.1.2.8:45702
    otamanagerdevice=lo
    eventservicegroup=224.1.2.8:45703
    eventservicedevice=lo
    platform_id_start=1
    transportendpoint=localhost
    platformendpoint=localhost
    nem_id_start=1
    debugportenable=1
    debugport=42000
    }

---

How i can make that configuration work fine?

I wanna get more infomation about wireless diveces directble in emane. How i do 
this?

Original issue reported on code.google.com by ibiri...@gmail.com on 13 Jul 2013 at 7:07

GoogleCodeExporter commented 9 years ago
Hi there,

I saw that function is implemented in new version (daily build). I updated some 
files (listed bellow) and the preferences to debug work fine.

---
/usr/lib/python2.7/dist-packages/core/emane/emane.py
/usr/lib/python2.7/dist-packages/core/emane/nodes.py
---

To connect in debug server just use follow command (in the "dom0").

---
telnet localhost 42000
---

The port is configured with parameter debugport=<port number> (default 42000).

Original comment by ibiri...@gmail.com on 15 Jul 2013 at 1:10

GoogleCodeExporter commented 9 years ago
adding new EMANE model parameters into the imn config will not cause them to 
appear in the mac/phy XML files -- each model lists its own set of parameters 
and has a Python method for building the XML

the debugport global EMANE option was added in r776 2013-05-16, which explains 
why it didn't work in 4.5

Original comment by ahrenh...@gmail.com on 16 Jul 2013 at 2:17