All about Information Technology!

ip

List network interfaces

Type the following command: ip link show Output 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether c7:0b:a4:e3:81:02 brd ff:ff:ff:ff:ff:ff 3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN qlen 1000 link/ether 00:11:b2:23:64:55 brd ff:ff:ff:ff:ff:ff

>>

, , ,

How do I fix “Cannot connect to WMI Provider” error?

Error Message: Cannot connect to WMI provider. You do not have permission or the server is unreachable. Note that you can only manage SQL Server 2005 servers with SQL Server Configuration Manager. Invalid Namespace. This error is caused when the .mof files are damaged during the MS SQL Server 2005 installation. This error typically occurs [...]

>>

, , , , , , , , ,

Renew IP Address in Windows

Open a windows command prompt window (cmd). Release current ip address ipconfig /release Obtain new ip address ipconfig /renew

>>

, , , ,

Renew IP Address in Linux

Release current ip address sudo dhclient -r Obtain new ip address sudo dhclient or sudo dhclient eth0 or sudo dhclient wlan0  

>>

, , ,

Configure Linux ip address, netmask and gateway

Change ip address of network interface card: ifconfig eth0 192.168.1.5 Change netmask of network interface card: ifconfig eth0 netmask 255.255.255.0 How to bring up the network interface card: ifconfig eth0 192.168.1.5 up How to bring down the network interface card: ifconfig eth0 down How to change default gateway: route add default gw 192.168.1.10

>>

, , , , , , ,

Configuring windows firewall from the command line

To configure Windows firewall from the command line, you have to open the cmd with administrative rights. Default Rule To deny all incoming connections and allow all outgoing connections: netsh advfirewall set allprofiles firewallpolicy blockinbound,allowoutbound Enable or Disable firewall To enable firewall: netsh advfirewall set allprofiles state on or netsh firewall set opmode enable To [...]

>>

, , , , , , , , , , , , , , ,