Sunteți pe pagina 1din 7

SETTING UP A NETWORK USING THE K.D.E. G.U.I.

SETTING UP A NETWORK IN LINUX

Diagram 1.1 Diagram 1.3


Click Start -> System Settings -> Network The Network Configuration, user interface
as shown in diagram 1.1. opens up as shown above. Assuming that there
has been no attempt made to setup a network
earlier it will empty as shown above. Click
New.

Diagram 1.2

The Loading Network Settings screen will


appear as shown in diagram 1.2. After a few
moments the actual user interface via which
network settings can be done will open up as
shown in diagram 1.3.
Diagram 1.4

The Select Device Type screen opens up.


Select Ethernet Connector and click as shown in
diagram 1.4. This will instruct the wizard to
scan the system for all the Ethernet cards and
display a list as shown in diagram 1.5.

Page 1
CONFIGURING AND SETTING UP LINUX USING ITS K.D.E. G.U.I.

Diagram 1.7
Diagram 1.5 The Configure Ether Device screen appears as
After a minute the Select Ethernet Device screen shown in diagram 1.7, click Apply.
opens up as shown above. This has a list of all
the Ethernet cards discovered during the scan This will instruct the wizard to write appropriate
done by this wizard. In this case there are two entries in the ipconfig file. This is the file that
Ethernet cards the 1st and 2nd. The 1st card Linux always reads to know the configuration
represents eth0, the 2nd card represents eth1 bound to a specific Ethernet card, in this case
and so on. Select the 1st and click Forward. eth0.
The Configure Network Settings screen opens up.

Diagram 1.8
Diagram 1.6 The Network configuration screen opens once
The IP address is going to be entered again. Now, however eth0 is displayed as
manually, click the Statically set IP Addresses shown in diagram 1.8. Click on Edit to change
radio button. In Address enter an IP address, the Nickname from eth0 to anything more
which will identify the computer on the network. descriptive. In the General tab that appears
In Subnet Mask enter a subnet mask value (or over write the Nickname eth0, with a name of
accept the default which displays immediately). Ifyour choice.
the computer logins in to the Internet then in the
Default Gateway Address enter the IP of the We used DAX to differentiate between the DAX
computer which is the gateway to the Internet on card and the OnBoard Ethernet card in our
the Network (or delete any default value system. Please see diagram 1.9.
displayed there and leave it blank.

Page 2
SETTING UP A NETWORK USING THE K.D.E. G.U.I.

Diagram 1.12
The Information screen appears informing that
the changes made to the ipconfig were
Diagram 1.9 successfully written. There is also a warning
Rename eth0 to any appropriate name (we’ve indicating that the network services may
used DAX) as shown above. Click OK, to return have to be restarted via the command prompt
the Network Configuration screen once again. if required. Click Ok.

Diagram 1.10 Diagram 1.13


Notice that Status indicates Inactive. Hence, This returns to the network configuration
to Activate click the Activate button on the screen as shown in diagram 1.13. Notice
tool bar as shown in diagram 1.10. however, that Status now displays Active.

Click New once again, remember there were


two Ethernet cards detected during the scan
done by the wizard, eth0 (i.e. the DAX card)
and eth1 (i.e. the OnBoard Ethernet card). As
seen in diagram 1.13 above.

Diagram 1.11
The redhat-config-network screen appears
as shown in diagram 1.11. Click Yes.

Page 3
CONFIGURING AND SETTING UP LINUX USING ITS K.D.E. G.U.I.

Diagram 1.14
Select Ethernet Connector as shown in diagram Diagram 1.16
1.14 to commence configuring the OnBoard Select the Statically set IP Address radio button
Ethernet card. Click Forward. once again. Next enter the appropriate subnet
mask.
Note
Eth0 was loaded with a Default Gateway
Address because this computer itself is
the gateway to the Internet.

Explaining The Internet Gateway

The broadband Internet connectivity


providers provided the IP address and the
Subnet mask values loaded into eth0.

Hence eth0 is the actual, physical gateway to


the Internet.

eth1 is the Ethernet card via which other


computers on the network will access the Linux
computer and in turn the Internet to which the
Diagram 1.15 Linux computer is the gateway.
The Select Ethernet Device screen is displayed
as shown in diagram 1.15. Now select the 2nd Now eth1 is loaded with only an IP address
Ethernet card displayed (eth1). Click Forward. and an appropriate subnet mask to allow other
computers on the network to access the Linux
This will open up the Configure Network computer.
Settings screen as shown in diagram 1.16.
Again it is assumed that the IP address of this This explains the need for two Ethernet cards
card will be set manually. on the Linux computer.

After entering the IP address and Subnet mask


click Forward.

Page 4
SETTING UP A NETWORK USING THE K.D.E. G.U.I.

Diagram 1.17
The Create Ethernet Device screen appears as Diagram 1.19
shown in diagram 1.17. In the General tab we changed the Nickname to
LaptopLink. You can choose any name you
Click Apply. feel is appropriate. Then click OK. This returns
to the Network Configuration Screen. Notice
however, that the Nickname has changed to
Laptoplink.

Diagram 1.18 Diagram 1.20


This returns to the Network Configurations The LaptopLink is shown as Inactive. Click
screen as shown in diagram 1.18. Activate to active the card.

Select the second entry in this screen (i.e.


eth1) by clicking on it. Next, click Edit to
change the Nickname of eth1.

Give this any appropriate name of your choice


to help uniquely distinguish it from eth0, which
has been assigned DAX.

Page 5
CONFIGURING AND SETTING UP LINUX USING ITS K.D.E. G.U.I.

Diagram 1.21
The redhat-network-network screen appears as
shown in diagram 1.21. Click Yes.

Diagram 1.24
Since the Linux computer is the gateway to the
Internet. One more configuration value has to
be passed to eth0, i.e. the DAX card. That is
Diagram 1.22 the DNS server’s IP address. To do this first
The Information screen appears with the click on the Hardware tab in the Network
message that indicates that the changes made Conf. Screen as shown in diagram 1.24.Next
have been successfully written to the ipconfig select eth0. Here eth0 is shown, as Linux
file. Additionally there is a warning that recognizes Ethernet cards by their ID numbers.
network services may have to be restarted.
Click OK. Next click the DNS tab.

Diagram 1.23 Diagram 1.25


This returns to the Network configurations The Hostname is normally localhost.localdomain
screen as shown in diagram 1.23. Notice that By default.
the LaptopLink is now Active.
In the Primary DNS textbox enter the IP
address provided by the Board band Internet
service provider.

Next click File -> Save.

Page 6
SETTING UP A NETWORK USING THE K.D.E. G.U.I.

Diagram 1.26
The redhat-config-network screen appears as
shown in diagram 1.26. Click Yes.

Diagram 1.28
Open a Konsole shell using the Start menu.

Diagram 1.27 At the System prompt displayed enter:


The Information screen comes up with a
message indicting that the changes were # service network restart ↵
successfully written to the ipconfig file
together with a warning that network services An appropriate output should be visible on the
may have to be restarted via the command console screen indicating that all is well as
prompt. shown in diagram 1.28.

Page 7

S-ar putea să vă placă și