Forums

Resolved
0 votes
Good day to all. I wonder if anyone could assist me. I am running ClearOS 6.6.Community Edition and the IP Settings > Network status > DNS lookup says offline.
Can anyone advise me on why this is happening? I am a newbie still to ClearOS and Linux in general and I would really appreciate if someone could tell me what I could possibly be doing wrong.
Thursday, June 23 2016, 02:39 PM
Share this post:
Responses (15)
  • Accepted Answer

    Tuesday, January 31 2017, 10:24 AM - #Permalink
    Resolved
    0 votes
    Samba (flexshare) permissions are a strange beast. Really you need to make sure the files are always owned by the correct user or group. If you put a file into a flexshare usinf something like WinSCP (as root), generally you will have problems accessing that file through the flexshare.

    Re VNC, can I ask why? To get VNC to work you need a desktop environment installed onto ClearOS. There have been threads on installing Gnome, I think, but ClearOS is not really designed for a desktop. If is is just to get console access, use PuTTy and WinSCP from Windoze - both are free. If you use Linux clients, they should all come with a terminal and you can ssh to ClearOS from there. Also many of the Linux file managers will allow you to connect by ssh to ClearOS, or check out the Midnight Commander package.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, January 31 2017, 09:02 AM - #Permalink
    Resolved
    0 votes
    Good day Nick and the rest of the ClearOS Community. Belated wishes and all the best for 2017!:)

    Hi I resolved the DNS issue by pointing as you suggested to my ISP.

    I have a few other questions...

    When using COS and accessing files via flexshares, I notice that sometimes whilst browsing files on the windows network that strange file sharing permission issue start such as not being able to copy or access files even though I have administrator privileges. Can not you explain why this happens?

    Also can you assist me in getting VNC to work on my COS server?

    Thanks as always for your great support
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, December 07 2016, 10:46 AM - #Permalink
    Resolved
    0 votes
    If you can get to the server, the easiest way is directly from the console. If you log into it, you can change the IP setting from there.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, December 07 2016, 08:12 AM - #Permalink
    Resolved
    0 votes
    Good day Nick and everyone else.

    I recently upgraded to ClearOS 7.2 Community from ClearOS 6.7 Community. The problem is that I kept have DNS look up errors and now whilst trying to set up the IP settings I accidentally set the External IP out of range of my router thus I am unable to access it. Is there anyway to reset the IP settings back to the original via the terminal? Sorry I am still learning Linux.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, September 08 2016, 10:04 AM - #Permalink
    Resolved
    0 votes
    I'm now a bit unclear about your set up. I hope you don't have both your ClearOS LAN and WAN connected to the same physical network. This can't work. ClearOS needs to be the bridge between the two networks (in gateway mode) and the two networks need to be on different subnets.

    If you want to fix your ClearOS WAN/External IP, you need to log on to your router and see if you can assign a static IP from the router. If you can't, from the router you need to note its DHCP range. Then, if it is the whole subnet (apart from .0, .255 and the gateway, probably .2), reduce the range so there is a free area. Then you can fix the WAN IP anywhere in the free area, with the gateway as the router's LAN IP and you may have to fix the DNS servers, either to the router's LAN IP or to any valid DNS servers you wish to use (GoogleDNS, OpenDNS, your ISP etc).

    Normally for the ClearOS LAN you'd give it a fixed IP and probably use it as the DHCP server for the LAN (but you don't have to). It is also good to use it as the LAN's DNS server.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, September 08 2016, 09:46 AM - #Permalink
    Resolved
    0 votes
    Hi Nick thanks again for your assistance. Also the reason why I wanted fix the LAN address besides needing to access the web admin address on the internet is because the IP address changes every time it is set to automatic. Then everytime I have to physically log on to the server to obtain the new IP address that can be used for the web admin. Is there an easier way or some other method you can suggest? The router that is being used in a 3G wireless gateway router and yes we do have a spare wireless router as well (regarding the bridging topic)

    Thanks again

    Location [ View Larger Map ]

    http://maps.googleapis.com/maps/api/staticmap?center=-26.1438399,27.995186200000035&language=en&maptype=roadmap&zoom=5&size=450x300&sensor=true&markers=color:red|label:S|-26.1438399,27.995186200000035
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 06 2016, 04:33 PM - #Permalink
    Resolved
    0 votes
    If you change the LAN subnet then, assuming you are using the LAN port as a DHCP server then you need to either (drastic) reboot the workstation, or (assuming Windows) go to a command prompt and do an "ipconfig /release" then "ipconfig renew" or do something similar through the Windoze. If you've fixed your IP address on the workstation, you'll need to change it (DHCP is easier).

    Bridging the router is a software thing and only some modems/routers will do it. Is it a cable or ADSL modem/router or do you have a separate modem?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 06 2016, 02:53 PM - #Permalink
    Resolved
    0 votes
    Hi Nick thanks again for your answerThe thing is if I change the LAN to a different subnet from the router, then it is no longer possible to access the ClearOS webadmin. (Maybe I am doing something wrong?) The router by default on its factory setting is set to 192.168.1.1

    When you say bridge the router are saying hardware or software wise?

    Thanks again

    Location [ View Larger Map ]

    http://maps.googleapis.com/maps/api/staticmap?center=-26.1438399,27.995186200000035&language=en&maptype=roadmap&zoom=5&size=450x300&sensor=true&markers=color:red|label:S|-26.1438399,27.995186200000035
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 06 2016, 02:08 PM - #Permalink
    Resolved
    0 votes
    Change your ClearOS LAN to something like 192.168.20.1 or 192.168.20.254 or use a different subnet entirely. Your ClearOS LAN will then work and so will your DNS.

    Then, if you want, change your router subnet to something like 192.168.10.1/24. As ClearOS is getting its address by DHCP, it will get a new IP in the new subnet. Longer term it would be better to either bridge the router, if at all possible, so ClearOS gets your WAN IP, or give it a fixed IP in the router's LAN subnet so port forwarding is reliable. Valid subnets are anywhere in 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16, but try to stick to a /24 subnet in those ranges if you don't need too many IP addresses.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 06 2016, 01:51 PM - #Permalink
    Resolved
    0 votes
    Hi Nick thanks again. Yes you are correct 192.168.1.1 is the Huawei B68A 3G router

    Sorry I thought it was a directory...anyway here is output of the file:

    <code>
    # Please do not edit this file.
    # See http://www.clearcenter.com/support/documentation/clearos_guides/dns_and_resolver
    domain gecko.com
    nameserver 127.0.0.1
    </code>

    I accept your suggestion but what would you suggest I set the DNS to then? (th0 External DHCP 192.168.1.244)

    Thank you for your continued help.

    Location [ View Larger Map ]

    http://maps.googleapis.com/maps/api/staticmap?center=-26.1438399,27.995186200000035&language=en&maptype=roadmap&zoom=5&size=450x300&sensor=true&markers=color:red|label:S|-26.1438399,27.995186200000035
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 06 2016, 01:43 PM - #Permalink
    Resolved
    0 votes
    It is not a directory, it is a file. It must exist and, from your screenshot, will contain the nameserver 192.168.1.1.

    You have problems with your networking. Your LAN and WAN must be on different subnets. This is the cause of your problems.

    Presumably 192.168.1.1 is your modem/router? Can I suggest to you that you don't want 192.168.0.0/24 or 192.168.1.0/24 anywhere on your LAN or WAN if you can help it.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 06 2016, 01:32 PM - #Permalink
    Resolved
    0 votes
    Thank you again Nick for responding

    I apologise about the typo but I checked again the directory does not exist. I have attached another picture this time with my IP address setting like you pointed out.

    Location [ View Larger Map ]

    http://maps.googleapis.com/maps/api/staticmap?center=-26.1438399,27.995186200000035&language=en&maptype=roadmap&zoom=5&size=450x300&sensor=true&markers=color:red|label:S|-26.1438399,27.995186200000035
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 06 2016, 11:20 AM - #Permalink
    Resolved
    0 votes
    You have a typo in the file name. Please check again. If the file is missing, try manually setting your DNS servers in the IP Settings screen and not the screen you have posted. The screen you have posted means that anyone on your LAN using ClearOS as a DNS server/cache (generally through the DHCP settings) trying to access a machine called gecko.lan will access 192.168.1.244.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 06 2016, 08:45 AM - #Permalink
    Resolved
    0 votes
    Good day Nick and everyone else, sorry I am responding two months later... There does not seem to be a file in the destination /etc/resolv-peerns.conf.

    I have attached a screen shot of my DNS settings - (192.168.1.244 - Gecko.lan)

    Thanks you always for your helpfulness.
    Attachments:

    Location [ View Larger Map ]

    http://maps.googleapis.com/maps/api/staticmap?center=-26.1438399,27.995186200000035&language=en&maptype=roadmap&zoom=5&size=450x300&sensor=true&markers=color:red|label:S|-26.1438399,27.995186200000035
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, June 23 2016, 06:24 PM - #Permalink
    Resolved
    0 votes
    On the same screen, what do you have the DNS Servers set to? These should be valid DNS resolvers such as your ISP's, OpenDNS, GoogleDNS etc. Alternatively what is the contents of /etc/resolv-peerdns.conf? Are you using automatically set or manually set DNS servers?
    The reply is currently minimized Show
Your Reply