Skip to main content

Posts

Showing posts from April, 2017

windows - Software to act as sound card and transmit across network

Does anyone know if there exists any software to create a virtual sound card on one computer and send sound data across the network to another computer, where it also appears as a virtual sound card? What I'm looking for is something like this, in software, via the network: Computer 1 (Virtual Sound card) Computer 2 (Physical sound card) Mic <- Mic Line out -> Line out Computer 2's physical sound card would probably be linked to a virtual one that did the I/O over the network, I imagine. The reason I need a virtual sound card is so that I can set my voice application to use that sound device rather than my system's hardware sound device (ie, Audacity's playback and recording device selection). Both computers run Windows. Does this exist? I would prefer free software, if possible.

uac - Cannot activate .net 3.5 on Windows 8. Can't activate from control panel and never got an installation CD or iso with my computer to use DISM with

I've been trying for about a week now to activate .Net Framework 3.5 on my computer to no avail. I've been trying to activate it via 'Turn Windows Features On and Off' in the control panel as well as separate downloads, including one that was supposed to have all the .Net 3.5 files downloaded with it. I keep getting error code 0x800F0922. My computer came pre-installed with Windows 8 and all I received with it is a Windows 8 Restore disc (Which I don't believe contains 3.5 anyways) with which I have tried running DISM with for sources/sxs several times The progress fills to 100%, hangs there for a minute or two and then returns with 'No operation was completed' or some such. I get the exact same error as well. Here is a link to my CBS logs. One thing somebody else who was helping me pointed out was that the logs say I do not have presentationhost.exe, despite there being a copy of it and an accompanying .dll in System32 and SysWOW64. There are also a lot of

windows - How to fix the missing msvcp110.dll

I just turned on my computer and got an error from "explorer.exe" which says that msvcp110.dll is missing. Why that might happen, and how do I fix that? There are several sites that "provide" missing dlls, but I do not want to download any file, and especially dll file from any random site. Do you know how I can fix that? I have windows 8.1 64 bit and visual studio 2013 if that matters.

How to cut unwanted video parts and join the rest ones into one video using FFmpeg?

I have read about cutting and splicing using concat but this is not enough for me. I would like to cut marked video parts and join into single video file without re-encoding. Is it possible to cut and merge (in memory) in one go? There should be no theoretical limit on the number of video parts to cut or join. Audio should be in sync. Video: H.264+AAC Edit: From the answers I learned that video re-encoding is still needed. I would like to clarify that cutting video clips from the middle of a video file might be done in multiple steps. I was thinking that processing the video in one go would be performance wise by saving some I/O activity. However it is not an objective in itself. Answer Your question, if I got got it right, has four main parts: How to cut a time-segment from a movie How to merge several segments together How to do the above without transcoding the movie, hence not losing any quality How to do the above efficiently in terms of speed You can cut a segment by skipping

networking - How to configure router to give XBox top priority and the most bandwidth?

I have a "D-Link DIR-655 Extreme N" wireless router and an XBox 360 with the old-style wireless connection thing (usb attachment). I want to configure my router/network to give my XBox as much bandwidth as it wants, whenever it wants. I have tried giving the XBox a unique IP (within my network) and then tweaking the router to treat that IP as a top priority application (using the router's QOS stuff). Problem is whenever I turn off the XBox, I can't connect to the network the next time I start it up. It seems the only reliable setting in the XBox is to use "Automatic" for the IP settings within the Network Configuration area. Supposedly the D-Link ships with default settings that attempt to recognize a game console and give it top priority, but I've not seen good results (lots of stuttering/lag when someone else jumps online, etc).

google chrome - How to prevent JavaScript alerts that fire when leaving a page?

Lots of pages have alerts when you leave them: if you close tabs, navigate away without saving, etc, there are numerous reasons why a site would alert/block you from leaving until you confirm an alert, e.g. "Are you sure you want to navigate away from this page?". This is typically done with the onbeforeunload and/or onunload handlers. Here is an example. Is there any way that I can prevent alerts/user-blocking events generated by those handlers? Basically, I'd like to leave JS enabled, and specifically disallow things that would prevent me from leaving a page without an extra click from happening. onbeforeunload and onunload handlers should still fire; they just shouldn't be allowed to do things that block the user. That means no alerts, and no operations that take more than a few seconds. I've found a few plugins that edit/greasemonkey patch the javascript for particular pages, and played with their code a bit to try and make them more universally applicabl

Is Remoteusername same as ComputerNameusername or username in windows 7/xp?

Is there any difference if I log in as: username computername\username remote\username domainname\username something\username I want my computer to behave differently depending how I log in. Is there a simple way to recognize different login methods? Especially I want to restrict remote logins when someone else is logged in so the behavior should be changed before the logging in happens (a script on background checking login attempts perhaps?). This should work on win 7 and win xp (not necessary exactly the same). Relevant question: How to prevent remote desktop login when user is logged in locally? Answer You basically you only have the following options: LocalComputer\Username Domain\Username Name@DNSDomain (SPN login) In Windows 7, Windows by default assumes the domain the computer is joined in and adds the Domain\ part for you. This means it's again the second option. (I don't know what you mean with Remote\username or something\username ? Are these domains?) At the en

bash - Tab completion for command arguments fail in Cygwin due to `.exe` extension

Is there a configuration option in Cygwin so that when Bash completes the name of the command, the filename’s .exe suffix is ignored (not included)? Explanation of the problem When using tab completion in Bash on a Cygwin system to complete the name of a command, the .exe extension is appended to the command name, e.g, typing opens and pressing Tab completes the command to openssl.exe . The command runs fine (with MS Windows the .exe extension is optional when running a command) but the problem is that the _openssl() completion function provided by the bash-completion package is only configured to provide completions of arguments for openssl – not openssl.exe . For example: $ complete -p openssl openssl.exe complete -o default -F _openssl openssl bash: complete: openssl.exe: no completion specification The same issue exists when trying to complete arguments for all executable commands. I currently use Bash with Emacs mode configured for Readline editing so I can press Esc fol

linux - Creating ext4 partition from console

I have a volume /dev/sda1 (1.2 TB) containing an NTFS partition using 0.6 TB space. I want to make an ext4 partition in the remaining 0.6 TB space. I have not tried anything yet because I don't want to risk losing data if I hit a wrong command. (I cannot use gparted as I don't have GUI.) Can you provide me with the correct command, or at least the right parameters for mkfs.ext4 . root@rasp:~# fdisk -l /dev/sda Disk /dev/sda: 1500.3 GB, 1500299395072 bytes 255 heads, 63 sectors/track, 182401 cylinders, total 2930272256 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000303ee Device Boot Start End Blocks Id System /dev/sda1 2048 2930272255 1465135104 7 HPFS/NTFS/exFAT Answer First of all you need to create a partition, then you can make the filesystem. Create a new partition sudo fdisk /dev/sda This will bring up t

