I'm trying to use ushare to share my music collection with my Xbox.
I am using the following command line:
ushare -i wlan0 -x -c ~/Music/
But I get the following as an error:
Interface eth0 is down.
Recheck uShare's configuration and try again !
ioctl: Cannot assign requested address
I have an ethernet adapter in my PC but it's not connected. How can I get it to be happy with wlan0?
Simple answer this one (i hope):
ushare needs to run as root (maybe not, see commments)
Rather than starting it with the command you've mentioned, try doing this:
after you've set all of the options in the configuration file.
The configuration the error message is mentioning is located at
/etc/ushare.conf
(or perhaps/etc/ushare/ushare.conf
I'm not sure). In it, you'll be able to set the network interface permanently.These are the relevant bits:
Two things additionally: I don't know what
-x
and-c
do, i hope there's an option for it in the configuration. Secondly, the directories in USHARE_DIR might have to be absolute path (i.e. not ~ but /home/rich or whatever your user name is).sudo
.Note: my sources for ushare needing to be ran as root are all either concerning different Linux distribution or they are rather old. If this is no longer the case, please let me know - I don't want to send anybody down the wrong path.
You have to manually change the configuration by editing the file
and changing
to