Recent Questions - Super User most recent 30 from superuser.com 2018-06-19T23:47:26Z http://asianhospital.com/?id=feeds http://www.creativecommons.org/licenses/by-sa/3.0/rdf http://asianhospital.com/?id=q/1332715 0 Why can't I open SQL Developer when I have Java 10 installed? Henry Yang http://asianhospital.com/?id=users/596404 2018-06-19T23:46:27Z 2018-06-19T23:46:27Z <p>In my Mac terminal:</p> <pre><code>$ javac -version javac 10.0.1 </code></pre> <p>I open SQL Developer and get this dialog:</p> <blockquote> <p>SQL Developer requires a minimum of Java 8. Java 8 can be downloaded from: <a href="http://www.oracle.com/technetwork/java/javase/downloads/" rel="nofollow noreferrer">http://www.oracle.com/technetwork/java/javase/downloads/</a></p> </blockquote> <p><a href="https://i.stack.imgur.com/5FkKN.png" rel="nofollow noreferrer">The dialog image</a></p> <p>How do I get SQL developer to work?</p> http://asianhospital.com/?id=q/1332714 -1 gitlab runner errors occasionally Bart http://asianhospital.com/?id=users/766975 2018-06-19T23:38:50Z 2018-06-19T23:38:50Z <p>I have gitlab setup with runners on dedicated VM machine (24GB 12 vCPUs and <strong>very low runner concurrency=6</strong>).</p> <p>Everything worked fine until I've added more Browser tests - 11 at the moment. These tests are in stage browser-test and start properly.</p> <p>My problem is that, it sometimes succeeds and sometimes <strong>not</strong>, with totally random errors.</p> <p>Sometimes it <strong>cannot resolve hos</strong>t, other times <strong>unable to find element on page</strong>..</p> <p>If I rerun these failed tests, all goes green.</p> <p>Anyone has an idea on what is going wrong here?</p> <p>BTW... I've checked, this dedicated VM is not overloaded...</p> http://asianhospital.com/?id=q/1332712 -1 Need to restart Ubuntu web server without applying updates *urgent* pcgben http://asianhospital.com/?id=users/854826 2018-06-19T23:08:38Z 2018-06-19T23:08:38Z <p>I have a web server which upon restarting fails to render our main site -I think this is to do with updates applied upon rebooting.</p> <p>Am I able to restart Ubuntu without applying updates?</p> http://asianhospital.com/?id=q/1332710 0 How to force Textmate to open file in New Window, always? Hanns http://asianhospital.com/?id=users/916109 2018-06-19T23:00:19Z 2018-06-19T23:00:19Z <p>How to force Textmate to always open file in a New Window without setting projectDirectory = $CWD... which kinda screws up project search.</p> <p>Yes, I'm willing to go as far as compiling my own build, but would love to know where that piece of code may be if there is no other option. No, I do not want to use another text editor.</p> http://asianhospital.com/?id=q/1332709 0 Setting up X11 forwarding over SSH on Windows 10 Subsystem for Linux? Cromulent http://asianhospital.com/?id=users/14405 2018-06-19T22:59:45Z 2018-06-19T22:59:45Z <p>I have a Raspberry Pi 3 Model B+ connected to my local network and I can SSH into it with no problems. This does cause some problems though as everything is done on the command line.</p> <p>What I would really like to do is use X11 forwarding by using the SSH client that comes with Windows Subsystem for Linux. I am running Windows 10 Pro with the 1803 update installed.</p> <p>I'm just curious about how I might go about using this feature? If it won't work in Windows 10 natively then I can always run a Linux virtual machine to connect to the Raspberry Pi.</p> http://asianhospital.com/?id=q/1332708 0 Can Fedora 28 be installed from an ISO file on an LVM partition? Skippy le Grand Gourou http://asianhospital.com/?id=users/127425 2018-06-19T22:43:04Z 2018-06-19T22:49:53Z <p>I am attempting a medialess installation of Fedora 28, using an ISO image stored on an LVM partition.</p> <p>After struggling for a while I found <a href="http://asianhospital.com/?id=a/1289853/127425">this post</a> which helped a lot, but I am now encountering the following error :</p> <blockquote> <p>dracut-initqueue; /sbin/iso-scan: line 35: rmdir: command not found</p> </blockquote> <p>From dracut emergency mode I can see this is triggered by </p> <pre><code>rmdir "/run/initramfs/isoscan" </code></pre> <p>(which is created at the beginning of the script).</p> <p>I guess I could comment this line, however I also found this warning on <a href="https://docs-old.fedoraproject.org/en-US/Fedora/20/html/Installation_Guide/s1-steps-hd-installs-x86.html" rel="nofollow noreferrer">F20 documentation</a> :</p> <blockquote> <p>You cannot use ISO files on partitions controlled by LVM (Logical Volume Management).</p> </blockquote> <p>I don't see this warning for more recent Fedora versions, though. Is it still accurate ?</p> http://asianhospital.com/?id=q/1332706 -1 Is there a technique or tool to create documentation for IT projects [on hold] kimo pryvt http://asianhospital.com/?id=users/456460 2018-06-19T22:34:14Z 2018-06-19T22:34:14Z <p>I am an it consultant and really hate to create documentation of the implementation projects it's time consuming and boring etc.... I know that the developers have self-documenting code but i haven’t found anything that help us the IT consultants to document the projects.</p> <p>Is there a technique, best practice or tool to create documentation for IT projects?</p> http://asianhospital.com/?id=q/1332704 0 How to tell if a USB external hard drive is spun down? Duncan Bayne http://asianhospital.com/?id=users/50973 2018-06-19T22:16:32Z 2018-06-19T22:35:24Z <p>I've built a 'ghetto RAID' from a Raspberry Pi, powered USB hub, and two cheap 2TiB USB hard drives:</p> <p><a href="https://i.stack.imgur.com/0Mr8I.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0Mr8I.jpg" alt="ghetto RAID"></a></p> <p>It actually works pretty well, but I'm concerned about how Raspbian Lite is handling power management of the USB drives. Specifically, whether the disks are spinning down correctly when not in use, or whether that's solely a device concern.</p> <p>Neither <code>lsusb</code> or <code>usb-devices</code> seems to provide information on drive status. Does anyone know how to obtain it? I'm imagining it may involve querying the device directly in some way.</p> http://asianhospital.com/?id=q/1332702 0 DNS TXT Record V-Server (Let's Encrypt Wildcard) Nimmi http://asianhospital.com/?id=users/916085 2018-06-19T22:12:06Z 2018-06-19T22:12:06Z <p>i recently switched from a web hosting packet to a v-server (Ubuntu 16.04LTS) and now i am trying to verify my domain to claim a let's encrypt wildcard certificate. To verify that the domain is mine i have to set a dns txt record on a specific subdomain. The problem is that my provider doesn't offer any way to configure dns entrys.</p> <p>Is there another way to get the dns entry done? I thought about running a local dns like bind9 on my v-server but i wasn't able to get it working.</p> <p>I don't know if this is important but my v-server has a SOA DNS Entry on the providers dns (<a href="http://strato.com" rel="nofollow noreferrer">Strato</a>)</p> <p>PS: I know i can use Plesk but i think thats a little bit to big for my taste.</p> http://asianhospital.com/?id=q/1332700 0 Access Database search by checklist user3606616 http://asianhospital.com/?id=users/916101 2018-06-19T22:04:12Z 2018-06-19T22:04:12Z <p>I have a form in Access Database and I would like to be able to select multiple values from a dropdown list and then get all results that match any of the selected values. Unfortunately, I can't find a way to create a multiple checkbox without using a lookup, and from that I can't figure out how to get the value of it. To me it seems like it's always returning null no matter what I have selected.</p> http://asianhospital.com/?id=q/1332698 0 Firefox ESR 52.8.0 Secure Connection Failed IdleImpala http://asianhospital.com/?id=users/916081 2018-06-19T21:50:06Z 2018-06-19T21:50:06Z <ul> <li>I've recently installed Debian Stretch from netinst with GNOME desktop.</li> <li>Clicking around on Github soon produces a "Secure Connection Failed. The connection to the server was reset while the page was loading." type error on Firefox 52.8.0 ESR.</li> <li>Upgraded Firefox to 60.0.1, seemed better, but after a while still received the same SCF error.</li> <li>Tried with Chromium, similar experience.</li> <li>Checked the Mozilla help pages, no success. </li> <li>Also, websites like khanacademy and wunderlist browser app are not loading at all, these could be related. Wunderlist is sometimes cycling between waiting for the website and performing a TLS handshake.</li> <li>Also, StackOverflow and SuperUser both notified me of too many requests.</li> <li>Another, possibly related browser experience is that a few days ago I wanted to download a file from a shared sharepoint directory, one of the browsers didn't load after I clicked download (FF), the other interestingly required a login which I didn't have (Chromium). Tried on my Windows computer, the download worked flawlessly, and it didn't ask for a login (I was not logged in to the site, this was a third party sharepoint site).</li> </ul> <p>Based on other threads my leads are TLS, SSL, HTTPS, NPAPI, or some active content management, Flash, Java, etc., but I'm no expert in any of these. I am guessing there are some packages I should have installed but I have no clue which.</p> <p>The only plugin I use on FF is AdBlock, my hardware is Intel NUC7i5BNH barebone.</p> <p>Apologies if this question is a duplicate I've yet to find a useful answer. This is the thread I believe is most related: <a href="http://asianhospital.com/?id=questions/1200417/secure-connection-failed">Secure Connection Failed</a>. Can someone please point me in the right direction?</p> http://asianhospital.com/?id=q/1332696 0 Distribute wifi to other building Farid http://asianhospital.com/?id=users/916097 2018-06-19T21:41:10Z 2018-06-19T22:15:14Z <p>I need distribute wifi from home (wifi antenna) to other building (smartphone).</p> <p>Path between buildings 200m, brick walls, line of sight, but smartphone inside the room.</p> <p>It is possible? And which model of wifi antenna i must set up?</p> http://asianhospital.com/?id=q/1332692 0 Do Excel UDFs update when you apply sort Fus Ro Dah http://asianhospital.com/?id=users/916091 2018-06-19T21:31:34Z 2018-06-19T23:29:15Z <p>As the question suggests, I'm seeing side effects (slowness) of the UDFs I've created when I apply a sort to my spreadsheet. I've created some UDFs in .NET and have deployed for testing. The function, behind the scenes, makes an API call then returns the data back to the cell. So I'm expecting some delay when I create the function to run initially. <em>BUT</em> I'm seeing some slowness in the application when I sort columns as if the UDFs are recalculating and calling the APIs. Is this normal behavior of the spreadsheet?</p> <p>My function does have cell references and looks like the following:</p> <pre><code>=wsStateMiles("ALKCUR",G45,K45,1,J45,$G$2) </code></pre> <p><a href="https://i.stack.imgur.com/TOrir.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TOrir.png" alt="enter image description here"></a></p> <p>When I remove the function, the spreadsheet sorts very quickly, as the first thing I tried to deduce was actual slowness of Microsoft Excel. </p> <p>(Additional info)</p> <p>This has nothing to do with the sort, but when I add additional UDFs, it almost seems like Excel is running so slow it's recalculating the entire spreadsheet's UDFs again. Again, is this normal behavior of Excel?</p> http://asianhospital.com/?id=q/1332690 0 Return temperature data in Google Sheets for a specific time of day for each day of the month KamikazeCricket http://asianhospital.com/?id=users/916089 2018-06-19T21:25:03Z 2018-06-19T22:38:21Z <p>I have a column for date and time formatted like so: [3/4/18 1:09] (verified that this is stored as date/time values), and a column for the temperature data at that time in °C like so: [11.536]</p> <p>There is a reading for every minute and over a month this adds up to over 40K entries.</p> <p>What I want to do is to make a separate column for the temperature readings for a specific time of day for each day of the month.</p> <p>So for example I want it to tell me the temperature for 9:00 AM for every day of March.</p> <p>I'm then going to compare these readings to the daily and monthly temperature averages.</p> <p>I would like to stick to using functions and not use pivot tables since I'm going to be doing some other things with this later.</p> http://asianhospital.com/?id=q/1332688 0 Changing the font of cross-references in a Word 2010 document Sam http://asianhospital.com/?id=users/738531 2018-06-19T21:14:30Z 2018-06-19T22:10:41Z <p>I have a very large word document (250 pages) with lots of cross-references inserted in the text (mainly tables and figures as Figure 2.1 or Table 4.3 etc).</p> <p>The main text of the document is set to Calibri 12. The font of the cross-references is coming up as Arial 12.</p> <p>I have too many cross-references to change them all manually. I have searched on Google to see if I can find style-set for the 'cross-referencing text' so I can change it to Calibri 12, but I am not having any luck.</p> <p>I need this done fairly soon for a thesis, I hope some can help me with this. I am using Word 2010.</p> http://asianhospital.com/?id=q/1332631 0 windows 10 Home errors with vb6 inet control on networked drive kpg http://asianhospital.com/?id=users/438600 2018-06-19T17:30:46Z 2018-06-19T23:01:29Z <p>Got a utility program I wrote many years ago in vb6 that uses the vb6 inet control to access a website to update itself. The update feature works fine on hundreds of machines running XP, win7, win8, win10, svr 2003, and others, installed on local and networked drives.</p> <p>There is however one new win 10 home machine where it does not work (the update, the program itself works fine) if the program in run from a networked drive. If run it from the c: drive it works, if copied to the networked f: drive I get the error 'Name not resolved', referring to the update site url.</p> <p>I turned off the MacAfee firewall with no effect. The program is digitally signed so it should be trusted. The url is working, and can be navigated to from IE and Chrome on the machine.</p> <p>The program was originally installed on the c: drive but an identical copy resides on the f: drive, and the program runs fine on the networked drive it just can't connect to the update site.</p> <p>Is this a security feature, if so how do I disable it, or is this a limitation of win 10 home (as opposed to professional).</p> <p>I know home has some limitations, like it does not support remote desktop (which is stupid IMO).</p> <p>How can I trouble shoot this problem?</p> <p>MORE INFO:</p> <p>So I uninstalled the program from c: with the intention of re-installing on networked f: to see it that has some effect. However, in the wise installer I cannot select a networked drive for installaion...only c: and cdrom d: are listed. Why can't it see the mapped drive letters?</p> <p>MORE:</p> <p>After reboot wise installer can see networked drives. Installing on network does not fix the problem. In addition to the vb6 inet control, API calls to wininet fail from exe on network but succeed from exe on local c: drive.</p> <p>SIMPLE PROBLEM RESTATEMENT:</p> <p>some.exe (32-bit) uses wininet.dll to connect to internet to post some data to <a href="http://myurl.com" rel="nofollow noreferrer">http://myurl.com</a>. some.exe is installed at c:\path\some.exe and also on a network share f:\path\some.exe.</p> <p>from cmd prompt:</p> <p>c:\path> some.exe (works)</p> <p>c:\path> f:\path\some.exe (fails with error 12007 name not resolved)</p> <p>f:\path> some.exe (fails with error 12007 name not resolved)</p> <p>f:\path> c:\path\some.exe (works)</p> <p>conclusion: if some.exe resides on a network share internet access is blocked.</p> <p>McAfee is uninstalled. Firewall is off. Internet security zones set to minimum. target url added as a trusted site.</p> http://asianhospital.com/?id=q/1332609 0 How to not group File Compare (Fc.exe) matches [on hold] Mark Dodsons http://asianhospital.com/?id=users/789128 2018-06-19T16:12:43Z 2018-06-19T22:00:58Z <p>In my example here:</p> <pre><code>Comparing mount and MOUNT2 ***** mount C:\WinPE_amd64\mount\Users\Public\Pictures C:\WinPE_amd64\mount\Users\Public\Videos ***** MOUNT2 C:\WinPE_amd64\mount\Users\Public\Pictures C:\WinPE_amd64\mount\Users\Public\Public Test C:\WinPE_amd64\mount\Users\Public\Videos ***** ***** mount C:\WinPE_amd64\mount\Windows\ITCMD\Logo.txt C:\WinPE_amd64\mount\Windows\Logs\CBS ***** MOUNT2 C:\WinPE_amd64\mount\Windows\ITCMD\Logo.txt C:\WinPE_amd64\mount\Windows\ITCMD\Second Help.txt C:\WinPE_amd64\mount\Windows\ITCMD\Second Logo - Copy.txt C:\WinPE_amd64\mount\Windows\Logs\CBS ***** ***** mount C:\WinPE_amd64\mount\Windows\Pale\Lib\Mozilla\Plugins C:\WinPE_amd64\mount\Windows\Pale\ReadMe\Acknowledgements.txt C:\WinPE_amd64\mount\Windows\Pale\ReadMe\Palemoon-Portable-license.txt ***** MOUNT2 C:\WinPE_amd64\mount\Windows\Pale\Lib\Mozilla\Plugins C:\WinPE_amd64\mount\Windows\Pale\ReadMe\Palemoon-Portable-license.txt </code></pre> <p>Desired Output:</p> <pre><code>Comparing mount and MOUNT2 ***** mount C:\WinPE_amd64\mount\Users\Public\Pictures C:\WinPE_amd64\mount\Users\Public\Videos ***** MOUNT2 C:\WinPE_amd64\mount\Users\Public\Pictures C:\WinPE_amd64\mount\Users\Public\Public Test C:\WinPE_amd64\mount\Users\Public\Videos ***** ***** mount C:\WinPE_amd64\mount\Windows\ITCMD\Logo.txt C:\WinPE_amd64\mount\Windows\Logs\CBS ***** MOUNT2 C:\WinPE_amd64\mount\Windows\ITCMD\Logo.txt C:\WinPE_amd64\mount\Windows\ITCMD\Second Help.txt C:\WinPE_amd64\mount\Windows\Logs\CBS ***** ***** mount C:\WinPE_amd64\mount\Windows\ITCMD\Logo.txt C:\WinPE_amd64\mount\Windows\Logs\CBS ***** MOUNT2 C:\WinPE_amd64\mount\Windows\ITCMD\Logo.txt C:\WinPE_amd64\mount\Windows\ITCMD\Second Logo - Copy.txt C:\WinPE_amd64\mount\Windows\Logs\CBS ***** ***** mount C:\WinPE_amd64\mount\Windows\Pale\Lib\Mozilla\Plugins C:\WinPE_amd64\mount\Windows\Pale\ReadMe\Acknowledgements.txt C:\WinPE_amd64\mount\Windows\Pale\ReadMe\Palemoon-Portable-license.txt ***** MOUNT2 C:\WinPE_amd64\mount\Windows\Pale\Lib\Mozilla\Plugins C:\WinPE_amd64\mount\Windows\Pale\ReadMe\Palemoon-Portable-license.txt </code></pre> <p>You can see that it groups the added lines "Second Help.txt" and "Second Logo - Copy.txt" together in the same difference. Is there any way I can have fc not do that? It ruins a 3,000 line script.</p> http://asianhospital.com/?id=q/1332479 0 Linux IP tables on Open-WRT: forwarding vs stateful packet filtering quaternioneer http://asianhospital.com/?id=users/915865 2018-06-19T07:07:19Z 2018-06-19T21:41:16Z <p>I followed the Unix and Linux System Administration Handbook, 5th edition's complete example for iptables. The stateful packet filtering has allowed me to print remotely on my MakerBot, but I could not connect to my home server via SSH today. The SysAdmin Handbook says that stateful packet filtering is the most powerful feature that Netfilter brings to firewalling, but that it may add unneeded complexity to a network. Hence, I will probably cut my losses with stateful packet filtering unless someone can cut the Gordian knot. </p> <p>IPtables -L -v output:</p> <pre><code>0 0 ACCEPT tcp -- any any anywhere icarus.lan tcp dpt:ssh 0 0 ACCEPT tcp -- any any anywhere icarus.lan tcp dpt:www 0 0 ACCEPT tcp -- any any anywhere icarus.lan tcp dpt:https </code></pre> <p>23M 21G ACCEPT all -- any any anywhere anywhere state RELATED,ESTABLISHED</p> <p>For some reason Open-WRT/LEDE resets my default INPUT policy to accept even after I set it to DROP. However, that rule does not seem match anything so I'm not too concerned. You can see above I have packet forwarding set for SSH but that rule is not matching anything. Thanks for your time and input.</p> http://asianhospital.com/?id=q/1332443 0 .NET Framework programs throws error 0xc000007b MaicoLinuX JJey http://asianhospital.com/?id=users/915809 2018-06-19T01:43:50Z 2018-06-19T21:51:18Z <p>When I run any .NET based program it throws the error 0xc000007b: </p> <p><a href="https://appuals-jvwu8xgofzysz.netdna-ssl.com/wp-content/uploads/2015/07/0xc00007b.jpg" rel="nofollow noreferrer"><img src="https://appuals-jvwu8xgofzysz.netdna-ssl.com/wp-content/uploads/2015/07/0xc00007b.jpg" alt="Error&#39;s screenshot"> </a></p> <p>Things that I've tried: </p> <p>Formatting &amp; Reinstalling: Works but after a short time period it occurs again.</p> <p>Other Windows versions: Windows XP, 8.1 and 10 - after a short time period throws the same error.</p> <p>System Restore: Same as formatting (fixed but fails again after some time). </p> <p>Disabling Microsoft .NET Framework 3.5 form optional features: Directly doesn't work.</p> <p>Uninstalling all .NET Frameworks with MS cleanup tool: Worse than before - trying to open any .NET app throws 0x00000145 (no .NET version found) error.</p> <p>Installing all .NET's one for one starting with 1.1 (on XP): Directly doesn't works.</p> <p>It's very annoying because I'm learning C# and with this error occurring, I can't develop anything that works for more than 10 minutes.</p> <p>I'm using Visual Studio 2010 Professional, and running any project says "The module was expected to contain an assembly manifest" but before, the project compiles &amp; works correctly.</p> <p>PD: I've installed the .NET Framework versions from 2.0 to 4.0, on Windows 7 x86.</p> http://asianhospital.com/?id=q/1332149 0 Can't get Grub to handle booting, Windows boot manager keeps taking control BrainRenticus http://asianhospital.com/?id=users/892097 2018-06-18T04:14:17Z 2018-06-19T22:10:08Z <p>I have Windows 8 and Liunx Mint installed and can only boot to Mint by overriding the boot order through the UEFI.</p> <p>I'm using an HP laptop that has a garbage firmware interface so I can't set it to boot by a specific OS on startup, only when I'm doing an override at boot. That at least would give me a temporary fix.</p> <p>I've disabled secure boot, turned off fast boot, ran boot repair, and used BCDedit to change the Windows boot device to grub64.efi. Also tried shimx64.efi. I set Grub to boot Mint by default as well.</p> <p>Can't find any other suggestions through Google. Any ideas?</p> http://asianhospital.com/?id=q/1326829 1 Non-monotonous DTS in output stream sana http://asianhospital.com/?id=users/900595 2018-05-29T10:57:44Z 2018-06-19T23:37:38Z <p>Summary of the bug: Hello, I've created a network with the mininet simulator on ubuntu 14.04lts. In this network, I want to transfer video between two hosts. I used vlc in Sender host and I used ffmpeg in Receiver host. When I run the ffmpeg, I get a lot of these errors:</p> <pre><code>[avi @ 0x66c1900] Non-monotonous DTS in output stream 0:1; previous: 3497, current: 3480; changing to 3498. This may result in incorrect timestamps in the output file. [avi @ 0x66c1900] Non-monotonous DTS in output stream 0:1; previous: 3498, current: 3481; changing to 3499. This may result in incorrect timestamps in the output file. [avi @ 0x66c1900] Non-monotonous DTS in output stream 0:1; previous: 3499, current: 3482; changing to 3500. This may result in incorrect timestamps in the output file. [avi @ 0x66c1900] Non-monotonous DTS in output stream 0:1; previous: 3500, current: 3483; changing to 3501. This may result in incorrect timestamps in the output file. [avi @ 0x66c1900] Non-monotonous DTS in output stream 0:1; previous: 3501, current: 3484; changing to 3502. This may result in incorrect timestamps in the output file. </code></pre> <p>Here is the command used:</p> <pre><code>ffmpeg -i rtsp://10.0.0.1:8554/test1.sdp -acodec copy -vcodec copy /home/sana/lab/mrp/test1.avi </code></pre> <p>version of ffmpeg is 4.0_static.</p> <p>I installed ffmpeg of <a href="https://johnvansickle.com/ffmpeg/" rel="nofollow noreferrer">https://johnvansickle.com/ffmpeg/</a> and install with installation instructions in <a href="https://www.johnvansickle.com/ffmpeg/faq/" rel="nofollow noreferrer">https://www.johnvansickle.com/ffmpeg/faq/</a></p> http://asianhospital.com/?id=q/1068865 3 Reading CPU model specific registers on linux Zwierzak http://asianhospital.com/?id=users/443020 2016-04-23T08:00:05Z 2018-06-19T22:33:45Z <p>I am running Ubuntu 15.10 but testes it also on Debian. I have Intel <strong>i5-5675C</strong> processor. I am using <strong>msr-tools-1.3</strong> to do it. I am able to read register <strong>0x00001a2</strong> with the following command:</p> <pre><code>rdmsr 0x00001a2 </code></pre> <p>It gives me some good output according to the datasheet. However I can't do anything handy with this value.</p> <p>I would like to read some model-specific registers from my CPU associated with temperature or voltage or something useful. Datasheet info:</p> <p><a href="http://www.intel.com/content/www/us/en/processors/core/desktop-5th-gen-core-family-datasheet-vol-1.html" rel="nofollow noreferrer">Datasheet Vol 1</a></p> <p><a href="http://www.intel.com/content/www/us/en/processors/core/desktop-5th-gen-core-family-datasheet-vol-2.html" rel="nofollow noreferrer">Datasheet Vol 2</a></p> <p>From datasheet Vol 2: <strong>5.2.52 IA32-IA32_THERM_STATUS</strong>, </p> <pre><code> rdmsr 0x000059c0 rdmsr: CPU 0 cannot read MSR 0x000059c0 </code></pre> <p>I get an error like this. I have tried running it on all 4 CPU cores and have enabled modprobe and files are present in <strong>/dev/cpu/{CPU_ID}/msr</strong>: </p> <pre><code>sudo modprobe msr </code></pre> <p>Here is strace output:</p> <pre><code>sudo strace rdmsr 0x59c0 execve("/usr/sbin/rdmsr", ["rdmsr", "0x59c0"], [/* 25 vars */]) = 0 brk(0) = 0x84d000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe87cb3f000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=92026, ...}) = 0 mmap(NULL, 92026, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fe87cb28000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0&gt;\0\1\0\0\0`\v\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1869392, ...}) = 0 mmap(NULL, 3972864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fe87c554000 mprotect(0x7fe87c714000, 2097152, PROT_NONE) = 0 mmap(0x7fe87c914000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c0000) = 0x7fe87c914000 mmap(0x7fe87c91a000, 16128, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fe87c91a000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe87cb27000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe87cb26000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe87cb25000 arch_prctl(ARCH_SET_FS, 0x7fe87cb26700) = 0 mprotect(0x7fe87c914000, 16384, PROT_READ) = 0 mprotect(0x602000, 4096, PROT_READ) = 0 mprotect(0x7fe87cb41000, 4096, PROT_READ) = 0 munmap(0x7fe87cb28000, 92026) = 0 open("/dev/cpu/0/msr", O_RDONLY) = 3 pread(3, 0x7ffcd2bddf78, 8, 22976) = -1 EIO (Input/output error) write(2, "rdmsr: CPU 0 cannot read MSR 0x0"..., 40rdmsr: CPU 0 cannot read MSR 0x000059c0 ) = 40 exit_group(4) = ? +++ exited with 4 +++ </code></pre> http://asianhospital.com/?id=q/984343 2 Remap Ctrl to Alt and keep Alt+Tab and Ctrl+Tab herkulano http://asianhospital.com/?id=users/158473 2015-10-09T12:28:39Z 2018-06-19T23:22:57Z <p>I'm using autohotkey to swap Ctrl and Alt</p> <pre><code>LAlt::LCtrl LCtrl::LAlt </code></pre> <p>This works great, but on top of this i want to keep Alt+Tab and Ctrl+Tab where they originally were.</p> <p>I've tried already a lot of different snippets of code, but none as really worked well so far.</p> <p>The closest i've got to a fully working solution, but only for the Alt+Tab and no Shift+Alt+Tab is <a href="https://stackoverflow.com/questions/18454895/using-auto-hotkey-to-swap-ctrl-alt-and-implement-ctrl-tab">https://stackoverflow.com/questions/18454895/using-auto-hotkey-to-swap-ctrl-alt-and-implement-ctrl-tab</a></p> http://asianhospital.com/?id=q/894302 12 How to unselect Excel Cell using Keyboard Shortcut? Yajli Maclo http://asianhospital.com/?id=users/300425 2015-03-26T15:10:31Z 2018-06-19T22:33:09Z <p>One can select multiple Excel cells (either contiguously or not) using the keyboard shortcut <kbd>Ctrl</KBD>+Click. </p> <p>How do you deselect one or more of these previously-selected cells?</p> http://asianhospital.com/?id=q/880711 0 Bios failed to detect USB Drive lttesp http://asianhospital.com/?id=users/421100 2015-02-21T07:55:55Z 2018-06-19T21:39:39Z <p>This is my Problem: </p> <p>Before my BIOS Update I can boot directly from my Pen drive by pressing F9 key to install Ubuntu. </p> <p>Now I cannot able to boot from my pendrive.<br> I have enabled Legacy Support and disabled Secure Boot.<br> But Boot Manager does not show any USB Drive Entry to boot. </p> <p>I have tried the following: </p> <ul> <li>Bios Restored to Old version. </li> <li>Created Bootable Live USB using Universal USB Installer. </li> </ul> <p>About Laptop: My Laptop Model is HP Pavilion 15 -e039tx<br> BIOS Version :Insyde F 23 </p> <p>Hiw do I resolve this issue?</p> http://asianhospital.com/?id=q/678670 2 Starting VLC via command line to play a video as desktop wallpaper Ian H http://asianhospital.com/?id=users/257211 2013-11-21T05:00:35Z 2018-06-19T23:35:34Z <p>I'm trying to create a batch script to start a video as a live wallpaper on startup. Right-clicking a playing video and selecting the "Set as wallpaper" option works fine, but attempting to run VLC with the following flags fails and only renders the video in the top left corner of the screen: </p> <pre><code>"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --fullscreen --no-video-title-show --no-embedded-video --no-qt-fs-controller --qt-start-minimized --qt-system-tray --video-wallpaper "D:\carrey.mpg" </code></pre> <p>Is this a bug in VLC or am I not formatting the command correctly? I've tried a few different versions of the command script, but the same thing happens each time. I'm on Windows 8.1 x64.</p> http://asianhospital.com/?id=q/633174 4 DD-WRT and Chromecast: default WLAN to LAN bridge blocks UDP? victoid http://asianhospital.com/?id=users/246364 2013-08-17T22:12:52Z 2018-06-19T23:35:34Z <p>I have DD-WRT running in gateway mode on a DIR-615 I1. I've updated to the newest available build.</p> <p>Chromecast is a wireless-only device, for those unfamiliar. The device has been set up and operates normally using wireless devices associated with the router, but wired ethernet devices cannot communicate with Chromecast. Specifically, the Chrome plugin says "No Cast Devices Found."</p> <p>AP Isolation is disabled.</p> <p>I have sniffed packets between a laptop via both wired and wireless connections and Chromecast, and this is what I've found:</p> <p>There are IGMP, TCP, UDP packets between Chromecast and a wireless interface on the laptop.</p> <p>There are IGMP and TCP, but zero UDP packets exchanged between Chromecast and a wired ethernet interface on the same laptop.</p> <p>Specifically, the wired interface does receive the following IGMP packet from the Chromecast:</p> <pre><code>1062 55.011807 192.168.1.145 239.255.255.250 IGMP 60 V2 Membership Report / Join group 239.255.255.250 </code></pre> <p>... which is also observable on the wireless interface. Some packets on the wired ethernet interface are marked as having a bad ipv4 header checksum (0x0000), but I've read this is artifactual due to checksum offloading on the NIC.</p> <p>Here is the (redacted) TCP stream observable on the wired interface:</p> <pre><code>GET /ssdp/device-desc.xml HTTP/1.1 Host: 192.168.1.145:8008 Connection: keep-alive Cache-Control: max-age=0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.49 Safari/537.36 DNT: 1 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8,fr;q=0.6 HTTP/1.1 200 OK Application-URL: http://192.168.1.145:8008/apps/ Content-Type: application/xml Content-Length: 1078 &lt;?xml version="1.0"?&gt; &lt;root xmlns="urn:schemas-upnp-org:device-1-0"&gt; &lt;specVersion&gt; &lt;major&gt;1&lt;/major&gt; &lt;minor&gt;0&lt;/minor&gt; &lt;/specVersion&gt; &lt;URLBase&gt;http://192.168.1.145:8008&lt;/URLBase&gt; &lt;device&gt; &lt;deviceType&gt;urn:dial-multiscreen-org:device:dial:1&lt;/deviceType&gt; &lt;friendlyName&gt;Bedroom TV&lt;/friendlyName&gt; &lt;manufacturer&gt;Google Inc.&lt;/manufacturer&gt; &lt;modelName&gt;Eureka Dongle&lt;/modelName&gt; &lt;UDN&gt;uuid:XXXXXXXXXXXXXXXXXXXXXXXXXXXXX&lt;/UDN&gt; &lt;iconList&gt; &lt;icon&gt; &lt;mimetype&gt;image/png&lt;/mimetype&gt; &lt;width&gt;98&lt;/width&gt; &lt;height&gt;55&lt;/height&gt; &lt;depth&gt;32&lt;/depth&gt; &lt;url&gt;/setup/icon.png&lt;/url&gt; &lt;/icon&gt; &lt;/iconList&gt; &lt;serviceList&gt; &lt;service&gt; &lt;serviceType&gt;urn:dial-multiscreen-org:service:dial:1&lt;/serviceType&gt; &lt;serviceId&gt;urn:dial-multiscreen-org:serviceId:dial&lt;/serviceId&gt; &lt;controlURL&gt;/ssdp/notfound&lt;/controlURL&gt; &lt;eventSubURL&gt;/ssdp/notfound&lt;/eventSubURL&gt; &lt;SCPDURL&gt;/ssdp/notfound&lt;/SCPDURL&gt; &lt;/service&gt; &lt;/serviceList&gt; &lt;/device&gt; &lt;/root&gt; </code></pre> <p>This is apparently not good enough for function, and the lack of UDP packets going in the ath0 --> eth1 (the WLAN and LAN interfaces on the DD-WRT router) direction is suspicious. Can anyone shed light on what may be happening? Bridge and route settings on the DD-WRT are all basically default.</p> http://asianhospital.com/?id=q/484257 5 Can I use different HP power adapters in one computer? ziga http://asianhospital.com/?id=users/163461 2012-10-06T14:05:12Z 2018-06-19T23:15:21Z <p>My old HP adapter burned out and it will take 2 weeks for me to get a new one. In the meantime, I borrowed a HP cable from a friend.</p> <p>Is it possible to use a different HP adapter in the mean time? The specs they have are a bit different.</p> <p>Old one:</p> <ul> <li>Input: 100-240V, 1.7A, 50-60Hz</li> <li>Output: 18.5V, 3.5A, 65W</li> </ul> <p>New one:</p> <ul> <li>Input: 100-240V, 1.5A, 50-60Hz</li> <li>Output: 19V, 4.74A, 90W</li> </ul> http://asianhospital.com/?id=q/400812 1 How do I revert back to official Linksys firmware from dd-wrt on WRT56G2 v1? Chris Moore http://asianhospital.com/?id=users/117307 2012-03-14T20:57:13Z 2018-06-19T22:33:45Z <p>I've been <a href="http://asianhospital.com/?id=q/399902/117307">having trouble with dd-wrt on my Linksys WRT56G2 v1 router</a> and want to go back to the <a href="http://homedownloads.cisco.com/downloads/firmware/FW_WRT54G2V1_1.0.04.005_US.bin" rel="nofollow noreferrer">stock Linksys firmware</a> for it. The router has only 2MB of flash memory, and so I'm running the 'micro' version of dd-wrt.</p> <p>My question is what is the best way to do that?</p> <ul> <li><p>I could use the <a href="http://router/Upgrade.asp" rel="nofollow noreferrer">http://router/Upgrade.asp</a> dd-wrt "firmware upgrade" web interface to do it, in which case there's a dropdown menu choice for "After flashing, reset to": "don't reset" or "reset to default settings". Which should I pick?</p></li> <li><p><a href="http://forums.techarena.in/networking-security/1430732.htm#post5422667" rel="nofollow noreferrer">Some people</a> say that I should use a program called <code>tftp.exe</code> instead. I can probably gain access to a Windows machine if this is necessary.</p></li> </ul> <p>Which of these is the way to proceed? I don't want to brick the router if at all possible!</p> <p>Note: I used the 'wrt54g' tag because I wasn't allowed to create a 'wrt54g2' tag due my low rep here.</p> http://asianhospital.com/?id=q/273330 3 How to add a new section to a numbered list in MS Word? kacalapy http://asianhospital.com/?id=users/58161 2011-04-20T17:15:45Z 2018-06-19T23:08:26Z <p>In Word how can I add a section into a numbered list?</p> <p>I have a large software requirements document that is organized using a numbered list, so I have a few paragraphs as 1, then maybe some sub-points as 1.1, 1.2, 1.3.</p> <p>I am having trouble where Word is starting a new number and not letting me edit into the current flow of the sequence.</p> <p>How can I add a new paragraph into a section such as this so that I can add a new paragraph in-between existing ones and have the rest re-numbered?</p>