# The original innovator # single-line multiplexing VLAN, seamless control HTPC+NAS

Reasons to purchase

The motivation for writing this sun bill was to see the value-friends have bought the same NAS and wrote an article about it. Although the literary style is not as good as it should be, we should take the realistic route and see if the valued friends like it or not.

Why do you want to set up a family digital center? The most fundamental reason for me to think about it is to want to buy something, and it is also the after-effects of leaving Zhang Aunt. The reason for saving your baby's photos, watching movies on TV, and storing backups for two people seems to be to persuade your wife.

First talk about the home network, the community can only use broadband telecommunications 100Mbps, before using the virtual machine to try, you can dial more, but the bandwidth is not superimposed, silent. . . .

The all-inclusive package that was chosen when decorating the house, the electrician said that each house had a cable, because it was a contractor who introduced the acquaintance, and I did not look closely. Nowadays, it is found that the appearance of the network cable does not know where it was received, and it simply does not work. Only two network cables are provided by the developer. One is to go from the weak box to the living room and the other to the study.

Well, the telecommunications master said that he can only pull a line, then pull it into the living room. The approval of my wife was generous and I bought a netware WNDR4300 instead of the silent Fidelity F150. As the main router in the home, the netware is still running for 2 years. Unfortunately, the wifi signal is unstable after the protection is over. The wireless connection is often dropped and the openwrt does not work. Caused his wife to watch Conan or the United States when the anger of the United States to kill: "The network can not be used, what are you doing?". . . . I am speechless. Whoever makes me a man at home? A man is a sea. Men are not only able to stand up to their careers, but they are also more likely to rely on the amount of money (every day, they watch live broadcasts of Huawen, and advertisements are also backed up).

Appearance Gallery

No way, can only buy buy buy, a few days, ASUS AC68U came to my home, formally entered the living room, has become a crotch. This router worth more than met, I'll take a picture:

ASUS RT-AC68U 1900M AC dual-band low-emission intelligent wireless router 799 yuan stable and peace of mind, you can comfortably use the classic flagship router without tossing Jingdong direct link to encyclopedia

Must start to brush Mei Lin, the specific tutorial Baidu can. The retired WNDR4300 came to my study room. The wireless is not easy to use, and the cable is also available. I put the weak cable box cable to wear a crystal head, PPPOE dial-up Internet, cool fly. Unfortunately, only a few days have been discovered, ping nowhere AC68U ah, check only found two not in a network segment, annoyed. On the Internet, it seems that, simply carrying out the transformation of the network, the desire to achieve the next family digital center, draw a topological map.

Braised engineers, yes, that is the kind of bricks moved at the scene. There is no less tossing of the network on the site, and thousands of switches are casually engaged. Really to their own home, bought a NETGEAR G108E distressed Jojo, you can not reimburse.

Netgear (NETGEAR) 8-port Gigabit simple network management switch can be wall mounted GS108E399 yuan Jingdong direct link

In order to ensure that the home can be in a network segment, in the case of the line can not be modified, I chose to use single-line multiplexing. WAN and LAN are multiplexed. My home broadband is 100M. When the extranet is full, it is still left to Intranet 900M, which is enough. The only possible effect is that when the internal network transmission is full of gigabits, such as routers and switches, the device may cut off files when copying large files. But in fact, this situation still exists in the case of switching to a two-route route.

VLAN1 is LAN, LAN

VLAN2 is WAN, Internet

Switch: Vlan1 is 1,2,3,4,5,6,7,8t, so that 1 cat access, 4 access study AP, 8 AC68U

Vlan2 is 1,8t

Router: Vlan1 is 0t,1,2,3,4,5t

Vlan2 is 0t,5

NETGEAR GS108E

The switch sets the static IP 192.168.1.2 and the gateway is set to the router IP address 192.168.1.3

Turn on loop protection

Modify the switch password

Set VLAN 802.1Q, click Advanced, select On

Set up

ASUS AC68U

Check before use to see if it was set by the Brush Merlin tutorial.

Enter the telnet 192.168.1.3 23 CMD input, enter the switch user name and password set.

Enter robocfg show to see the port status of the current switch (except for vlan1 and 2), where 0 is the WAN port, 1~4 is the LAN port, and 5 is the CPU (all traffic transmissions need to be used Cpu, can be associated. Some models cpu port is 8, this more than a few times to test it, with the wrong network off the power again)

Enter the command, robocfg vlans reset vlan 1 ports "0t 1 2 3 4 5t" vlan 2 ports "0t 5u"

This means that port 01234 is configured with a vlan ID of 1. Port 0 is vlan ID2.

After configuration:

Because this setting disappears after restarting, you need to save this setting.

Check "System Management" - "System Settings" - "Persistent JFFS2 partition" - "Enable JFFS custom scripts and configs" is set to Yes

Telenet runs the following two commands respectively:

Echo robocfg vlans reset vlan 1 ports "0t 1 2 3 4 5t" vlan 2 ports "0t 5u" > /jffs/scripts/services-start

Chmod a+rx /jffs/scripts/*

Then add a NATSTART script in the tools---script configuration: /jffs/scripts/AC68Uvlan.sh

Enter in telnet

Cd /jffs/scripts

then

Vi AC68Uvlan.sh

AC68Uvlan.sh file content appears, enter

/bin/sh

Robocfg vlans reset vlan 1 ports "0t 1 2 3 4 5t" vlan 2 ports "0t 5u"

After the input is completed, press the esc key twice, then enter it on the telnet

:wq

Check whether the Vlan settings are as follows after restart:

Saved, so that the whole family is on the same network segment, the mother no longer have to worry about can not copy things. Measured speed, go ahead

What kind of emptiness is it? I don't understand either, knowing that a friend can tell me.

As for the NAS, referring to many NAS+HTPC experiences, I chose the win10+hyper-v solution. Windows is accustomed to using it, and it is easy to teach my wife. Will not install itself, directly Taobao purchase million by the NAS, the motherboard is upgraded to ASRock J3710, the memory for Awesome 8G, system disk Samsung 750EVO 120G, download disk Seagate Barracuda 1T, storage disk Hitachi 4TB*2, with windows storage pool Group raid1 (same function).

The goods were sent quickly, and the feeling of opening up was still very exciting. I liked to hold the feeling of covering my face with a half-sharp mask. I didn't compare it with the god.

Open and see, Yan value can still be

Turn around to see the chrysanthemum photo, the amount is not, is the back image.

By the way, here we have to say a pit, the motherboard does not have a VGA port. . . . The hard-to-read monitor was so hot that I could only go to the living room to grab TV. The amount is correct, that is, after 11 o'clock, everyone fell asleep. When no one used TV. Therefore, the installation process will not be said, no light can't be seen, there is no picture without truth (it was accidentally exposed again).

Here are some points to note:

If the intranet uses a remote desktop, remember to choose LAN, although there seems to be no change.

The last desktop bar, which is used, is a bit wasteful.

DSM I installed is 5.2, afraid of more than 6 immature, and other legitimate rise in the 7 I reload 6 it anyway, the virtual machine is not afraid to break. NFS is shared with DSM. The network speed is also acceptable. Generally, it is transmitted through the Hyper-V intranet network card.

BT, PT are useless, why? Because I don't have an invitation code, Baidu's network disk and Thunder are enough. My older sister has always been online. Don't ask me to ask for a website. I don't know anything.

Xfast-Lan's Chinese name is very scary: turbocharged speed network, I do not know if it is mass production. Known as the exclusive secret weapon developed by ASRock specifically to optimize the network environment and rationally allocate network resources, it is actually an OEM version of cFosSpeed.

Remote control I use the teamviewer and the sunflower group's double insurance, for fear that one day in the external network suddenly can not connect, the measured results are good, but also not too much traffic.

HTPC is very simple, I directly HDMI TV, win10 can tablet mode, direct control with the pad, KODI play movies, do not have to call DSM.

There was a small episode in the configuration process. Baidu's network disk occupied a very high CPU and often got 100% of the CPU. It was also not possible to change the version. The memory was also 8G. Optimized to optimize it will not work, then the DSM's resource consumption is reduced, the CPU gives 10%

NUMA has also been reduced, and the number of nodes is also fixed at 1.

Memory does not use dynamic memory, fixed at 1G.

Now that resource consumption is much lower, and 100% is rarely seen, the DSM is not too slow when generating compression maps. It is also okay to see resource consumption within the DSM.

Research on Microsoft's official website may also be related to the win10 version. My version is the 1511 version. Now I can't go on the Vision Forum. I'd like to thank the spectrum friends for their suggestions. I've thanked you.

experience feelings

Ten thousand can be controlled by NAS. It has been running for nearly a month. There have been no problems. The poor have not been willing to match UPS. However, usually the storage disk is dormant, really want to power off it will download it, I hope the tea East warranty.

to sum up

After writing so much, think of Aunt Zhang’s almost five years. The first time I wrote the original (the Xiaobian adults saw the crying), I hope the gold coins will drip.

Rice Cooker Relay

Rice cooker relay is a common device in the automatic control system. It is generally used to connect and disconnect the circuit. It is an important part of the automatic control and remote control circuit.

Rice Cooker Relay,Rice Cooker Electromagnetic Relay,4-Pin Rice Cooker Relay,Rice Cooker General Purpose Relay

Ningbo Xingchuangzhi Electric Appliance Co.,Ltd. , https://www.xingchuangzhi.com

Posted on