Top Banner
1 Unix/Linux – Windows Internetworking By Deanna La Fave Raymond Kwan Dennis J. Wong CIS 454 Local Area CIS 454 Local Area Network Network Professor M. Ganesan Professor M. Ganesan
36

Unix/Linux – Windows Internetworking

Dec 31, 2015

Download

Documents

winthrop-conrad

Unix/Linux – Windows Internetworking. By Deanna La Fave Raymond Kwan Dennis J. Wong. CIS 454 Local Area Network Professor M. Ganesan. Presentation Outline. Ice Breaker Unix Overview Linux’s Strength Major Distributions of Linux Samba Practical Customization of Samba on a Linux Server - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Unix/Linux – Windows Internetworking

1

Unix/Linux – Windows Internetworking

By Deanna La FaveRaymond KwanDennis J. Wong

CIS 454 Local Area NetworkCIS 454 Local Area Network

Professor M. GanesanProfessor M. Ganesan

Page 2: Unix/Linux – Windows Internetworking

2

Presentation Outline

• Ice Breaker• Unix Overview• Linux’s Strength• Major Distributions of Linux• Samba• Practical Customization of Samba on a

Linux Server• Setting Up SWAT to Remotely Configure

Samba on a Windows Client

Page 3: Unix/Linux – Windows Internetworking

3

Page 4: Unix/Linux – Windows Internetworking

4

What’s Behind The Movie “Titanic”?

• Computing Power!– 350 SGI systems running IRIX6 (Already

over budget!) – 200 Alpha system, 105 Running

RedHat Linux 4.1 (Saved a lot!); 55 on NT 4; Reminding used Digital Unix 4.

– 5TB (About 5,000GB) Hard Disk Capacity

– 100Mbps Ethernet• NFS Connects IRIX and Linux• Samba Connects NT and Linux

Page 5: Unix/Linux – Windows Internetworking

5

What Did Linux Contribute

to the Movie “Titanic”?

• Simulation and Rendering Processing

• 3.5 times faster than SGI systems• Running 24 hours a day, never

stopped for 3 months to finish the special effects in the film.

• Linux’s commercial potential catches attention!

Page 6: Unix/Linux – Windows Internetworking

6

UNIX

• First developed in 1969 by Ken Thompson and Dennis Ritchie at Bell Labs.

• 1977 SCO Unix• 1983 Sun OS• 1986 IBM AIX• 1991 Linux

Page 7: Unix/Linux – Windows Internetworking

7

Linux Overview

• A free Unix-type OS • Created by Linus Torvalds at

University of Helsiniki in Finland– 1991 development began– 1994 Linux Kernel 1.0 released– 1999 Version 2.2 (current version)

• Currently estimated 12 million users.Source: http://counter.li.org/

Page 8: Unix/Linux – Windows Internetworking

8

Linux’s Strengths

• Multi-platform– Intel– Sparc– Alpha– Mac/Power PC

• Multi-user• Multi-tasking• Built on Open Standards• Reliable

Page 9: Unix/Linux – Windows Internetworking

9

Linux’s Strengths (cont.)• Lowers cost of both desktop and server

compared to traditional Unix and Microsoft OS.– Low resource requirements

• Intel 386 compatible or better• 2MB Ram • 10MB hard disk space

– No licensing headache

• Compare for yourself – http://www.linuxrx

.com/WS_Linux/OS_comparison.html

Source: http://howto.tucows.com/LDP/FAQ/Linux-FAQ.html

Page 10: Unix/Linux – Windows Internetworking

10

Server Market Share

1998 1999

Linux 16% 25%

MS Windows NT 38% 38%

Novell NetWare 23% 19%

Unix (all versions)

19% 15%

Other 4% 3%

Source: Morris, John. “Linux at Large.” PC Magazine, April 2000: 75.

Page 11: Unix/Linux – Windows Internetworking

11

Distributions of Linux

• There are various distributors of Linux. • A few major Distributors are:

– Caldera Linux www.calderasystems.com– Corel Linux www.linux.corel.com– Mandrake Linux www.linux-mandrake.com– RedHat Linux www.redhat.com– SuSE Linux www.suse.com– TurboLinux www.turbolinux.com

