Linux [Howto] XBMCBuntu - Fix for networking issues after wake

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mac666 Offline
Senior Member
Posts: 114
Joined: Nov 2009
Reputation: 0
Location: Kalmar, Sweden
Post: #1
Just a tip for you guys that are having trouble (the same as i had) with xbmcbuntu and wake,
My xbmc couldnt connect to my nas anymore after waking it from suspend.
The error i got from xbmc would be something like "Error Fetching list" or "Couldn't load list"

The log would say:
Code:
unix_err:'6e' error : 'Connection timed out'

Seemed as there was a host lookup issue after wake,
so what you need to do is to add the host manually to /etc/hosts

SSH to the xbmc machine, or go to TTY1 if its possible (havent tried)
Code:
sudo nano /etc/hosts

Add a line with the nas (or other network device host) IP and hostname.
Eg
Code:
192.168.1.5        NAS
The white spaces are suppose to be a TAB.

Custom build HTPC
Xbmc Dharma @ Ubuntu 10.04
Asus AT5IONT - Ion
4GB Ram
Intel SSD 40GB
find quote