Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I have couple of wifi connections out of which one works fine whereas the other one only works for some of the websites and services like google.com & skype. Browsing rest of many websites usually gives me that error:
DNS_PROBE_FINISHED_BAD_CONFIG
I rarely get following errors as well:
DNS_PROBE_FINISHED_NO_INTERNET
DNS_PROBE_FINISHED_NXDOMAIN
Another very strange thing that I experienced is that repeatedly refreshing a page often opens it whereas it doesn't apply at every web page.
I found many solutions as an outcome of long searches at Google & Stack Overflow but none of these worked. This is not a browser particular issue as getting the same issue on all the browsers I've (i.e. Chrome, Mozilla & IE). I'm getting the same issue at my official machine with Ubuntu OS & personal machine with Win10 OS. Meanwhile I've no problem with web surfing at my mobile and other PCs connected with the same connection.
Detailed information about the real cause and solution (preferably for both Ubuntu & Win10) will be highly appreciable.
For Ubuntu
These errors indicate that there is some problem with DNS.
check cat /etc/resolv.conf for your DNS settings.
And add following name server in /etc/resolv.conf for temporary or in /etc/resolvconf/resolv.conf.d/head for permanent
nameserver 8.8.8.8
nameserver 8.8.4.4
To add these two name server address in resolv.conf
run command sudo gedit /etc/resolv.conf
Copy above two line of nameserver paste on last line of resolv.conf
Ctrl+S to save.
Note: If you add name server only /etc/resolv.conf then when computer is restarted then /etc/resolv.conf is in previous stage.
So, to store these nameservers permanently, use following method :
run command sudo gedit /etc/resolvconf/resolv.conf.d/head
Copy above two lines of nameserver and paste on last line of /etc/resolvconf/resolv.conf.d/head
Ctrl+S to save.
Re-connect internet connection
More Detail On https://wiki.archlinux.org/index.php/Network_Debugging#DNS_Servers
For Windows:
Add these DNS ip on network configuration
Tutorial to add DNS in windows is here
https://www.opennicproject.org/configure-your-dns/how-to-change-dns-servers-in-windows-7/
Re-connect internet connection
Open your cmd and put below two commands
ipconfig /release
ipconfig /renew
Now open run and type ncpa.cpl and press enter .
after that on your ipv4 settings you to set below dns on there
8.8.8.8
8.8.4.4
Tuitorial : https://tricksmotion.com/how-to-fix-dns_probe_finished_bad_config-problem-in-google-chrome-tricksmotion/
I am using kali linux. I came across so many ways which all failed to work but one.
In the terminal, type:-
sudo apt-get purge resolvconf
A GUI appears, click okay. Reboot your machine. You should be able to access the internet once it starts.
Related
I'm currently trying to develop a cloud in my pc using virtual box. The idea is that I have 2 virtual machines, one which devstack installed (all in one) and the other with osm mano. Right now both have everything installed. Hence, I can log in to mano via user and password 'admin' as well as to devstack.
Current properties:
VM1 (devstack): IP (enp0s8) -> 192.168.56.101
Login to 192.168.56.101 -> correct
VM2 (mano): IP (enp0s8) -> 192.168.56.105
Login to 192.168.56.105 -> correct
As some of you may guess, I have 2 network interfaces in every vm, the first one being NAT (enp0s3 with 10.0.2.15 IP) and the second one being Host Only (192.168.56.x according to virtual box).
Needless to say, I can ping from one virtual machine to another without any problem.
Now, in the past I've being using devstack (ubuntu 18.04) in order to play with it a little bit, learn how to deploy instances, create groups and so on. Indeed, I developed a topology with an instance as a router and nagios as the monitoring tool system. It worked and I learnt a lot!
Anyway, what I want in this case is starting from scratch (scratch meaning having downloaded mano and devstack but without going further). So here I am, trying to integrate OSM with Devstack, making use of osm-vim command as it is:
osm vim-create --name openstack-site --user admin --password my_openstack_password --auth_url http://192.168.56.101:5000/v3 --tenant admin --account_type openstack
In this case, my openrc file (downloaded from horizon) resulted in my auth_url being:
export OS_AUTH_URL=http://192.168.56.101:5000/v3
What I'm trying to get my head into is how it's possible that this doesn't work, as whenever I log-in to mano web interface (after osm-vim command) I go to VIM accounts and operational state equals to "error".
Any kind of help would be much appreciated, as I've being struggling for a week now.
Thanks in advance!
I had the same problem. At the beginning I thought It was a network problem, but finally I found out It was due to a SSL problem. The most easy solution is to put a specific flag to avoid the SSL verification until the developers fix it. "--config '{insecure: True}'"
I also encountered this problem when I finished installing OSM-10 and OpenStack-Ussuri for Ubuntu18.04 some days ago. I solved this problem by change the url "--auth_url http//:192.168.23.18:5000/v3" to "-- auth_url http//:controller:5000/v3" and put "192.168.23.18 controller" in the ro container "/etc/hosts". The "controller" here is the host name where you install your openstack and which is used is your keystone authentication urls. Maybe you also have solved this problem but this problem is so troublesome and I hope more people do not be annoyed at this~
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I don't have much knowledge about servers or anything this all but have little base knowledge about HTML or LAN Networking.
As i mention in Title. I just want one simple web-page for entry our data, such as call time, location, description, caller and receiver and i know this all can do thru HTML base webpage design but what i want is share that web-page thru LAN (Not Online) for key-in 3-4 persons in different computer. What type of software (Application) i have to use and the setup.
I have a 5 PC Connected with LAN with main PC (normal windows 7 but if need can change as Server also) and i just want Web-Page or HTML Page all data store and share from the Main PC to others workers PC.
Thank You in Advance for your Amazing Answer :)
In order to achieve your goal you need to set up a server environment on your computer. The best way to do it worry free would be to use an already bundled server like XAMPP.
It's very easy to host website on xampp server by following those steps.
Install xampp in your computer/server
Place web pages in xampp servers htdocs folder
To make default path of the server edit configuration of xampp and
submit path of your web folder
Now start apache (and mysql if needed) and try to run localhost/yourwebdirectory
once run without error your server is running fine. You can also run it by using your network IP.
Now check firewall and allow port 80 (If you require database, setup port 3306 as well)
If you ever want to make it public, you can use a no-ip domain and point that to your IP Make sure the firewall allow public access.
I have used a method for years that has worked for me and limited any mysterious domain-based issues with cookies and such.
In my /etc/hosts file, I do the following for the local development version of www.mysite.com:
127.0.0.1 localhost local.mysite.com
When I visit http://local.mysite.com:3000, this has done exactly what you'd expect for years and years, and still works in Safari and Firefox. However, Chrome started stubbornly giving me an ERR_CONNECTION_REFUSED message a few months ago, and I can't make it work. If I visit http://localhost:3000, it works fine, but I avoid developing against localhost for various reaions. I have tried every possible thing I can find on the internet (clearing caches etc), and nothing has made the error go away.
Anyone have any idea what can be done here?
In the browser, please clear host cache and then try it out. To clear host cache, follow the steps below
Open up Chrome browser and enter " chrome://net-internals/#dns " in the address bar without quotes
Click on the button Clear host cache
Restart your browser and try again
You need to disable the dns prefetching and network condition predicting services on chrome.
As chrome is trying to look for local.mysite.com in actual dns servers and not finding the local ip address.
You can see the below steps -
Go to chrome://settings
Click on "Show advanced settings..."
Unmark the Predict network actions to improve page load performance
box.
Check if the DNS prefetching is really disabled by going to
chrome://dns.
You should see there something like DNS pre-resolution and TCP
pre-connection is disabled.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've been building a Wordpress Multiuser site for the last two months. Everything was good:
Had a local configuration saved in MAMP using default ports (was FTP accessible) Which means I had to edit etc/host and point to site root on drive
Had it saved MAMP's folder structure
Could toggle between default ports and MAMP ports for other sites in development
After the cleaning, MAMP Pro would crash at firing up the SQL Server.
I was able to fix the crash by going into terminal and modifying a line. The last line had my IP address and null just after it. So once I added wordpress.mu, or localhost, the server would start.
But to no avail. I can't seem to recall the configuration after I've tampered with my MAMP settings.
I believe I set an alias and named one of the hosts as wordpress.mu.
I had MAMP pointing to a folder with a different title.
The alias was local host.
And (when testing the site), I would type: localhost.localdomain/sitetitle. This is no longer working.
Can someone point me to thorough instructions or shoot me a few tips on what I should check on? While it might be an easy fix (at least I'm hoping) it's gotten a bit over my head as I am just exhausted from researching possible solutions to problems I semi-understand.
Thanks in advance community, pals, and web scientists. I'd love to treat whomever helps me successfully to a starbucks card. :)
I'm not using the Pro version, so I may a little off base here, but I'd check the following..
Does the MAMP homepage work? (http://localhost:8888/MAMP/?language=English)
Do you need to edit Apache's config? (httpd.conf) You might not need to when using MAMP Pro.
Is MySQL failing to start because there's already an instance running (look for a process called mysqld in Activity Monitor)?
Do you have a hosts entry for localhost.localdomain pointing to 127.0.0.1?
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
This is a follow up question on my earlier question.
Authentication based on Certificates and IP
I am trying to do this for a very small company, and would like to rely only on open source resources. Please take into consideration the fact that I am absolutely (100%) new to the world of Security certificates and the secure protocol.
a) How can I create SSL certificate for test purpose.
(I can think of using paid ones for the production, but once I complete a working POC on this.)
b) How to install the certificate on the four machines I have access to for the POC. Two of them are Win-XP and other two are Win-7.
c) I don't think the servers I have (tomcat and glassfish) support HTTPS, so are there any known open source solution for that?
d) Further, I would have to find out how to add the certificate, but that very well depends on the server I end up with. Are there any documentation related to this.
To answer your questions in the order that you have asked. Since you did not mention what environment you want to implement the solution I will endevor to make this answer as generic as possible.
To create your own self-signed certificates purely for testing check here. You can use the 'OpenSSL' kit which is available to download.
I am not sure how you can install a self-signed certificate under win XP/Win 7, as they are more likely to reject them as they are not "authorized" nor signed by the Certificate Authority such as Thawte, maybe there is someone there who could properly answer this one, perhaps a registry hack/trick to fool Windows into thinking it is a "genuine" certificate.
Apache is the most well-known open source web-server, it has support for running the HTTPS protocol (usually running off port 443). If you have this Apache running, then a simple tweak to the configuration httpd.conf to get it to run...see this as an example
#LoadModule ssl_module modules/mod_ssl.so
... Further info cut out ...
# Secure (SSL/TLS) connections
#Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
The line LoadModule above, needs to be uncommented and Apache needs to be restarted in order to re-read the configuration with the changes made to it.. Furthermore, you can get xampp which contains Apache, MySql and Php/Perl stack for Windows. See here for further information on this. If you are running a Linux environment, then a quick check to see if Apache is indeed installed by issuing those two commands below:
ps -elf | grep httpd
ls -l /etc/httpd/httpd.conf
(The first command checks to see if the httpd process is running and the second checks if you have the configuration file present if Apache is installed.
Lastly, adding the certificate is basically dependent on how to add it as I have mentioned in the above that is the answer to your second question.