LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-05-2006, 01:03 PM   #1
naren_0101bits
Member
 
Registered: Jul 2004
Location: Guntur
Posts: 44

Rep: Reputation: 15
Problem configuring internet


Hai to all !
I moved from windows to linux just these days. And iam facing problem configuring internet now. I tried to configure but in vain.
Iam using Fedora Core 4 with AMD Athlon 1600 XP+ processor and 256MB RAM. Its a WebSTAR modem and a cable net with 64kbps line.
I tried to configure by GUI wizard from setting -> Internet Configuration wizard. In that i configured the eth0 by giving ip, subnet mask, default Gateway and i also have given Preferred DNS, Alternate DNS in Primary DNS and Secondary DNS fields under DNS tab.
I activated the eth0 by saying 'ifup eth0' in command line. I ping my ip, and it is ok.
But i can't able to connect to internet when tried an URL in my browser, as it is saying network unreacheble. It it enough to configure static interface (eth0) or else i need to configure logical interface(eth0:1) also. I also restarted my service by saying 'service network restart' and it went fine.
Please help me in resolving my problem.
Thanks to all in advance.
 
Old 07-05-2006, 02:18 PM   #2
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
I would start with some basic trouble shooting:

* Can you ping your gateway? (router, cable or DSL modem)
* Is your DNS working?
* Try pinging 64.233.167.99 (google's IP address), then
* Try pinging www.google.com
* Check cables (Yeah, I know, you already did this)

What are the contents of /etc/modprobe.conf (this tells the Kernel what modules to load, such as network drivers)

Also, what are the contents of /etc/sysconfig/network-scripts/ifcfg-eth0
 
Old 07-05-2006, 03:33 PM   #3
naren_0101bits
Member
 
Registered: Jul 2004
Location: Guntur
Posts: 44

Original Poster
Rep: Reputation: 15
Hai bartonski,
My Default Gateway is 203.163.224.1 and iam not able to ping this gateway.
How can i check whether my DNS is working or not? Iam able to get internet in windows, so i guess its working. But when i tried to ping DNS here in linux, it is also saying "network is unreachable". My primary DNS is 202.88.174.6 and Secondary DNS is 202.88.130.67
I tried to ping 64.233.167.99(google.com) but it is saying
connect: network is unreachable
Ya, my physical connection is well and good.

My /etc/modprobe.conf file is as below.

alias eth0 8139too
alias snd-card-0 snd-via82xx
options snd-card-0 index=0
options snd-via82xx index=0
remove snd-via82xx { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd

My /etc/sysconfig/network-scripts/ifcfg-eth0 file is as below.

DEVICE=eth0
BOOTPROTO=none
HWADDR=00:0D:61:10:3C:C8
ONBOOT=yes
TYPE=Ethernet
NETMASK=255.255.254.0
IPADDR=203.163.240.24
USERCTL=no
PEERDNS=yes
GATEWAY=203.163.224.1
IPV6INIT=no
 
Old 07-05-2006, 05:56 PM   #4
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
Quote:
Originally Posted by naren_0101bits
Hai bartonski,
My Default Gateway is 203.163.224.1 and iam not able to ping this gateway.
How can i check whether my DNS is working or not?
To clarify, I wanted to know if you were able to look up a
domain by domain name rather than IP Address. This does not seem to be working.

Based on /etc/modprobe.conf, you are using the 8139too module... what is the make and model of your ethernet card?

The kernel writes error messages to /var/log/messages. This may give you some idea of what is wrong. I would look in /var/log/messages, figure out the last message written, then reboot. Look again, and see what's changed. Look for references to eth0.

Google is definitely going to be your friend. Try searching for combinations of

FC4 8139too

Look up the name of your ethernet card as well, also throw in your kernel. (you can use the command 'uname -a')
 
Old 07-06-2006, 02:29 AM   #5
naren_0101bits
Member
 
Registered: Jul 2004
Location: Guntur
Posts: 44

Original Poster
Rep: Reputation: 15
Hai bartonski,
Iam not able to look up domain by domain name even.
The make and model of my ethernet card is
Realtek SemiConductor Co., Ltd. RTL-8139/8139C/8139C+(eth0)
I observed /var/log/messages and i hadn't seen anything strange. The reference to eth0 is shown as linkup, fullduplex
What i actually did is, gone with the command system-config-network and created a new ethernet connection named eth0 with the ip, subnet, gateway. And under DNS tab, i entered prefered DNS, alternate DNS, but i didn't give any hostname. Then i saved the configuration, activated it and restarted the service.
Pinging my own ip is working but not either gateway or DNS ip. And i tried
'dig google.com' command in vain. That is all.
 
Old 07-06-2006, 07:51 AM   #6
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
If you are connected directly to your cable modem, you will need to have the modem assign an IP address via DHCP. Cable companies don't give out static IP addresses unless you pay for them (and even when they do give them out, they're assigned via DHCP with an infinite lease).
 
Old 07-08-2006, 01:08 AM   #7
naren_0101bits
Member
 
Registered: Jul 2004
Location: Guntur
Posts: 44

Original Poster
Rep: Reputation: 15
yes, you are right,
sorry, my connection is an ADSL connection and my service provider gave me static ip address. Iam sure that it has nothing to do with DHCP to my knowledge. Ofcourse, iam paying for the connection.
 
Old 07-08-2006, 11:08 AM   #8
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
Hi naren_0101bits,

Are you connecting to a router from eth0 or directly to the modem? In other words, do you have an ADSL modem/router or do you connect directly to the modem? If you connect directly to the modem, you may need a dedicated driver for the modem. If you are connecting directly to the modem, what is the brand and model of the modem?

Bob
 
Old 07-09-2006, 12:39 PM   #9
naren_0101bits
Member
 
Registered: Jul 2004
Location: Guntur
Posts: 44

Original Poster
Rep: Reputation: 15
Hai Bobnutfield,
My eth0 is directly connected to modem. Yes, its an ADSL modem.
Iam using Scientific-Atlanta WebSTAR USB cable modem, DPC2100 Series, Version 3.23.
The driver CD i was given along with the device doesn't have drivers for linux.
Iam searching for its drivers in net, but i do not get it yet. Iam trying. I will get you soon after geting the drivers.
 
Old 07-10-2006, 05:55 AM   #10
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
Try, as root, typing:

lsusb

This will tell you how linux is identifying your modem. Search for drivers based on that desctiption. The Orinoco driver is apparently one that will work with this modem, but verify that before installing.

Bob
 
Old 07-10-2006, 10:35 PM   #11
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
The Scientific Atlanta WebSTAR also has an ethernet port, right? Then you can set up your ethernet using the drivers for your ethernet card, which will probably be a lot easier to get a hold of than drivers for a cable modem's USB interface (quite a lot of the drivers for ethernet cards come installed with Fedora Core). Just a thought.

--Barton
 
  


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
Problem configuring Internet manjunath81 Mandriva 1 06-26-2006 10:06 AM
Configuring internet Xentar Linux - Newbie 5 03-02-2006 01:56 AM
configuring internet shashank Linux - Software 4 04-12-2005 12:11 PM
Problem when configuring 2 NICs for internal LAN and cable internet mailavj Linux - Networking 24 04-07-2005 09:42 AM
Configuring Internet. Parradux Slackware 17 12-27-2004 08:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:44 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration