LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-12-2012, 11:29 PM   #1
Shailendra28
LQ Newbie
 
Registered: Jan 2012
Location: India
Posts: 15

Rep: Reputation: Disabled
About Internet Connection on Fedora16


Hi all,
I recently installed Fedora 16 on my machine and trying to start my internet. If i ping to another machine so it is pinging but my internet is not working... anybody knows this?
 
Old 01-13-2012, 12:56 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello Shailendra28,

As with all problems, the more information you provide, the better we can provide help. So, please run the following commands as root or in combination with sudo when running as your user and post the output between code tags please:
Code:
ifconfig
route
This will give us the basic information needed to start troubleshooting.

Kind regards,

Eric
 
Old 01-13-2012, 02:54 AM   #3
Shailendra28
LQ Newbie
 
Registered: Jan 2012
Location: India
Posts: 15

Original Poster
Rep: Reputation: Disabled
About the commands

Hi,
I executed the command on terminal :

Information :



[root@localhost ~]# ifconfig
em1 Link encap:Ethernet HWaddr 00:1E:8C:A0:5B:CF
inet6 addr: fe80::21e:8cff:fea0:5bcf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2067 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:169035 (165.0 KiB) TX bytes:936 (936.0 b)
Memory:dffc0000-e0000000

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:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:780 (780.0 b) TX bytes:780 (780.0 b)

[root@localhost ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
[root@localhost ~]#
 
Old 01-13-2012, 04:17 AM   #4
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
Are you absolutely positive it is pinging successfully? ifconfig says you don't have an IP address
 
Old 01-13-2012, 04:21 AM   #5
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
what was the IP which you were able to ping because in the absence of IP address I don't think you would be able to ping localhost as well

I believe The Ethernet card is inactive so better to make it up

Code:
#ifup eth0
and make sure you provide a valid IP
 
Old 01-13-2012, 10:36 AM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Quote:
Originally Posted by deep27ak View Post
what was the IP which you were able to ping because in the absence of IP address I don't think you would be able to ping localhost as well

I believe The Ethernet card is inactive so better to make it up

Code:
#ifup eth0
and make sure you provide a valid IP
In Fedora 15+ the network cards are not called eth* anymore, they're p#p# and/or em#. On my Fedora 15 machine it's em0 and em1, on my Fedora 16 machine it's p4p1 and em1.

OP - are you sure you were able to ping? What IP did you ping? Usually when you can ping an IP but don't have access to the internet, it means your DNS is not configured correctly. You still need an IP though, which it doesn't appear you have. Are you using a static IP or DHCP? What are you using to configure your network (NetworkManager or manually?) Do you have two network ports or just the one?

Last edited by suicidaleggroll; 01-13-2012 at 10:38 AM.
 
Old 01-14-2012, 11:05 AM   #7
Shailendra28
LQ Newbie
 
Registered: Jan 2012
Location: India
Posts: 15

Original Poster
Rep: Reputation: Disabled
Problem solved....

Hi all,
i was testing, i got a answer here, and i forgot to plugged the wire and fire the command. Sorry.. But the problem has been solved....

Solution

1] Click Application->Search Network from Search Box->Click on Network settings->Edit Wired Settings and add IPAdress, DSN and other..
 
Old 01-15-2012, 12:57 AM   #8
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi Shailendra28,

Good to hear you've got it working. If you consider your problem solved then please mark this thread as such. Have fun with Linux.

Kind regards,

Eric
 
  


Reply



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
unable to get fedora16 download to boot up alexraw Linux - Newbie 1 12-08-2011 01:48 AM
HighPoint RocketRaid 1640 on Fedora16 amaj1407 Linux - Hardware 3 11-18-2011 03:52 PM
internet connection to newly installed linux, i have a dual up connection babu.knl Linux - Newbie 1 05-22-2008 10:36 PM
Internet connection timeout on Fedora Core 5 using USB connection mike1111 Linux - Networking 0 07-23-2006 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:42 PM.

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