I've been trying to get a ubuntu linux distro working on my computer the past day or two, and have everything working fine, except for my wireless card. I used the command  lspci -nn | grep 0280   and the response I got was   04:05.0 Network controller [0280]: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller [14e4:4318] (rev 02)   Anyone know why I'm fine with Wired connections, but Wireless doesn't even find my network?
I'm having serious problems installing the Broadcom drivers for Ubuntu. It worked perfectly on my previous version, but now, it is impossible.   What are the steps to install Broadcom wireless drivers for a BCM43xx card?  I'm a user with no advance knowledge in Linux, so I would need clear explanations on how to make, compile, etc.    lspci -vnn | grep Network showed:   Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b]      iwconfig showed:  lo        no wireless extensions. eth0      no wireless extensions.   NOTE: Answer below is updated every time new information is added and confirmed working.
Which countries require a 24-hour transit visa in China? I'm transiting through China in Kunming, China.  I'm a South African national and do NOT fall under the 72-hour visa free program. However on [their official (travelchina) website][1] it says:     Nationals of most countries are eligible for the 24-hour direct   transit, while a visa is needed for the passengers transiting on   Afghanistan, Azerbaijan, Iran, Iraq, Kazakhstan, Kyrgyzstan, Malaysia,   Nigeria, Oman, Pakistan, Saudi Arabia, Sri Lanka, Thailand, Turkey,   United Arab Emirates and Yemen passports.   I'm sorry if I'm missing this, but the above is rather badly worded for me does "nationals of most countries" include ALL countries except those mentioned in the list shown?  Also again sorry if I'm missing this but again it is rather badly worded for me. I will fly via Thailand to China and then via China to Canada with an 8-hour layover in China. I see Thailand is mentioned on the list. I have a Thailand residency permit where I currently reside... Would that affect me at all?  Also, any idea if I can exit the airport in China and come back under the 24-hour visa exemption (should I be exempt)?  Many thanks. Adding parentheses around subfig references Say I have a figure with two subfloats inserted using the subfig package.  When I reference them with \ref{myLabel} I get this     Figure 3.5a and 3.5b.     But what I want is this:     Figure 3.5(a) and 3.5(b).   How can I add the parentheses? I would like to be able to execute a SOQL query that will allow me to see which users have access to a certain record type for a certain object.  For example, if I have a case record type called Phone Team, I would like to make a query that returns the names of all the users that have been assigned the Phone Team record type, as can be seen in the native user interface in a profile's Object Settings page.  So far I have managed to get a query that can get the names of all the users that have, for example, read access to the case object:  SELECT Assignee.Name FROM PermissionSetAssignment      WHERE PermissionSetId IN          (SELECT ParentId FROM ObjectPermissions WHERE SObjectType = 'Case'               AND PermissionsRead = true AND Parent.IsOwnedByProfile = true)   However, there doesn't seem to be any way to access record type assignment in the same way that you can object permissions.  I see from  that the info can be obtained via the metadata API, but I would much prefer to do it by SOQL if possible.  Thanks Which configuration of armor enchantments gives maximum protection? After most recent kernel update (4.15.0-44-generic) my tablet freezes whenever plugged into docking station I performed the most recent kernel update on my Dell 5290 2-in-1 earlier today.  But moments after I plug it into its docking station, the screen flickers, blanks and freezes.  The only item left on the screen is the mouse pointer, and it is stuck.   If I leave the tablet not plugged in, it runs just fine.  It seems to be the docking station that triggers the freeze.  That said, I can log into the tablet via ssh even with the screen frozen.  So the system is still running.  But if I try to reboot the tablet via the reboot command, nothing appears to happen. sudo reboot -f will reboot the system, while sudo reboot will not.  Any ideas where I should start looking to identify this problem? Well today as I was going home I got a strange email, in my private inbox (email associated with S.O.) asking me if I had solved a question on S.O. that I didn't ask. To be more precise I had given an answer.   After reading:       and several other email related issues on S.O. I decided to let you all know about this because probably I am not the only one.   So the mail subject was:     Re: Deleted facebook account - Cannot access my apps?   which refers to   And the body (masked last name of sender):      Hi Jimmy,      Just wondering if you ever got this question answered.  If not, maybe   a brief chat with a html wizpert could help: link   .      Good luck getting this resolved!      Cheers,      Michael      ------------------------- Michael W%^%^GF Founder, CEO @ Wizpert   Now I know that my email address is not visible and I read about the MD5 regarding gravatar but I don't think this is the case. I thought about some methods and sure it's possible via metadata, github, etc for someone to get my mail, but I do not dare to think that this has reached an automated level, so that some service could easily get the email of S.O. members.   I didn't get annoyed by the message, since the CEO took the time to contact me :-p but someone else could get annoyed by these kinds of messages, since they come in the important inbox of gmail.   What is more strange is that Wizpert seems to be a nice site and also is active in the Careers 2.0 if I am not mistaken.   Another thing that crossed my mind is that since Wizpert needs unanswered questions to promote their services, possibly this is an action of Wizpert trying to attract people into their services.   Well that's it, I hope I did good to let you know (maybe I did't include the correct tags). Remove files with 0 length inside bash I want to create a bash script inside Linux terminal to go into a file and then delete it if it's empty:  #!/bin/bash echo " Enter name of a directory" read Dir for Directory in $( ls $HOME ) do    test -d $HOME/$dir   if [ $# -eq 0 ]   then      for filename in $( ls $HOME/$Dir )     do        test -d $HOME/$dir/$filename       if [ ! -s "$filename"  ]       then         rm $HOME/$dir/$filename       else          echo " not empty"       fi      done    else      echo " $Dir is not a directory"    fi  done   This is the code I am using but it does not work. It recognizes the file created but doesn't delete it even when empty. It Salah displays there is no such file or directory How do I prevent Apache from answering requests for domains I don't host? Why is the charge naming convention wrong? I recently came to know about the Conventional Current vs. Electron Flow issue. Doing some search I found that the reason for this is that Benjamin Franklin made a mistake when naming positive and negative charges. There is even this little comic about that   My question is, how can a naming convention be wrong? Perhaps I don't understand what is the actual mistake here, I don't know. But I don't see how a naming convention could be wrong or right. There is no right and wrong about that. It could've been any other name, like charge A and charge B.  I'll appreciate anyone can help me understand what is wrong in all this. I'm using an Android smartphone that I purchased Minecraft PE on; now I want to transfer my world to a iPhone. I have also purchased Minecraft PE on my iPhone. Downloading PlayOnLinux I'm downloading PlayOnLinux to run Paint Tool SAI, but I cannot open PlayOnLinux. When I click on it to open it, a dialog box comes up that says: "PlayOnLinux cannot find curl (from cURL) You need to install it to continue". How do I install this?   I'm referring to this article: Dual Canadian and British citizen - healthcare coverage in the UK? I want to know if I am entitled to medical assistance in the UK while visiting for 3 weeks in June. I am travelling on my Canadian passport since my UK one is outdated. Proving $f' = - \frac{\partial{F}/\partial{x}}{\partial{F}/\partial{y}}$ Finding $\tan t$ if $t=\sum\tan^{-1}(1/2t^2)$ I am solving this problem. If $$\sum\limits_{i=1}^{\infty} \tan^{-1}\biggl(\frac{1}{2i^{2}}\biggr)= t$$ then find the value of $\tan{t}$.   My solution is like the following: I can rewrite: \begin{align*} \tan^{-1}\biggl(\frac{1}{2i^{2}}\biggr) &amp; = \tan^{-1}\biggl[\frac{(2i+1) - (2i-1)}{1+(2i+1)\cdot (2i-1)}\biggr] \\\ &amp;= \tan^{-1}(2i+1) - \tan^{-1}(2i-1) \end{align*}  and when I take the summation the only term which remains is $-\tan^{-1}(1)$, from which I get the value of $\tan{t}$ as $-1$. But the answer appears to be $1$. Can anyone help me on this. I would like to revise the default new user registration form in Drupal 7. Rather than to requst "username", I want to request "full name" with helper instructions to enter the text "username is your full name as you would normally use it."  There may be some other minor formatting changes I would like to make as well.  I cannot find an admin menu item to access anything relating to this question. And I am unable to locate a file within any director that has any text that would indicate it is the source for the new user registration form.  I realize this is a bit unconventional, however it is useful for our needs. I am aware of a module that allows the input of First Name / Last Name, but in processing it changes the input to first initial/lastname, ie Tom Thumb = username of "tthumb". The module "Realname Registration" would be just what I am looking for if it would only translate the username the same as the input.   That wouldn't necessarily solve the other formatting edits, but I would be very happy just to be able to manually edit the registration form help text under the username field, instructing the new user to register using thier real name.  Thanks for any help that you can provide.  J.M. CLI path to ftp network connection I've setup a connectio to an FTP server in Nautilus / Nemo / Caja, the file manager. Now I can browse the contents via this file manager.  How can I browse these files via the command line? What is the path to this network connection? Is this possible, is this a system connection, or specific to the file manager, and do I have to setup a separate FTP connection to do that? If I open this connection in Caja, I see it in Nemo as well, so it seems like a system connection. How can I prove the Carmichael theorem I am trying to prove that these two definitions of Carmichael function are equivalent.  I am using this definition of Carmichael function:     $\lambda(n)$ is the smallest integer  such that $k^{\lambda(n)}\equiv1 \pmod n\,$ $\forall  k$ such that $\gcd(k,n)=1$.   to prove this one:     $\lambda(n) = \begin{cases}\phi(p^a) &amp; (p=2\text{ and }a\le 2)\text{ or }(p\ge 3)\\\dfrac 1 2 \phi{(2^a)}  &amp; a\ge 3\\ \text{lcm}\left((\lambda(p_1^{a_1}),\cdots,\lambda(p_k^{a_k})\right)&amp; \text{for }n=\prod_{i=1}^k p_i^{a_i} \end{cases}$   Since $a^{\lambda(n)}\equiv 1 \pmod n$,  and $a^{\lambda(m)}\equiv1 \pmod m$ with $\gcd(m,n)=1 \implies a^{\text{lcm}({\lambda(n)},\lambda(m)}\equiv1 \pmod {nm} $   Hence $\lambda (mn)=\text{lcm}(\lambda(n), \lambda(n))$ for $m$ and $n$ coprime to each other.  How can I prove the other relations? Set a global policy for floats positioning I have a document with many floats (figures, specifically).  I want to be able to change the global floats positioning policy from htbp to just h (or even H with the floats package).  For my-own reasons, I don't want to do this by appending the [h] argument to each float env.  One option that I can think of is using a macro:  \newcommand{\mypos}{h} % or htbp \begin{figure}[\mypos]...   I also prefer not to do that - It is cumbersome.  Is there a way to set the global float positioning argument globally? I have read this topic:   There, the issue is handling two different generations of PHP (PHP 4 vs PHP 5), but what I need is to make all but one of my server accounts work under 5.3 and just a single domain under 5.2.  I cannot make this through Apache models, and the answer from  does not apply since in my case I can't use a different port - this is a regular website  on the same server. In the magical world (in Harry Potter) can ghosts use magic?  Can magic be used on ghosts?  Or, once they become ghosts, can they interact with magic at all?