|[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).
|/etc/sysconfig/network-scripts/ifcfg-eth0||DEVICE=your ethernet card
BROADCAST=first three numbers of the IP and 255 at the end
NETWORK=first three numbers of your ip and 0 at the end
DOMAINNAME=your domain name
|/etc/hosts||IP HOST HOST.Domain||18.104.22.168 cr123456-a cr123456-a.yec1.on.wave.home.com|
|/etc/resolv.conf||nameserver Primary DNS
nameserver Sec. DNS
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 (22.214.171.124) from 126.96.36.199 : 56(84) bytes of data. 64 bytes from w3.dcx.yahoo.com (188.8.131.52): icmp_seq=0 ttl=245 time=46.773 msec 64 bytes from w3.dcx.yahoo.com (184.108.40.206): icmp_seq=1 ttl=245 time=49.969 msec 64 bytes from w3.dcx.yahoo.com (220.127.116.11): icmp_seq=2 ttl=245 time=39.968 msec 64 bytes from w3.dcx.yahoo.com (18.104.22.168): 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.