[Home] [Credit Search] [Category Browser] [Staff Roll Call] | The LINUX.COM Article Archive |
Originally Published: Tuesday, 2 October 2001 | Author: Dmitri Dimanise |
Published to: learn_articles_firststep/General | Page: 1/1 - [Std View] |
Help for @HOME Users Connecting to the Internet
Today seemed to us a most appropriate day to publish this concise tech. note on connecting to the Internet using the now bankrupt @Home service. If you've had trouble using your cable modem with Linux and @Home you ain't seen nothing yet. But, we wouldn't waste your time, @HOME will be around for a while, Chapter 11 is not the same as Chapter 7. So if you're a Linux @HOME users here's some good news for a change: we hope this article will help you stay connected.
|
NOTE If the above link doesn't work you can also go to the Member Services page at http://home-members.excite.com. On the left Menu click on Home Networking, and then click on the View Your IP Address which should bring you to the login page.Now that you are logged in you have some options, so go to View Current Addresses. Now scroll to the bottom of the page and under Tips: section find "Unix Users" and click on the provided link. Somewhere in the middle you should now have a table with everything you need. (e.g. your IP, Subnet Mask, Gateway/Router, Host, DNS Servers and Domain).
File: | Should Contain: | Example: |
---|---|---|
/etc/sysconfig/network-scripts/ifcfg-eth0 | DEVICE=your ethernet card BOOTPROTO=dhcp BROADCAST=first three numbers of the IP and 255 at the end IPADDR=your ip NETMASK=your netmask NETWORK=first three numbers of your ip and 0 at the end ONBOOT=yes |
DEVICE=eth0 BOOTPROTO=dhcp BROADCAST=24.123.83.255 IPADDR=24.123.83.175 NETMASK=255.255.255.0 NETWORK=24.123.83.0 ONBOOT=yes |
/etc/sysconfig/network | NETWORKING=yes HOSTNAME=your hostname DOMAINNAME=your domain name GATEWAY=your gateway |
NETWORKING=yes HOSTNAME=cr123456-a DOMAINNAME=yec1.on.wave.home.com GATEWAY=24.123.83.1 |
/etc/hosts | IP HOST HOST.Domain | 24.123.83.175 cr123456-a cr123456-a.yec1.on.wave.home.com |
/etc/HOSTNAME | HOST | cr123456-a |
/etc/resolv.conf | nameserver Primary DNS nameserver Sec. DNS search Domain |
nameserver 24.112.80.13 nameserver 24.112.80.14 search yec1.on.wave.home.com |
After you have finished editing the files, as root update the configuration by typing /etc/sysconfig/network-scripts/ifup eth0. After that you should be able to ping www.yahoo.com. Here's an example:
[root@cr123456-a /root]# /etc/sysconfig/network-scripts/ifup eth0
Determining IP information for eth0... done.
[root@cr123456-a /root]# ping www.yahoo.com
PING www.yahoo.akadns.net (64.58.76.224) from 24.123.83.175 : 56(84) bytes of data.
64 bytes from w3.dcx.yahoo.com (64.58.76.224): icmp_seq=0 ttl=245 time=46.773 msec
64 bytes from w3.dcx.yahoo.com (64.58.76.224): icmp_seq=1 ttl=245 time=49.969 msec
64 bytes from w3.dcx.yahoo.com (64.58.76.224): icmp_seq=2 ttl=245 time=39.968 msec
64 bytes from w3.dcx.yahoo.com (64.58.76.224): icmp_seq=3 ttl=245 time=39.962 msec
--- www.yahoo.akadns.net ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/mdev = 39.962/44.168/49.969/4.352 ms
[root@cr123456-a /root]#
If you get something that looks like above, well done, you are connected to the internet.