LinuxQuestions.org
Help answer threads with 0 replies.
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 11-10-2004, 12:58 AM   #1
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 14.04 64-bit
Posts: 230

Rep: Reputation: 30
Internet using Ethernet eth0


Im using Fedora Core 2 and in Network Configuration it detected the Ethernet card and it showed eth0 and is activated. It also shows localhost.localdomain.
But when I type some url in Mozilla Web Browser it displays url not found.
My Ethernet Card is REALTek.
What do I need to do in order to have internet working ?
Thanks
 
Old 11-10-2004, 01:17 AM   #2
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
Are you connected to your office's LAN? Is there any DHCP server available on the LAN that can provide you with IP? Can you ping outside IP addresses? .. do ..

$ /sbin/ifconfig

and report back ..
 
Old 11-10-2004, 01:22 AM   #3
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Also make sure your DNS servers are listed in /etc/resolv.conf
 
Old 11-10-2004, 07:17 AM   #4
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 14.04 64-bit
Posts: 230

Original Poster
Rep: Reputation: 30
Sorry - but Im terribly new to Linux. Im totally dependent on the GUI here. Where do I do $ /sbin/ifconfig ? I believe some shell like bash ? How do I get to Linux's command prompt ?
BTW the hostname shows as localhost.localdomain and the DNS Search is localdomain. I thought that must be changed. I removed it and its blank and its still not connecting.

"Are you connected to your office's LAN?" - NO - this is a home PC
"Is there any DHCP server available on the LAN that can provide you with IP? " - No idea abt this kind of info.

Windows shows : Realtek RTL8139 Family PCI Fast Ethernet NIC
Fedora shows : RLT 8135/8139/8139+ - Active

Last edited by anjanesh; 11-10-2004 at 07:20 AM.
 
Old 11-10-2004, 07:36 AM   #5
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
Sorry, but I guess you're connected to the net using a router and you pc is connected to the router via ethernet? .. if this is true, most probably your pc need no configuration at all.. provided that the router provides the dhcp information like IP address and DNS servers etc.. How are you currently connected to the net when you're on WinXP? Do you have to setup some IP address manually?
 
Old 11-10-2004, 08:38 AM   #6
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 14.04 64-bit
Posts: 230

Original Poster
Rep: Reputation: 30
Im using Cable modem and with Windows 2003 its automatically detecting the connection as soon as I switch it on. I dont have to do anything but browse.
I dont have to configure anything manually.
The ISP is having DHCP Server.
 
Old 11-10-2004, 09:42 AM   #7
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
Okay, go to terminal (Applications->System Tools ->Terminal) and do

/sbin/ifconfig

Just need to know if you've your IP from your ISP's DHCP server.
 
Old 11-11-2004, 01:37 AM   #8
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 14.04 64-bit
Posts: 230

Original Poster
Rep: Reputation: 30
xx:xx:xx:xx:xx:xx - The MacID I suppose
xxx.xx.xx.xxx - The IP address - the same one shown in windows

====================================================================
/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:xxx.xx.xx.xxx Bcast:255.255.255.255 Mask:255.255.248.0
inet6 addr:fe80::220:18ff:fed6:9602/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:316 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20246(19.7Kb) TX bytes:1370(1.3Kb)
Interrupt:9 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2329 errors:0 dropped:0 overruns:0 frame:0
TX packets:2329 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2407899 (2.2Mb)
TX bytes:2407899 (2.2Mb)
====================================================================

BTW I installed Fedora as Server since Im into webdevelopment and had all the php/mysql stuff installed.
 
Old 11-11-2004, 03:18 AM   #9
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
If you've the IP address as per Windows.. it means one thing, you don't have your DNS properly configured. Go to the network configuration and add in your DNS server(s) there manually.... to double check, see if your /etc/resolv.conf contains the correct DNS server(s) as per reply from CroMagnon.
 
Old 11-11-2004, 06:06 AM   #10
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 14.04 64-bit
Posts: 230

Original Poster
Rep: Reputation: 30
What is that I've to add manually for DNS Servers ? The default was localhost.localdomain. I removed that and left blank and still not working.
 
Old 11-11-2004, 06:29 AM   #11
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
Go to terminal,

$ cat /etc/resolv.conf

and report back.
 
Old 11-11-2004, 06:31 AM   #12
Strixy
Member
 
Registered: Apr 2004
Location: Nowhere, Oblivion
Distribution: Ubuntu
Posts: 48

Rep: Reputation: 15
I don't know much else, but having been a noob just last year this is all I know that might help. That and to say "stick with it. It gets easier".


(In Gnome) Right click on your desktop, select Terminal - a faster way to open a terminal.
type in "su" to get into root mode. (no need to include the quotes, but you knew that)
enter your password for root.
that should help you in some way. At least save you some time.
 
Old 11-11-2004, 06:46 AM   #13
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
Check this one out too:

http://www.redhat.com/docs/manuals/l...-ethernet.html

Figure 12-2, make sure you've the 'Automatically obtain DNS information from provider' is ticked.

If this still doesn't work .. Reboot into Windows, find your ISP DNS server.. (guess you should know how to.. if not, go to CMD BOX and use IPCONFIG /ALL and jot down the DNS servers returned). And go to your netconfig again as per figure 12-15 in the following website ..

http://www.redhat.com/docs/manuals/l...onfig-dns.html

Add your DNS IP addresses into Primary & Secondary .. most probably you need to restart the network service again to get it running.
 
Old 11-11-2004, 07:58 PM   #14
RanDrake10
Member
 
Registered: Oct 2004
Location: Florida
Distribution: Debian
Posts: 319

Rep: Reputation: 30
Check to make sure your firewall is not blocking eth0. Try unplugging modem for 30 seconds to reset it, then boot into Fedora, not needed but will reset modem.
 
Old 11-11-2004, 08:31 PM   #15
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
Quote:
What is that I've to add manually for DNS Servers ? The default was localhost.localdomain. I removed that and left blank and still not working.
If that was the only thing in your resolv.conf file, you need to add one or more nameservers to the file too:
Code:
nameserver 0.0.0.0
replace 0.0.0.0 with your ISP's DNS server. You can add more than one line like this.
 
  


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
eth0 not detected as Ethernet, no internet for me :( sadseh Linux - Networking 2 01-02-2005 04:43 AM
Wireless network on eth1 diabled Ethernet eth0 and eth0 never comes back tadatoshi Linux - Wireless Networking 4 09-23-2004 06:57 PM
howto delete existing static ip of ethernet(eth0)& reconf multiple ips on eth0 viveku Linux - Networking 2 02-02-2004 02:30 AM
RedHat 9.0 no eth0 no ethernet adapter johnh62 Linux - Hardware 6 09-12-2003 10:39 PM
PCMCIA ethernet: eth0 doesn't exist scrollpane Linux - Networking 5 07-20-2003 12:49 AM

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

All times are GMT -5. The time now is 07:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration