Connecting to the Internet


  1. Instructions here apply only to internet connections established using an Ethernet card and cable. Wireless internet use is possible but it is not covered here. For more information see coLinux Wiki.
     
  2. To connect to the internet on networks using static IP's edit the file /etc/sysconfig/network-scripts/ifcfg-work. In particular, modify the IPADDR and GATEWAY parameters. Do not use your Windows host IP address here. CoLinux requires it own unique IP and hostname. Contact your network administrator if you need to have one created for this purpose.

    DEVICE=eth1
    IPADDR=122.181.121.06
    NETMASK=255.255.255.0
    NETWORK=
    # BROADCAST=255.255.255.255
    GATEWAY=122.181.168.1
    ONBOOT=no

     

  3. To connect to the internet in a DHCP networking environment edit the file /etc/sysconfig/network-scripts/ifcfg-home. The default settings shown below will work in most home environments where a Linksys router is used.

    DEVICE=eth1
    IPADDR=192.168.1.200
    NETMASK=255.255.255.0
    NETWORK=
    BROADCAST=255.255.255.255
    GATEWAY=192.168.1.1
    ONBOOT=no

     

  4. Restart the network service:

        [root@fedora ~] # service network restart

     
  5. Connect and disconnect from the internet using the ifup and ifdown commands:

        [root@fedora ~] # ifup home
        [root@fedora ~] # ifdown home
       
        [root@fedora ~] # ifup work
        [root@fedora ~] # ifdown work

     
  6. Keep coLinux up-to-date using the yum (terminal) or yumex (gui) commands. The yumex command requires an X server to be running on the Windows host:

    [root@fedora ~] # yum update
                        or
    [root@fedora ~] # yumex

 


Responsible NASA Official:  Gordon D. Holman
Web Content:  Merrick Berg

Heliophysics Science Division
NASA/Goddard Space Flight Center
Laboratory for Solar Physics/ Code 671
Greenbelt, MD, 20771, USA
Gordon.D.Holman@nasa.gov