Page 12: Unix/Linux – Windows Internetworking

12

Caldera Linux

• Caldera OpenLinux is a multi-tasking, multi- user operating system that gives you the

• power and reliability of UNIX.• OpenLinux is Caldera's "distribution" • OpenLinux is ideal for small, medium,

and large companies needs to optimize how much they want to spent on existing systems, hardware, & training

Page 13: Unix/Linux – Windows Internetworking

13

Corel Linux

• Good Features of Corel:– Easy installation of software– Allows dual boot system– Friendly drag and drop design– Easily used to share Windows files

Page 14: Unix/Linux – Windows Internetworking

14

Mandrake Linux

• An enhanced version of RedHat Linux

• It has a powerful Graphical Desktop

• Comes with Apache Web Server, Netscape Communicator, and various other software

Page 15: Unix/Linux – Windows Internetworking

15

RedHat Linux

• Made for ease of use and installation.

• Configures TCP/IP for you.• The new packaging system is made

to allow upgrading to new Red Hat releases without reinstalling your system.

• No partitioning or backing up all your files needed for upgrading.

Page 16: Unix/Linux – Windows Internetworking

16

SuSE Linux

• Made for users of all Levels, novice - expert

• Allows users to configure the system for fine tuning their system

• Supports the newest high end Graphic Card

• German version available

Page 17: Unix/Linux – Windows Internetworking

17

TurboLinux

• Very popular in Asia• Geared towards corporate needs as

well as the home desktop. • Available in English, Japanese, and

Chinese • Contains powerful desktop

applications such as StarOffice and Netscape.

Page 18: Unix/Linux – Windows Internetworking

18

• Created in 1991 by Andrew Tridgell of Australian National University by reverse engineering the SMB protocol.

• Is an open source software suite available for use to anyone under the GNU General Public License.

• Facilitates UNIX file system and printer sharing with Windows and LAN Manager clients

Page 19: Unix/Linux – Windows Internetworking

19

• 1991-1992 Versions .5 and 1.0 are released.• 1992 Dan Shearer contacts Tridgell about a

Linux Port.• 1993 NetBios for Unix is announced.• 1994 smbserver 1.6 is released and soon

renamed SAMBA.• 1997 Samba for Windows NT domain

started.• 1999 Samba 2.0 is released.

– Tridgell finishes his Phd Thesis and gets a job with Linuxcare.

Page 20: Unix/Linux – Windows Internetworking

20

• Samba enables interoperability between Linux/Unix and Windows.

• Samba runs on:– Linux– Solaris– IRIX

• The main o/s for Silicon Graphics workstations and servers. It incorporates Unix System V functionality.

– HPUX– Almost all other versions of Unix

• Accessing files from Linux/Unix looks exactly like you are accessing an NT server.

Page 21: Unix/Linux – Windows Internetworking

21

Samba and Windows

• Windows NT OS uses a layered architecture with partitioned user and kernel modes similar to those of UNIX.

• NETBIOS – over – TCP/IP (NetBT) is used by Samba to share UNIX resources with Windows clients

• SMB AND CIFS are NetBT based protocols. Samba is an implementation of CIFS version 1.0

• Windows 2000 uses Kerberos 5.0 for network authentication.

Page 22: Unix/Linux – Windows Internetworking

22

• Who uses Samba?– Cisco– Bank of America– Hewlett Packard– Johnson and Johnson– British Petroleum– Solomon Smith Barney (Citibank’s

Investment Brokerage Division)

Source: http://www.valinux.com/software/samba.html

Page 23: Unix/Linux – Windows Internetworking

23

SMB PROTOCOL• Created in 1987 as a joint venture

between Microsoft and Intel• Four types of operations:

– 1) Session commands: used to set up a virtual circuit and validate access.

– 2) File commands: permits an application to operate on files.

– 3) Printer commands: permits an application to spool jobs to remote printers.

– 4) Message commands: provide a means for passing alert, control, and informational messages between the consumer and server applications

Page 24: Unix/Linux – Windows Internetworking

