Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

MiniDLNA Server not visible with Wifi

Got problems with your B2 or B3? Share and get helped!
Post Reply
Khamul
Posts: 3
Joined: 06 Jan 2012, 05:39

MiniDLNA Server not visible with Wifi

Post by Khamul »

Hi all,

i have a strange problem with my B3 and i don't know whether it depends on my router or my b3.
As long as i had connected my b3 via LAN to the router the MiniDLNA Server was visible to every client in the network (all clients are connected via WiFi to the network)
Now i have configured the b3 as WiFi-Client which seams to work, because I can still access with ssh, the admin page and the Firefly webinterface.
The only thing is, that now no client can see the MiniDLNA-Server.
The wlan0 interface has a static IP and minidlna is running (after a reboot)

Code: Select all

root@b3:/# /etc/init.d/minidlna status
minidlna is running.
The log says:

Code: Select all

[2012/01/06 11:48:13] minidlna.c:848: warn: Starting MiniDLNA version 1.0.19 [SQLite 3.7.3].
[2012/01/06 11:48:13] minidlna.c:936: warn: HTTP listening on port 8200
I use a Speedport W723V router and the only thing I changed is, that WiFi is using a specific channel and not AUTO.

Does anyone have an idea what I'm doing wrong?

Thanks for answers
andersa
Posts: 10
Joined: 14 May 2011, 09:06

Re: MiniDLNA Server not visible with Wifi

Post by andersa »

minidlna might be configured to run on the wired network, check the /etc/minidlna.conf file to se what network card it's using. Use ifconfig to see all ports availble.
Khamul
Posts: 3
Joined: 06 Jan 2012, 05:39

Re: MiniDLNA Server not visible with Wifi

Post by Khamul »

Thanks, but this seems to be good.
minidlna.conf:

Code: Select all

# port for HTTP (descriptions, SOAP, media transfer) traffic
port=8200

# network interface to bind to (this is the only interface that will serve files)
network_interface=wlan0
iptables -L -v

Code: Select all

Chain INPUT (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 REJECT     tcp  --  any    any     anywhere             anywhere            tcp flags:SYN,ACK/SYN,ACK state NEW reject-with tcp-reset 
   19  5644 DROP       tcp  --  any    any     anywhere             anywhere            tcp flags:!FIN,SYN,RST,ACK/SYN state NEW 
    0     0 ACCEPT     all  --  eth0   any     anywhere             anywhere            state RELATED,ESTABLISHED 
24624 2001K ACCEPT     all  --  wlan0  any     anywhere             anywhere            
    0     0 ACCEPT     all  --  eth1   any     anywhere             anywhere            
   19  1228 ACCEPT     all  --  lo     any     anywhere             anywhere            
    0     0 ACCEPT     icmp --  eth0   any     anywhere             anywhere            icmp time-exceeded 
    0     0 ACCEPT     icmp --  eth0   any     anywhere             anywhere            icmp echo-request 
    0     0 ACCEPT     icmp --  any    any     anywhere             anywhere            icmp fragmentation-needed 
    0     0 ACCEPT     tcp  --  eth0   any     anywhere             anywhere            tcp dpt:ssh 
    0     0 ACCEPT     tcp  --  eth0   any     anywhere             anywhere            tcp dpt:www 
    0     0 ACCEPT     tcp  --  eth0   any     anywhere             anywhere            tcp dpt:https 
    0     0 ACCEPT     tcp  --  eth0   any     anywhere             anywhere            tcp dpt:imap2 
    0     0 ACCEPT     tcp  --  eth0   any     anywhere             anywhere            tcp dpt:imaps 
    0     0 ACCEPT     all  --  wlan0  any     anywhere             anywhere            

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     all  --  wlan0  any     anywhere             anywhere            
    0     0 ACCEPT     all  --  eth1   any     anywhere             anywhere            
    0     0 ACCEPT     all  --  any    any     anywhere             anywhere            state RELATED,ESTABLISHED 
    0     0 ACCEPT     icmp --  any    any     anywhere             anywhere            icmp fragmentation-needed 

Chain OUTPUT (policy ACCEPT 24521 packets, 4455K bytes)
 pkts bytes target     prot opt in     out     source               destination        
ifconfig wlan0:

Code: Select all

wlan0     Link encap:Ethernet  Hardware Adresse 00:0b:6b:7e:61:c0  
          inet Adresse:192.168.2.2  Bcast:192.168.2.255  Maske:255.255.255.0
          inet6-Adresse: fe80::20b:6bff:fe7e:61c0/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metrik:1
          RX packets:43997 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24913 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX bytes:3424571 (3.2 MiB)  TX bytes:5340411 (5.0 MiB)
Might the Bcast address not correct?
Why is it 255 at the end?
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Re: MiniDLNA Server not visible with Wifi

Post by johannes »

Did you manually edit minidlna.conf, or your network settings? If you have wifi enabled the network interface should be br0 (which is a bridge between wifi and the LAN port). What does ifconfig br0 say?
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
coffee
Posts: 1
Joined: 10 Jan 2012, 07:21

Re: MiniDLNA Server not visible with Wifi

Post by coffee »

Khamul wrote: minidlna.conf:

Code: Select all

# port for HTTP (descriptions, SOAP, media transfer) traffic
port=8200

# network interface to bind to (this is the only interface that will serve files)
network_interface=wlan0
did u try setting interface to br0?

Code: Select all

# network interface to bind to (this is the only interface that will serve files)
network_interface=br0
could you give the output of ifconfig br0?
~webbstory developer~
Khamul
Posts: 3
Joined: 06 Jan 2012, 05:39

Re: MiniDLNA Server not visible with Wifi

Post by Khamul »

So finally i solved it.
It was a stupid mistake I've made.
First of all, the interface wlan0 was correct, since i've configured the b3 as a wifi client like it was described in the HowTo Section [url]http://forum.excito.net/viewtopic.php?f=8&t=2938/[url].
One difference was that i gave the b3 a static IP like:

Code: Select all

iface wlan0 inet static
address 192.168.xyz.xyz
netmask 255.255.255.0
gateway 192.168.xyz.xyz
What i forgot was to add a line like:

Code: Select all

broadcast 192.168.xyz.255
So no it works.
Thanks to all for help.
Post Reply