network
Rewiring Your Optimum Cablevision Connections
Jan 31st

- Image via Wikipedia
Cable modems need a strong signal in order to operate properly. The more splitters you pass through successively degrades the signal strength (-3.5dB/splitter). For a while internet service was working fine, but then I would loose the external ip address every no and then. I then investigated the wiring in the house, and it turns out there was silly decisions made. There was a splitter in the basement going to nowhere, with at least 25 feet of cable. I removed the splitter and put in a direct coupler, but the problem persisted. I then moved the modem to the other line split off the main. This required reworking of the entire network and the implementation of a network switch. The minimum amount of splitters, the modem must pass through, is two. The first splitter provides service to downstairs and upstairs. The second splitter provides television to my father tv and the modem. I replaced the second splitter in the sequence, and am moving toward replacing the splitter sending signals to downstairs and upstairs. If I replace the main splitter, which is located outsite, and the problem persists, I will be calling Cablevision for the installation of a completely separate main line coming into the house; this will bypass all splitter and give the maximum signal strength possible.
Reasonable Backup Routines – Service and Desktop Integrity
Jan 27th
You should have backups of all your files all the time. For a desktop machine always have a backup of your entire /home partition. Use a cronjob and rsync. Mount a usb drive to the /media directory. Use a cronjob as follows:
1 1 0 0 0 rsync -r /home/user /media/backup/user
The above rsync will recursively transfer all folders and files from the user directory to /media/backup/user directory.
You should have at least 1 backup. You can also implement a raid 1 array in case of a hardware failure, which is highly unlikely but does indeed happen. My configuration involves a usb backup drive, mounted as above, and another machine that I rsync the backup to via the network.
VirtualBox Bridge and Tap no Longer Needed – Built in
Nov 3rd
With recent version of VirtualBox you no longer need to create a bridge and tap to enable host networking. In the settings panel of the virtual machine, select the network tab, and make sure that its set on bridged adapter. VirtualBox automatically creates a virtual ethernet adapter, and bridges it to the network of the host machine.
Bridging to the host network is necessary for the virtual machine to get an ip address from the router. Such a configuration is needed to communicate with the machine from the outside world. Because of this feature virtual machines can server website, and other services. I use my virtual machine to host this website, a visual ftp server, a wiki, and an EyesOS server.
There are other ways to forward individual ports from the host system to the guest, but then the ports on the host machine will not be accessible on the host; they will virtually represent the guest OS thus hindering connectivity with the host machine. There may be instances where this is what is wanted and more information, including instruction, can be found on this previous post.
The following is a screenshot of the network tab in VirtualBox. It had a bridge adapter option that will autobridge the connection to an existing ethernet adapter. Bare in mind that this is the screen from a Linux install of VirtualBox and it might be different in Windows. I remember in Windows you might have the option to create a virtual ethernet adapter, and then you can bridge the connection all in VirtualBox. Nothing needs to be done manually anymore, and everything can be done from within the VirtualBox configuration panels.
Here is a screen from Windows Vista. Go to the network tab of the virtual machine settings:
Then select the attach to drop down menu:
Then change the attach to, drop down menu, to bridged adapter:
Ubuntu VPN Using Network Manager
Mar 13th
If you already have your JanusVM working with your iPhone, you can quickly setup your Ubuntu Laptop to use the VPN also. Give a quick sudo apt-get install network-manager-pptp and viola network manager now supports pptp configuration. Give a reboot, and you can configure the settings. I was having a little trouble with the configuration at first, because I was accustomed to the automatic configuration of the iPhone. In the settings you want to enable peer authentication, and refuse chap. Also I had to disable compression otherwise authentication was failing. Then enable all three encryption options. Save, exit, attempt to connect. Enter the username and password you configured in JanusVM and you should connect just fine
PXE Network Boot VirtualBox
Jan 12th
You need host networking enabled to boot via the network. Check here for prerequisite configuration.
VirtualBox is capable of network boot, and is practically indistinguishable in configuration as compared to a real machine. To PXE boot a VirtualBox guest OS open the settings of a guest OS:
Click the system tab:
To enable PXE boot you have to configure the following section:
Then use the up and down arrows to set the priority of the network boot feature, as shown above.
You can create a guest OS that has no hard drive; there is no need for one. In such a configuration make network boot the first on the list.
Since you intend to use PXE boot, you may consider setting up a LTSP server.
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=98679f20-c6c8-4314-a1c8-ad0331c3296e)

![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=089adc0a-a090-44e1-badd-5eea1850fa32)









