View previous topic :: View next topic |
Author |
Message |
Ritesh
Joined: 19 Sep 2016 Posts: 3 Location: India
|
Posted: Mon Sep 19, 2016 7:09 pm Post subject: Not able to get IP address of wlan0 interface |
|
|
Hi,
I am working on Intel Galileo Gen 2 Pentium based Gateway board.
There is Linux kernel version 3.8 is running inside that board. I have configured, compiled and installed miniupnpd 2.0 package successfully into that board.
Right now, There are total 2 network interface available into board from which one is wired network and second one is wireless network interfaces.
I have updated miniupnpd.conf file as per my need for wired eth0 interface and I am able to get my board's IP address successfully into Upnp Inspector software in which may be upnp client will be running.
After that, I have changed interface from eth0 to wlan0 network interface into upnp configuration file and also switched from wired network to wireless network into my board.
But, I am not able get IP address of my board at that time into Upnp Inspector Software.
I have also tried to debug code of miniupnpd 2.0 and not found much details from source code.
Following is output of miniupnpd over eth0 interface
Quote: | miniupnpd -i eth0 -a eth0 -d
response:
miniupnpd[14400]: version 2.0 starting UPnP-IGD ext if eth0 BOOTID=1474286063
miniupnpd[14400]: HTTP listening on port 51453
miniupnpd[14400]: HTTP REQUEST from 192.168.60.1:57189 : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[14400]: Host: 192.168.60.141:51453
miniupnpd[14400]: HTTP REQUEST from 192.168.60.1:57189 : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[14400]: Host: 192.168.60.141:51453
miniupnpd[14400]: HTTP REQUEST from 192.168.60.1:57189 : GET /rootDesc.xml (HTTP/1.1)
miniupnpd[14400]: Host: 192.168.60.141:51453 |
Following is out of miniupnpd command over wlan0 interface in which I am getting problem of IP discovery..
Quote: | miniupnpd -i wlan0 -a wlan0 -d
response:
miniupnpd[15292]: version 2.0 starting UPnP-IGD ext if wlan0 BOOTID=1474286261
miniupnpd[15292]: HTTP listening on port 43391 |
I am not getting any print after listening on particular port for WiFi Interface.
Does anyone has any idea or clue to solve this type of issue?
Please help me to suggest any changes required in miniupnpd configuration file or source code.
Regards,
Ritesh Prajapati |
|
Back to top |
|
 |
Ritesh
Joined: 19 Sep 2016 Posts: 3 Location: India
|
Posted: Tue Sep 20, 2016 5:52 pm Post subject: Not able to get IP address of wlan0 interface |
|
|
Does anyone has any update regarding this issue or anyone has faced and fixed this ype of issue before in any embedded bard?
Please let me know if any update for his type of issue.
Regards,
Ritesh Prajapati |
|
Back to top |
|
 |
Ritesh
Joined: 19 Sep 2016 Posts: 3 Location: India
|
Posted: Thu Sep 22, 2016 4:45 am Post subject: |
|
|
is there any update regarding this issue?
Please let me know if anyone has any idea or clue to solve this type of issue?
Regards,
Ritesh Prajapati |
|
Back to top |
|
 |
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1594
|
Posted: Thu Sep 22, 2016 10:04 am Post subject: |
|
|
Code: | miniupnpd -i wlan0 -a wlan0 -d |
how can it work if "external"(WAN) and "internal"(LAN) network interfaces are the same ? What exactly is your network setup ?
you can use the testgetifaddr test program provided in the sources package to test for any problem :
Code: | ./testgetifaddr wlan0 |
_________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
 |
|