RedHat Linux DSL Configuration
1
  • Log in as root, or switch to the root user by typing su root.
  • At your shell prompt, type the following:

    /sbin/ifconfig eth0 netmask 255.255.255.0 x.x.x.x

    Replace x.x.x.x with the Static IP address that was supplied to you by Pilosoft Inc.
  • Once the command has executed, type /sbin/ifconfig. The results should look similar to:
  • lo Link encap:Local Loopback  
      inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
      UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
      RX packets:1775 errors:0 dropped:0 overruns:0
      TX packets:1623 errors:0 dropped:0 overruns:0
         
    eth0 Link encap:Ethernet  HWaddr 00:3E:11:61:FF:5E
      inet addr:65.38.9.2  Bcast:65.38.9.xxx  Mask:255.255.255.0
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:4325 errors:0 dropped:0 overruns:0
      TX packets:3257 errors:0 dropped:0 overruns:0
      Interrupt:11 Base address:0x280 
    
  • Open the file /etc/sysconfig/network in your favorite text editor. The contents should look similar to:
  •   NETWORKING=yes
      FORWARD_IPV4=false
      HOSTNAME=username.pilosoft.com
      DOMAINNAME=pilosoft.com
      GATEWAY=65.38.9.1
      GATEWAYDEV=eth0
    
    Replace 65.38.9.1 with the Default gateway IP address that was supplied to you by Pilosoft Inc.
  • Save the file.
  • Othe file /etc/resolv.conf in your favorite text editor. The contents need to look like the following:
  •   nameserver 65.38.1.2
      nameserver 65.38.1.4
    
  • Save this file.
  • You should now be connected via DSL. To verify connectivity, typing the following: ping 216.66.14.1
  • You should get he following response: 
    PING 216.66.14.1 (216.66.14.1): 56 data bytes
      64 bytes from 216.66.14.1: icmp_seq=0 ttl=254 time=11.935 ms
      64 bytes from 216.66.14.1: icmp_seq=1 ttl=254 time=12.968 ms
      64 bytes from 216.66.14.1: icmp_seq=2 ttl=254 time=12.824 ms
      64 bytes from 216.66.14.1: icmp_seq=3 ttl=254 time=10.028 ms
      64 bytes from 216.66.14.1: icmp_seq=4 ttl=254 time=12.744 ms
      --- 65.38.1.5 ping statistics ---
      5 packets transmitted, 5 packets received, 0% packet loss
    Press CTRL-C to stop pinging the server.
    Your Linux box should now be connecting via your DSL line.
    NOTE: To make these changes permanent between reboots, you must put the command /sbin/ifconfig eth0 netmask 255.255.255.0 216.66.14.5 in /etc/rc.local. RedHat machines may use the /usr/sbin/netconfig utility instead.

Great! Take me back so I can learn more.

© 2002 Pilosoft, Inc. info@pilosoft.com 877-PILOSOFT