Author Topic: Creating Filesystems with Openmediavault (Solved)  (Read 20870 times)

0 Members and 1 Guest are viewing this topic.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14453
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating Filesystems with Openmediavault
« Reply #135 on: March 09, 2013, 08:24:12 pm »
Yup .. you knew there would be .. c'mon admit it ..
Code: [Select]
cat /proc/cpuinfo
:)
« Last Edit: March 09, 2013, 08:51:07 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

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

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2759
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Creating Filesystems with Openmediavault
« Reply #136 on: March 09, 2013, 09:09:38 pm »
AMD Athelon
1211.964 MHz
256Kb cache
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14453
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating Filesystems with Openmediavault
« Reply #137 on: March 09, 2013, 09:44:11 pm »
Hmm .. not the most powerful CPU, but peppermint seems quite happy on celeron 900's (so I guess it would be fine .. but it's your call.

Which would you rather try ..

Working out what's going on in OMV
or
doing this through peppermint ?
WARNING: You are logged into reality as 'root'

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

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2759
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Creating Filesystems with Openmediavault
« Reply #138 on: March 09, 2013, 10:04:28 pm »
Quote
Which would you rather try ..

Working out what's going on in OMV
or
doing this through peppermint ?

Personally OMV only because I have some idea of what I'm getting into and what I can expect from it due to it's similarity to freenas, however if you're saying that peppermint can do a better job I'm happy to be guided by you, Also I don't want to brass you off with this wireless thing. But as this purely experimental and I'm in this to learn so I'll take your advice.


Many thanks

Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14453
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating Filesystems with Openmediavault
« Reply #139 on: March 09, 2013, 11:49:20 pm »
OK, are there any clues to the samba and nfs errors/warnings in syslog ?
Code: [Select]
nano /var/log/syslog
?

and what's the output from:
Code: [Select]
dpkg -l | grep nfs



do me a favour, run:
Code: [Select]
nano /etc/network/interfaces

and make it read:-

Code: [Select]
# The loopback network interface
auto lo

# The primary network interface
auto eth0
allow-hotplug eth0
iface eth0 inet static
    address 192.168.2.150
    netmask 255.255.255.0
    gateway 192.168.2.1
#    dns-nameservers 192.168.2.1

SAVE the file .. and see if you still get the samba and NFS errors, and the boot problems.

--
« Last Edit: March 09, 2013, 11:55:33 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

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

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2759
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Creating Filesystems with Openmediavault
« Reply #140 on: March 10, 2013, 06:59:55 am »
Hi Mark

I think this will test your patience further, but mysteriously the samba and NFS errors are gone, I don't know why but they were definitely there prior to shutting down the NAS last night and when I booted it up this morning they're gone, So as it stands now the NAS will boot up with no errors and I can log into the Web GUI on 192.168.2.150 & 192.168.2.151 ONLY if the ethernet is connected ( ssh only with 192.168.2.150), so presumably it's connecting to both ip addresses via ethernet in spite of 192.168.2.151 being assigned to wlan0.

I'm not sure if the outputs you asked for in your previous post are relevent now but I've posted them anyway, I didn't edit the /etc/network/interfaces file as you suggested due to the changes in circumstances but I've posted a copy of the file at the bottom of this post

Code: [Select]
nano /var/log/syslog 

Quote
GNU nano 2.2.4                                      File: /var/log/syslog                                                                                   

