• No results found

Select “Dial-up Server.” This will allow you to receive calls

Fun Ports to Surf with Telnet

5. Select “Dial-up Server.” This will allow you to receive calls

Figure 1—Select Dial-up Networking and Dial-up Server.

6. Click on “ok.” You may be prompted for the Windows installation CD rom.

If you are doing this at school, then chances are your school network administrator may have put the installation files (*.cab files) on the computer (so you won’t need the cd). These are files that contain compressed images of the Windows operating system. A long time ago, before CD-roms, we had to install operating systems from floppy diskettes. These *.cab files are an off-shoot from those days.

8. Click on Start>Settings>Control Panel>Modems. If you have one installed, then you should see one here. It may look like this:

Figure 2—Laptop with PCMCIA modem card installed.

9. If you do not have one, then you will have to add one. We will walk through adding an external modem to your computer here.

1. Click on “start>settings>control panel>add new hardware

2. When the “add new hardware wizard” opens click on “next” twice.

3. Click on “no, I want to select the hardware from a list.”

4. Then click on “next.”

5. Select “modem.”

6. Click on “next.”

7. Make sure your modem is connected. I used an RS-232 adapter on the DTE of the modem to a DB-9 connector on my COM1 port. The RS-232-DB-9 were on the ends of one cord.

8. Click on “next.” The computer should find your modem on COM1.

9. If not, select “next.”

10. Select “have disk” and change to the CD-drive.

11. Select the modem. I selected Hayes V.90 PCI modem for my external one.

12. Select “next.”

13. Select “finish.”

9 Make yourself a new connection. You can actually make many different connections with each one set up to dial a different number. In our lab diagram above we could make three different connections, one for each different user, and put icons on the desktop to make it easier to dial. To make a dial-up connection:

1. Double-click on “my computer”

2. Double-click on “dial-up networking”

3. Click on “make a new connection”

4. Give the connection a name (matt, scott, dave, etc)

6. Click on “next”

7. Put in the phone number to call…In our example if I was configuring

“matt” to call “dave” then I would use 555-6003.

8. Select a country or region code (US) (Step 2) Configure the communication rules

10 Configure the communication rules (“protocols”):

1. On that connection we just made in the dial-up networking folder, right-click it

2. Select “properties”

3. Make optional selections in the next steps.

11 Along the top you will see some tabs to configure various communications rules for this connection (step 6-10 explain these settings in more detail):

1. Server types—will allow you to select the type of dial-up server to be called along with some optional settings, will allow you to select the

“allowable network protocols,” and will allow you to see or change your TCP/IP settings.

2. Scripting—allows us the option to use a modem script or another type of script for the dial-up access.

3. Multilink—allows us the option of using multi-link for connections.

Server Types Tab:

12 For most connections you will probably just use a connection to a “PPP:

Internet, Windows NT Server, Windows 98” dial-up server. This is usually used at home to dial into an ISP like AOL, MSN, or Netcom. Your ISP should be able to walk you through these steps via technical support or will have “self-installing” software to do this for you.

13 You can select any “advanced options.”

1. Log on to network—Used only when using DUN to have access to a Microsoft NT controlled network. Most ISP’s run on UNIX so you probably will not need this.

2. Enable software compression—If your ISP requires use of compression technologies (most do not) then select this.

3. Require encrypted password—Almost all dial-in connections require a password. Select this only if your password must be encrypted. Since the encryption settings must be identical on each end, changes are, at

for your networking connection. Most of the time you will be using this protocol suite. Heck, even Macintoshes and Novell use TCP/IP. If you want to check all three to feel safer, then go ahead. Just be aware that IPX sends out its own little broadcasts every 60 seconds which can affect the

performance of your connection.

Scripting Options Tab:

15 Here you can select a file with script settings to establish the DUN. You can also select if you want the script lines to be “stepped” through which means you will be prompted (asked) before each line if you wish that line to be processed. Finally you can select if you want the terminal screen to be minimized when you start.

Multilink Tab:

16 Multilink will allow you to use additional devices for establishing and

maintaining connections. Think of this as something like a “conference call.”

(Step 3) Set up to receive calls

