Chapter 7. Networking

Table of Contents

Samba Server
AntiVirus Server
SSH Server
DHCP Server
MySQL Database Server
Apache HTTP Server
Streaming Media Server
7.1. How do I configure network connections?
7.2. How do I activate/deactivate network connections?
7.3. How do I change computer name?
7.4. How do I browse network computers?
7.5. How do I use the DynDNS service?
7.6. How do I use Ethernet over Firewire?
7.1.

How do I configure network connections?

  1. System->Administration->Networking

  2. Select the Connections tab. select the Ethernet connection interface from the list, then click the Properties button. Ensure that the This device is configured is checked. From the Configuration drop-list select DHCP/Static IP address, then click OK.

  3. Select the DNS tab add or delete DNS Servers in the DNS Servers list.

7.2.

How do I activate/deactivate network connections?

  1. System->Administration->Networking

  2. Select Network settings+Connections Tab+Ethernet connection Activate/Deactivate

7.3.

How do I change computer name?

  1. System->Administration->Networking

  2. Select the General tab. Enter the name of the computer in the Hostname field.

  3. Click OK, close all open applications and reboot.

7.4.

How do I browse network computers?

[Note]

Assuming that network connections have been configured properly. See How do I configure network connections? for more information.

  1. This screen lists all network servers and Samba servers, if computers, network folders or Sambas servers could not be found, try to access them directly.

    Places->Network Servers

7.5.

How do I use the DynDNS service?

  1. Before beginning, ensure that your internet connection has been configured properly.

  2. Read How do I add Universe and Multiverse?

  3. Register free Dynamic DNS at http://www.dyndns.org.

  4. Install the ipcheck package with Synaptic (See How do I use Synaptic to install packages?)

    Networking (universe) > ipcheck

  5. sudo gedit /root/dyndns_update.sh

  6. Insert the following lines into the new file

    USERNAME=myusername
    PASSWORD=mypassword
    HOSTNAME=myhostname.dyndns.org
    cd /root/
    if [ -f /root/ipcheck.dat ]; then
        ipcheck -r checkip.dyndns.org:8245 $USERNAME $PASSWORD $HOSTNAME
    else
        ipcheck --makedat -r checkip.dyndns.org:8245 $USERNAME $PASSWORD $HOSTNAME
    fi

  7. Save the edited file

  8. sudo chmod 700 /root/dyndns_update.sh 
    sudo sh /root/dyndns_update.sh 
    export EDITOR=gedit && sudo crontab -e

  9. Append the following line at the end of file to refresh your IP in the DynDNS Database/DNS every hour. The ***** format equals minute, hour, date, month and year respectively.

    00 * * * * sudo sh /root/dyndns_update.sh

  10. Save the edited file

7.6.

How do I use Ethernet over Firewire?

[Warning]

Enabling Ethernet over Firewire involves recompiling your kernel, which can seriously break your system. For more information, see https://wiki.ubuntu.com/KernelCompileHowto.

  1. You need to compile a kernel including the following (NOT as modules):

    ieee1394

    ohci1394

    eth1394

  2. Reboot your PC

  3. Your firewire ethernet connection should be listed under System-> Administration-> Networking, or you can use ifconfig to list your network devices

  4. See https://wiki.ubuntu.com/EthernetOverFirewire for more information.