LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-31-2004, 12:30 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Rep: Reputation: 53
Can connect broadband but can't connect Internet


Hi all folks,

Gentoo 1.4
Connection = broadband via cable modem
ADSL
Dynamic ISP
=======
(Remark: Iptables not up yet)

My PC can connect ISP but cut off from Internet.

"ifconfig" and "ping ISP" showing connection

on /etc/conf.d/net
I have tried following combination without result

1)
iface_eth0="192.168.0.1 broadcast 192.168.0.255 netmask 225.255.255.0"
iface_eth0="dhcp"
dhcpcd="..."
alias_eth0="192.168.0.1 192.168.0.2"
# defaultroute

2)
# iface_eth0="192.168.0.1 broadcast 192.168.0.255 netmask 225.255.255.0"
iface_eth0="dhcp"
dhcpcd="..."
alias_eth0="192.168.0.1 192.168.0.2"
defaultroute

3)
# iface_eth0="192.168.0.1 broadcast 192.168.0.255 netmask 225.255.255.0"
iface_eth0="dhcp"
dhcpcd="..."
alias_eth0="192.168.0.1 192.168.0.2"
# defaultroute

4)
# iface_eth0="192.168.0.1 broadcast 192.168.0.255 netmask 225.255.255.0"
iface_eth0="dhcp"
dhcpcd="..."
# alias_eth0="192.168.0.1 192.168.0.2"
# defaultroute

5)
# iface_eth0="192.168.0.1 broadcast 192.168.0.255 netmask 225.255.255.0"
iface_eth0="dhcp"
dhcpcd="..."
alias_eth0="192.168.0.1 192.168.0.2"
gateway=isp

Kindly advise how to fix the problem.

TIA

B.R.
satimis
 
Old 01-31-2004, 01:35 AM   #2
Breezwell
Member
 
Registered: Apr 2001
Location: Chicago
Distribution: Gentoo 1.4
Posts: 214

Rep: Reputation: 30
The only line you need uncommented is the following:

iface_eth0="dhcp"

Leave everything else commented unless you are using a gateway or have another NIC in the system being used for a local network.
 
Old 01-31-2004, 04:54 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Quote:
Originally posted by Breezwell
The only line you need uncommented is the following:

iface_eth0="dhcp"

Leave everything else commented unless you are using a gateway or have another NIC in the system being used for a local network.
Hi,

Thanks for your advice.

Problem still remained after leaving only "eface_etho="dhcp" on /etc/conf.d/net, Broadband connected, ping ISP possisble but cut off from Internet

Tried
ping -c 3 www.yahoo.com
ping -c 3 www.google.com
etc.
all impossible

Sorry for not mentioning there is another ethernet in my previous posting.

This PC has 2 ethernet cards
eth0 - to broadband
eth1 - connected to another PC for sharing broadband if this PC is not connected to broadband.

At time of test eth1 was disconnected.

B.R.
satimis
 
Old 01-31-2004, 12:14 PM   #4
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 6/7, Vista, XP , WIN7, Server 03/08
Posts: 1,287

Rep: Reputation: 97
You say you are able to ping the ISP, when did you get this, is it Comcast? It may be you need to register your NIC with them before they let you out of their gateway.

--Alex
 
Old 01-31-2004, 08:58 PM   #5
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
Reset the power on the modem, then start the interface.

If you get no errors and an ip address on the interface dhcp seems to be working. Maybe you can check /etc/resolv.conf to see if the nameservers are there, and make sure you have the firewall open to these servers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva 2006.3 can not connect to broadband service futurist Mandriva 21 09-10-2005 09:55 AM
How to use Linux to connect to broadband? futurist Linux - Newbie 12 09-08-2005 08:14 PM
How to connect broadband automatically at boot satimis Debian 6 09-19-2004 11:30 AM
Configuring network to connect internet using broadband senab Linux - Newbie 3 09-13-2004 05:21 AM
Connect to broadband problem after upgrade to RH 9.0 satimis Linux - Networking 4 07-22-2003 11:49 AM


All times are GMT -5. The time now is 02:57 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration