Archive for the 'Hardware' Category

February 23rd, 2022
6:23 pm
Running a network cable to a garden office

Posted under Hardware & Networks & PC
Tags

I am running 2 x CAT6 SWA cables to a garden office, along with a 6mm SWA cable for mains power.

I checked widely online about the wisdom of going with CAT6 SWA UTP vs FTP or S/FTP, and opinions as to how well this will all work vary widely – it was very hard to get a clear consensus on performance, particularly re the issue of how close you can run the CAT6 cable to a mains cable without compromising performance, although a number of posts cited not having any problems in practice. I had already opted for SWA UTP for simplicity, having previously reckoned that CAT5e might even be enough. The plan was to put a gigabit switch at each end, which should give far more performance than actually needed – The need to shovel large amounts of data between the house and the garden office would be minimal – possibly occasional copies to/from the TV pc, and some RDP use from the house to an office PC. The main need is to facilitate connection to the internet, which is a moderate speed FTTC connection to Zen Internet, typically giving about 30Mb/s down and 6-7Mb/s up, after significant effort by Zen and OpenReach to solve some line/connection problems. Slower internet is the price for living in a quiet rural area!

Having already obtained the cable, I was reluctant to switch and also have the additional size and larger bend radius of S/FTP, plus the additional complexity of the correct earthing and screened keystones etc.. I planned to just ask the installer to try to maximise the distance between the network and mains runs of cable, but was concerned enough at a late stage to try a simple test.

I ran an old cat5 UTP cable of around 15m in length as close as possible to a long mains extension, such that for around 7-8metres the 2 cables were tightly adjacent all the way along. I then connected one PC to a switch via this cable, and then ran a lan speed test from this PC to another target PC on the same switch, using LanBench on both PCs, a simple open source lan tester. I ran various tests both with the mains lead unplugged, plugged in, and actively powering a 2KW fan heater, all while the test was running. Whilst initially I did get some significant variation in performance, after experimenting I concluded that this was not due to the mains cable – some other factor was at play. In the end I ran with 2048 byte packets, and 4 simultaneous connections – it was upping the connection count to 4 from 1 which gave better and more consistent performance all round.

The results gave a send rate of approx 900-1000Mb/sec, and a receive rate of 250-300Kb/sec. Crucially, this level of performance was the same whether or not the mains was connected or in use during the test, and over a significant number of repeated tests.

This was not a definitive test, and it was over a much shorter distance than the SWA cable. The latter will likely be around 40m, but hopefully with minimal closeness to the mains cable compared to this test. The test did however rebut a significant number of posts online which said on no account must the cables be closer than a few inches and even if perpendicular you could get issues. Whilst the official rules might in theory mandate tighter restrictions to ensure all edge cases are covered, this simple test did give reassurance. In addition, the SWA cable would be CAT6 rather than CAT5, and the earthing of the SWA shield should go some way to help with screening interference at mains frequencies as well, in addition to the balanced line working of the twisted pairs which would eliminate common mode interference.

Comments Off on Running a network cable to a garden office

February 21st, 2022
6:50 pm
Enabling External access/port forwarding with the Fritzbox 7530, and using the MS RDP Android App.

Posted under Hardware & PC & Windows & Windows 10 & Windows 11
Tags ,

This is fairly straightforward, but appears to be subject to the fundamental limitation that the Fritz Box cannot make use of multiple external IP addresses for the port forwarding, even if you are on an 8 port subnet like I am. I made absolutely sure that the Fritz Box was aware of the subnet by accessing its menus, then navigating to Home Network/Network on the left menus, and then clicking on the Network Settings tab. You then click on Additional settings to reveal some extra settings, and then scroll down and then click on IPv4 settings. Finally, if you scroll down and look under Public IPv4 Subnet you will see the public subnet visible/allocated to the Fritz Box, as a prefix and network mask.

In my case this was clearly an 8 port subnet, but unfortunately the fritz box only allowed port forwarding using the primary router public IP address.

I managed to work within this limitation however, as you can still forward multiple different ports to multiple different local devices. For example, to enable inbound RDP access to a PC as I did, do the following:-

1/ Visit Internet/Permit Access on the menus, and then click the Add device for sharing button.

2/ Select the target PC/device at the top, then at the bottom click New Sharing, which configures the desired sharing for the device.

3/ Then Click the Port Sharing radio button (as opposed to the default My FRITZ! sharing). Under application, I selected MS remote Desktop as the Fritz box was aware of RDP. You can select Other Application and enter the ports manually if you are working with an application that the Fritz box is unaware of.

4/ You then have 3 ports to configure, which is slightly confusing – I was not clear on all of this and the online help was blank on some of this detail. When I selected MS Remote Desktop, Port to Device and through… were both set to 3389, which was the correct internal port to use for RDP. Below this was Port requested externally, which is the actual external port you want to use. In one case therefore I left the defaults, but for a second PC, I set the external port to 3390, which allowed me to use the same external IP address for 2 different RDP configuration to access 2 different internal PCs successfully. I was not clear however what the distinction between Port to Device and through… was all about, but did not need to touch it.

5/ When accessing via the MS android RDP app, I was able to configure multiple PCs as required, and could also configure both Lan and internet configurations of the same PC so that I could access it both ways from my phone. A key trick here is that this app does allow a different RDP port to be used. Under PC name for the internet, I set the target IP address (the public IP address of the router), and appended a different port using e.g. :3390 notation to use port 3390 instead of 3389. You are able to give an additional friendly name for the PC when doing this, which is useful when configuring external IP access. Internally on the lan you can just use the standard windows network names. This then all worked fine and I was able to use my phone both to remotely access the fritz box to wake the PC, and then remote login using the MS RDP app to access it.

 

