[Olsr-users] olsr position update plugin configuration
Bidur Devkota
(spam-protected)
Mon Nov 26 16:26:25 CET 2012
I went through the documents and attempted to access the pud result.
What I got is:
1. In the command line after running the olsrd , it says PUD plugin is
loaded (screenshot attached: pudLoadedTerminal.png) . But in the web
interface it says PUD plugin is not loaded(screenshot attached :
pudNotLoaded1.png)
2. I installed the jsoninfo plugin and its output does not show the
position information for PUD plugin. (attachment: jsoninfo_output.txt)
I have some more confusions:
1. Where/How to configure GPS Daemon. I am clueless about how the PUD
plugin accesses the GPS device data and send/receive position updates.
Thanks!!
On Fri, Nov 23, 2012 at 6:43 PM, Ferry Huberts <(spam-protected)> wrote:
>
>
> On 23/11/12 12:40, Ferry Huberts wrote:
>
>> See the pud architecture document at
>> http://olsr.org/git?p=olsrd.**git;a=blob;f=lib/pud/doc/pud.**odt;h=**
>> 9f3d31fe0c147c14056437dacc6111**ec3889780d;hb=HEAD<http://olsr.org/git?p=olsrd.git;a=blob;f=lib/pud/doc/pud.odt;h=9f3d31fe0c147c14056437dacc6111ec3889780d;hb=HEAD>
>>
>
> raw file: http://olsr.org/git?p=olsrd.**git;a=blob_plain;f=lib/pud/**
> doc/pud.odt;hb=HEAD<http://olsr.org/git?p=olsrd.git;a=blob_plain;f=lib/pud/doc/pud.odt;hb=HEAD>
>
>
>
>>
>> and an example config file (with all parameters documented) at
>> http://olsr.org/git?p=olsrd.**git;a=blob;f=lib/pud/doc/**
>> olsrd.conf.default.pud;h=**7cf142737a89f228afed348d366bcf**
>> adb95d5f40;hb=HEAD<http://olsr.org/git?p=olsrd.git;a=blob;f=lib/pud/doc/olsrd.conf.default.pud;h=7cf142737a89f228afed348d366bcfadb95d5f40;hb=HEAD>
>>
>>
> raw file: http://olsr.org/git?p=olsrd.**git;a=blob_plain;f=lib/pud/**
> doc/olsrd.conf.default.pud;hb=**HEAD<http://olsr.org/git?p=olsrd.git;a=blob_plain;f=lib/pud/doc/olsrd.conf.default.pud;hb=HEAD>
>
>
>
>>
>> If you enable the httpinfo plugin as well, then you get a tab with the
>> pud position.
>> I think the data is also available by means of the jsoninfo plugin but
>> I've never used that.
>>
>> If after reading these you still have questions, mail again
>>
>> On 23/11/12 12:22, Bidur Devkota wrote:
>>
>>> Hi All,
>>>
>>> I was searching for ways to share the position between the nodes in OLSR
>>> network. Luckly, I got to know about pud plugin for OLSR. I tried to
>>> install it and access the data. Like for dot_draw and txtInfo plugin,
>>> we can see the plugin result by monitoring in the assigned
>>> port number (in /etc/olsr.conf) . For example 127.0.0.1:2006
>>> <http://127.0.0.1:2006>.
>>> I am hoping that there should be some similar ways to see the pud plugin
>>> data as well. But I did not find any luck. Even searching the web could
>>> not link me to some examples showing the way to configure and access pud
>>> plugin.
>>> Are there any special configuration required for pud? It would be of
>>> great helo if I can get through some exaples for it.
>>>
>>> Thanks !
>>>
>>> Bidur
>>>
>>>
>>>
>>
> --
> Ferry Huberts
>
--
Regards,
Bidur Devkota
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20121126/5b02f9e4/attachment.html>
-------------- next part --------------
{
"links": [
{
"localIP": "192.168.8.9",
"remoteIP": "192.168.8.8",
"validityTime": 22142,
"linkQuality": 0.623,
"neighborLinkQuality": 1.000,
"linkCost": 1642}]
,
"neighbors": [
{
"ipv4Address": "192.168.8.8",
"symmetric": true,
"multiPointRelay": false,
"multiPointRelaySelector": false,
"willingness": 3,
"twoHopNeighbors": [],
"twoHopNeighborCount": 0}]
,
"topology": [
{
"destinationIP": "192.168.8.9",
"lastHopIP": "192.168.8.8",
"linkQuality": 1.000,
"neighborLinkQuality": 0.553,
"tcEdgeCost": 1851,
"validityTime": 6865},
{
"destinationIP": "192.168.8.8",
"lastHopIP": "192.168.8.9",
"linkQuality": 0.623,
"neighborLinkQuality": 1.000,
"tcEdgeCost": 1642,
"validityTime": 0}]
,
"hna": [
]
,
"mid": [
]
,
"routes": [
{
"destination": "192.168.8.8",
"genmask": 32,
"gateway": "192.168.8.8",
"metric": 1,
"rtpMetricCost": 1642,
"networkInterface": "wlan6"}]
,
"gateways": [
]
,
"interfaces": [
{
"name": "wlan6",
"linkQualityMultipliers": [
]
,
"state": "up",
"nameFromKernel": "wlan6",
"interfaceMode": 0,
"emulatedHostClientInterface": false,
"sendTcImmediately": false,
"fishEyeTtlIndex": -32,
"olsrForwardingTimeout": 13281,
"olsrMessageSequenceNumber": 28660,
"olsrInterfaceMetric": 1,
"olsrMTU": 1472,
"helloEmissionInterval": 2000,
"helloValidityTime": 134,
"tcValidityTime": 231,
"midValidityTime": 231,
"hnaValidityTime": 231,
"wireless": true,
"icmpRedirect": true,
"spoofFilter": true,
"ipv4Address": "192.168.8.9",
"netmask": "255.255.255.0",
"broadcast": "192.168.8.255",
"kernelModule": "rt73usb",
"addressLength": "6",
"carrier": "1",
"dormant": "0",
"features": "0x2000",
"flags": "0x1003",
"linkMode": "0",
"macAddress": "00:18:f8:b0:b9:65",
"ethernetMTU": "1500",
"operationalState": "up",
"txQueueLength": "1000",
"collisions": "0",
"multicastPackets": "0",
"rxBytes": "4609790",
"rxCompressed": "0",
"rxCrcErrors": "0",
"rxDropped": "0",
"rxErrors": "0",
"rxFifoErrors": "0",
"rxFrameErrors": "0",
"rxLengthErrors": "0",
"rxMissedErrors": "0",
"rxOverErrors": "0",
"rxPackets": "59469",
"txAbortedErrors": "0",
"txBytes": "1226149",
"txCarrierErrors": "0",
"txCompressed": "0",
"txDropped": "0",
"txErrors": "0",
"txFifoErrors": "0",
"txHeartbeatErrors": "0",
"txPackets": "11904",
"txWindowErrors": "0"}]
,"config": {
"olsrPort": 698,
"debugLevel": 2,
"noFork": false,
"hostEmulation": false,
"ipVersion": 2,
"allowNoInterfaces": true,
"typeOfService": 192,
"rtProto": 3,
"rtTable": 254,
"rtTableDefault": 254,
"rtTableTunnel": 254,
"rtTablePriority": -1,
"rtTableTunnelPriority": -1,
"rtTableDefauiltOlsrPriority": -1,
"rtTableDefaultPriority": -1,
"willingness": 3,
"willingnessAuto": false,
"brokenLinkCost": 4194304,
"brokenRouteCost": -1,
"fibMetrics": "flat",
"defaultIpv6Multicast": "ff02::6d",
"defaultIpv4Broadcast": "auto",
"defaultInterfaceMode": "mesh",
"defaultHelloEmissionInterval": 2.000,
"defaultHelloValidityTime": 20.000,
"defaultTcEmissionInterval": 5.000,
"defaultTcValidityTime": 300.000,
"defaultMidEmissionInterval": 5.000,
"defaultMidValidityTime": 300.000,
"defaultHnaEmissionInterval": 5.000,
"defaultHnaValidityTime": 300.000,
"defaultAutoDetectChanges": true,
"defaultLinkQualityMultipliers": [
]
,
"hna": [
]
,
"totalIpcConnectionsAllowed": 0,
"ipcAllowedAddresses": [
]
,
"pollRate": 50,
"nicChangePollInterval": 2500,
"clearScreen": true,
"tcRedundancy": 2,
"mprCoverage": 7,
"linkQualityLevel": 2,
"linkQualityAging": 0.050,
"linkQualityFisheye": false,
"linkQualityAlgorithm": "(null)",
"minTcValidTime": 0,
"setIpForward": true,
"lockFile": "(null)",
"useNiit": false,
"smartGateway": false,
"mainIpAddress": "192.168.8.9",
"unicastSourceIpAddress": "192.168.8.9",
"useSourceIpRoutes": false,
"maxPrefixLength": 32,
"ipSize": 4,
"deleteInternetGatewaysAtStartup": false,
"willingnessUpdateInterval": 20000,
"maxSendMessageJitter": 2.000,
"exitValue": 0,
"maxTcValidTime": 5000,
"niit4to6InterfaceIndex": 0,
"niit6to4InterfaceIndex": 0,
"hasIpv4Gateway": false,
"hasIpv6Gateway": false,
"ioctlSocket": 3,
"routeNetlinkSocket": 4,
"routeMonitorSocket": 5,
"linkQualityNatThreshold": 1.000,
"olsrdVersion": "olsr.org - 0.6.4-git_-hash_f81d510e5844654f59c4af3a5419aa4a -",
"olsrdBuildDate": "2012-11-26 13:15:24",
"olsrdBuildHost": "9",
"os": "GNU/Linux",
"startTime": 1353941818 }
,
"plugins": [
{
"plugin": "/usr/local/lib/olsrd_pud.so.1.1.0",
"useloopback": "true",
"uplinkaddr": "127.0.0.1",
"txnonolsrif": "lo",
"rxallowedsourceipaddress": "127.0.0.1",
"rxnonolsrif": "lo"},
{
"plugin": "olsrd_jsoninfo.so.0.0",
"accept": "0.0.0.0"},
{
"plugin": "olsrd_httpinfo.so.0.1",
"net": "0.0.0.0 0.0.0.0",
"port": 8080},
{
"plugin": "olsrd_txtinfo.so.0.1",
"accept": "127.0.0.1"}]
,
"systemTime": 1353941832,
"timeSinceStartup": 14403}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pudLoadedTerminal.png
Type: image/png
Size: 53911 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20121126/5b02f9e4/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pudNotLoaded1.png
Type: image/png
Size: 32844 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-users/attachments/20121126/5b02f9e4/attachment-0001.png>
More information about the Olsr-users
mailing list