ترحيبة

هنا تجدون جميع رسائل أعضاء المجموعة تدون تلقائياً عند نزولها لدى مجموعة أفضل ... أول رسالة رقم 7224 بتاريخ 13/11/2010

الثلاثاء، أبريل 26، 2011

[BST.Group:7990] How To Fix Network Problems Using Command Line Tools In Windows 7

لزوار المدونة : بعض التدوينات لا يتم عرض الصور فيها بسبب أنها مرسلة من البريد الاكتروني والصور فيها تكون متضمنة الرسالة وغير مرتبطة بموقع على الانترنت 
، ولتلقي الرسالة كاملة يمكنك الانضمام إلى المجموعة .. وشكراً

image159.gif


How To Fix Network Problems Using Command Line Tools In Windows 7

win7ci-post-iconSolving a network problem can be hard and frustrating. While you can check your internet connection using the Windows Network Diagnostic tool, it is hardly enough to solve most problems. Sometime, you might have to troubleshoot via the hard way – the command line way.

There are several advantages to using th command line instead of the visual interface:

  • We can check on individual item, and isolate those that are causing the problems.
  • Command line tend to have more options so we can test the system deeply.
  • We can use scripts to automate the process.

In this article, we will show you how to diagnose and fix network problems using the command line.

To get started, first make sure that you are running the command prompt with Administrator privilege.

win7ci-cmd-run-as-administrator

How to know if your cable is connected

You can use the ipconfig tool to check if you are experiencing some problem with your cable. Windows will show up a list of the interfaces and if they are connected or not.

win7ci-cmd-ipconfig

How to know if your gateway is working

A gateway is the device, usually a router, that connects your computer to other networks and Internet. If you cannot connect with your device, it is pretty sure you are not going to connect to the Internet. First you need to know the IP address of the device. You can use Ipconfig to give us the information about the default gateway:

win7ci-ipconfig-ipv4-gateway

Now you can use ping to test if the gateway respond. This tool informs if a device with a given IP is answering. In plain English, with this test, we know that our network adapter, the cable and the router are connected correctly.

win7ci-cmd-ping-gateway

How to know if your dns is working

A DNS server is capable of converting a site name, for example www.maketecheasier.com, to its IP address. To connect to a computer in Internet, Windows needs that number. If you cannot connect to your DNS , it is almost impossible that Internet works.

win7ci-cmd-ipconfig-all-dns-server

As you can see in this case I have the same router and DNS IP address.

To test the DNS you can use nslookup. This command make a query to that server. In the following image you can see how the server resolve Make Tech Easier address.

win7ci-cmd-nslookup

How to know if a process is opening too much connections

Every time a program needs to connect to Internet or other machine, it opens a new connection. A router can only handle a limited number of connection. If for any reason, a program opens many connections, you can end up with a block Internet.

We can do this with the command netstat and the parameters "a" and "b"

  netstat -a -b

win7ci-cmd-netstat-ab

You can see what programs are using these connections. In this case, you can see that I have a program named "Filezilla Server" listening in port 21.

How to check firewall rules

Firewall misconfiguration can lead to Internet malfunctioning. A firewall configuration is no more than a set of rules deciding whether an application can access the Internet or not. By default, these rules appear in abundance and you cannot see all of them in one screen. Instead, we can insert this information on a text file using the following commands:

  netsh advfirewall firewall show rule name=all > firewallrules.txt
  notepad firewallrules.txt

win7ci-cmd-notepad-firewallrules

The first command access the firewall configuration and write it to a text file. The second command open the text file in a new notepad window.

A basic use of the netsh utility can inform us if there is one or more blocking rules to that use the command:

  netsh advfirewall firewall show rule name | find "Block"

Unfortunately it doesn't show what is the program blocked by that rule.

What other tricks do you use to test your internet connections?




A0Oyy-f88Y_204978167.gif

BST Group-Du.jpg

BST Group-Th.gif
BstGroup_Banar1.png
BST Logo_ss.png

--
مرحباُ بك عزيزي عضو " مجموعة أفضل البريدية - B.S.T Group ".
** أرسل مشاركاتك عبر هذا العنوان: bst2029@googlegroups.com
 
** سياسة مجموعة أفضل **
ــ المشتركون فقط يمكنهم الارسال إلى بريد المجموعة.
ــ عند الرد على رسالة يتم إيصالها لمرسل الرسالة فقط .
** المشاركات التي يتم حذفها من المجموعة **
ــ الرسائل التي ليس لها عنوان أو التي يتضمن عنوانها FW أو RE أو اعادة توجيه.
ــ الرسائل المكررة.
ــ الرسائل التي تسئ للأديان أو المذاهب أو الأشخاص.
ــ الرسائل الغير أخلاقية.
 
تابع رسائل المجموعة ودوّن ملاحظاتك على مدونة أفضل:
http://bstgroups.blogspot.com/
 
جميع الرسائل المرسلة تعبر عن رأي مرسلها وليست تمثل وجهة رأي الإدارة.
بريد الإدارة : bst2029.group@gmail.com
BST Group - 2009 -2011

ليست هناك تعليقات:

إرسال تعليق

حالة الطقس بمحافظ الأحساء

Click for Al Ahsa, Saudi Arabia Forecast

تحويل التاريخ

مجموعة أفضل البريدية - تحويل التاريخ
ميلادي إلى هجري هجري إلى ميلادي
اليوم: الشهر: السنة