miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Not able to get IP address of wlan0 interface

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs
View previous topic :: View next topic  
Author Message
Ritesh



Joined: 19 Sep 2016
Posts: 3
Location: India

PostPosted: Mon Sep 19, 2016 7:09 pm    Post subject: Not able to get IP address of wlan0 interface Reply with quote

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
View user's profile Send private message
Ritesh



Joined: 19 Sep 2016
Posts: 3
Location: India

PostPosted: Tue Sep 20, 2016 5:52 pm    Post subject: Not able to get IP address of wlan0 interface Reply with quote

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
View user's profile Send private message
Ritesh



Joined: 19 Sep 2016
Posts: 3
Location: India

PostPosted: Thu Sep 22, 2016 4:45 am    Post subject: Reply with quote

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
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Thu Sep 22, 2016 10:04 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Bugs All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.