17 In the dial-up networking window select “connections” from the pull-down menu and then “Dial-up server.”

18 Select “allow caller access.”

Figure 3—Setting up Dial-up Server.

19 Put a password in if you want.

20 Click on “server type.”

21 Select “Type of Dial-up Server.”

22 Select “PPP: Internet, Windows NT Server, Windows 98.”

23 Disable “Require encrypted password” if none will be used.

24 Click on “OK” twice. You are now set up to send and receive calls.

Step-By-Step Instructions:

1. You are to establish, maintain, and tear-down DUN’s on Matt’s, Scott’s and Dave’s workstations to each other. You will then share files between each of the workstations. To begin you need to make some files and folders for sharing.

2. On each computer make a folder for each user.

i. On Matt’s computer make a folder called c:\matt ii. On Scott’s computer make a folder called c:\scott iii. On Dave’s computer make a folder called c:\dave

3. On each computer put an IP address in the TCP/IP setting for each dial-up adapter. Use 192.168.1.1/24 for Matt, 192.168.1.2/24 for Scott, and

192.168.1.3/24 for Dave. This is not the same TCP/IP setting you have been using. See figure 4. How you set them will look identical. Just make sure you pick the right one.

Figure 4—Selecting the TCP/IP for the Dial-up Adapter

4.On each computer make a text document for each user.

i. On Matt’s computer

1. in c:\matt make a document called c:\matt\matt.txt 2. In that document write “This is Matt’s file”

ii. On Scott’s computer

1. in c:\scott make a document called c:\scott\scott.txt

4. Give a name to the connection 5. Select modem to use.

6. Click on “next.”

7. Put in the phone number.

8. Click on “next.”

9. Click on “finish.”

10. If you need to change any properties then go back and right-click the DUN and make the changes.

3. Have Matt establish a DUN to Scott. You will see a window similar to Figure 5 when you are connected. Go ahead and select “more information” to see what is available to you.

Figure 5a—Dialing to connect to Dave from Matt via dial-up networking.

Figure 5b—Verifying user name and password (none) to connect to Dave from Matt.

Figure 5c—Logging on to the network to connect to Dave from Matt.

Figure 5d—Isn’t that nice?

4. Copy c:\scott\scott.txt into c:\matt\. Can’t find the other computer in “networking neighborhood?” In the DOS window try to ping it. If it returns a ping, then it is there and windows is being difficult. In windows explorer search for the

computer using the “find” utility under the tools menu. Search by IP address and it should be found. If not, then re-check your IP settings.

5. On Matt’s computer open explorer and verify there are now two files in c:\matt.

If not, then double-check your file and print sharing. You may see a window similar to figure 6 during the connection. If not, then go back into the dial-up networking window, click on “connect to Dave” and then “details.”

10. Close the connection.

11. Have Scott establish a DUN to Matt.

12. Copy c:\matt\matt.txt into c:\scott\.

13. On Scott’s computer open explorer and verify there are now two files in c:\scott.

If not, then double-check your file and print sharing.

14. Close the connection.

15. Have Scott establish a DUN to Dave.

16. Copy c:\dave\dave.txt into c:\scott\.

17. On Scott’s computer open explorer and verify there are now three files in c:\scott.

If not, then double-check your file and print sharing.

18. Close the connection.

19. Have Dave establish a DUN to Matt.

20. Copy c:\matt\matt.txt into c:\dave\.

21. On Dave’s computer open explorer and verify there are now two files in c:\dave.

If not, then double-check your file and print sharing.

22. Close the connection.

23. Have Dave establish a DUN to Scott.

24. Copy c:\scott\scott.txt into c:\dave\.

25. On Dave’s computer open explorer and verify there are now three files in c:\dave.

If not, then double-check your file and print sharing.

26. Close the connection.

Ok…so it was a bit of over-kill doing connections to everyone else but you know they all work now and can share any files between them.

Supplemental Lab or Challenge Activities:

1. Turn on logging. Find the log file and view the contents after a connection is closed.

2. Share only certain files.

3. Use a protocol inspector to view session establishments.

4. Set up three computers to simulate ISP’s.

5. Instead of using the dial-up networking try using Hyperterminal. Go ahead get crazy and type stuff in too!

