I am new to Linux. I was thinking that I had trouble with the wifi driver until I found out that I could connect to the web when I use a VPN. My Internet was working fine until today. I need to be able to connect to the web without using a VPN.  The messages I get are below:  Firefox can’t find the server at www.google.com.   On the terminal:  $ uname -a   Linux MisterX 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux  $ ping google.com ping: unknown host google.com  $ dig google.com   ; &lt;&lt;&gt;&gt; DiG 9.10.3-P4-Ubuntu &lt;&lt;&gt;&gt; google.com ;; global options: +cmd ;; connection timed out; no servers could be reached  $ ping ping 216.58.208.78 PING 216.58.208.78 (216.58.208.78) 56(84) bytes of data. 64 bytes from 216.58.208.78: icmp_seq=1 ttl=48 time=230 ms 64 bytes from 216.58.208.78: icmp_seq=2 ttl=48 time=226 ms 64 bytes from 216.58.208.78: icmp_seq=3 ttl=48 time=249 ms 64 bytes from 216.58.208.78: icmp_seq=4 ttl=48 time=224 ms ^C --- 216.58.208.78 ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3002ms rtt min/avg/max/mdev = 224.005/232.736/249.737/10.094 ms  $ dig 216.58.208.78 ; &lt;&lt;&gt;&gt; DiG 9.10.3-P4-Ubuntu &lt;&lt;&gt;&gt; 216.58.208.78 ;; global options: +cmd ;; connection timed out; no servers could be reached  $ sudo nano /etc/nsswitch.conf passwd:         compat group:          compat shadow:         compat gshadow:        files  hosts:          files mdns4_minimal [NOTFOUND=return] dns networks:       files  protocols:      db files services:       db files ethers:         db files rpc:            db files  netgroup:       nis   I have tried:  $ sudo /etc/init.d/network-manager restart [ ok ] Restarting network-manager (via systemctl): network-manager.service.
I have a Toshiba z830 with ubuntu 12.04. I could use without problems the DSL connection (I have no router, only a modem) at home until a couple of days ago:   It stopped to work when while connected with the DSL connection via CiscoVPN (to my workplace), I had to leave the laptop unattended for a while and I guess the laptop tried to go to suspend. When I came back there were many messages on a black screen (sorry, I cannot attach an image because of my low reputation) and the laptop was not responding. I had to reset the it.   After rebooting it, the internet connection didn't work as did before (no browsing, no ssh, no skype, etc) although it says it is connected. I only can browse, etc when I connect to CiscoVPN to the same place where I was connected when it crashed.  When I am physically where I connected via VPN (at work) I can use the wireless, which I am not able to use now anymore since the incident described above.  Some additional information:  martillu@ubuntu:~$ cat /etc/resolv.conf   domain km.icrr.u-tokyo.ac.jp   nameserver 10.240.12.134   nameserver 10.240.12.135    martillu@ubuntu:~$ route -n   Kernel IP routing table   Destination Gateway Genmask Flags Metric Ref Use Iface   0.0.0.0 61.127.116.199 0.0.0.0 UG 0 0 0 ppp0   61.127.116.199 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0   169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 ppp0    martillu@ubuntu:~$ ifconfig   eth0 Link encap:Ethernet HWaddr e8:e0:b7:2f:bc:5a   inet6 addr: fe80::eae0:b7ff:fe2f:bc5a/64 Scope:Link   UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1   RX packets:17620 errors:0 dropped:1 overruns:0 frame:0   TX packets:13168 errors:0 dropped:0 overruns:0 carrier:0   collisions:0 txqueuelen:1000   RX bytes:19452232 (19.4 MB) TX bytes:2568218 (2.5 MB)   Interrupt:20 Memory:c0700000-c0720000    lo Link encap:Local Loopback   inet addr:127.0.0.1 Mask:255.0.0.0   inet6 addr: ::1/128 Scope:Host   UP LOOPBACK RUNNING MTU:16436 Metric:1   RX packets:134 errors:0 dropped:0 overruns:0 frame:0   TX packets:134 errors:0 dropped:0 overruns:0 carrier:0   collisions:0 txqueuelen:0   RX bytes:36316 (36.3 KB) TX bytes:36316 (36.3 KB)    ppp0 Link encapoint-to-Point Protocol   inet addr:219.167.252.226 P-t-P:61.127.116.199 Mask:255.255.255.255   UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1454 Metric:1   RX packets:17608 errors:0 dropped:0 overruns:0 frame:0   TX packets:13129 errors:0 dropped:0 overruns:0 carrier:0   collisions:0 txqueuelen:3   RX bytes:18993590 (18.9 MB) TX bytes:2221195 (2.2 MB)    wlan0 Link encap:Ethernet HWaddr 9c:b7:0d:d9:21:f3   UP BROADCAST MULTICAST MTU:1500 Metric:1   RX packets:0 errors:0 dropped:0 overruns:0 frame:0   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0   collisions:0 txqueuelen:1000   RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)    I think that: domain km.icrr.u-tokyo.ac.jp in the resolv.conf may be suspicious, since if I am not connected via CiscoVPN I do not know why it should appear "km.icrr.u-tokyo.ac.jp" (this is where I connect via VPN).
Best way to soft brute-force your own GPG/PGP passphrase? Toggle Switch to swap the connections of two buttons I am trying to mod my arcade stick so I can switch two commonly swapped buttons on the controller.  Essentially they are simple 2 terminal momentary switches connected directly to the controller PCB. I would like to switch their responsibilities, so in my case the Back button and the LB button on the XBox pcb I would like to swap so the Back actuates the LB button on the PCB and the LB actuates the Back button.  My assumption is that I would need a switch with 8 terminals, 4 in 4 out.  What type of switch am I looking for? Is the universe finite or infinite? I thought the universe was finite, but then I read this:    And they seem to assume it is infinite. So which is it? How can I monitor my Samba traffic? How do I move Steam games to a new computer without re-downloading them? I have just bought a new computer and I have everything migrated over except for my Steam games.  I looked in Program Files/Steam/ and I found a folder full of the games I have downloaded, but I do not know if it is safe to just copy these folders from one computer to another (seeing as a lot of other applications will not work if you do this), or is there another recommended way?  I don't really feel like re-downloading all my games. I don't have the time nor bandwidth to download 20GB over a 1.5mbps connection.  Is it possible to contact Valve and get a disk with the games on it? Two numbers are chosen randomly and independently from the unit interval $(0,1)$.  What is the probability that they differ by more than $\frac{1}{2}$? Hint: Think of the $2$ numbers chosen as coordinates in the Cartesian plane. Draw a square with vertices at $(0,0)$,$(1,0)$,$(1,1)$, and $(0,1)$. Allowable choices for the $2$ points lie below the line $y=x-\frac{1}{2}$ or the above $y=x+\frac{1}{2}$. Find the combined area of these regions.  I need help on this. I know what $y=x-\frac{1}{2}$ and $y=x+\frac{1}{2}$ looks like but I am not understanding the problem as a whole A horizontal line with the same space-filling behaviour as /hfill? Is there a command or package which would allow me to draw a line in the largest available space in the way that \hfill fills up the remaining space in a line?  i.e., a command to draw a line from the end of the text, wherever it happens to fall, to the right edge of the textwidth (leaving space for any additional text indented to be at the end of the line)? How to make nautilus use file-roller in 17.10 like in 17.04? In Ubuntu 17.10 ubuntu upgraded Nautilus (File Browser) to version 3.26.0. New nautilus is not using file-roller anymore, it has  to an integrated compression mechanism.     This makes it complicated to create encrypted archives and/or different types compression archives that file-roller does provide.  How to make nautilus use file-roller as before?  Related question: From Awodey: In any category $\mathsf{C}$,  an object $0$ is initial if for any object $C$ there is a unique morphism $0 \to C$,  an object $1$ is terminal if for any object $C$ there is a unique morphism $C \to 1$.  First I was puzzled by the fact that we can do mappings from a zero set to any other set in a category $\mathsf{Sets}$. But then after I accepted it conceptually, I do not understand why there is no unique morphism to an empty set from every object in a category $\mathsf{Sets}$. Is this because we cannot map a non-empty set to an empty set (since our mapping is total) although we can map an empty set to a non-empty set?  Please, note, I am familiar with the proposition saying: Initial (terminal) objects are unique up to isomorphism. Command "find -name" must be enclosed in quotes or it doesn't work. Why is that? find . -name *.rb   doesn't work on my ubuntu  I have to do  find . -name "*.rb"   to get it to work.  Why is that? Eigen Values Proof a.) Let A and B be $n$ x $n$ matrices. Prove that the matrix products   $AB$  and $BA$ have the same eigenvalues.      b.) Prove that every eigenvalue of a matrix A is also an eigenvalue of   its transpose $A^T$. Also, prove that if v is an eigenvector of A with   eigenvalue $\lambda$ and w is an eigenvector of $A^T$ with a different   eigenvalue $\mu \ne \lambda$, then v and w are orthogonal vectors with   respect to the dot product.   For a, I know that if their eigenvalues are the same then their eigenvectors must relate too.    For the first part of b, is it similar to proving that the $det(A) =det (A^T)$? And, I do not know how to do the second part. Let $G$ be a group and $H$ a subgroup with $[G:H]=n$. Is it true that $x^n\in H$ for all $x\in G$?   Remarks. The answer is positive whenever $H$ is normal, e.g., for $n=2$. In general, by using the normal core of $H$, one can find an $m\ge 1$ such that $x^m\in H$ for all $x\in G$. Does ReLU layer work well for a shallow network? INT(5) vs SMALLINT(5): numbers in parenthesis after the numeric type In MySQL table definitions is there a different between INT(5) and SMALLINT(5)?  Or do they both represent the same size? How to find the joint PDF? Ley X,Y two random variables with density $f(x,y)=8xy \  \text{if} \   0&lt;x&lt;y&lt;1$  Find the joint distribution F(x,y).  I find that $F(x,y)=2x^2y^2-x^4\ \text{  if}  \ 0&lt;x&lt;y&lt;1$ but I dont know how to find the didtribution in other points. How to run scripts every 5 seconds? I can copy, move, create, and delete them. I can rename them using the REN command from a command prompt. I cannot rename folders through Windows Explorer anywhere on my machine, including on other drives.   When I try to do so, I receive an error titled "Rename Folder" that says "Can't find the specified file. Make sure you specify the correct path and file name." Then when I click Try Again or Cancel, I get another error titled "Rename" that says "The file or folder does not exist."  As far as I can tell, nothing else is wrong with my computer, but I'm pulling my hair out trying to fix this problem. I don't know for sure if superuser is the right place to ask this question, but feel free to redirect me.  Summary of Failed Attempts:   Booted into Safe Mode  Made a New User Account System Restore Point (two days ago, 9 days ago)  Deleting / Restoring / Modifying FolderDescriptions registry entries SFC /scannow  Removing windows update KB2984006  Scanned for viruses using Nod32  Scanned for malware using MalwareBytes   Details:  Tried rolling back to two different system restore points, both immediately before I observed the problem and one release prior to that.  Tried restoring FolderDescriptions registry entries as found here:   Booting in safe mode as suggested here:   SFC /scannow as suggested here:   Tried removing registry keys and windows update KB2984006 as suggested here:   Tried exporting folderdescriptions from other machine and importing as suggested here:   Compared my exported registry with other machine's exported registry for both:  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions   My FolderDescriptions branch of the registry in both cases are binary equal to those exported from my wife's Windows 8.1 laptop which works fine. I'm looking for a story that was probably written somewhere from the 1940s to the 1960s. I think I read it in an anthology, possibly in the 1970s.  A group of human explorers landed on a planet with primitive aliens, living in hunter-gatherer villages. They hoped to make a profit from trading our goods for—well, I'm not clear on what they wanted from the aliens.  The native people learned the human language before the explorers could learn theirs. Then the natives suddenly started producing technological innovations far beyond what they originally used. I remember that wooden sailing ships suddenly replaced their canoes. All the natives had to do was hear a story once from the explorers before copying the technology in the story.  Finally, the explorers realized that the natives were much, much smarter than us and that Earth faced a serious problem.  I'm fairly certain that it wasn't a Heinlein story, but I remember that it had some qualities similar to his work. On every loading of a lib, I get the error:     no version information available   This lib has been compiled on another PC (ubuntu 10.04) than the one running it (mandriva 2010.2).  $ ldd /usr/local/gnu-eabi-4.5.2/i686-pc-linux-gnu/arm-eabi/lib/libbfd-2.21.so /usr/local/gnu-eabi-4.5.2/i686-pc-linux-gnu/arm-eabi/lib/libbfd-2.21.so: /lib/libz.so.1: no version information available (required by /usr/local/gnu-eabi-4.5.2/i686-pc-linux-gnu/arm-eabi/lib/libbfd-2.21.so)  linux-gate.so.1 =&gt;  (0xffffe000)  libz.so.1 =&gt; /lib/libz.so.1 (0xb77a7000)  libc.so.6 =&gt; /lib/i686/libc.so.6 (0xb7655000)  /lib/ld-linux.so.2 (0xb787a000)   Edit: the workaround didn't work. Views indicator inaccurate, shows one views on question with two close votes Two close votes and only one person has viewed the question?    How did this happen?