How share WiFi's internet as hotspot in 16.04 I saw thread discussing the same. But they are not focusing on 16.04. In simple words, I want someone else use my laptop's internet ( WiFi ) through a custom hotspot. How is it possible ?
How to set up a wi-fi hotspot with an Ubuntu laptop (access point mode)? I've read , and carefully followed the instructions provided. I am sure the wireless card in my laptop supports going into wireless access point mode. But unfortunately, when I use the following command to start hostapd service it throws an error:   $ sudo service hostapd stop  Starting advanced IEEE 802.11 management hostapd                      [fail]    The instructions mentioned above said this could possibly be because my wireless card does not support the g mode, and provided the wiki of hostapd. But what is g mode? I tried to switch to a, or b mode, but it just didn't work.  Can anyone help with this or recommend a tool like connectify in windows ?  ps. I am using Ubuntu 12.04, 32 bit. I have an ADSL wired network, and I want to share it by setting my laptop into a WiFi hotspot with  my windows phone.
In simple terms, what is the purpose of flush() in ostream I try to share my internet connection from my laptop (win7) via virtual wifi to my android phone (Samsung Gio). In an elevated cmd I enter  netsh wlan set hostednetwork mode=allow ssid=VWiFi key=xxx keyUsage=persistent netsh wlan start hostednetwork   The android phone connects to VWifi, but the internet connection is hardly usable on the phone while the internet connection on my laptop is very good at the same time (some Mbps)  What works: I can start WhatsApp, type and receive text messages, so I guess there's no general problem, i.e. config can't be completely wrong - but when I try to send pics or audio or try to receive pics or audio messages then I see from the network monitor on my laptop that the connection doesn't even try to send or receive anything (0 kbps up/down).  What sometimes works: connection to some websites with acceptable speed - but sometimes I don't get a single byte. Also this is not reproducible - the same website sometimes shows up, sometimes android tells my the site was not available.  What never worked so far: connecting to Google Play Store. It always tells me to check my connection and try again.  What I tried so far: I read on problems with IPv6, but no matter if I enable or disable IPv6 in the settings of the virtual Wifi, it doesn't help.  I also read about problems related to static/dynamic IPs, my netsh interface ip show config tells my that dchp isn't enabled on my virtual Wifi connection. If I try to enable it by netsh interface ip set address "myWificonnection" dhcp the android phone won't even connect anymore to the virtual Wifi at all. So there may be a solution here if android would connect with dhcp enabled.  I also read about problems with MAC filters, but this is no router, there's no MAC filter in the virtual Wifi.  When I directly connect to a real WLAN router, everything is fine and working. I have the problems only when trying to get into the internet via the virtual Wifi.  Any ideas what may be configured wrong? Either on laptop or on android? Thanks. Why does the inverse of the Hilbert matrix have integer entries? Does metric signature affect the stress energy tensor? If one were to derive the stress-energy tensor for a metric with $(+,-,-,-)$ signature would it be different from the stress-energy tensor derived from the same metric but with $(-,+,+,+)$ signature? Is there a word in English to qualify the highest-ranked student in a class in a year?  We are talking here about higher education, especially in the context of curricula that keep a given set of students over the course of several years, being ranked at the end of each year, possibly with competitive admission for the following year. The ranking is a weighted average of all marks obtained over the year.  I am looking for a single word, or expression, to quickly designate the one student with the highest ranking. If there is no such thing in English, then let's try to get the most concise and idiomatic definition.  In all cases, it is not emotionally connoted, i.e. not pejorative nor bragging.  For French speakers: I am looking for the translation of “major de promotion”.    EDIT: additional, not as much of a pure “word request” question: is this anything you should mention on a curriculum vitæ in the English-speaking world? If so, please mention whether the given word is appropriate for such a use&nbsp;&nbsp;:) I tried to install crossover and after downloading the .deb from their website, I followed the steps as indicated when opening it with Ubuntu Software Centre:     On 64-bit flavors of Debian and some Ubuntu variants, first open a   terminal and run sudo dpkg --add-architecture i386 ; sudo apt-get update   Since I have Ubuntu 16.04 LTS 64 bit I perform the command.  But when copying and pasting that command into my terminal, it stopped at Fetched 535kb in 7sec and stalled there for about 20 minutes. I ended up  closing it and tried to run both commands separately but after doing the sudo apt-get update command it also stalls again after "Fetched XXKb in XXsec."  I restarted my computer and decided to run the software updater and it stays stuck at roughly 75% for hours. What is inertia of a body? The definition of  is  "Inertia is the resistance offered by the body whenever its state of motion is changed."   What is inertia of a body? Is inertia actually a force exerted by the body?  If so, then why is there no application of inertia in numerical problems involving application of force on a body? What is the actual application of inertia in theory? Matrix algebra: If $A^2=0$, Proof rank(A) $\le \frac{n}{2}$ How to launch a command on network connection/disconnection? I have a wifi connection that requires to authenticate using a web form once the wireless link is established. I know how to automate the authentication with a script that uses curl/.  But how can I ask Windows to call my script every time I connect to a particular network connection?  I would be also interested in receiving the name of the wireless profile or the ESSID on the command-line of my script. Assigning strings to arrays of characters I am a little surprised by the following.  Example 1:  char s[100] = "abcd"; // declare and initialize - WORKS   Example 2:  char s[100]; // declare s = "hello"; // initalize - DOESN'T WORK ('lvalue required' error)   I'm wondering why the second approach doesn't work. It seems natural that it should (it works with other data types)? Could someone explain me the logic behind this? How to reset the terminal properties and preferences? I fooled around with the colors and stuff, in the terminal, and now want to go back to the maroon and white default config of the the terminal. What files do I have to delete? What is the difference between 'tell' and 'say' adding hours in date time format java Why is quaternion algebra 4d and not 3d? Why is  quaternion algebra 4D and not 3D?  Complex algebra is 2D and what is known as quaternion algebra jumps to 4D.    $ i^2 = j^2 = k^2 = ijk = -1 $  Using $1, i, j,$ and $k$ as the base (where complex uses $1$ and $i$ (or $j$ if you are an EE)) which results in a 4-axis space.  Why is there no 3D algebra? Does someone knows if it exists some ppa packages source for the newest Ubuntu version 19.10 i had problem with that when i upgraded from Ubuntu 19.04 to 19.10 i didn't work? I'm wondering how to approach duct work, piping, and wiring? In the past, I have used the spin tool to make corners, but I find it very cumbersome. How do you do duct work and piping? I have seen people use curves, but I find it's hard to get straight 90 degree angles or just uniform angling across the whole model. It's also hard connecting piping together if they started from different locations. Here's some reference: Placing point over pixel with maximum value falling in grid overlay using QGIS Generating samples from singular Gaussian distribution Let random vector $x = (x_1,...,x_n)$ follow multivariate normal distribution with mean $m$ and covariance matrix $S$. If $S$ is symmetric and positive definite (which is the usual case) then one can generate random samples from $x$ by first sampling indepently $r_1,...,r_n$ from standard normal and then using formula $m + Lr$, where $L$ is the Cholesky lower factor so that $S=LL^T$ and $r = (r_1,...,r_n)^T$.  What about if one wants samples from singular Gaussian i.e. $S$ is still symmetric but not more positive definite (only positive semi-definite). We can assume also that the variances (diagonal elements of $S$) are strictly positive. Then some elements of $x$ must have linear relationship and the distribution actually lies in lower dimensional space with dimension $&lt;n$, right?  It is obvious that if e.g. $n=2, m = \begin{bmatrix} 0 \\ 0 \end{bmatrix}, S = \begin{bmatrix} 1 &amp; 1 \\ 1 &amp; 1\end{bmatrix}$ then one can generate $x_1 \sim N(0,1)$ and set $x_2=x_1$ since they are fully correlated. However, is there any good methods for generating samples for general case $n&gt;2$? I guess one needs first to be able identify the lower dimensional subspace, then move to that space where one will have valid covariance matrix, then sample from it and finally deduce the values for the linearly dependent variables from this lower-dimensional sample. But what is the best way to that in practice? Can someone point me to books or articles that deal with the topic; I could not find one. Can prematurely powering down a computer cause bad sectors in a hard drive? What does "preceding" mean in Oracle?