Forums

Resolved
0 votes
Good day to all in the ClearOS community

I am a very new user to both Linux and ClearOS but I would like to know how to configure ClearOS that I can have a working file server with a couple of computers. I am not sure what the problem is. I have created a flexishare folder and have setup Windows Networking to that of a "Simple Server" but I cannot get the share to show up on the windows computers. I am a complete novice and would appreciate anyone kind enough to assist me.
Thank you for your time
Monday, March 16 2015, 01:50 PM
Share this post:
Responses (69)
  • Accepted Answer

    Friday, April 03 2015, 04:13 PM - #Permalink
    Resolved
    0 votes
    Now I'm confused; how did you define the RAID? - It's not the default option - if it's a software RAID, then you've defined it in the partition manager .. in which case (when you start) you define 2 partitions on each drive (not including the other partition you defined previously) define one pair as one RAID device and and the second pair as the second device. Then, assuming RAID1, you end up with 2 RAID devices of (say) 50GB for home and 400GB for /store.

    You can have as many software RAID devices defined as you need; it's the PARTITIONS that are mirrored; not the drive (hardware RAID is different - at that level, it's the drive that's mirrored).

    So; if I take your original screen shot as an example (starting point) you would (for example) have this instead;


    sda
    sda1 500MB ext4 /boot
    sda2 8GB swap
    sda3 400GB raid
    sda4 50GB raid

    sdb
    sdb1 5GB ext4 /
    sdb2 8GB swap
    sdb3 400GB raid
    sdb4 50GB raid

    RAID devices
    md0 400GB ext4 /store
    md1 50GB ext4 /home


    The 4 partitions of 2*400GB and 2*50GB make up the md0 and md1 devices
    (I haven't sat down and worked out the exact numbers, but hopefully you get the idea).
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 03 2015, 09:35 AM - #Permalink
    Resolved
    0 votes
    For a blank screen see this thread and this thread from about here.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 03 2015, 09:27 AM - #Permalink
    Resolved
    0 votes
    Hi Richard and everyone


    Thank your for your assistance.


    In the server computer there are only 2 hard drives of 500GB each. So as far as I am aware I can only have 1 raid device.


    Also when I didn't define a mount for the raid then it didn't seem to work for /storage. (would this work now if I installed the storage manager before creating users?)

    I am using the 64 bit version of COS 6.5 as 6.6 has issues after I install it like not showing the webadmin screen upon boot.


    Thanks again
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 03 2015, 06:34 AM - #Permalink
    Resolved
    0 votes
    The mount should be defined in /etc/fstab, so as long as there's an entry in there it'll be 'permanent'.

    Where did you mount /store? From what you've said, I think you've allocated the whole RAID to /home - in which case you've still got the same problem AFA flexshares are concerned that you started with - trying to use the 5GB.

    If you're going to reinstall, why not create TWO RAID devices; allocate one to /home and the other to /store.

    If you define /store at the partitioning stage you don't need to hit the 'initialise' button in the storage app - it just seems to define /store if it's not already defined on a disk of your choosing .. which you've already done. If you define it at the partitioning stage, you just need to enable the app by changing the flag in the storage.conf file and run the storage command from the command line.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 02 2015, 09:13 AM - #Permalink
    Resolved
    0 votes
    Hi Malcom and everyone

    Yes I am a complete novice at this.

    I reinstalled COS and mounted the raid under home now

    I also mounted /store

    My question is, is a mount permanent?

    The reason I ask is because saw under the storage manager a tick on the raid device for storage but when I reset the sever the storage manager no longer showed that tick

    Many thanks for your assistance.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 01 2015, 08:55 PM - #Permalink
    Resolved
    0 votes
    As you say, you are new to this, so just a suggestion as perhaps you are trying to do too many things at once?

    How about going back and reinstalling with the defaults for the file system.

    Then get familiar with how ClearOS and the windows file sharing works.

    Next you can build on that to customise your installation to include RAID and the storage app.

    [One way to experiment is by installing ClearOS on virtualbox on your PC, if you don't want to back to square one.]


    My 2c only :)
    - 'cos that's how I've been doing it for the last 10 years!!
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 01 2015, 06:44 AM - #Permalink
    Resolved
    0 votes
    Hi Richard and everyone

    When you say as per the tech note you told me about earlier are you referring to the storage manager (I did download that)

    Do I now have to reinstall COS? Is that the better way to go?

    Thanks for your assistance.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 31 2015, 02:16 PM - #Permalink
    Resolved
    0 votes
    In that case, your entire system is trying to use the 5GB and the RAID device is actually completely unused. If you add the RAID to fstab as /store, and initialise the system as per the tech note I told you about earlier, you can move (using the instructions in the note) your data there. The fstab file will need have entries something like this;


    /dev/mapper/vg_trantor-lv_root / ext4 defaults 1 1
    UUID=20334a63-9e5f-4b40-9d78-b4f484f23827 /boot ext4 defaults 1 2
    /dev/mapper/vg_trantor-lv_store /store ext4 defaults 1 2
    /dev/mapper/vg_trantor-lv_swap swap swap defaults 0 0


    In my case, there's a LVM setup, but otherwise yours will have similar entries - the one that will be missing is the /store .. you'll need something similar to the definition above, but calling up the RAID device rather than my LVM definition.

    The advantage of /store is that all your home directories and data (flexshares etc) live under one location, making backups a lot easier!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 31 2015, 12:07 PM - #Permalink
    Resolved
    0 votes
    Hi Richard and everyone

    I did not allocate the raid to anything...Is that the problem? What should i have allocated it to? I also allocated 500MB to boot
    (This was based on an example I saw...) Will I need to reinstall COS now?

    Please could you give me a suggested configuration that I should use.

    Thank you for your assistance.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 31 2015, 11:34 AM - #Permalink
    Resolved
    0 votes
    What's the RAID allocated to? You''ve said that '/' is 5GB, is that the only definition? What did you allocate the RAID device to?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 31 2015, 09:51 AM - #Permalink
    Resolved
    0 votes
    Hi Richard and eveyone...

    here...

    thanks...

    [root@gecko Documents]# fdisk -l

    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x0006bddf

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 64 512000 83 Linux
    Partition 1 does not end on cylinder boundary.
    /dev/sda2 64 59790 479744000 fd Linux raid autodetect
    /dev/sda3 59790 60802 8129536 82 Linux swap / Solaris

    Disk /dev/sdb: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x0000b871

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 59726 479744000 fd Linux raid autodetect
    /dev/sdb2 59726 60363 5120000 83 Linux
    /dev/sdb3 60363 60802 3521536 82 Linux swap / Solaris

    Disk /dev/md127: 491.1 GB, 491123441664 bytes
    2 heads, 4 sectors/track, 119903184 cylinders
    Units = cylinders of 8 * 512 = 4096 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disk identifier: 0x00000000

    [root@gecko Documents]#
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 31 2015, 09:09 AM - #Permalink
    Resolved
    0 votes
    Unfortunately, that's pretty much unreadable; can you copy and paste into code?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 31 2015, 07:10 AM - #Permalink
    Resolved
    0 votes
    Hi Richard and everyone

    This is what I get...

    Thanks http://www.clearfoundation.com/media/kunena/attachments/legacy/images/COS_raid_devices.PNG
    The reply is currently minimized Show
  • Accepted Answer

    Monday, March 30 2015, 10:22 AM - #Permalink
    Resolved
    0 votes
    That just says you've got a RAID defined; what does

    fdisk -l

    give? (lowercase 'L')
    The reply is currently minimized Show
  • Accepted Answer

    Monday, March 30 2015, 07:49 AM - #Permalink
    Resolved
    0 votes
    Hi Richard, Nick, Dave, Marcel, Malcom and everyone else

    Please find an image attached on how I partitioned the drives.

    Any suggestions on how it should be set out (with raid though) will be appreciated http://www.clearfoundation.com/media/kunena/attachments/legacy/images/DSC_0322.JPG
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, March 29 2015, 11:28 PM - #Permalink
    Resolved
    0 votes
    Have a look at the attached worksheet for a system set up that might help you with this. [file name=LVM2_Worksheet.zip size=451]http://www.clearfoundation.com/media/kunena/attachments/legacy/files/LVM2_Worksheet.zip[/file]
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, March 29 2015, 02:22 PM - #Permalink
    Resolved
    0 votes
    What have you allocated the raid device to? If the whole is the the /home directories, then that's your problem.

    I'd suggest adding the storage app (http://www.clearcenter.com/support/documentation/clearos_guides/storage_manager_technical_guide) and reading the section about implementing it on a running system. The /home directories will then need to be moved to the appropriate location under /store - which in turn is located on the RAID. You might find it easier (depending on how far on the installation is) to start again, defining the RAID as being /store and adding/starting the app before creating users etc.

    To be honest, the installation does assume some level of prior knowledge, and even though I've played with other Linux distributions, I still had to move stuff around as I've become more au fait with the ClearOS setup. It certainly doesn't help when the majority of the space by default is allocated to /home (although I understand why), but no real allowance is made for flexshares - which are obviously going to hold the majority of data - even in a home office system! (photos/videos for example) - Something to consider for COS7 perhaps!
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, March 29 2015, 07:42 AM - #Permalink
    Resolved
    0 votes
    Hi Richard and everyone as I have said already I am pretty much a complete novice when it comes to Linux distros and setting them up. That said I partitioned COS something like this

    Disk 1

    5GB for root on the one driver

    446GB approx for the first drive (software raid)


    Them the remaining space to be used for swap


    Disk 2


    500MB for boot


    446GB approx for the second drive (software raid)


    and the remaining space to be used once again for swap


    I then added a raid device consisting of both the drives (in raid 1)


    Many thanks
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 27 2015, 10:25 AM - #Permalink
    Resolved
    0 votes
    Yup. The Flexshares live under the system structure by default. It's possible to fix using the storage app (search the forums), but it'll involve some buggering around, but as you appear to be at an early stage in the setup/use, it should involve too much. What have you allocated all the space to?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 27 2015, 09:15 AM - #Permalink
    Resolved
    0 votes
    Hi Richard, Nick, David, Marcel and everyone else here in the community

    Thank you all for your contributions in helping me.

    I finally have the shares working the way I want. The problem is now that when I wanted to copy approx 250GB to the flexishare folder "gecko" I am told that there is insufficent space. Despite the fact that the two hard drives inside the COS computer are 500GB each.

    Is the problem that I only made the / directory 5GB? Is there anyway I could modify this without having to reinstall ClearOS? (I set the hard drives as software raid 1)

    Again to everyone who has helped me and does continue to, I deeply appreciate all your assistance.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 27 2015, 07:41 AM - #Permalink
    Resolved
    0 votes
    I've got a similar setup. I've a Virginmedia modem/router running in 'modem' mode (bridged) attached to the external COS port - COS therefore gets the ISP assigned address. Then, on the internal network, an ASUS router configured as an access point/switch providing WiFi and additional LAN ports for wired devices. The Virginmedia supplied device is capable of WiFi, but turned off, and the LAN ports are unused except for the wired connections to the COS box and the cable connection.

    On another system I look after there's something similar; a COS box connected to a BT router. In this case, the BT router is setup to provide a static address to the COS box, but there is also another network on the other LAN ports. As the COS is setup as a gateway, the external network cannot gain access to our network, but we have access to a Xerox Workstation printer (providing A3 capabiltiy) on theirs. The internal network has an old Belkin access point attached to provide WiFi access (secured) for the one laptop allowed to connect, and an HP All-In-One. The subnets on the internal network and the external network are obviously different. PCs on the internal network have the Xerox printer defined with the IP of the external LAN; if you recall my observation about routing above(?) you'll perhaps realise that as the address used is external to the COS/LAN, the TCP/IP packets get routed via the COS server, through the external eth to the BT router which knows about the Xerox IP (it residing on its own LAN) and routes the packets to the Xerox.

    [FWIW, I'm a retired software engineer; before I took early retirement, I was working on military GPS systems, Air Traffic Control systems and battlefield and logistics communications systems).
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 27 2015, 04:07 AM - #Permalink
    Resolved
    0 votes
    Richard is correct.

    Here are some concepts for you. You can use this as a reference as well (http://www.clearcenter.com/support/documentation/clearos_guides/network_types_-_external_lan_hotlan_dmz).

    ClearOS as 4 Firewall modes:

    - Gateway
    Under gateway mode the firewall is active on the External interface. Additionally, networks behind the firewall are routed (DMZ, HotLAN, LAN) and NAT is applied to LAN type networks (LAN, HotLAN).

    - Standalone
    Under Standalone, the External interface is firewalled. This is useful if you are running ClearOS as a server in the cloud.

    - Standalone - No Firewall
    Under this mode, the External interface is not fire-walled. This is useful if you are running ClearOS as a server on a local network.

    - Trusted Gateway
    Trusted gateway is a hidden, unsupported mode that does not have a firewall on the external interface. It is useful for LAN routing and transparent bridging.

    The 'external' interface is the one that is pointed toward the internet...always. It is the ONLY type that contains a 'Default Gateway setting for this reason. All other interface types (HotLAN, DMZ, LAN) are inward facing. If you are using ClearOS in gateway mode, it will act as your firewall and will block traffic on the external interface. Moreover, applications are often configured to not even listen on the 'External' interface if the firewall mode is set to gateway.

    Some admins new to ClearOS will have a network that has some sort of router connecting to the internet that has a built-in wireless option. If this is the situation you have some choices to make. If you want ClearOS to be the firewall because you want to use some gateway features then you will need to abandon the idea that you will use the wireless option on your internet router. If you want to use ClearOS as a gateway, you should connect ClearOS to that router with the external interface and NO other workstation will connect to that router...not the NIC interfaces and not the wireless. You can't use ClearOS as a 'gateway' if the workstations are in front of the external interface.

    No, if your ISP delivers your internet IP through a method that allows ClearOS to have the public IP address then you have some power here. Some DSL devices allow ClearOS to authenticate to them via PPPoE or in bridging mode. Cable modems often have a 'bridging' option. My ISP delivers some public addresses to my ClearOS server and requires that I authenticate via PPPoE. Now, if this is the case and you have this wireless router and wonder what to do with it, let me tell you exactly what to do with it.

    Again, if ClearOS is your front line device then you can put everything behind it. At my house I have 3 different consumer-grade wireless routers. It's a hodge-podge for sure. One is a Belkin, one is a Linksys and the other is a DLink. All of them are 'router' but I use them all as access points instead, here's how:

    The back of those routers has 4 NIC ports for 'LAN' and 1 NIC for the 'Internet'. Using a PC with a static IP address (192.168.1.100), I reset those routers to the default and connect with a wire to one of the 4 ports. Then I set the IP address to something I will use on my LAN behind ClearOS...for example: 192.168.100.50. Then I reset the IP address on my Laptop to 192.168.100.99. Next, I disable the DHCP on that router. Then I configure all of the wireless. Next, I plug one cable into the back of the ClearOS server or the network switch into only 1 of the 4 ports (NOTE: in this mode you will NEVER use the 1 network jack all by itself)

    The reason I mention this method is because if your ISP's router has wireless and you want to use ClearOS as a gateway, you will need to abandon the idea of using that wireless function on that device and grab yourself a different wireless router or access point and configure it BEHIND the ClearOS server in the manner I mentioned.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 26 2015, 05:59 PM - #Permalink
    Resolved
    0 votes
    Therein lies the problem; the PCs are on the EXTERNAL network and are getting their IP address from your modem/router, not the COS box.

    In gateway mode, Flexshares by default are not visible on the external interface of COS - ie eth0 - for security reasons. You need to connect the PCs to the eth1/INTERNAL network.

    If you only want to use the server as a simple server then you only need a single ethernet interface and no firewall. That interface is defined as external yes, but the configuration you have at the moment is that COS is a GATEWAY .. and the shares therefore are only visible on the eth1 interface NOT on eth0.

    Question: Do you want a simple server or a gateway?

    If you want a simple server, you only need one ethernet card; a second just complicates things. If so, change the configuration on the IP settings page, and you can remove one of the ethernet cards - I imagine you have one built into the motherboard and a second card (remove that one). You can then disable the COS dhcp server and let the IP be set from the router/modem.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 26 2015, 04:31 PM - #Permalink
    Resolved
    0 votes
    Hi Richard thanks again

    Ok currently all the PC's r 192.168.1.7 and 192.168.1.19 both with subnet masks of 255.255.255.0 and DNS and gateway at 192.168.1.1...

    Does this answer your question? If not please inform me as to how to obtain the info you require.

    I removed all the previous entries and now can at least see the COS but cannot access it again as yet...
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 26 2015, 03:57 PM - #Permalink
    Resolved
    0 votes
    That's fine; I'm talking about the DNS entries in the last picture you put up. At most I'd expect to see the gecko.lan entry; not the others - they are nothing to do with your lan.

    You've still not said what your PC IP address lease details are (they're private, so don't worry about putting them up). I need to see them to ensure that the correct info is being spewed out by your DHCP server to your lan. If the wrong info is in there, it will affect what you can see on the lan.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 26 2015, 02:46 PM - #Permalink
    Resolved
    0 votes
    Hi Richard

    the only lease details I have under "DHCP Server" are:

    192.168.15.244 f4:ce:46:ae:4d:6f * (which I think is the printer)

    I obtained a new DHCP IP which is 192.168.1.8 instead of 192.168.1.244
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 26 2015, 02:26 PM - #Permalink
    Resolved
    0 votes
    Not entirely sure why you've got all those entries - or why - or where they came from ...?
    What's your PC's lease details?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 26 2015, 01:54 PM - #Permalink
    Resolved
    0 votes
    Hi Richard Nick and everyone

    Thanks for your continued assistance

    When I do ifconfig | grep eth -A I

    I get the following:

    eth1 Link encap:Ethernet HWaddr 00:30:4F:9E:B5:C0
    inet addr:192.168.15.1 Bcast:192.168.15.255 Mask:255.255.255.0
    [root@gecko ~]# ifconfig | grep eth -A 1
    eth0 Link encap:Ethernet HWaddr F4:CE:46:AE:4D:6F
    inet addr:192.168.1.244 Bcast:192.168.1.255 Mask:255.255.255.0
    --
    eth1 Link encap:Ethernet HWaddr 00:30:4F:9E:B5:C0
    inet addr:192.168.15.1 Bcast:192.168.15.255 Mask:255.255.255.0

    Also since the changes that I made and removing the leased address the COS is not showing up on the network. http://www.clearfoundation.com/media/kunena/attachments/legacy/images/CLEAROSDNSsettings.PNG
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 26 2015, 12:28 PM - #Permalink
    Resolved
    0 votes
    The settings are all over the place.
    /etc/clearos/network.conf for the operating mode and which NIC is which
    I don't know where IP addresses are stored, but the command "ifconfig | grep eth -A 1" should give you what you want unless you have wlanX interfaces as well.
    I can't remember where the DNS server settings are. /etc/dnsmasq.d/dhcp.conf? it can be displayed in the console with "cat /etc/dnsmasq.d/dhcp.conf" or just use WinSCP from a workstation to inspect the file. Note the contents are relatively unintelligeable unless you know what the dhcp options mean.
    /etc/resolv-peerdns.conf contains the external DNS.

    Perhaps read back over this thread as I asked the questions earlier.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 26 2015, 12:19 PM - #Permalink
    Resolved
    0 votes
    That looks fine
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 26 2015, 12:08 PM - #Permalink
    Resolved
    0 votes
    COS IP eth1 setinngs - image http://www.clearfoundation.com/media/kunena/attachments/legacy/images/ClearOSIPeth1serversetting.PNG
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 26 2015, 11:50 AM - #Permalink
    Resolved
    0 votes
    Craig Cooper wrote:
    Hi Richard and everyone

    Thanks again

    I am now inputting the recommendations you made...

    What is the command in ClearOS to get the details of all the settings so that I can post what I have...


    Can't think off hand .. Nick? (or just use the 'code' boundaries and type them in as I did.


    I had the shares temporarily working but now they are not working again.

    Thank you so very much for your assistance


    That'll be because of the DHCP setup issues.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 26 2015, 11:46 AM - #Permalink
    Resolved
    0 votes
    Forgot to say that on a PC attached to the eth1 network will not - and SHOULD not - know anything about the external network - that's the job of the 'gateway address'. If you see anyting in the PC adapter details for any network other than 192.168.15.x, then there's still a problem and you should disconnect/reconnect or release/renew the PC leases.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 26 2015, 11:39 AM - #Permalink
    Resolved
    0 votes
    Hi Richard and everyone

    Thanks again

    I am now inputting the recommendations you made...

    What is the command in ClearOS to get the details of all the settings so that I can post what I have...

    I had the shares temporarily working but now they are not working again.

    Thank you so very much for your assistance
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 26 2015, 11:28 AM - #Permalink
    Resolved
    0 votes
    Ok; looks like you've still got a couple of issues.

    First; what's the IP on eth0?

    The DHCP details are what are fed to PCs when they attach and are used to tell the PC how to communicate with other machines - both locally and remotely (sorry if you already know this ..)

    If we assume for a moment that your COS system is setup as the gateway, then what you've got set up is wrong. The gateway address needs to be the eth1 address; what this means is that when a PC attempts to connect to another machine, if it can't find the address on the network (via the local DNS entries), then the gateway address is the address that the packets are sent to. The COS machine in turn looks at the address that's been asked for and passes those packets that it doesn't know about to the external network - the one connected to eth0. What I would expect to see therefore is this (following on from my previous recommendations);


    Network: 192.168.15.0
    Gateway: 192.168.15.1
    IP start: 192.168.15.100
    IP end: 192.168.15.254
    DNS #1: 192.168.15.1

    With
    eth1 static IP of 192.168.15.1
    eth0 dynamic IP set by the modem/router - 192.168.1.244 (from your original figures)

    and the machine set to 'Gateway' (on the IP settings page).



    What this means is that if you examine the IP address details on a PC attached to the eth1 network, you should see something like


    DHCP Enabled
    IPv4 Default Gateway 192.168.15.1
    IPv4 Address 192.168.15.105
    IPv4 DHCP Server 192.168.15.1
    IPv4 DNS Sever 192.168.15.1


    Does that make sense?

    Once you've got that, we can walk you though a OpenVPN connection.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 26 2015, 10:21 AM - #Permalink
    Resolved
    0 votes
    Hi Richard and Nick and everyone.

    Thanks again for all your help and interest in enabling me to make the ClearOS server work.

    I have had some success thanks to all of your contributions in assisting me. I can now access and see and access the shares on the ClearOS computer. (Are these settings suffcient for the COS DHCP server?)

    Now I would like to setup access to the ClearOS server so that I can access it remotely from another locatation (VPN?) http://www.clearfoundation.com/media/kunena/attachments/legacy/images/ClearOSDHCPserversetting.PNG
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 25 2015, 05:24 PM - #Permalink
    Resolved
    0 votes
    When mapping drives you can map then as another user - I do, but Win7 is a PITA with this and unreliable. I now map with another program I found on the web and the credentials manager in Win7. This is much more successful.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 25 2015, 04:09 PM - #Permalink
    Resolved
    0 votes
    Ok, you will still have a problem as the internal and external interfaces both have the same subnet addresses. What this means is that the routing tables will get mixed up and packets will get misdirected and possibly lost. Before anything else, you need to change either the COS dhcp server sitting on the eth1 interface, or the dhcp server (probably sitting in your modem/router) to a different subnet. For example; leave the modem/router alone so eth0 stays on 192.168.1.244, and change the COS dhcp settings for eth1 to be (eg) 192.168.15.x - you're eth1 should ideally be a static address (192.168.15.1 for example). Modem/routers often default to 192.168.0.x, 192.168.1.x or 192.168.2.x, so it's worth avoiding those when setting up your COS dhcp serve; that way, if you ever change you modem/routers, your COS system should still be ok.

    You could use WORKGROUP, but I'd suggest you change it to something else as it's one of the M$ defaults (WORKGROUP being one, MSHOME being the other that I know of). In my case, my house has a name, so I use that.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 25 2015, 02:02 PM - #Permalink
    Resolved
    0 votes
    Hi Richard thanks for responding

    The PCs that are used here includes 2 Windows 7 Professional computers and 3 Windows XP Professional computers.

    Eth0 (External on DHCP) is currently 192.168.1.244

    Eth1 is still 192.168.1.20

    All computers currently use WORKGROUP and the workgroup for all computers

    Could I use WORKGROUP as a domain?

    Many thanks again
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 25 2015, 01:46 PM - #Permalink
    Resolved
    0 votes
    The username/password being asked for is most likely the name and password of a user known to the COS system. One way round this is to make sure that your username and password on your PC matches that on the COS system - including upper/lowercase. Domain controller option only really comes into its own if your PC is capable of connection to a domain - Win 7 Professional for example .. the capability is not in the Home Premium edition. If your PCs are only Home Premium, don't bother with the domain controller option; it won't work/apply.

    BTW - what are the IP addresses assigned to the COS system now? And what about the PC?
    The reply is currently minimized Show
Your Reply