Author Topic: Internet Connection Sharing - Support Question  (Read 5360 times)

0 Members and 1 Guest are viewing this topic.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1648
  • Karma: 48
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #120 on: April 14, 2012, 04:22:10 pm »
Ooops, sorry. Thought you would've seen it before you posted.

I guess I'll go google it. :(
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.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8883
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #121 on: April 14, 2012, 04:31:03 pm »
Google what ?

I meant .. only you can decide what you want to share.

Or am I misunderstandi ng the question ?
« Last Edit: April 14, 2012, 04:33:16 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1648
  • Karma: 48
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #122 on: April 14, 2012, 04:44:26 pm »
I believe you misunderstood the question.

I was asking if how I should efficiently share the 3 hard-drives on the NAS. They're EXT3, but I believe my mum wants to change her partners' laptop to Ubuntu as well, so that shouldn't be a problem unless he wants to retain W7 (ew).

I was thinking perhaps putting there might be a way to link one directory to all three drives so that no-one has to go through 3 drives just to find what they're looking for.

I know which content I want to share, it's just how I should share it efficiently.
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.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8883
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #123 on: April 14, 2012, 05:04:59 pm »
You could share ONE directory .. which contains symlinks to the other 3 ?

Didi you know you can start an ssh session from within Webmin .. just install the SSH2 plugin -

In webmin .. go to Webmin > Webmin Configuration > Webmin Modules, put tick in "Third party module from", now click the button marked "..." at the end of that line .. a new window will appear .. select "SSH2 Login" .. click "Install Module"

You'll now find the SSH2 Login in Webmin @ Others > SSH2 Login

BTW, it's always a good idea to close an ssh session with:
Code: [Select]
logout



This topic should really be split, as it's no longer about ICS, and the server/NAS stuff may be helpful to others .. any ideas/preferences where I should split it ? .. and what to call the new topic ?

C:-) I really should start insisting people stick to one issue per topic where possible C:-)
or at least stay "on topic"
« Last Edit: April 14, 2012, 05:17:45 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1648
  • Karma: 48
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #124 on: April 14, 2012, 05:23:44 pm »
Thanks for that Mark! I'll keep that in mind.

How do I create these symlink? Would that also have the drives permanently mounted on boot up if the NAS has to restart because of say, an update?


I think it's probably best if we split the topic up. I'd just call them, "Installing webmin on an NAS" "Installing SSH"... something along those lines anyway.
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.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8883
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #125 on: April 14, 2012, 05:38:57 pm »
You're loosing me a bit .. creating a symlink has nothing to do with mounting a drive/partition.

On the server any added drives/partitions will need to be mounted in fstab.

Once (if there's 3) they are mounted, to 3 different mount points .. you create a single directory that you "share" .. and that directory contains 3 symlinks to the the mountpoints.

Understand ?

Then on the client PC's you can permanently mount the "share" if you want .. or just access it across the network.

BTW, I haven't made up my mind whether to split this topic yet .. but anything "new" to its own topic please :)

Or create a "general" topic with a name like, Creating a NAS box from an old PC .. then pretty much anything to do with the NAS can go it it :)
« Last Edit: April 14, 2012, 05:43:42 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1648
  • Karma: 48
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #126 on: April 14, 2012, 05:44:25 pm »
Ah. I see.

Well I've created a directory called "share" in the home folder. So will I create the symlink to the drives in there? 

I believe all 3 drives are mounted.
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.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8883
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #127 on: April 14, 2012, 05:47:13 pm »
Where are they mounted ?

What's the output from:
Code: [Select]
mount

and the contents of your /etc/fstab
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1648
  • Karma: 48
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #128 on: April 14, 2012, 05:50:18 pm »
Where are they mounted ?

/media  I think.

Quote
What's the output from:
Code: [Select]
mount

(click to show/hide)

Quote
and the contents of your /etc/fstab

(click to show/hide)
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.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8883
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #129 on: April 14, 2012, 05:56:17 pm »
I take it you've manually mounted these:-

/dev/sdb1 on /media/Storage type ext3 (rw,nosuid,nodev,uhelper=udisks)
/dev/sdc1 on /media/Storage 2 type ext3 (rw,nosuid,nodev,uhelper=udisks)

as they're not in your fstab file ?
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1648
  • Karma: 48
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #130 on: April 14, 2012, 05:59:09 pm »
Yeah I think so. :o

I was logged into Gnome 2 earlier. I only installed it to partition "Storage 2" because I took the cd drive out, and put that HDD in it's place. I've got a SATA drive I want to install in it, but I'll need to pop down Maplin sometime soon and buy a MATOX > SATA power adapter, seeing as the other PSU I have is too big for the case. :( 
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.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8883
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #131 on: April 14, 2012, 06:15:25 pm »
I take it (for now) you just want to create 2 permanent directories in say /media called sommat like NASdrive1, and NASdrive2

permanently mount sdb1 and sdc1 to those mountpoints

create symlinks to them both in ~/share

then share ~/share



then later .. on the clients, permanently mount the shared directory ?



If so .. can you rephrase that as a question, post it in its own topic .. and include the output from:
Code: [Select]
mount
and the contents of the servers fstab

also, whether you would like the syminks to be called something else like "Video" and "Documents" .. or sommat .. so one drive would be used for Vids, and the other Docs (or whatever).
« Last Edit: April 14, 2012, 06:17:12 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8883
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #132 on: April 17, 2012, 02:39:26 pm »
I *may* have stumbled across why ICS wasn't working in PeppermintOS, where it did work in Ubuntu/Mint ..

Peppermint doesn't have the dnsmasq-base package installed by default .. the others DO.

So:
Code: [Select]
sudo apt-get install dnsmasq-base
may sort out your ICS problems.

I don't know if you'd have to re-create the connection in NetworkManager or not.
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline BkS

  • BkS Media Founder
  • Hero Member
  • *****
  • Posts: 1648
  • Karma: 48
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #133 on: April 17, 2012, 03:30:58 pm »
I'll certainly give it a go. Thanks for that.
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.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8883
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #134 on: April 17, 2012, 03:37:31 pm »
Whilst looking for a piccy for the other question that was asked about ICS .. I kept coming across the need to install that package in older versions of Ubuntu for ICS to work .. so I checked 11.10, and sure enough it was already installed .. checked peppermint, and it's NOT installed.

No guarantee that's what caused ICS not to work in Peppermint .. but worth a shot.
« Last Edit: April 17, 2012, 03:47:18 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal