Skip to main content

Posts

Showing posts with the label CCNA

PPTP VPN not connecting

Ever encounter connecting PPTP VPN from a Ruckus router or other new routers but VPN keep on failing? Or does not connect at all. However, if you test the VPN outside the network of the Ruckus router or use another Wi-Fi Router the VPN goes through and able to connect. One reason is the Wi-Fi router does not allow the unsecure PPTP VPN protocol to pass through. The firmware filters the PPTP traffic. PPTP VPN has quite a few vulnerabilities and some Wi-Fi router does not allow this protocol to pass through for some obvious reason, because it could compromise the network security. Solution is to select another VPN protocol that is supported by the Wi-Fi router and is considered a secure protocol.  To easily troubleshoot whether it’s the Wi-Fi router that is filtering the VPN protocol, is to grab some old Wi-Fi router if ever you have some that is just lying around and collecting dust. And check whether VPN goes through. If it goes through, then the firm...

PowerShell Ping IP get status or reply

How to ping sweep a network? How to ping sweep a subnet? There’s a lot of ways to ping the whole subnet or do a sweep ping to the whole network, of course download any free software that can do this, or just manually ping the whole network by manually changing the IP address. Or do an old school method, using a batch file. This link shows how to ping the whole subnet via command line. http://quickbytesstuff.blogspot.sg/2015/11/how-to-ping-whole-subnet-using-batch.html Since PowerShell is readily available from Windows 7 up to the newer versions of Windows. Then PowerShell is the perfect choice to do this task. Open PowerShell ISE or the PowerShell command line, then type or copy the commands below: $ping = New-Object System.Net.Networkinformation.Ping 1..254 | % { $ping.send(“192.168.1.$_”) | select address, status | ft -auto } Change the IP Address (192.168.X.X) to the IP address range of your network. What the script does, is to Ping the whole ...

IOT – what is it about?

IOT –  an acronym for Internet of things. What is IOT? What is it about? What does it do? IOT composes of two components, Internet and things. So, what are the things? Things are smart phone, Arduino, Beagle bone, Raspberry Pi, Smart TV’s, Refrigerators, air-condition system or basically any devices or appliances that are capable to be connected to the network or to the Internet. If those thing, devices or appliances is not connected to the network or internet they are just on their own. They are just things of the people who owned them. But once they are connected to the Internet and are controlled remotely, then it becomes an IOT the Internet of Things, since they are already part of a larger network. In which, some software or individuals can access to the things remotely. IOT is a good thing but there will always be individuals who will abuse or do evil things. IOT devices or appliances should be safe and secure. But things are hackable  and I gu...

Cisco block telnet and SSH access

Block telnet and SSH access to the Cisco router. The user must have the privilege to change the settings or basically the admin user account. Block all (telnet and ssh):   line vty 0 4   transport input none sh startup-config (save config and will persist after reboot or shutdown) sh running-config (config is save but will not persist after reboot or shutdown) To enable or unblock: line vty 0 4  privilege level 15  login local  line vty 0 4 transport input telnet ssh Before rolling out to production be sure to test it out or else you will leave a vulnerability in your network. Cheers..till next time! ================================ Free Android Apps: Click on  links  below to find out more: Multiplication Table for early learners https://play.google.com/store/apps/details?id=com.TableMultiplication Catholic Rosary Guide  for Android: Pray the Rosary ...

Delete Directories with Wildcards using rd or rmdir

  Deleting files in command prompt using wildcards is quite straight forward. Command below will delete all text (".txt") files on the specified path.      Del D:\txtlog\*.txt Command above will delete all files with ".txt" extension in d:\txtlog directory. Easy enough to delete all matching files. Using the same method with rmdir or rd command this will not work. For example, if we have a directory on d drive that is auto-generated by an application and the filename is consistent with a pattern plus incrementing number at the end to differentiate the folder from other folders.    D:\baklogs\log1\    D:\baklogs\log2\    D:\baklogs\log3\    Etc..    D:\baklogs\log100\ The folder name has a consistent pattern that is preceded by the word “log” plus incrementing number. If the command below is executed to remove the directories in one go, an error is shown which h...

Get network interfaces description in Windows

Netsh is a command line tool that is very useful provided of course you know exactly on how to use it. Below is an example on how to display the GUID and the description of the network interface card.    netsh trace show interfaces Sample output: Ethernet adapter Ethernet:     Description:      Intel(R) I350 Gigabit Network Connection     Interface GUID:   {1C8DC74A-0BCD-48FF-F3B7-26B1FF4D5650}     Interface Index: 12     Interface Luid:   0x8000008000000 Tunnel adapter isatap.{BCF65C9D-CB58-49F7-8BA1-88DBF2A6FBCE}:     Description:      Microsoft ISATAP Adapter #3     Interface GUID:   {F8BB0A84-D5A4-CA93-BA100-27EF2898CC82}     Interface Index: 19     Interface Luid:   0x12000005000000 The GUID (globally unique identifier) is used to identify objects in Wi...