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

0 Members and 1 Guest are viewing this topic.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8849
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #105 on: April 14, 2012, 01:07:19 pm »
I don't think it is in the repos .. could it be showing on your system because you installed it from a .deb which is now in your "local" package cache ?
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: 1647
  • Karma: 48
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #106 on: April 14, 2012, 01:29:08 pm »
I seem to be getting errors? I tried fixing them, but everytime I try to install webmin, it just says error processing package...
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: 8849
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #107 on: April 14, 2012, 02:01:39 pm »
See if this helps:
http://mametrockafella.wordpress.com/2010/08/12/how-to-install-webmin-ubuntu-10-04/
or
http://www.unixmen.com/how-to-install-webmin-in-ubuntu-1004-lucid-lynx/

In particular .. the missing dependency - libmd5-perl

Any error messages would help :)

« Last Edit: April 14, 2012, 02:10:26 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

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

Offline SeZo

  • Hero Member
  • *****
  • Posts: 722
  • Karma: 30
  • Gender: Male
    • View Profile
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #108 on: April 14, 2012, 02:10:24 pm »
I don't think it is in the repos .. could it be showing on your system because you installed it from a .deb which is now in your "local" package cache ?


You are probably right, originally I had this is in my sources list: but now it is disabled:
Quote
# deb http://download.webmin.com/download/repository sarge contrib # disabled on upgrade to lucid

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8849
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #109 on: April 14, 2012, 02:22:45 pm »
Yeh, the webmin site mentions adding the sarge contrib repo under "Using the Webmin APT repository":
http://www.webmin.com/deb.html

Theres' a chance that's how I did it on my VPS .. if you give me a min, I'll check my sources.list
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: 1647
  • Karma: 48
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #110 on: April 14, 2012, 02:34:16 pm »
Alright, now I've got webmin up and running, thanks to the first link Mark provided. I need help with two more things if you guys wouldn't mind.

Need help with SSH & permanently mounted the 3 hard-drives inside the NAS.

Currently whenever I tried to SSH to a device I keep getting:

Quote
Port 22: Connection refused

I've forwarded port 22 on my router, but I think perhaps Sky have blocked access to this, and I'll need to relocate SSH to a higher port number?

I also need help with permanently mounting the 3 hard-drives inside the NAS, so that I put all my stuff onto it.

I was thinking it might be easier to setup all 3 drives in RAID 0, to make them all become one, that way I could mount the one folder?

Really all I'll be doing is file-sharing. 2 Linux boxes, and 1 Windows box.
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: 8849
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #111 on: April 14, 2012, 02:38:04 pm »
DO NOT forward port 22 in the router .. that will calls on port 22 from the WAN (internet) not the local network.

[EDIT]

is ssh installed, and is ssh daemon running and listening on port 22 ?
« Last Edit: April 14, 2012, 02:47:01 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

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

Offline SeZo

  • Hero Member
  • *****
  • Posts: 722
  • Karma: 30
  • Gender: Male
    • View Profile
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #112 on: April 14, 2012, 02:41:19 pm »
Is the ssh server running on your NAS?

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8849
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #113 on: April 14, 2012, 02:47:24 pm »
SeZo beat me to it ;) .. I was just adding that as an edit to my last posting :)
« Last Edit: April 14, 2012, 02:54:48 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: 1647
  • Karma: 48
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #114 on: April 14, 2012, 02:54:03 pm »
@Mark - Removed the entry from the router.

@SeZo - Yeah, I installed it during installation.

EDIT: Never mind. SSH is working now. Just need to sort file-sharing the 3 hard-drives now. Samba is installed and working correctly, but how to I share all the drives? Just share like I would normally with folders? Or is it best to create folders inside the drives?
« Last Edit: April 14, 2012, 03:02:23 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.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 8849
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #115 on: April 14, 2012, 03:05:37 pm »
On the server box, run:

Code: [Select]
ps aux | grep sshd
and
Code: [Select]
sudo netstat -nap | grep :22

and post the output.
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: 1647
  • Karma: 48
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #116 on: April 14, 2012, 03:23:37 pm »
Quote
bks@bally-server:~$ ps aux | grep sshd
root      4230  0.0  0.1   5548  2124 ?        Ss   14:58   0:00 /usr/sbin/sshd -D
root      4650  1.3  0.1   8864  3068 ?        Ss   15:21   0:00 sshd: bks [priv]   
bks       4724  0.0  0.0   8864  1560 ?        S    15:21   0:00 sshd: bks@pts/0     
bks       4746  0.0  0.0   3324   880 pts/0    S+   15:21   0:00 grep --color=auto sshd

Quote
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      4230/sshd       
tcp        0      0 192.168.0.8:22          192.168.0.2:55157       ESTABLISHED 4650/sshd: bks [pri
tcp6       0      0 :::22                   :::*                    LISTEN      4230/sshd
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: 8849
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #117 on: April 14, 2012, 03:39:30 pm »
I take it you ran that second command on your laptop ?

On your laptop .. close all terminals.

Open another one, and run:
Code: [Select]
ssh 192.168.0.8

What is returned ?
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: 1647
  • Karma: 48
  • Gender: Male
  • sudo service reality-check start
    • View Profile
    • BkS Media
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #118 on: April 14, 2012, 03:45:17 pm »
Nope did the second command through SSH >.<

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: 8849
  • Karma: 236
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Internet Connection Sharing - Support Question
« Reply #119 on: April 14, 2012, 03:48:33 pm »
So are you saying ssh is now working ?

[EDIT]

Just read back through the topic .. it would have helped if you added that ssh was now working in its own posting, rather than an edit .. or to have mentioned it was working when I responded  >:(

Quote
how to I share all the drives? Just share like I would normally with folders? Or is it best to create folders inside the drives?

Nobody can answer that for you ???
« Last Edit: April 14, 2012, 04:07:44 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