New Perspectives On Web Design

(C. Jardin) #1
By Paul Tero CHAPTER 8

there is a route to the Internet through other working towers. It might be
very slow though, especially if everyone in your neighborhood has also had
the same idea. If your website is still gone, then the problem is a bit more
personal.


Networking
Power outages aren’t the only things which upset broadband routers. They
have many inventive ways of failing, as does all the other networking
equipment between you and your website, and all the copper and fiber-
optic cable in between.
To explore networking issues, you’ll need to run some commands.
Much of this information is also available through various menus, but
the command line gives you more data more quickly. On Mac OS X, go to
Applications → Utilities and run Terminal. In Ubuntu Linux, the terminal
is under Applications → Accessories. In Windows, go to Start → All
Programs → Accessories and choose Command Prompt.


YouR iP aDDReSS


Every computer connected to the Internet has a numerical IP (Internet
Protocol) address. To find out yours, run the command ifconfig on Mac
and Linux and ipconfig /all on Windows:^6


$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:10:dc:75:d9:5b
inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::210:dcff:fe75:d95b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1...
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1...


6 Linux users may need to run /sbin/ifconfig or sudo ifconfig. sudo is used to run a command as the
super user and is discussed later in the chapter.

Free download pdf