Mar  8 20:20:38 openmediavault kernel: imklog 4.6.4, log source = /proc/kmsg started.
Mar  8 20:20:38 openmediavault rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="954" x-info="http://http://www.rsyslog.com"] (re)start
Mar  8 20:20:38 openmediavault kernel: [    0.000000] Initializing cgroup subsys cpuset
Mar  8 20:20:38 openmediavault kernel: [    0.000000] Initializing cgroup subsys cpu
Mar  8 20:20:38 openmediavault kernel: [    0.000000] Linux version 2.6.32-5-686 (Debian 2.6.32-38) (ben@decadent.org.uk) (gcc version 4.3.5 (Debian 4.3.5-4)$
Mar  8 20:20:38 openmediavault kernel: [    0.000000] KERNEL supported cpus:
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   Intel GenuineIntel
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   AMD AuthenticAMD
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   NSC Geode by NSC
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   Cyrix CyrixInstead
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   Centaur CentaurHauls
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   Transmeta GenuineTMx86
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   Transmeta TransmetaCPU
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   UMC UMC UMC UMC
Mar  8 20:20:38 openmediavault kernel: [    0.000000] BIOS-provided physical RAM map:
Mar  8 20:20:38 openmediavault kernel: [    0.000000]  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
Mar  8 20:20:38 openmediavault kernel: [    0.000000]  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
Mar  8 20:20:38 openmediavault kernel: [    0.000000]  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
Mar  8 20:20:38 openmediavault kernel: [    0.000000]  BIOS-e820: 0000000000100000 - 000000005fff0000 (usable)
Mar  8 20:20:38 openmediavault kernel: [    0.000000]  BIOS-e820: 000000005fff0000 - 000000005fff3000 (ACPI NVS)
Mar  8 20:20:38 openmediavault kernel: [    0.000000]  BIOS-e820: 000000005fff3000 - 0000000060000000 (ACPI data)
Mar  8 20:20:38 openmediavault kernel: [    0.000000]  BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
Mar  8 20:20:38 openmediavault kernel: [    0.000000]  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
Mar  8 20:20:38 openmediavault kernel: [    0.000000]  BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
Mar  8 20:20:38 openmediavault kernel: [    0.000000] DMI 2.3 present.
Mar  8 20:20:38 openmediavault kernel: [    0.000000] last_pfn = 0x5fff0 max_arch_pfn = 0x100000
Mar  8 20:20:38 openmediavault kernel: [    0.000000] MTRR default type: uncachable
Mar  8 20:20:38 openmediavault kernel: [    0.000000] MTRR fixed ranges enabled:
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   00000-9FFFF write-back
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   A0000-BFFFF uncachable
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   C0000-C7FFF write-protect
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   C8000-FFFFF uncachable
Mar  8 20:20:38 openmediavault kernel: [    0.000000] MTRR variable ranges enabled:
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   0 base 000000000 mask FC0000000 write-back
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   1 base 040000000 mask FE0000000 write-back
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   2 disabled
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   3 disabled
Mar  8 20:20:38 openmediavault kernel: [    0.000000]   4 disabled


Quote
dpkg -l | grep nfs


Quote
root@openmediavault:~# dpkg -l | grep nfs
ii  libnfsidmap2                       0.23-2                       An nfs idmapping library
ii  nfs-common                         1:1.2.2-4                    NFS support files common to client and server
ii  nfs-kernel-server                  1:1.2.2-4                    support for NFS kernel server
root@openmediavault:~#



# The loopback network interface
auto lo
iface lo inet loopback

# eth0 network interface
auto eth0
allow-hotplug eth0
iface eth0 inet static
    address 192.168.2.150
    gateway 192.168.2.1
    netmask 255.255.255.0
    mtu 1500

# wlan0 network interface
auto wlan0
iface wlan0 inet static
    address 192.168.2.151
    gateway 192.168.2.1
    netmask 255.255.255.0
    mtu 1500


« Last Edit: March 10, 2013, 08:33:28 am by Emegra »
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2759
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Creating Filesystems with Openmediavault
« Reply #141 on: March 10, 2013, 09:25:57 am »
Hi again

I spent some on it this morning and I've got it working wirelessly at last by following you and SeZo's instructions from the thread in General Discussions (pages 9 & 10) the last time we reached this point (before starting over and re-installing etc),

 so now I can log in to the web GUI on wlan0 / 192.168.2.151 minus the ethernet cable, the only problem now is I cant connect via ssh, when I try I get this error

Code: [Select]
graeme@Linux3 ~ $ ssh root@192.168.2.151
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
57:11:1d:e1:87:a1:cf:b8:22:de:7b:17:ef:42:0a:76.
Please contact your system administrator.
Add correct host key in /home/graeme/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/graeme/.ssh/known_hosts:1
  remove with: ssh-keygen -f "/home/graeme/.ssh/known_hosts" -R 192.168.2.151
RSA host key for 192.168.2.151 has changed and you have requested strict checking.
Host key verification failed.

EDIT

Spoke too soon now it refuses to log into the Web GUI after reboot unless I reinput
Code: [Select]
ifdown eth0 
into the NAS terminal, disappointing to say the least but we must be close :)


