Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-05-2006, 01:03 PM
|
#1
|
Member
Registered: Jul 2004
Location: Guntur
Posts: 44
Rep:
|
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.
|
|
|
07-05-2006, 02:18 PM
|
#2
|
Member
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Rep:
|
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
|
|
|
07-05-2006, 03:33 PM
|
#3
|
Member
Registered: Jul 2004
Location: Guntur
Posts: 44
Original Poster
Rep:
|
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
|
|
|
07-05-2006, 05:56 PM
|
#4
|
Member
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Rep:
|
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')
|
|
|
07-06-2006, 02:29 AM
|
#5
|
Member
Registered: Jul 2004
Location: Guntur
Posts: 44
Original Poster
Rep:
|
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.
|
|
|
07-06-2006, 07:51 AM
|
#6
|
Member
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Rep:
|
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).
|
|
|
07-08-2006, 01:08 AM
|
#7
|
Member
Registered: Jul 2004
Location: Guntur
Posts: 44
Original Poster
Rep:
|
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.
|
|
|
07-08-2006, 11:08 AM
|
#8
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Rep:
|
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
|
|
|
07-09-2006, 12:39 PM
|
#9
|
Member
Registered: Jul 2004
Location: Guntur
Posts: 44
Original Poster
Rep:
|
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.
|
|
|
07-10-2006, 05:55 AM
|
#10
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Rep:
|
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
|
|
|
07-10-2006, 10:35 PM
|
#11
|
Member
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 07:44 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|