Author Topic: Finally got around to networking the house  (Read 45257 times)

0 Members and 1 Guest are viewing this topic.

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Finally got around to networking the house
« Reply #15 on: November 06, 2011, 02:08:09 am »
change this:
USHARE_OVERRIDE_ICONV_ERR=yes
to
USHARE_OVERRIDE_ICONV_ERR=

save the file, and reboot your laptop .. then see if anything displays on the Xbox, in Pictures.

Though it must be said that most of my pics come up as unreadable .. I'll work that out in a minute
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline galaxytdm

  • Ubuntu 11.04
  • Sr. Member
  • ****
  • Posts: 335
  • Karma: 7
  • Gender: Male
  • Something Something dark side
    • View Profile
    • Awards
Re: Finally got around to networking the house
« Reply #16 on: November 06, 2011, 02:15:49 am »
Well regardless of what it says (I know you're going to roll your eyes and tut a lot here) I hadn't actually tried it, I was just trying to configure ushare.
However I just turned the xbox on and had a look and the pictures were there so it is connected.
Thanx for your help on this so far Mark but I gotta be up @06:00 so gonna cach a few Z's.
Will get back to you tomorrow.
If you need help ask a professional, then act upon their advice.
Anything less and you're just wasting peoples time.

The Linux Community Forum

Re: Finally got around to networking the house
« Reply #16 on: November 06, 2011, 02:15:49 am »

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Finally got around to networking the house
« Reply #17 on: November 06, 2011, 02:31:48 am »
OK.. cya later ;)

[EDIT]

Seems that tutorial was wrong or outdated ..

The way to stop, start, or restart ushare is now:-

Stop:
Code: [Select]
sudo service ushare stop

Start:
Code: [Select]
sudo service ushare start

Restart:
Code: [Select]
sudo service ushare restart

Ushare must be stopped/started (or restarted) when new pics are added to the folder before they will be displayed on the Xbox (either manually, or via a reboot)

Pictures that the Xbox doesn't like (so far I've discovered it doesn't like .png and .gif), not only won't display, but if they are in your shared folder(s) at all, even subfolders, will stop the others displaying .. so put them somewhere else.

If you restart Ushare from the command line, you *may* have to either restart the xbox, or at least come out of Pictures, and re-enter.

other than that .. have fun :)

Any questions .. just ask ;)
« Last Edit: November 07, 2011, 12:40:46 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline galaxytdm

  • Ubuntu 11.04
  • Sr. Member
  • ****
  • Posts: 335
  • Karma: 7
  • Gender: Male
  • Something Something dark side
    • View Profile
    • Awards
Re: Finally got around to networking the house
« Reply #18 on: November 07, 2011, 12:50:29 am »
What's the correct syntax for multiple folder locations?
Would it be
file path:file path
With no spaces?
If you need help ask a professional, then act upon their advice.
Anything less and you're just wasting peoples time.

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Finally got around to networking the house
« Reply #19 on: November 07, 2011, 12:58:18 am »
NO, they are comma separated values/paths .. so like this:

USHARE_DIR=/home/celticbiker/SharedDir1,/home/celticbiker/SharedDir2,/home/celticbiker/SharedDir3

no spaces :)

Then restart Ushare, either from the command line. or with a reboot.
« Last Edit: November 07, 2011, 01:13:48 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

The Linux Community Forum

Re: Finally got around to networking the house
« Reply #19 on: November 07, 2011, 12:58:18 am »

Offline galaxytdm

  • Ubuntu 11.04
  • Sr. Member
  • ****
  • Posts: 335
  • Karma: 7
  • Gender: Male
  • Something Something dark side
    • View Profile
    • Awards
Re: Finally got around to networking the house
« Reply #20 on: November 07, 2011, 01:13:22 am »
Oohh so close.
Thanx Mark
If you need help ask a professional, then act upon their advice.
Anything less and you're just wasting peoples time.

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Finally got around to networking the house
« Reply #21 on: November 07, 2011, 01:14:56 am »
:) .. you're welcome.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 2104
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Awards
Re: Finally got around to networking the house
« Reply #22 on: November 07, 2011, 01:46:59 pm »
How do I share what used to be drive 'E:' & 'F:' separate HD's on a Windows system but is now used by Ubuntu. I have no idea what the proper drive pathname should be
I don't know how to find them on this system, I cant see a directory tree like I used to in Windows.
e.g. the hard drive icons or in a different view, the drive letters and other info

Kubuntu 18.04LTS 64bit|KDE 5.47.0|Plasma 5.12.19|QT 5.9.5|Linux 5.4.0.54-generic|M5A78L-M USB3|BIOS 2101|AMD PhenomII X4 965 3400+|P8H77-I Motherboard NIC|32.0GB PC3-10600 1333Mhz CL9 ( 9-9-9-24 ) DDR3

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1691
  • Karma: 49
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • Awards
Re: Finally got around to networking the house
« Reply #23 on: November 07, 2011, 03:43:37 pm »
In Linux, drives are not assigned a drive letter, again this is a bad windows habit. The proper way to find your hard-drive, is by it's label name. Usually this is "Filesystem", "Local drive" or similar. Drives won't appear on the desktop until you mount them, however your filesystem is always mounted, due to the operating system having to use it.

Is there a reason why you want to share your "drive"? Linux doesn't share the drive as this is another advantage Linux has over Windows. However, you can share folders from inside your "home" folder, given that the machines on your network are in the same workgroup as your computer.