Comments Off on Enabling External access/port forwarding with the Fritzbox 7530, and using the MS RDP Android App.

February 21st, 2022
5:59 pm
Configuring Wake On Lan with Windows 10/11 and Fritzbox 7530

Posted under Hardware & PC & Windows & Windows 10 & Windows 11
Tags ,

As I found previously, there were a number of things to get right to make this work, as follows:-

1/ The bios settings for the motherboard need to be set correctly to enable it, and whether/how to do this varies depending on the motherboard. My older Gigabyte Z77-D3H at version F18 did not have a setting to enable this, but it turned out that it worked anyway once all the other issues were correctly address as below. My newer Asus Prime Z690M-Plus D4 did need a setting changed, and this was somewhat subtle. For this motherboard, from the home page you need to visit Advanced Mode/Advanced/APM Configuration/Power on by PCI-E, and enable this option. Note that you only find out from the prompt when you actually visit this option, which is labelled as PCI-E, that it also affects the onboard LAN as well as any PCI-E adapter. This was not clear.

2/ In Windows 10 and 11, open the control panel and visit Hardware and Sound/Power Options, and then select “Choose what power buttons do” on the left menu. Then click “Change settings that are currently unavailable” at the top, and this enables the “Turn on fast startup” option, which should be disabled. Whilst I am not certain that this is required, it was cited in this post re wake on lan, and turning it off did not slow boot time noticeably on my PCs, so I left it on.

3/ You then need to change the network adapter settings. Open the device manager and located your network adapter. Check the advanced settings and ensure that Wake on magic packet is enabled. Then, under the power management tab, allow this device to wake the computer, ensure that Only allow a magic packet to wake the computer is enabled. Again, I am not certain that the latter is absolutely required and I did get some intermittent behaviour when testing wake on lan, but in the end I have left this enabled, as I have no current requirement for any other way to wake the computer.

4/ On the Fritz Box 7530, wake on lan is built in. Navigate to Home Network/Network using the menus on the left, and then select the device that you want to wake. Note that it may be under active connections or idle connections in the list, and it is not clear what an idle connection means – a pc that is on/booted can appear in the idle connections list. Either way, this does not matter. You just click on the pencil icon as if to edit the settings for that device (even though you are not changing anything, this is where you will find wake on lan). Scroll to the bottom and you will see a button labelled Start Computer, which will successfully perform a wake on lan if all is in order. Note that to the left of this button is a check box labelled Start this computer automatically as soon as it is accessed from the internet. Whilst it might be convenient to enable this to save a manual wake on lan via the fritz box when accessing from the internet, I have elected not to do so at present as my needs for this are infrequent and it gives additional protection for the lan, as a remote fritz box access is needed to trigger this, which is of course password protected. However, doing it automatically would be a lot more convenient as accessing the fritz box remotely to do the wake on lan is perfectly possible and relatively straightforward, it does require several steps.

Once all this was done, I achieved consistent wake-on-lan behaviour using my Fritz Box 7530 to perform the wake on lan, as per this post here.

Comments Off on Configuring Wake On Lan with Windows 10/11 and Fritzbox 7530

January 31st, 2022
12:00 pm
Windows 10 Boot issue after Gigabyte GA-Z77-D3H reflash to F22

Posted under Hardware & PC & Windows & Windows 10
Tags , , ,

I had some issues when upgrading to windows 10 – when sleeping/waking I sometimes got a blue screen error which forced an immediate reboot. I was running bios revision F18, so elected to upgrade to the latest non-beta version which was F22 at the time.

Reflashing was fine using qflash straight from the bios having placed the new bios image on a flash drive. It was also safe as the motherboard was dual bios so wouldn’t brick itself if I accidentally had a power fail whilst flashing.

However, Windows 10 would not boot after the reflash. The reflash reset all motherboard settings to default, so after some investigation I noticed that the Peripherals, SATA mode selection was set to IDE rather than AHCI, the latter being required by Windows 10 (and also used by my Windows 7 installation previously). Changing this allowed the system to safely reboot, only needing a slight repair fix by windows which took only a few seconds. All was then well. I had also tried to set the OS type to “Win 8” rather than the default of “Other”, but this was in fact a red herring – not sure what this setting does exactly (claims to allow certain Windows 8 features but does not elaborate), so in the end I just left the setting at “Other”.

This fixed the issue. 

Comments Off on Windows 10 Boot issue after Gigabyte GA-Z77-D3H reflash to F22

January 6th, 2011
12:59 pm
Replacement PSU for Shuttle SD11G5

Posted under PC
Tags , ,

Its a Delta Electronics SADP-220DB B
A similar delta model is here on their web site
It appears to be the same/similar to one sold by Delta for CISCO kit as here in this auction selling them in the USA.

Excerpt here:-

Original Cisco Adapter by Delta Electronics

Model: EADP-220AB B    P/N: 341-0222-01

Input: 100-240V   Output: 12V (18A) 220W

compatible to DELL Optiplex SX280 GX620 USFF adapter other Compatible P/N MK394 Y2515 M8811 Y2515 D3860 D220P-01, ADP-220AB B ZVC220HD12S1
It occasionally comes up on Ebay, and may be able to get a compatible one elsewhere – shuttle don’t seem to be of help, tried before.
A picture of the PSU is here on Silent PC Review in their review of the SD11G5.

No Comments »