Operating System - Linux
1828399 Members
3609 Online
109977 Solutions
New Discussion

Cable Internet not working.

 
SOLVED
Go to solution
Deep_6
Occasional Advisor

Cable Internet not working.

Hi,
I have a cable internet. The RJ45 cable from the cable modem terminates in my ethernet card eth0.

#Configuration of my /etc/resolve.conf

nameserver (ipaddress of the DNS)

#CONFIGURATION OF /etc/syconfig/network
NETWORKING=yes
HOSTNAME=Server
GATEWAY=203.X.X.X

#CONFIGURATION OF /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=Static
IPADDR=203.X.X.X
NETMASK=255.X.X.X
GATEWAY=203.X.X.X

#CONFIGURATION OF /etc/hosts

127.0.0.1 Server localhost.localdomain localhost
service network restart
service iptables stop

Yet my internet is not getting connected. The cable modem is
SB5100
Surfboard Cable Modem

The machine is selfpinging its own ip address
its not pinging the gateway
and its not even pinging the DNS

When i use the same modem and the same configurations in XP the net gets connected
Kindly help
Thanking you
Deep
6 REPLIES 6
Ragu_3
Trusted Contributor

Re: Cable Internet not working.

Change the settings in your network interface so that you acquire an IP dynamically from the upstream DHCP server. Now it is configured for a static route. Check whether you have installed a dhcp client program like pump/dhcp3-client.

Hth....

--
Ragu
Debian GNU/Linux for the Enterprise! Ask HP ...
NiCK_76
Respected Contributor

Re: Cable Internet not working.

Which distribution linux are you using?
1/Check cable modem , cable ,nic ensure it works
2/Check config file very carefully again
3/perform command ifconfig , check collisions
just for fun
Deep_6
Occasional Advisor

Re: Cable Internet not working.

The ISP (Iqara) has assigned static ipadress and we dont get ipaddress from the ippool of the DHCP so there is no case to shift over to dhcp to get my ipaddress and netmask.

Other than that
Ive checked for ifconfig there are no colisions. In fact its not even pinging the gateway.

when i say ping to the gateway 203.X.X.X
Directly there is network not reachable

It even dosent give me an error saying
Destination host unreachable or something else.

I have checked each configuration file very carefully.

Any other suggestion?
thanx in advance
Deep
NiCK_76
Respected Contributor

Re: Cable Internet not working.

Which distribution did you used?

Try to upgrade NIC driver or linux offical kernel ,If it still not work. Gather os and hardware info by sysreport (rhel tool) to be attached.
just for fun
xyko_1
Esteemed Contributor
Solution

Re: Cable Internet not working.

Hi Deep,

would you please send us the output of

ifconfig -a
route -n


regards,
xyko
Deep_6
Occasional Advisor

Re: Cable Internet not working.

Hi Guys,
Thanx for your help. Well i had contacted the ISP and the problem was at their end. Actually they give static ipaddress. This static ip address binds with the mac address of the computer.

I had XP Work station... and there it was wroking coz it had the MAC address which was binded in the ISP. So they had flush the entries of mac address which was binded to my ip and then i could connnect.

ANY WAYS GUYS ALL of ur answers were correct so full ponts from my side and thanx for helping me with my question and quiries
Regards
Deep