Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Always use eth0 for xbmc
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Always use eth0 for xbmc
19th Jan, 2015, 07:43 PM
Post: #2
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Always use eth0 for xbmc
@Roy Terhaar

this is for sure XBMCs internal "intelligence" ... (and even probably useful on stupid systems).
I see few options how to avoid that:
- patch the code, should not be that difficult to find the relevant line of code and disable the logic
- try reverse order of activating the interfaces - could be that the logic of XBMC is the easiest one - THE LAST activated interface is considered the correct/actual ... that means put eth0 into manual, let RPI + XBMC boot with wlan0, activate eth0 only after manually. maybe I'm right and you have solution
- use OWNER iptable matching module.

linux's network stack allows you to use so called SOURCE routing, that means routing traffic based on SOURCE conditions, not destination. that is easy to setup, but by default designed to work with IPs (from which the pkts are originating). so you will use OWNER matching module which allows you TAG pakets based on process name, uid(owner) etc.
so the point would be create match target for uid xbian (or even PID of running XBMC), mark it and route with source routing conditions via eth0.

it should be like 2-3 lines of commands, google is your friend.

decide, check the 2), tell back. if you would consider the 3) too complicated, ask again - as last resort I can open the man pages and tell you the commands.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


Messages In This Thread
Always use eth0 for xbmc - Roy Terhaar - 18th Jan, 2015, 09:42 PM
RE: Always use eth0 for xbmc - mk01 - 19th Jan, 2015 07:43 PM
RE: Always use eth0 for xbmc - Roy Terhaar - 20th Jan, 2015, 07:30 AM
RE: Always use eth0 for xbmc - Roy Terhaar - 25th Apr, 2016, 08:54 PM
RE: Always use eth0 for xbmc - deHakkelaar - 25th Apr, 2016, 10:39 PM
RE: Always use eth0 for xbmc - Nachteule - 25th Apr, 2016, 10:46 PM
RE: Always use eth0 for xbmc - Roy Terhaar - 25th Apr, 2016, 11:21 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 22nd May, 2025, 02:20 AM Powered By MyBB, © 2002-2025 MyBB Group.