LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do you install minidlna for debian squeeze (http://www.linuxquestions.org/questions/linux-newbie-8/how-do-you-install-minidlna-for-debian-squeeze-944259/)

scribesyd 05-10-2012 11:44 AM

How do you install minidlna for debian squeeze
 
I wish to bridge my xbox with my computer but have no idea how. most explanations on net start off well then none of links work or files wrong.

Is there easy way, i have debian 6.0.4 just in case any one asks.

1: want to configure media server so my xbox becomes registered.

:( my eyes hurt.....falls sleep

craigevil 05-10-2012 12:25 PM

BridgeNetworkConnections - Debian Wiki - http://wiki.debian.org/BridgeNetworkConnections

This guide works perfectly:
DLNA – miniDLNA on Debian ID's blog - http://zeldor.biz/2012/01/dlna-minidlna-on-debian/

scribesyd 05-11-2012 03:23 AM

Quote:

Originally Posted by craigevil (Post 4675262)
BridgeNetworkConnections - Debian Wiki - http://wiki.debian.org/BridgeNetworkConnections

This guide works perfectly:
DLNA miniDLNA on Debian ID's blog - http://zeldor.biz/2012/01/dlna-minidlna-on-debian/

interface etho does not exist!
root@debian:/home/puppy# brctl addif bro etho eth1
interface etho does not exist!
root@debian:/home/puppy# brctl addif bro etho eth1
interface etho does not exist!
root@debian:/home/puppy# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:1e:8c:28:fe:92 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.100/24 brd 000.000.0.000 scope global eth0
inet6 fe80::21e:8cff:fe28:fe92/61 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:1d:e0:11:f9:15 brd ff:ff:ff:ff:ff:ff
4: pan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether c3:4a:5d:66:18:3a brd ff:ff:ff:ff:ff:ff
5: bro: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 56:64:87:c1:70:0c brd ff:ff:ff:ff:ff:ff
root@debian:/home/puppy#

brctl addif br0 eth0 eth1 "IT'S NOT WORKING" is it suppose to be bro or something. i was doing tutorial and installed files

aptitude install bridge-utils
The following NEW packages will be installed:
bridge-utils
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.2 kB of archives. After unpacking 111 kB will be used.
Get:1 http://http.us.debian.org/debian/ squeeze/main bridge-utils i386 1.4-5 [31.2 kB]
Fetched 31.2 kB in 2s (15.5 kB/s)
Selecting previously deselected package bridge-utils.
(Reading database ... 122391 files and directories currently installed.)
Unpacking bridge-utils (from .../bridge-utils_1.4-5_i386.deb) ...
Processing triggers for man-db ...
Setting up bridge-utils (1.4-5) ...

scribesyd 05-11-2012 03:26 AM

The name br0 is totally up to you, this is just an example name that Ive chosen for the wiki article. Anyway, now that you have your bridge device, you have to add the interfaces that are gonna be bridged. You can cross-check the enumeration of your ethernet devices with (eth0, eth1, etc. is common):

# ip addr show
Add both the interface with the second computer, and the interface that leads to the existing network. Do it with this command:

# brctl addif br0 eth0 eth1

scribesyd 05-11-2012 04:33 AM

All i wanted to do was watch movies on my xbox while streaming from my computer, in theory seems easy but not everything is easy until you tried 99 timeswhilelast attempt is based on miracle.

I tried second link no help since that files wrong.

The first link above works but marginally, now i have no idea wh y in super user i cannot bridge both etho and bro.

I used brctl no luck. i'll go wait in my dog kennel til some one feeds me help. :(

scribesyd 05-11-2012 04:37 AM

Quote:

Originally Posted by scribesyd (Post 4675748)
The name br0 is totally up to you, this is just an example name that Ive chosen for the wiki article. Anyway, now that you have your bridge device, you have to add the interfaces that are gonna be bridged. You can cross-check the enumeration of your ethernet devices with (eth0, eth1, etc. is common):

# ip addr show
Add both the interface with the second computer, and the interface that leads to the existing network. Do it with this command:

# brctl addif br0 eth0 eth1

bridge br0 does not exist!
root@debian:/home/puppy# brctl addif br0 eth0 eth1
bridge br0 does not exist!
root@debian:/home/puppy# bractl
bash: bractl: command not found
root@debian:/home/puppy# brctl
Usage: brctl [commands]
commands:
addbr <bridge> add bridge
delbr <bridge> delete bridge
addif <bridge> <device> add interface to bridge
delif <bridge> <device> delete interface from bridge
setageing <bridge> <time> set ageing time
setbridgeprio <bridge> <prio> set bridge priority
setfd <bridge> <time> set bridge forward delay
sethello <bridge> <time> set hello time
setmaxage <bridge> <time> set max message age
setpathcost <bridge> <port> <cost> set path cost
setportprio <bridge> <port> <prio> set port priority
show show a list of bridges
showmacs <bridge> show a list of mac addrs
showstp <bridge> show bridge stp info
stp <bridge> {on|off} turn stp on/off
root@debian:/home/puppy#

wolverene13 07-17-2013 07:21 AM

wrong interface name
 
I'm not sure if you've resolved this or not, but from your output, it looks like you're telling it to use "etho" and not "eth0" (it's supposed to be a zero, not an "o").


All times are GMT -5. The time now is 07:53 PM.