Tom's Hardware > Forum > Linux/Free BSD > Linux/Free BSD General Discussion > How to connect to internet by cable modem
Word :    Username :           
 

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.

Sponsored Links
Register or log in to remove.

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.

Reply to silverpig

I've got the DHCP enabled, I can access the router and configure it, but still not work.

Reply to jackzheng

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>

Reply to jlanka

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

Reply to jackzheng

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>

Reply to jlanka

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'

Reply to jackzheng

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>

Reply to poorboy

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>

Reply to jlanka

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

Reply to jackzheng

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>

Reply to jlanka

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>

Reply to jackzheng

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.

Reply to silverpig

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

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

Reply to jlanka
Tom's Hardware > Forum > Linux/Free BSD > Linux/Free BSD General Discussion > How to connect to internet by cable modem
Go to:

There are 522 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them