<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Networking on Wingate365</title><link>https://blog.wingate365.com/tags/networking/</link><description>Recent content in Networking on Wingate365</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Sun, 03 Apr 2016 22:48:23 +0000</lastBuildDate><atom:link href="https://blog.wingate365.com/tags/networking/index.xml" rel="self" type="application/rss+xml"/><item><title>VLC Streaming</title><link>https://blog.wingate365.com/2016/04/vlc-streaming.html</link><pubDate>Sun, 03 Apr 2016 18:44:00 +0000</pubDate><guid>https://blog.wingate365.com/2016/04/vlc-streaming.html</guid><description>&lt;p&gt;Here is my setup to use VLC running on a laptop with a webcam as a simple CCTV system that can stream to your mobile.&lt;br /&gt;
&lt;br /&gt;
VLC was installed on a laptop running Ubuntu 14.4. The webcam input stream was found at
&lt;br /&gt;&lt;/p&gt;
&lt;pre&gt;v4l2:///dev/video0
&lt;/pre&gt;
&lt;br /&gt;
and the audio input was found at
&lt;br /&gt;
&lt;pre&gt;alsa://hw:0,0
&lt;/pre&gt;
&lt;br /&gt;
using the command line for VLC I started capturing these two devices, transcoding and streaming to http with the following script
&lt;br /&gt;
&lt;script src="https://gist.github.com/andywingate/557b7e1ce7bec30d60f5927fb3ba1d45.js"&gt;&lt;/script&gt;
&lt;p&gt;For some reason .asf was the only encapsulation that worked, the filename you set pics the encapsulation. You can do all of this via the VLC gui, but you will need to change the string on the last page if you want a username and pass as VLC does not set that by default, instead sets the dst only.
&lt;br /&gt;
Create the necessary port forward in the router if you wish to access via WAN, or leave locked down if using local only.&lt;br /&gt;
&lt;br /&gt;
On the receiving device open VLC and open &amp;lsquo;Network Stream&amp;rsquo; as http://[username]:[password]@[wanip or localhost]:[port]/[file]. E.g. http://jsmith:mypass@1.2.3.4:8080/go.asf&lt;br /&gt;
&lt;br /&gt;
A bit more long winded but can also can be done via the VLC GUI :&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Fix vTiger "SMTP Connect() failed" Error</title><link>https://blog.wingate365.com/2014/03/fix-vtiger-smtp-connect-failed-error.html</link><pubDate>Tue, 18 Mar 2014 21:21:00 +0000</pubDate><guid>https://blog.wingate365.com/2014/03/fix-vtiger-smtp-connect-failed-error.html</guid><description>&lt;p&gt;Just need to update a setting in vtigercrm/modules/Emails/class.phpmailer.php&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;from &lt;/i&gt;&lt;br /&gt;&lt;/p&gt;
&lt;pre&gt;function IsSMTP() {
$this-&amp;gt;Mailer = "smtp";
&lt;/pre&gt;
&lt;br /&gt;
&lt;i&gt;to&lt;/i&gt;&lt;br /&gt;
&lt;pre&gt;function IsSMTP() {
$this-&amp;gt;Mailer = "sendmail";
&lt;/pre&gt;
&lt;br /&gt;
Thanks &lt;a href="https://discussions.vtiger.com/index.php?p=/discussion/169387/outgoing-email-imposible-to-get-it-working"&gt;Nathan79&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;</description></item><item><title>SSH Handy Shortcuts</title><link>https://blog.wingate365.com/2014/03/ssh-handy-shortcuts.html</link><pubDate>Sat, 01 Feb 2014 00:30:00 +0000</pubDate><guid>https://blog.wingate365.com/2014/03/ssh-handy-shortcuts.html</guid><description>&lt;p&gt;&lt;b&gt;File/Disk Browsing&lt;/b&gt;&lt;br /&gt;
Lists summary size (-s) in Gb/Mb/Kb (-h) units for all sub-directories of the current path (./*)
&lt;br /&gt;&lt;/p&gt;
&lt;pre&gt;# du -sh ./*&lt;/pre&gt;
&lt;br /&gt;
Show everything, human readable file sizes, in a list
&lt;br /&gt;
&lt;pre&gt;# ls -lah&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Pipes&lt;/b&gt;&lt;br /&gt;
Use the | after the first command to pipe the output to the next command e.g. Show all processes with the string apache in the command&lt;br /&gt;
&lt;pre&gt;#ps | grep apache&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Screen&lt;/b&gt;&lt;br /&gt;
Is a pretty handy tool if you do much work via an SSH terminal&lt;br /&gt;
&lt;br /&gt;
Launch app&lt;br /&gt;
&lt;pre&gt;# screen
&lt;p&gt;&lt;/pre&gt;
Detach current screen&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Mount SMB in QNAP</title><link>https://blog.wingate365.com/2013/11/mount-smb-in-qnap.html</link><pubDate>Sat, 09 Nov 2013 14:16:00 +0000</pubDate><guid>https://blog.wingate365.com/2013/11/mount-smb-in-qnap.html</guid><description>&lt;p&gt;&lt;code&gt;# mount.cifs //Server/Share /mnt/win7/test -o username=xxx,password=xxx&lt;br /&gt;
&lt;/code&gt;
&lt;br /&gt;
&lt;br /&gt;
This command will mount the folder &amp;lsquo;Share&amp;rsquo; hosted on &amp;lsquo;Server&amp;rsquo; into the nix folder /mnt/win7/test&lt;br /&gt;
&lt;br /&gt;
Network locations are case sensitive!&lt;br /&gt;
&lt;br /&gt;
Thanks &lt;a href="http://forum.qnap.com/viewtopic.php?t=19255" target="_blank"&gt;father_mande&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;</description></item><item><title>IP PBX / 3CX / VoIP Phone System</title><link>https://blog.wingate365.com/2013/10/ip-pbx-3cx-voip-phone-system.html</link><pubDate>Thu, 31 Oct 2013 08:34:00 +0000</pubDate><guid>https://blog.wingate365.com/2013/10/ip-pbx-3cx-voip-phone-system.html</guid><description>&lt;p&gt;Just finished a few days training on &lt;a href="http://www.3cx.com/" target="_blank"&gt;3CX &lt;/a&gt;systems, and a very interesting two days it was. The trainer William has a distinctive style and great dry sense of humour that kept everyone engaged.&lt;br /&gt;
&lt;br /&gt;
3CX is a windows base IP phone system. In the simplest terms for a small office you install 3CX on a desktop PC, sign up to a VoIP provider (e.g. &lt;a href="http://www.voip-unlimited.net/" target="_blank"&gt;VoIP Unlimited&lt;/a&gt; or &lt;a href="http://www.spitfire.co.uk/VoIP.shtml" target="_blank"&gt;Spitfire&lt;/a&gt;) plug in a few IP phones to your Ethernet, configure, provision and away you go. As it&amp;rsquo;s all IP based you can get a phone number in any region of the UK or any country for that matter. So office based in Scotland, but clients all in London, or France - get a local number to your clients and you are only paying for &amp;rsquo;local&amp;rsquo; calls. 3CX can go all the way up to a multi-location offices / call centres with thousand of agents. If you want to get fancy there are APIs and custom programmable elements to build your own digital receptionist, the kind that ask for your account numbers, report information from your account after you authenticate etc etc.&lt;br /&gt;
&lt;br /&gt;
You can also get an app on your iPhone/Android to be able to make calls over 3G data or wifi via your 3CX PBX. Although if you want total flexibility on remote mobile access you do face the difficult decision on how to deal with security threat of opening a port for SIP traffic on your firewall to the public internet which is not a great idea.&lt;/p&gt;</description></item><item><title>SVN / Subversion / Source Control</title><link>https://blog.wingate365.com/2013/07/snv-subversion-source-control.html</link><pubDate>Fri, 19 Jul 2013 19:38:00 +0000</pubDate><guid>https://blog.wingate365.com/2013/07/snv-subversion-source-control.html</guid><description>&lt;p&gt;Quick &amp;lsquo;what I did&amp;rsquo; to setup Subversion this week to deal with SSRS projects and reports.&lt;br /&gt;
&lt;br /&gt;
Installed the standard edition of VisualSVN Server&lt;br /&gt;
&lt;a href="http://www.visualsvn.com/server/download/?"&gt;&lt;a href="http://www.visualsvn.com/server/download/"&gt;http://www.visualsvn.com/server/download/&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Installed TortoiseSVN on users machines&lt;br /&gt;
&lt;a href="http://tortoisesvn.net/downloads.html"&gt;&lt;a href="http://tortoisesvn.net/downloads.html"&gt;http://tortoisesvn.net/downloads.html&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The setup on the server was very easy, added users via the management interface, set the port and made sure the firewall was going to allow the connections. Created a couple of repos for the various project files.&lt;br /&gt;
&lt;br /&gt;
On local PC checked-out the repo folder to a local drive folder and added the project files, simply right click to commit the files to the repo - marking all the files to be added.&lt;br /&gt;
&lt;br /&gt;
Logging all the commits makes it very easy to roll back and check on what activity is going on. Clearly it makes sense to split out as best you can the different projects into . I did notice it&amp;rsquo;s worth it to un-version the user file that each project creates by default.&lt;br /&gt;
&lt;br /&gt;
Next thing to try is the VisualSVN plugin for visual studio which requires TortoiseSVN to work. And read the rest of the manual as TortoiseSVN politely recommends&amp;hellip;&lt;br /&gt;
&lt;br /&gt;
Edit: Now also added the Visual Studio plugin from VisualSVN, which is fantastic and very straight forward. Do all your commits, check the logs etc from within Visual Studio.&lt;/p&gt;</description></item><item><title>SMTP test from telnet</title><link>https://blog.wingate365.com/2013/06/smtp-test-from-telnet.html</link><pubDate>Sat, 22 Jun 2013 14:23:00 +0000</pubDate><guid>https://blog.wingate365.com/2013/06/smtp-test-from-telnet.html</guid><description>&lt;p&gt;Need to test out access to a mail server?&lt;br /&gt;
&lt;br /&gt;
From GNU/linux is easiest, fire up the terminal&lt;br /&gt;
&lt;br /&gt;
You will need your username and password as base64, to get these use perl&lt;br /&gt;
&lt;br /&gt;
perl -MMIME::Base64 -e &amp;lsquo;print encode_base64(&amp;ldquo;username&amp;rdquo;);&amp;rsquo;&lt;br /&gt;
perl -MMIME::Base64 -e &amp;lsquo;print encode_base64(&amp;ldquo;password&amp;rdquo;);&amp;rsquo;&lt;br /&gt;
&lt;br /&gt;
Save this output to use later&lt;br /&gt;
&lt;br /&gt;
telnet mail.yourserver.com 25&lt;br /&gt;
EHLO mail.yourserver.com&lt;br /&gt;
AUTH LOGIN&lt;br /&gt;
[paste in your base64 username]&lt;br /&gt;
[paste in your base64 password]&lt;br /&gt;
&lt;br /&gt;
Now you know if your server is working with those access details or not&amp;hellip;
&lt;br /&gt;
&lt;br /&gt;
Thanks NDCHost&lt;br /&gt;
&lt;a href="http://www.ndchost.com/wiki/mail/test-smtp-auth-telnet"&gt;&lt;a href="http://www.ndchost.com/wiki/mail/test-smtp-auth-telnet"&gt;http://www.ndchost.com/wiki/mail/test-smtp-auth-telnet&lt;/a&gt;&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Windows Live ate my SMB share...</title><link>https://blog.wingate365.com/2010/09/windows-live-ate-my-smb-share.html</link><pubDate>Tue, 21 Sep 2010 21:30:00 +0000</pubDate><guid>https://blog.wingate365.com/2010/09/windows-live-ate-my-smb-share.html</guid><description>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://www.digitalera.co.uk/news/wp-content/uploads/2010/05/xbmc.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="213" src="http://www.digitalera.co.uk/news/wp-content/uploads/2010/05/xbmc.gif" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;Have just spend way too long trying to work out why xbmc could no longer connect to a win7 smb share. The solution after much head scratching, simply uninstall Windows Live Login Assistant. Why this application should block shares from xbmc is beyond me. I have no idea what I was thinking about when I recently installed the Windows Live software anyway, most of it easily replaced by better programs. The guys at xbmc.org made a nice post on their forum about &lt;a href="http://forum.xbmc.org/showthread.php?t=63123"&gt;win7 smb shares&lt;/a&gt;, the windows live bug is mentioned there quite a bit.</description></item></channel></rss>