Take college courses on a new schedule--yours.

Choose from over 400 online courses in dozens of majors, including our new bachelor’s degree program in Technology Management. St. Petersburg College’s eCampus delivers Internet convenience and the quality instruction that has made SPC an international leader in online education. Visit our web site for a full listing of courses and programs, along with support services like online registration, academic advising and financial aid.

http://e.spcollege.edu

St. Petersburg College’s eCampus. Your time. Your place. Your future.

Your Modem and You Objective:

This lab will familiarize you with the features of modems, the AT command set, and modem scripts. This lab is more information-based than hands-on oriented.

Tools and Materials:

(3) PC workstations

(3) External Hayes modems (or internals if you must) (3) RS-232 to DB-9 adapters

(3) RJ-11 (phone cords) (1) Adtran

Lab Diagram:

Scott 555-6002

com1:DB-9

RS-232 RJ-11

PSTN

Matt Dave

555-6001 555-6003

(phone) (phone)

555-6006 555-6008

(phone)

Modems use their own little language. Every language has its own alphabet and modem-speak is no different. Here is the common “alphabet” of modem-modem-speak:

a-z “alphabet” * “asterisk”

Each one is unique and each one can be command with other “alphabet letters” to make scripts in modem-speak. I have filled in a chart with some common commands for my Hayes modem and what they do. Complete the chart with commands for your modem.

Your modem My Hayes V.90 Description of command AT Attention D Dial

H Hang up

^V Display bootstrap revision

$B57600 Set serial port to 57600 bps

$D Run power-up diagnostics

%M Set modulation

&C1 Set up modem for carrier detect

&D3 Set up modem for when the data terminal ready (dtr) transitions to “off”

&F Load factory defaults and settings

&K3 Set hardware flow control

&Q9 Set compression

&T Diagnostic test mode

&W Save configuration to modem

-D Repeat dial

@E Detailed modem call status \E Echo

\S Read on-line status

Writing scripts:

You can combine several modem-speak commands to write scripts. The one I frequently use is:

AT&FS0=1&C1&D3&K3&Q9&W Let’s break it down and see what it really does…

AT&F load factory defaults and settings S0=1 set modem to answer on first ring

&C1&D3 set modem up for “action” (cd/dtr)

&K3 set hardware flow control

&Q9 set compression

&W save configuration to modem

During the course of using modems there are several other “abbreviations” you should also be familiar with. You will see these when using modems with routers and using the

“debug” commands:

TxD transmit data DSR Data Set Ready RxD receive data GRD Signal ground RTS request to send CD Carrier detect

CTS clear to send DTR Data terminal ready

You have also seen “blinking lights” on an external modem (if you used the external type). On my Hayes here is what those lights mean:

HS High-speed Lights when communicating at more than 4800kbps RI Ring Indicate Blinks on and off when detecting incoming ring CD Carrier Detect Lights when the DCD signal from the fax modem to

the computer is on

OH Off Hook Lights when the fax modem is off hook

RD Receive Data Light flashes when data is sent from the fax modem to your computer or other serial device. At high speeds the light may appear to be always “on.”

SD Send Data Flashes whenever data or commands are transmitted from the serial port of your computer or other device to the fax modem.

TR Terminal Ready Lights when the computer is ready to send or receive data. Indicates the status of the DTR signal from the terminal or computer.

MR Modem Ready Lights when the fax modem is turned on. Flashes during self-test.

Above information from “Hayes Installation Guide” (2000).

Supplemental or Challenge Activities:

1. Go out to CISCO and download the AT command set.

2. Try writing different scripts for your modem.

a. Write one to limit line speed to 9600 bps.

b. Write another to answer on the second ring.

c. Write one to show default settings during the boot.

3. Try using a protocol inspector to “see” the negotiation between two PC’s using DUN. Change the settings for protocols and stuff.

So What Have I Learned Here?

Ok…so this is a bit more in-depth than you really need to get with modems. If you continue on with your CISCO training then you will have to be very familiar with these commands. We use these to set up the ability to dial into a router and make changes.

Again, this is one of those labs where I grew up doing this but newer people to the field have not had the need for anything like this…call it a catch-up if you want.