You can share your folders by using samba, but you'll need to install it if you haven't already. It's easy enough, in terminal you can do:

Code: [Select]
sudo apt-get install samba smbfs


or you can go into your synaptic package manager, and search for samba. Mark it for installation and then hit Apply at the top. It'll then ask you to allow it to install the dependencies it needs, you hit ok and let it do it's thing.

After you've install, reboot your computer. Once you've logged back in, goto the folder you wish to share with other computers.




Right click > Sharing options. Tick "Share this folder", and then you'll enable sharing. If you want people to have read/write access, tick the second box, and for people to see on Windows, or other OS's you'll have to tick the third one. Once you've finished, hit ok. Don't worry about the share name, or comment just leave them as they are. You simply repeat the process from sharing options with any folder you wish to share.
« Last Edit: November 07, 2011, 03:45:08 pm by BkS »
If you try to look through Windows, you can see what the person is doing.
If you try to look through a Penguin, it WILL bite you.

The Linux Community Forum

Re: Finally got around to networking the house
« Reply #23 on: November 07, 2011, 03:43:37 pm »

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 2104
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Awards
Re: Finally got around to networking the house
« Reply #24 on: November 07, 2011, 03:51:11 pm »

Is there a reason why you want to share your "drive"?

I just want to share it to my XboX's, yes, 2 - One in the front room and other in the bedroom. And not to any other location.

Kubuntu 18.04LTS 64bit|KDE 5.47.0|Plasma 5.12.19|QT 5.9.5|Linux 5.4.0.54-generic|M5A78L-M USB3|BIOS 2101|AMD PhenomII X4 965 3400+|P8H77-I Motherboard NIC|32.0GB PC3-10600 1333Mhz CL9 ( 9-9-9-24 ) DDR3

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Finally got around to networking the house
« Reply #25 on: November 07, 2011, 03:59:14 pm »
Are these isnternal drive, Partitions, or external drives ?

Can you send the output from:
Code: [Select]
mount

and
Code: [Select]
sudo fdisk -l
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 2104
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Awards
Re: Finally got around to networking the house
« Reply #26 on: November 07, 2011, 04:06:02 pm »
They are internal drives, Windows gave them drive lables 'E:\' & 'F:\'
I want to be able to share them to ONLY my XboX's

Mount gives;
(click to show/hide)

sudo fdisk -l gives;
(click to show/hide)

Kubuntu 18.04LTS 64bit|KDE 5.47.0|Plasma 5.12.19|QT 5.9.5|Linux 5.4.0.54-generic|M5A78L-M USB3|BIOS 2101|AMD PhenomII X4 965 3400+|P8H77-I Motherboard NIC|32.0GB PC3-10600 1333Mhz CL9 ( 9-9-9-24 ) DDR3

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Finally got around to networking the house
« Reply #27 on: November 07, 2011, 04:27:47 pm »
OK, fdisk is showing that there are 4 hard drives attached to the system

/dev/sda = 500GB Linux drive  = contains 3 partitions /dev/sda1, /dev/sda2, /dev/sda5 - and that /dev/sda2 is an extended partition that contains /dev/sda2

/dev/sdb = 250GB Windows formatted - containing a single NTFS partition /dev/sdb1

/dev/sdc = 250GB Windows formatted - containing a single FAT partition /dev/sdc1

/dev/sdd = 1000GB Windows formatted - containing a single NTFS partition /dev/sdd1

mount is telling us that ONLY the Linux /dev/sda1 partition is being mounted at boot time .. which doesn't mean the other drives aren't available in the file manager .. it means when you click them in the file manager, they *become* mounted.

These drives will need to be mounted at bootup, so that Ushare can index them.

Can you run this:
Code: [Select]
gedit /etc/fstab
and post the contents of that file.
« Last Edit: November 07, 2011, 04:32:57 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline pooky2483

  • Hero Member
  • *****
  • Posts: 2104
  • Karma: 0
  • Gender: Male
  • Slowly getting the hang of it.
    • View Profile
    • Awards
Re: Finally got around to networking the house
« Reply #28 on: November 07, 2011, 07:19:00 pm »
Result of gedit /etc/fstab;

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda1 during installation
UUID=959cb526-06f8-4d5d-bec2-a6b42f438b07 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=e56dad6b-358f-4948-b51f-4abce81f50b1 none            swap    sw              0       0

Kubuntu 18.04LTS 64bit|KDE 5.47.0|Plasma 5.12.19|QT 5.9.5|Linux 5.4.0.54-generic|M5A78L-M USB3|BIOS 2101|AMD PhenomII X4 965 3400+|P8H77-I Motherboard NIC|32.0GB PC3-10600 1333Mhz CL9 ( 9-9-9-24 ) DDR3

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: Finally got around to networking the house
« Reply #29 on: November 08, 2011, 11:14:36 am »
Can you post the output from:
Code: [Select]
sudo blkid

Have you any idea which 2 of the 3 Windows formatted drives you want mounted ? .. or all 3 ?

Are any of these 4 drives external ?

What do you want to call the mount points .. eg. E-Drive, F-Drive, or maybe Win-F, or maybe Pictures, Videos, etc.)

Do you know how to mount the partitions by clicking on them in the nautilus file manager (so a little arrow appears next to them) ?

« Last Edit: November 08, 2011, 11:27:58 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal