Sign in with
Sign up | Sign in
Your question

How to connect to internet by cable modem

Last response: in Linux/Free BSD
Share
December 9, 2002 5:03:56 PM

My pc is connected to Linksys BEFSR41 router. I've just installed RedHat 8.0, but I can't access internet through it via cable modem, which I can in the windows OS. What do I need to configure? I even can't access internet without router. Can anyone help me? Thanks a lot.
December 9, 2002 9:48:44 PM

Use netconf and enable dhcp (if you don't want to mess with that, just boot off the rh cd, select upgrade, same packages, and then when it comes to the networking part, just click the dhcp box... takes 5 minutes).

You should be up and running in no time.

Some day I'll be rich and famous for inventing a device that allows you to stab people in the face over the internet.
December 10, 2002 8:28:26 PM

I've got the DHCP enabled, I can access the router and configure it, but still not work.
Related resources
December 11, 2002 9:27:32 AM

what happens when you type in a URL in Mozilla? Better yet, can you get a result from dig www.yahoo.com?

<i>It's always the one thing you never suspected.</i>
December 11, 2002 6:05:12 PM

I've tried that. When try to connect to yahoo, the broswer just show 'connect to yahoo.com...' at the bottom of Mozilla, and after quite a long time a window jump out with sth like 'you can't connect to this site' or sth. My networking configuration is : Autometically obtain IP address with DHCP
Autometically obtain DNS information from provider
the Host IP address is 127.0.0.1, which may not be correct, but I don't know what it should be
December 11, 2002 7:41:00 PM

I'm thinking you've got a bad cable or bad NIC. Do you have good lights on the NIC and router/hub?

127.0.0.1 is know as the "loopback" connection - yourself. What do you see when you type "ifconfig eth0" at an xterminal?

<i>It's always the one thing you never suspected.</i>
December 11, 2002 9:23:04 PM

Both cable and NIC should be good because I can access internet under windows. I type the ifconfig eth0, but I got 'command not found'
December 12, 2002 1:37:04 AM

You have to be root user to run ifconfig, or give it as "/sbin/ifconfig". Run "su" and then enter root password. Next, run "ifconfig -a" which will list your network interfaces.

If there is no eth0 listed, you don't have a driver (kernel module) for it loaded. If there is an eth0, run "ifconfig eth0 up" which should activate it. Then run "ifconfig" and you should have 2 interfaces now - lo and eth0.


<i>Do I look like I care?</i>
December 12, 2002 10:41:12 AM

oh, I didn't realize you were talking about dual boot when you mentioned windows. Do what poorboy said and report back.

<i>It's always the one thing you never suspected.</i>
December 12, 2002 5:49:42 PM

Eth0 Link encap: Ethernet Hwaddr: ...
inet addr: 192.168.1.xxx Bcast: 192.168.1.xxx
up broacast running multicast MTU: 1500 metric:1
RX packets: 7 errors:0 dropped:0 overuns: 0 frame: 0
TX packets: 12 errors:0 dropped:0 overuns: 0 frame: 0 Collision: 0 txqueuelen: 100
TXbytes: 74.7kb TXbytes 16.4kb
lo Link encap: Local loop back
Inet addr: 127.0.0.1 Mask: 255.0.0.0
OP LOop Back running MTU: 16436 Metric:1
RX packets: 72 errors:0 dropped:0 overuns: 0 frame: 0
TX packets: 72 errors:0 dropped:0 overuns: 0 frame: 0 Collision: 0 txqueuelen: 0
TXbytes 4.5kb TXbytes: 4.5kb

I wonder whether there is command like 'ping www' in Linux
December 12, 2002 6:41:43 PM

ping the router (type ping, and the router IP address)

It looks good to me.

<i>It's always the one thing you never suspected.</i>
December 12, 2002 8:50:41 PM

Ping www, 0% loss, so I know how to do now. I should configure the Mozilla\preference\advance\proxies. Now I can access internet under Linux. Thanks all nice guys.
<P ID="edit"><FONT SIZE=-1><EM>Edited by jackzheng on 12/12/02 06:19 PM.</EM></FONT></P>
December 13, 2002 12:26:48 AM

Oh, btw, you don't have to xxx your 192.168.1.xxx address. That's the address of your computer behind the firewall. It's a standard home network address. I'm 192.168.0.4 right now... Also have 1, and 2 as well.... 3 on the weekends.

Some day I'll be rich and famous for inventing a device that allows you to stab people in the face over the internet.
December 16, 2002 11:46:50 AM

didn't realize your ISP had a proxy server. Most don't.

<i>It's always the one thing you never suspected.</i>
!