Network HowTo ( Should be translated to Arabic )

Arabic Network Howto for any distro:

The following is just a quick draft. Not even in Arabic. But eventually should be. Needs to be translated.

1) Loading your ethernet card driver.

Use lspci to know your ethernet card controller. Look in this howto for the driver and load it. http://tldp.org/HOWTO/Ethernet-HOWTO.html

2) Setting up the network.

DHCP

After loading your driver you can get sure that it is recognized by typing

ifconfig

Usually your card will have network interface name eth0. If your router/modem is running a DHCP server (in other words is set to automaticly give ip addressses to devices connected to it) just use

dhcpcd eth0


Static IP

Here you must know mainly three things:

  • The IP range of addresses you are allowed to take and
  • The IP address of the gateway (router)
  • An IP address of any DNS server (usually your router acts as a DNS server for you so you the IP address of the DNS is usually that of your router)

Give yourself an IP.

ifconfig eth0 192.168.1.1

Where 192.168.1.1 is your IP.

Specify the gateway

route add default gw 192.168.1.0 eth0

Where 192.168.1.0 is the IP of your router or DSL Modem.

Specify DNS servers

Edit /etc/resolve.conf and put some DNS servers. Put the following

nameserver 192.168.1.0

Where again 192.168.1.0 is the IP of your router or DSL Modem.