Many Thanks

Graeme


« Last Edit: March 10, 2013, 09:43:22 am by Emegra »
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14453
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating Filesystems with Openmediavault
« Reply #142 on: March 10, 2013, 11:03:26 am »
Do what it's telling you to remove the key .. the next time you attempt to ssh in it should ask you to accept the key again (as if this is the first time you've connected).

On the Peppermint box run:
Code: [Select]
ssh-keygen -f "/home/graeme/.ssh/known_hosts" -R 192.168.2.151
ssh should now work ?

Then on the NAS
Code: [Select]
nano /etc/network/interfaces

and comment out the lines that are autostarting the eth0 interface .. ie:-

# auto eth0
# allow-hotplug eth0
« Last Edit: March 10, 2013, 11:10:59 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

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

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2759
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Creating Filesystems with Openmediavault
« Reply #143 on: March 10, 2013, 11:11:10 am »
Code: [Select]
ssh-keygen -f "/home/graeme/.ssh/known_hosts" -R 192.168.2.151
fopen: No such file or directory

If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14453
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating Filesystems with Openmediavault
« Reply #144 on: March 10, 2013, 11:16:02 am »
on peppermint, what's the output from:
Code: [Select]
ls -a /home/graeme/.ssh

or just try:
Code: [Select]
ssh-keygen -R 192.168.2.151
then see if you can ssh in.
« Last Edit: March 10, 2013, 11:31:08 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'

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

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2759
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Creating Filesystems with Openmediavault
« Reply #145 on: March 10, 2013, 11:30:46 am »
Sorry Mark I put the ssh-keygen command into the NAS instead of the PC, ssh is working fine now I've rebooted and I can log straight into the Web GUI

So it looks like you've done it again thank you so much I really appreciate the effort and patience you put into this :)

Just one question regarding ssh,   I have a laptop running peppermint 3 will I have to add that to the known_hosts list to access the NAS via ssh,






Graeme
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14453
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating Filesystems with Openmediavault
« Reply #146 on: March 10, 2013, 11:35:13 am »
Quote
Just one question regarding ssh,   I have a laptop running peppermint 3 will I have to add that to the known_hosts list to access the NAS via ssh,

no .. each PC that you connect to the NAS with using ssh will store the ssh key from the NAS locally .. this is just to make sure you're connecting to the correct ssh server, ie. you're not being redirected to a different server that could intercept your passwords etc. (man in the middle attack).

[EDIT]

there may still be 1 problem though.
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: 14453
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating Filesystems with Openmediavault
« Reply #147 on: March 10, 2013, 11:38:41 am »
am I right in assuming the NAS can:-
Code: [Select]
ping -c 5 173.194.34.71
but it cannot
Code: [Select]
ping -c 5 google.com
?
WARNING: You are logged into reality as 'root'

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

Offline Emegra

  • Hero Member
  • *****
  • Posts: 2759
  • Karma: 55
  • Gender: Male
  • Devilishly Handsome
    • View Profile
    • Awards
Re: Creating Filesystems with Openmediavault
« Reply #148 on: March 10, 2013, 11:46:26 am »
No it's pinging both ok no problem :)
If you can keep your head while all around are losing theirs, then you're not quite grasping the situation

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 14453
  • Karma: 357
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Creating Filesystems with Openmediavault
« Reply #149 on: March 10, 2013, 11:47:17 am »
GREAT :) ... all sorted then.
WARNING: You are logged into reality as 'root'

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

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal