2011-11-15, 22:57
Dragonschild Wrote:I recently set my htpc up with two network connections ( one wired and one wireless), the reason is because one connection has an internet connection and the other is for my network storage. The problem I am having is that even though I have the wireless internet connection set up XBMC will not allow me to use it along with the storage network connection. Am I doing something wrong or is there a setting that I missed in XBMC. Please help me
i do this for my blu-ray player which doesnt have wifi: ()
Code:
[liveuser@localhost ~]$ cat masq.ksh
/sbin/ifconfig eth0 192.168.10.101 netmask 255.255.255.0 broadcast 192.168.10.255
iptables --flush
iptables --table nat --flush
iptables --delete-chain
iptables --table nat --delete-chain
iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE
iptables --append FORWARD --in-interface eth0 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
route add -net 192.168.10.0 netmask 255.255.255.0 gw 192.168.5.1 dev eth0
eth0 is my xbmc ethernet card connected to my blu-ray player via crossover cable.
eth1 is my xbmc wifi adapter connected to my netgear router upstairs.
and then put in the settings for my blu-ray player:
ip: 192.168.10.105
netmask: 255.255.255.0
gateway: 192.168.10.101
dns: 192.168.5.1 (my netgear router)
sorry, i see from your previous post that you are running windows... have you considered giving xbmc-live a try ?