Right click context menu on Windows 7 start menu shows up but does nothing

I have a new Windows 7 box and I'm seeing some weird behaviour in the Start Menu. The menu itself looks fine: there are Recent Items and Pinned Items. If I left click on any item it opens as expected. If I right click on any item, I get a context menu. All good so far. The issue starts when I try to select anything in the context menu. Nothing works. If I try to select "Open" or "Run as administrator"... nothing. As I said, left click works just fine. One other thing is that some of the Recent Items have a right arrow next to them that let you open the program with additional context. For example, Excel lets you select to open recent files. Remote Desktop will let you open recent connections. None of this works for me, either. I left click on a Word document or Remote Desktop connection in this way and it appears to just ignore me. I should also mention that this is only a problem in this initial view of the Start Menu. If I click "All Programs" to get

windows - My First Virtual Machine

I'd like to create a situation where a standard MS development stack is wholly contained within in a VM such that I can share (via USB enclosure) the identical development environment between main desktop, laptop and backup desktop (all win7 boxes). Ideally I'd like to create the VM image from the existing install on my desktop - i'd like to avoid re-installing everything from scratch. To be honest, it seems unlikely that services so deeply ingrained in the OS can be lifted and transferred to create a stable working environment but a guy can dream. So, if this _is a realistic expectation, what's my first step? What's the best VM app to look at? I don't have to stay on the free-ware side of the street but this is a one-off installation and funds are out of personal, not corporate pocket. Answer First off, to convert a physical machine to virtual is a process known as P2V (Physical to Virtual) . I would recommend you go with VMWare - You can use VMWare Player f

firefox - In between multiple tabs, how to use Vimperator to open a tab right after the current one