24

CIFSCommon Internet File

System

• In 1997 Microsoft submitted CIFS specification to IETF.

• Is an enhanced version of SMB protocol.

• Way to share resources between multiple operating system platforms across the Internet.

Page 25: Unix/Linux – Windows Internetworking

25

Kerberos Ticket Exchange

Source: Samba Unix & NT Internetworking

Page 26: Unix/Linux – Windows Internetworking

26

Presetting before Customization of Samba on a

Linux File Server

• Samba installed as one of the packages when installing Linux

• Setup network on Linux• Setup a local printer for sharing• Log into X Windows as root using

KDE (Recommended)

Page 27: Unix/Linux – Windows Internetworking

27

Practical Customization of Samba on a Linux File

Server

• Focus on modifying system file /etc/smb.conf

• Setup proper guest accounts on server

• Setup Windows clients (Win 95, Win98, Win NT, etc.)

Our configurations are base on Mandrake Linux 6.0. Configurations for other distributions may vary.

Page 28: Unix/Linux – Windows Internetworking

28

Modifying smb.conf

• Open system file /etc/smb.conf• Add/change or uncomment the

following on Global Settings– workgroup = my_workgroup_name– guest account = pcguest– security = user

Page 29: Unix/Linux – Windows Internetworking

29

Modifying smb.conf (Cont.)

• Add or uncomment these items on Share Difinitions:– [homes]

• comment = Home Directories• browseable = yes• writable = yes

– [tmp]• comment = Temporary file space• path = /tmp• read only = no• public = yes

Page 30: Unix/Linux – Windows Internetworking

30

Reloading Samba

• Save changes to smb.conf• No need to reboot the computer• Reloading Samba using Unix

command– samba stop– samba start

Page 31: Unix/Linux – Windows Internetworking

31

Setting Up PC Clients on Linux Sever

• Open User Manager – System User Manger (at KDE)

• Add PC User(s)– Add names (first character must be upper

case to make it work, Linux is case sensitive)– Setup password– Primary Group: Guest

• Add New User(s) to Guest Group– Open Guest Group Properties– Add new user(s) to the guest group

• Save All Changes

Page 32: Unix/Linux – Windows Internetworking

32

Accessing Linux File Server from a PC Client

• Login on a PC Client using a guest ID and password preset at Linux server

• Open Network Neighborhood• The Linux server should show up as

it were in a NT network• Shared Resources Shown

– Printer(s)– Public folder – [tmp]– Private folders [homes] [client-name]

Page 33: Unix/Linux – Windows Internetworking

33

Setting Up SWAT at Linux File Server

• SWAT – Samba Web Administration Tool

• Open /etc/inetd.conf• Add or uncomment this line:

– Swat stream tcp nowait.400 root /usr/local/samba/sbin/swat swat

Page 34: Unix/Linux – Windows Internetworking

34

Configure Samba Using SWAT at a PC Client

• Logon to a PC Client • Open a web browser• Enter URL: http://localhost:901

(replace “localhost” with actual host name)

• Login as root on the popup Window• Make any changes or check status

of Samba using SWAT’s graphical interface

Page 35: Unix/Linux – Windows Internetworking

35

Resouces• Derosest, James W. “Samba - Unix & NT Internetworking”.

McGraw-Hill Companies, 2000.• Carter, Gernald & Sharpe, Richard. “Teach Yourself Samba in

24 Hours.” Sams, 1999.• Hertel, Christopher and Leighton, Luke. “The Story of Samba: Linux's

Stealth Weapon.” <http://www.linux-mag.com/1999-09/samba_01.html>• http://www.linux.org/ • http://www.samba.org • http://linuxtoday.com/ • http://www.andover.net/ • http://www.linux-2000.org • http://www.nwc.com/1104/1104f3.html • http://faq.oreillynet.com/linux/FAQ_7_40.shtm• http://www.linux.org/info/advocacy.html• http://www.geocities.com/SiliconValley/Haven/6087/• ttp://www.linuxlinks.com/local/why.shtml

Page 36: Unix/Linux – Windows Internetworking

36

The End

Thank You for Your Time!