Problem when setting up miniupnpd

This forum is for discussion about general software issues.

Problem when setting up miniupnpd

Postby biergaizi » Sun Jan 19, 2014 5:58 pm

$this->bbcode_second_pass_code('', '
[root@alarmpi miniupnpd]# /usr/bin/miniupnpd -f /etc/miniupnpd/miniupnpd.conf -d
miniupnpd[32453]: system uptime is 6954 seconds
miniupnpd[32453]: Reloading rules from lease file
miniupnpd[32453]: Starting NAT-PMP UPnP-IGD with external interface ppp0
miniupnpd[32453]: socket(http): Address family not supported by protocol
miniupnpd[32453]: Failed to open socket for HTTP. EXITING
')

Here is my configuration file.

$this->bbcode_second_pass_code('', '
# WAN network interface
ext_ifname=ppp0
listening_ip=wlan0
# port for HTTP (descriptions and SOAP) traffic. set 0 for autoselect.
port=0

# enable NAT-PMP support (default is no)
enable_natpmp=yes

# enable UPNP support (default is yes)
enable_upnp=yes

# bitrates reported by daemon in bits per second
bitrate_up=1000000
bitrate_down=10000000

secure_mode=no

system_uptime=yes
notify_interval=60
clean_ruleset_interval=600

uuid=acd02b30-e784-4591-acb1-911f87562475
serial=12345678
model_number=1

allow 1024-65535 192.168.0.0/24 1024-65535
')

Network Informations

$this->bbcode_second_pass_code('', '
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether b8:27:eb:e9:11:21 txqueuelen 1000 (Ethernet)
RX packets 937193 bytes 601297533 (573.4 MiB)
RX errors 0 dropped 1 overruns 0 frame 0
TX packets 721819 bytes 290759236 (277.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)
RX packets 186 bytes 15432 (15.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 186 bytes 15432 (15.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1492
inet 123.119.189.221 netmask 255.255.255.255 destination 123.119.184.1
ppp txqueuelen 3 (Point-to-Point Protocol)
RX packets 936580 bytes 591942924 (564.5 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 721207 bytes 269099733 (256.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.1 netmask 255.255.255.0 broadcast 192.168.0.255
ether 14:cf:92:17:29:2c txqueuelen 1000 (Ethernet)
RX packets 710371 bytes 280312956 (267.3 MiB)
RX errors 0 dropped 2961 overruns 0 frame 0
TX packets 723934 bytes 563729672 (537.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
')

Could anyone please figure out the reason? Thanks.
Last edited by biergaizi on Sun Jan 19, 2014 6:38 pm, edited 3 times in total.
biergaizi
 
Posts: 3
Joined: Sun Jan 19, 2014 5:54 pm

Re: Problem when setting up miniupnpd

Postby WarheadsSE » Sun Jan 19, 2014 6:07 pm

Are you intending it to run on ppp0??
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Problem when setting up miniupnpd

Postby biergaizi » Sun Jan 19, 2014 6:38 pm

$this->bbcode_second_pass_quote('', '
')Are you intending it to run on ppp0??


Yes.

P.S: I added my configuration file.
biergaizi
 
Posts: 3
Joined: Sun Jan 19, 2014 5:54 pm

Re: Problem when setting up miniupnpd

Postby WarheadsSE » Sun Jan 19, 2014 6:59 pm

For giggles, what happens if you set external interface to eth0?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Problem when setting up miniupnpd

Postby biergaizi » Mon Jan 20, 2014 4:12 am

$this->bbcode_second_pass_quote('', 'F')or giggles, what happens if you set external interface to eth0?


$this->bbcode_second_pass_code('', '
[root@alarmpi miniupnpd]# /usr/bin/miniupnpd -f /etc/miniupnpd/miniupnpd.conf -d
miniupnpd[1611]: system uptime is 26248 seconds
miniupnpd[1611]: Reloading rules from lease file
miniupnpd[1611]: Starting NAT-PMP UPnP-IGD with external interface eth0
miniupnpd[1611]: socket(http): Address family not supported by protocol
miniupnpd[1611]: Failed to open socket for HTTP. EXITING
')

No difference. Also, I tried to build the latest version of miniupnpd from source by modifying PKGBUILD, it doesn't fix that. Maybe we need to report a bug to the upstream.
biergaizi
 
Posts: 3
Joined: Sun Jan 19, 2014 5:54 pm

Re: Problem when setting up miniupnpd

Postby WarheadsSE » Mon Jan 20, 2014 12:58 pm

And/Or check with them if they have seen this before, Pi or no Pi.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Problem when setting up miniupnpd

Postby spulit » Mon Jan 27, 2014 5:16 pm

Hi,

I also do have the same problem. I guess that the problem is that the ENABLE_IPV6 flag was set at compilation time and probably it shouldn't.
Any idea when this package will be updated?

Thanks
spulit
 
Posts: 1
Joined: Mon Jan 27, 2014 5:14 pm


Return to General

Who is online

Users browsing this forum: No registered users and 13 guests