My tabs: [1] [2] [3] [4] [ 5 ] [6] [7] [8] [9] Scenario I am working on the 5th tab on Firefox and looking for a way to open a tab between 5th and 6th and not after 9th which would be done by t or o I do lots of research and while its going I tend to keep multiple (numinous) tabs open and sometimes I tend to keep the related ones close to each-other temporarily. In-case you were wondering why . Answer The following code defines a command to open an URL in a tab next to the current tab. You can place it in your .vimperatorrc file or save it as a separate file and source it in .vimperatorrc . " Defines commands to open new tab to right of current tab " Example keybinding: xt nmap xt :newtabright command! newtabright -nargs=1 -description "Open new tab to right of current tab" :js newTabRight(" "); :js < function newTabRight(args) { var origOrd = gBrowser.selectedTab._tPos; var numTabs = tabs.count; liberator.open(args, liberator.NEW_TA

windows - How do I watch or stream movies over WiFi without constant stuttering?

I've got a bunch of movies on my desktop. Each one is around 700MB long, so for an average movie this is around 128 kb/s. My WiFi is capable of transferring the movies at an average speed of 1 MB/s, sometimes 1.5 MB/s. However, if I try to watch a movie directly from the mapped network drive, it stutters all the time. Watching a traffic monitor I can see that both Windows Media Player and Zoom Player do something that is entirely incompatible with WiFi - they load a bunch of bytes, buffering up to about 10 seconds' worth, and then show the 10 seconds of video. Only when the buffer has nearly run out do they try to read the next chunk. So they leave themselves 1 second to read the next 10 seconds' worth. WiFi isn't fast enough to let them do that. Any ideas on how to fix this? Perhaps a video player that's a bit smarter than this? Or a network drive mapper that proactively buffers a specified amount of data any time a program performs a read? Answer You could try u

power supply - My laptop has a three prong grounded plug. Does it need the ground pin?

I recently bought a minivan that has 110V power outlets. I'd like to use my laptop in the van sometimes (not as the driver, of course), but my laptop has a three prong grounded plug, and the outlet is two prong. What problems might I experience if I use a cheater plug (three prong to two prong adapter)? Why does a laptop need earth ground? Answer You wouldn't experience any problems except in the rare case that your laptop has an internal short from a live power line conductor to an exposed metal part of the laptop. The ground plug is purely for safety and has no effect on the proper operation of an electrical appliance. It accomplishes two things. First, it assures that the plug is inserted with the proper orientation so that the hot wire of the socket is connected in a predictable way to the appliance. Second, the safety ground wire is typically used in appliances that have a conductive case and the case is connected to the safety ground. If a short circuit were to occur

Intel Rapid Storage Manager has no Accelerate tab. How can I fix it?

System Report System Information OS name: Microsoft Windows 7 Ultimate OS version: 6.1.7601 Service Pack 1 7601 System name: NP530U3C System manufacturer: SAMSUNG ELECTRONICS CO., LTD. System model: 530U3C/530U4C Processor: GenuineIntel Intel64 Family 6 Model 58 Stepping 9 1,701 GHz BIOS: Phoenix Technologies Ltd., P08AAJ Intel® Rapid Storage Technology Kit installed: 11.0.0.1032 User interface version: 11.0.0.1032 Language: English (United States) Intel AHCI controller: Intel(R) 7 Series Chipset Family SATA AHCI Controller Number of SATA ports: 2 Driver version: 11.0.0.1032 ISDI version: 11.0.0.1032 Hardware Information Disk on port 0 Port location: Internal Status: Normal Type: Hard disk Size: 466 GB Serial number: Model: Hitachi HTS545050A7E380 Firmware: GG2OA6C0 System disk: Yes Password protected: No Disk data cache: Enabled Native command queuing: Yes SATA transfer rate: 3 Gb/s Physical sector size: 4096 Bytes Logical sector size: 512 Bytes Disk on

Remove search from address bar from Firefox

Lately my cursor has been jumping from a site I'm typing on up to the address bar to begin a search. It never used to do this. Is there a way to disable search from the address bar. It's very annoying to be in the middle of typing something only to find it all typed up in the address bar.

My computer won't POST when I install my new video card

My current Windows 7 32-bit system won't POST when I install my new Radeon HD5770 video card. When I pull out my new video card and replace it with my old nVidia 8800 GTS, it boots into windows fine. When my computer fails to POST with the new video card installed, my MSI K8N Neo2 motherboard hangs with a status code of "60" on the diagnostic LED, but I can't find my mobo manual online or anywhere that contains the list of status codes and their definitions to see what that code means. Any ideas? Other notes, the new video card says it supports PCI-Express 2.1, but my motherboard doesn't, not sure if that matters. Thanks in advance for all your help! I'm going to begin researching this problem right now, but I thought I'd post this quick question in the meantime just to give me a boost. Answer Does the new video card work in another system? Is there an extra power-supply cable you're forgetting to connect (eg a 75W 6-pin PCIe connector)? Is your powe

panorama - What is the best photo stitching software available?

Possible Duplicate: Open source Panorama maker for windows I've been taking a load of shots with my Canon 400D recently with the intention of stitching them together to create some nice big panoramic photos. I've had a few tries at this before using various different bits of software and none of them seem to be without their faults (most produce peculiar errors on at least some series of shots and some require more interaction than others). So far I've tried: It doesn't have to be free if it gives good results every time. What software does everyone else use / recommend for this?

Screen vs. socat

There is already a question: Screen fails to release pty and there is no answer (only a workaround has been provided so far). My case is different and I would like to know the answer to the original question. So, why does socat (even recent version 1.7.3.0) ignore the screen when the last closes the pipe? Answer The answer is very simple at the end. We have to use open('/dev/ptmx') instead of old openpty() mechanism.

worksheet function - Excel formula to get the penultimate value in a row

Imagine I have a row of data in excel, like this: [A] [B] [C] [D] [E] [F] [G] [H] [1] Data 5 8 12 32 15 9 89 I want a formula that will return the value 9 . Then, if I add a new value to I1 , it should update to return the value 89 , which would be the new penultimate value. Ideally this should work on arbitrary ranges, not just entire rows. Optional bonus points if the method can return an arbitrary offset from the end of the row (say to return the 5th from last item). Answer This works with both text and numbers and also doesn't care if there are blank cells, i.e., it will return the 2nd to last non-blank cell. It needs to be array-entered, meaning that you press ctrl-shft-enter after you type or paste it in. Adjust the last argument to change the offset: =INDEX(1:1,LARGE((1:1<>"")*(COLUMN(1:1)),2))

boot - Bootrec freezes - Do I need to reinstall?

Today I went to boot my server only to notice the message we all dread and fear: NTLDR is missing I booted to the Server 2008 Recovery Console (or whatever its real name is), and issued this command: bootrec / fixmbr    The operation completed successfully. bootrec /fixboot    Element not found. bootrec /scanos    Scanning all disks for Windows installations.    Please wait, since this may take a while... I've been please-waiting for about two hours now in preparation to run /rebuildbcd (Which I tried before and also gave up after 3 hours). Do I need to reinstall my OS? This is a fresh install of Server 2008 on a brand-new Velociraptor . Note I didn't put this on Serverfault because it's a personal system, not enterprisey stuff. Answer Was able to fix. It wasn't frozen, just had to wait several hours, possibly related to there being 10 physical disks on two distinct controllers. Was able to fix with a few bootrec and diskpart commands.

video - How to capture first X frames every X seconds into a PNG with FFmpeg?

I am new to using the command line. It is pretty cool and exciting to learn, but I am stuck. I have a video where, for example, I want to capture the first 8 frames every 5 seconds into an image. I've written this command: ffmpeg -i video.mp4 -vf fps=8/20 out%04d.png I see it captures 8 frames every 20 seconds, and not the first 8 frames. Is there a way I could specify this in the command?

windows 7 - Change screen resolution while in safe mode for normal mode

A screen of mine burnt out, and was replaced with a screen of lower resolution. It works in safe mode as that is in 800x600 resolution, but when I try to boot to normal mode, it fails. Is there a way to change the resolution for normal mode in safe mode? Answer Once you're in Safe Mode, try setting the resolution to 800x600. That should persist once you boot into normal mode.

grub - Run Windows from USB Disk

I have an internal hard drive with Windows 7. Usually, it's in my desktop computer, but I now want to run it from my laptop, as well. (The laptop is a dual boot Windows 7, Ubuntu machine.) When I connect the drive via USB to my laptop and boot from it, execution fails consistently in the middle of the Windows 7 icon animation before showing the log-in screen. Do you know why this would be and how to fix it?

linux - How to move files to specific folders based on CSV entries?

I have a CSV file, comma delineated. I need to move the file, listed in column 3 into the folder listed in column 12. I output both columns to different text files using: awk -F ',' '{print $3}' /Users/amermels/Documents/MERGED/Sling\ Manifest\ 2-17-2017.csv > ../files.txt awk -F ',' '{print $12}' /Users/amermels/Documents/MERGED/Sling\ Manifest\ 2-17-2017.csv > ../dates.txt Then I tried: for IX in 'ls' ; do mv -i `cat ../files.txt` `cat ../dates.txt` ; done But it just doesn't work that way. I'm sure this would be simple if I was more than a novice, but I just can't figure this out. Example: 192543,FYI,BuyingTheView_SunsetCondoToronto_192543_SLING.xml,1_27_17 16:32,"2,299",,Yes,2017-01-30,2017-03-05,1_30_17,3_5_17 BuyingTheView_SunsetCondoToronto_192543_SLING.xml is the file and 3_5_17 is the folder. NOTE : I used single quote ' instead of tick in my post due to the formatting of the page.

pci express - Can I turn a PCI-e x1 slot into an old PCI slot?

Is it possible to convert a PCI-e x1 slot into an old PCI slot? If so, how? Answer Well after a little digging around (which I guess i should have done first) the truth of the matter is, yes, there actually are. There are little cards that you can slip into the PCI-e x1 slot to convert it to a PCI slot. Why would anyone want to do this you ask? well, many companies still make products intended for PCI slots, not PCI-e. It was the graphics card companies that lead the rush twords PCI-e (and for some very valid reasons). However, new interfaces take time to get accepted, besides, if an old standard works perfectly fine, development of the product to switch to a new standard would be extra costs. Unfortunately most computer motherboard manufacturers seem to want to follow the rush twords new technology even when older technology still works fine. What i don't understand is why do computer motherboard manufactures even put PCI-e x1 card slots in their systems. At the moment, the only

networking - Why I can still access modem GUI when it is bridged?

I am talking about ISP Modem that means it is a modem/router/switch combo. When I am not bridging I understand the diagram as such, The router receive the ISP IP address and route to internal network 192.168.1.0/24 . In this case HostA can easily access router GUI via 192.168.1.1 . I can't picture what happened during the bridged mode and how HostA can still access 192.168.1.1? I understand that when bridging, it behaves simply like a tunnel so the ip address should "flow" through the port right? Please help me picture the basic network topology of modem/router/switch combo under bridged mode.

reboot - Ubuntu restarts randomly

Since I updated to 11.04 my Computer seems to restart randomly. The screen goes black, sometimes it comes back If I move the mouse or press a key on the keyboard (but maybe that was just coincidence) but most of the time the screen stays black for about 15 seconds and after that I see the spash screen of my BIOS and the computer is restarting. It seems to only happen when I am not using the computer directly (manipulating mouse or keyboard). So most of the time I will come back to the computer and it will just present the login-screen or the screen will go black while I am watching a video, listening to music etc. I am using Ubuntu Classic without effects with the proprietary nVidia drivers.

macos - Restore OS X Keychain

I have reset my OS X Lion Keychain by mistake. Is there any way to restore the Keychain content from Trash? I'm asking this because I do find a Keychain Access icon in the Trash Bin. It would be a big help since the reset seems to have wiped out all the certificates. Answer The Library folder where your keychains are stored is hidden by default. First, quit Keychain Access.app. Open Finder and press Shift Cmd G, then enter ~/Library/Keychains . Here, rename the existing default file, and drag your original file back from the Trash. Restart Keychain Access and you should see your old one restored.

windows 7 - Automatically prefer Ethernet over WLAN

Is is possible to force IP connections over the wired ethernet if it is connected and over wireless LAN if the wired ethernet is unavailabe (e.g. cable disconnected). Both network connections would be part of the same subnet. Answer You can set your laptop to "prefer" the Ethernet connection over the wireless. TechNet has a quick overview: The short answer is that Windows (Vista, 7, 2008, and I’m pretty sure XP and 2003 does as well) [or should do] this by default. The key here is the network interface metric. When you have more than one default gateway defined [...] then the internet bound packets go out the interface with the lowest metric. [...] You can, of course, permanently alter your metrics by editing your TCP/IP settings on your network adapter’s advanced settings. [...] You should know that Vista made a change to how we handle existing sockets – after plugging in, connections will not be switched over, you must re-establish the connection in order to make use of

computer building - What is Chassis ID LED on motherboard?

I'm a little confused about the purpose of the ID LED (Chassis ID LED, page 99 in the manual for the S5520UR motherboard ). The manual states this about the ID LED: The chassis ID LED provides a visual indication of a system being serviced. The state of the chassis ID LED is affected by the following: Toggled by the chassis ID button Controlled by the Chassis Identify command (IPMI) Controlled by the Chassis Identify LED command (OEM) And that a 1Hz blink for the ID LED means that the state of the system is "Identify active via command." I don't understand what this means and I haven't been able to find anything online about "ID LEDs." (Original question edited because more than one question being asked.) Answer The Chassis ID light is there to make it easy for you to identify which of the many server boards in a rack is the server you want to find. You mash the button, go around to the back of the rack, and the blinking light shows which is the server

windows - Can't activate dynamic disk

For some reason I can't activate a dynamic disk connected to my PC via a USB hard disk enclosure. It has activated previously without any problems. When I check the event logs, I get this message every time I try to activate the disk: dmio: Harddisk2 write error at block 2930277167: status 0xc0000015

windows 7 - Intel® Core™2 Duo Processor E4300 - Is it a 64 Bit Processor?

I have a PC with an Intel® Core™2 Duo Processor E4300 - I ran CPU-ID on it, and here are the results: Is this capable of running Windows 64-bit? Answer Yes, all Core 2 Duo chips are 64-bit capable, that is includes the EM64T feature. Of course, if your running a 32-bit OS then it'll be no different then a 32-bit chip, but if you put a 64-bit OS on your system the Core 2 Duo chips will handle it properly. So yes it is capable of running 64-bit Windows. however please note; Intel® EM64T requires a computer system with a processor, chipset, BIOS, operating system, device drivers and applications enabled for Intel EM64T. Processor will not operate (including 32-bit operation) without an Intel EM64T-enabled BIOS. Performance will vary depending on your hardware and software configurations. http://processorfinder.intel.com/details.aspx?sSpec=SL9TB

unix - How can I get diff to show only added and deleted lines

How can I get the unix command diff show only added and deleted lines? If diff can't do it, what tool can? Answer I'm not sure this is possible as it will be hard to differentiate between changed, added and deleted lines. Consider this file: start old old old end We edit it so it looks like this: start old old but now new new new end If we diff it we get this output: < old < old --- > old but now new > new > new This is straightforward to generate. But if you ask diff to only print added and deleted line I think it becomes a matter of opinion which lines have been added and deleted and which have been changed. For example, did I delete the the last line that said old and replace it with a line that said new or did I edit it?

networking - Interpreting the 'metric' column in routing table

I'm a little confused about the output I'm seeing in my routing table, particularly the 'metric' column: $ route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0 172.16.35.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet1 192.168.0.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0 192.168.82.0 0.0.0.0 255.255.255.0 U 0 0 0 vmnet8 According to the man page, metric indicates the 'distance' to the target. I was a little confused about what exactly "target" was. I assumed it was my router (it goes to gateway 0.0.0.0, which then goes to my router at 192.168.0.1). Thus, I expected the metric to be a single hop to my router. However, it's 9! Why is this so number high?

tcp - How to prove provider is blocking incoming traffic on some ports?

I hope this is not too much focused on home networks, because that's where I hit the problem, but I think it may be of general interest nonetheless. I have a cable connection (Cisco EPC3208) and a NAS (Synology DS413). Basically, I have problems setting up the samba share for access from the internet, but I found out the problem is much more general. So suppose I want to set up an SSH server on the NAS and I can chose the port freely. If I connect the NAS to a router, I can use any port and the SSH server will be seen under that port within my local network. Now, having connected the NAS to the cable modem, I am not able to connect to the SSH server if it is running on one of the ports 135, 137, 139, 445, 3127 and 9898. All other ports that I tested, including 134, 136, 138, 140, 444, 446, 3126, 3128, 9897 and 9899, these all work. I could confirm this from three remote locations, work, university and 3G, as well as using an external port scanner [1]. The NAS firewall is off. So I

networking - routing to a computer on a switch behind a router?

Here is the setup: Cable Modem -> Vonage "Router" (not really sure if it is a full router or not) -> Linksys Router -> Netgear Switch -> PC When I had the PC connected directly to the router I could route to it just fine. When I put it behind the switch I no longer can. Pardon my obvious lack of knowledge on this, but is there some way to route to the PC behind the switch or do I have to reconfigure the network somehow (eg: replace the switch with another router, reconnect it directly to the router, etc.) If specific model names\values are needed I can provide them, but I believe this to be a general topic. UPDATE #1 I completely removed the vonage device and I switched the PC to non-static ip, yet, I can not even connect to the local ip address from anywhere on the LAN. I am beginning to think it is a firewall or anti-virus problem. EDIT #1 By "route to it" (the PC in question) I mean access ports running on said PC remotely. eg: port 80, 22, etc. EDIT

macos - Getting console message: ipc_kmsg_copyout_header: can't grow user ipc space. Any Mac OS X kernel gurus in here?

Ever since upgrading from Mac OS X 10.6.5 to 10.6.7, my computer has started locking up frequently (usually at least once every couple of days). I will get the spinning pinwheel and the system will become non-responsive (both gui and ssh, etc). This state will last indefinitely, requiring a forced restart. It will enter this irrecoverable spin when I am actively using the computer or even in my absence, "idle" for hours or days. This is not a kernel panic. Upon restarting, I check the console logs to see what might be wrong. In every single case, there is always the same message that appears right before the beginning of the system startup messages. It reads something like: 2011/6/06 9:41:51 AM kernel ipc_kmsg_copyout_header: can't grow user ipc space with, of course, the date and time of the last instance that the computer was responsive. Nothing else unusual appears before this message. Just standard console stuff. Googling this message, I only came across where this m

networking - Is my network card faulty?

The network connectivity in my main windows 7 desktop machine is unstable. When logging on it takes time to "warm up" and connect to the network and after that frequently times out or is unable to reach other parts of the network or internet. Other computers on the network do not have this problem. So I'm trying to troubleshoot what is wrong with this PC. My immediate thought is that it's the network card. How can I determine that this is the case before I go out and buy a replacement? The current network card is built into the motherboard.

networking - Block ARP requests (or broadcast message, if possible) from A SPECIFIC HOST in a subnet

My ISP provide username-password for authentication and also register the client's MAC address for authentication. I am concerned about someone misusing my connection while I am not using it. Usernames are easy to guess (clients can't change usernames, only passwords can be changed) and if anyone finds MAC address and password, they can use my connection. Now, the ISP don't use private VLAN, so MAC addresses are easy to get. A simple ARP broadcast requests from a host within my subnet will reveal my MAC and I am not relying on password because the authentication page doesn't use HTTPS. So, my passwords are sent in plain text. In this scenario, I want to block/drop/reject ARP request (or any broadcast requests) from any host within my subnet but the gateway. I have looked this question and this question but the OP tried to block all ARP requests. Of course, this is a bad idea because then I won't get any internet traffic from the gateway. I just want to block ARP r

security - How to stop Internet Explorer from blocking ActiveX controls on local files

Often, when I open HTML files on my C drive with Internet Explorer, I get a message saying that IE has blocked some ActiveX controls in the page. I then have to click a button to see the page. How can I cancel this "feature"? I tried to go to Internet Properties -> Security -> Local Intranet and change the security settings to "low", but it didn't help. Answer Seems like IE is ignoring you! So, I guess we can try and force it. In Internet Options, on the intranet tab, click Custom level Over half way down this list, there is an option called Launching applictions and unsafe files (not secure obviously but may help). About 1/3 down are: Only allow approved domains to use ActiveX without prompt Download unsigned activeX controls Under Active scripting, disable, enable or prompt as you like. In Internet Options, click on the Advanced tab Scroll down to the bottom to the security tab. In here, you can allow active content to run files on My Computer. You cou

remote desktop - Change Windows password when in multiple RDP

I run a VM on my local PC to sandbox a VPN connection, I then RDP from this VM into the PC I use for work. I need to change the password but CTRL+ALT+END brings up the menu for the 1st VM. How can I change the password (and access the CTRL+ALT-DEL menu) when in such a 'recursive' RDP scenario? Answer Open "On screen keyboard" (osk.exe) Send Ctrl + Alt + Del by mouse-clicking each on key individually, in the most nested RDP session. If that does not work try holding Ctrl+Alt on your keyboard and clicking Del in OSK in the the RDP session

networking - How to test whether a router supports NAT loopback?

I've been unable to find much information on whether my router (Linksys EA4500) supports NAT loopback, so I'd like to perform a test to tell me whether accessing my external ip address from within the network actually goes out to the internet and back or if the router is smart enough to keep the traffic local. Perhaps severing the connection between the router and modem or modem and wall would work, but I don't don't have physical access to the network at the moment. Running traceroute external-ip-address from within the network (over an ssh session) only shows one entry in the output (the external ip address). Running it from outside the network shows a bunch of entries, but I'm not entirely sure what all this is telling me. Is traceroute the correct way to find what I'm looking for or is there a better way to test it? Answer You have a misunderstanding of NAT loopback. There is no mechanism for successful external ("out to the Internet and back")

windows 8 - Dot instead of comma on numerical keyboard

Using polish language on Windows 8.1, comma is the default decimal seperator on numerical keyboard. Is there a way to change it to dot? I wouldn't like to change it in Excel or some other program, but permanently rebind that key to dot . Can I do that? Answer I found it! It took "only" 2 years. I used Keyboard Layout Manager (unfortunately the website is down). After installing (run as admin!) click New , select new name, your language and your current layout as template. Then just change , on numpad to . and confirm with Ok . In my case I removed the old layout from keyboards list, so only the new one remained. After this, the language bar dissappeared. But after logout/login it reappeared again and... everything worked as expected! Yay! Also, no DLL for your new layout is generated so it only works locally on any given computer, it's not a portable solution. There is also a registration fee for this software, but a freeware version can handle dot/comma substitu

cpu - Why is the Core i5 5300u rated better than the i7 5600u?

I just purchased a new x1 Carbon with all the bells and whistles. I got a Core i7-5600u which I really thought would be the better chipset to get. But now I'm looking at some benchmarks and the i5-5300u seems to outperform the i7 on every site. Now I understand that these benchmark softwares can't perfectly gauge the power of a chip but why is there a common advantage for the i5? Even though the i7 has a higher GHz rating it keeps scoring lower. Is there a technical reason or are the benchmark software created in such a way that it favors the current i5 architecture? Here's two links: http://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i5-5300U+%40+2.30GHz&id=2459 http://cpuboss.com/cpus/Intel-Core-i7-5600U-vs-Intel-Core-i5-5300U Answer There are more benchmarks and the i7 does beat the i5. However, there still seems to be some weird performance benchmark scores flying out there. For example the Ars Technica review had some results where the gpu performance of the i7

Linux urldecode filename

Is there any tool to urldecode a file's name and replace it? Example: $ ls hello%20world.txt $ urldecode *.txt $ ls hello world.txt Answer A new blog post covers this with echo(1) and printf(1) . urldecode() { arg="$1" i="0" while [ "$i" -lt ${#arg} ]; do c0=${arg:$i:1} if [ "x$c0" = "x%" ]; then c1=${arg:$((i+1)):1} c2=${arg:$((i+2)):1} printf "\x$c1$c2" i=$((i+3)) else echo -n "$c0" i=$((i+1)) fi done }

How can I securely wipe an SSD?

One of our clients is asking for DOD-7 Pass Erase method for SSD's. We tried wiping an SSD 256 GB (Samsung Make) via Tabernus lan, but it's taking too much time. Please guide me how to wipe the SSD from Tabernus lan 7.3.1 version.

windows - Disable UpdateOrchestrator Reboot task

About a week ago my Windows 10 Pro started waking up in a middle of the night. I've had similar problems about half a year ago, but managed to configure the cause - unruly UpdateOrchestration task and disable it - using this answer. Disabling the "Wake the computer..." option in Reboot task helped. However, about a week ago the computer started waking in the middle of the night again and I am unable to convince the Reboot to stay down this time. When I uncheck "Wake the computer..." option a window appears that asks me to provide login credentials for some mysterious S-1-5-18 user that I have never heard about (see the picture below, I use the Polish Windows version). I have no idea what the password for S-1-5-18 should be. This window's dropdown allows me to choose other users though, besides the mysterious S-1-5-18 - in fact there seems to be about 5 accounts with names similar to my Windows username (why there is a multitude of them? I have no idea, C

microsoft excel - How to add new CSV columns in Power Query?

When you edit your query of a loaded CSV file, it only shows the columns you chose when you first created the query. What if new versions of this CSV file have new columns that didn't exist when you created the query? How can you use them? How to add previously deleted CSV columns in Power Query? suggested to use the Applied Steps pane. But in this scenario even step number 1 (called "Source") shows only the original number of columns, even if you click Refresh. For example, if the original CSV was: Name ID Number John 1234 324234 Steve 1230 124536 Deb 1293 968578 Then let's say a new version comes up as: Name ID Number Dummy John 1234 324234 1 Steve 1230 124536 2 Deb 1293 968578 3 If you click Refresh it will break the query, and as mentioned none of the steps shows new columns. Even more so, if the new column is between old columns, then the query will use it instead of the column that follows

networking - Bridge: connect tap with Ethernet port

At ubuntu, I am trying understand tap, route/switch. So, I created tap1 with. tunctl -t tap1 ifconfig tap1 192.168.38.180 netmask 255.255.255.0 broadcast 192.168.38.255 And, my Ethernet router is eth0 address is 192.168.1.180/24. Also, I have another computer(win10) with 192.168.1.80/24. Of course, at win10, ping 192.168.1.180 is working well. I think, bridge or route in ubuntu can connect the two interface. I want ping 192.168.38.180 at win10? Is this possible? How I can configure the ubuntu network configure?

linux - OsX El Capitan ignoring case sensitive filenames and not making file/directory distinction

Hi I've run in a strange behaviour on a MacBook today: I had a directory named "FOO" (all capitals) on the desktop, then I created a file named "foo" (no extension) in another directory and moved it to the desktop, the system asked me if I wanted to overwrite the directory. It looked strange and I maked some test with other files and directory and it turned out the system don't make any difference between files and folders (which is reasonable since they're both iNode) but even stranger it don't care about the case of the names. I also tried via command line and the situation is the same. That don't happen on other mac I tested. I never seen such a behaviour on a unix system. Can somebody explain this to me and tell me if there's some setting the mac user messed up with? Answer If you check the filesystem it is likely to be HFS+ (case insensitive, journaled). On OS X this will preserve case when naming files, but will see any variation of F

bootloader - primary and secondary boot loaders

From http://www.ibm.com/developerworks/library/l-bootload/index.html Boot loaders are usually configured in one of two ways: either as a primary boot loader or as a secondary boot loader. Primary boot loaders are where the first stage of the boot loader is installed on the MBR (per the previous description). Secondary boot loaders are where the first stage of the boot loader is installed onto a bootable partition. A separate boot loader must then be installed into the MBR and configured to pass control to the secondary boot loader. Should "first" in "Secondary boot loaders are where the first stage of the boot loader is installed onto a bootable partition" be "second" instead? Where is the secondary boot loader stored? Not in MBR where the primary boot loader is stored? What is "a separate boot loader" in the last sentence? Is it the primary or secondary boot loader? is the primary boot loader the same concept as the initial program loader (IP

dell 5570 uefi not showing available drives

I posted this originally on stackoverflow and they referred me to here, superuser. my dell 5570 inspiron uefi doesn't give a clear of list drives I can choose for boot sequence, see stackoverflow post below. basically my uefi doesn't come up any thing like I see in the many posts about using it. link to stackoverflow post

How do I improve my screen resolution in Windows Remote Desktop?

I'm RDP'ing into a Win2K3 machine from a WinXP machine, and I cannot stand the low screen resolution I get on the Win2K3 box. Text is too large and the graphics/colors aren't very smooth. How do I improve this? If I right-click on the desktop of the remote machine and go to Properties -> Settings, I see that the screen resolution is set to 1280x1024 (should be okay, I would think), and the color quality is Medium (16 bit) (not optimal) and I don't have the option to change either setting (because they're set in the .rdp file for the session, right?). If I move over to the Appearance tab, I see that font size is set to Normal, with no option to make it smaller. The thing is, these settings are close to what I have on the XP machine I'm RDP'ing in from. The only difference (in those settings) is the color quality, which is 32 bit. Any ideas on how I can improve the situation? Other tidbits: The graphics card on the Win2K3 machine is ATI ES1000. I think I h