LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-07-2011, 07:16 PM   #1
tri88
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Rep: Reputation: 0
Trouble connecting to internet with Fedora 14


A little background.
This past fall, I formatted my hard drive and put fedora 12 on. Worked fine until my old hard drive decided to die. During the last few days of dying Fedora stopped being able to connect to my Linksys Wireless G router(I'm hard wired), or detect any connections. I just assumed this was the hard drives fault.

Now, I have a new WD hard drive with Fedora 14 on it and still cannot connect to the internet.

I fear worst case scenario would be my ethernet port is dead but I wouldnt know how to detect that.
I thought that it might be a problem of drivers also but couldnt find anything on this subject.



Some data

Router: Linksys WRT54G-TM

Quote:
$ lscpi
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller Hub (rev 81)
00:01.0 PCI bridge: Intel Corporation 82945G/GZ/P/PL PCI Express Root Port (rev 81)
00:1d.0 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1e.2 Multimedia audio controller: Intel Corporation 82801G (ICH7 Family) AC'97 Audio Controller (rev 01)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC Interface Bridge (rev 01)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 01)
01:00.0 VGA compatible controller: ATI Technologies Inc RV530LE [Radeon X1600/X1650 PRO]
01:00.1 Display controller: ATI Technologies Inc RV530LE [Radeon X1650 PRO] (Secondary)

Quote:
$ ifconfig
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:124 errors:0 dropped:0 overruns:0 frame:0
TX packets:124 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9556 (9.3 KiB) TX bytes:9556 (9.3 KiB)

Last edited by tri88; 01-07-2011 at 07:27 PM.
 
Old 01-07-2011, 07:51 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,379
Blog Entries: 16

Rep: Reputation: 3155Reputation: 3155Reputation: 3155Reputation: 3155Reputation: 3155Reputation: 3155Reputation: 3155Reputation: 3155Reputation: 3155Reputation: 3155Reputation: 3155
Drivers usually are not an issue with a wired connection, at least not that I have encountered.

Ideally, I would try a live CD that I know can connect to the internet on a wired connection (tested on another computer) and see if it can connect. Slax or Knoppix would be good for this.
 
Old 01-07-2011, 09:19 PM   #3
ubyt3m3
Member
 
Registered: Apr 2008
Distribution: Slackware64 13.37, Solaris 10, RHEL5/6
Posts: 92

Rep: Reputation: 19
I installed Fedora 14 on my notebook and desktop as virutalbox client. For both cases, the network service did not start automatically. So, this is the steps that I took:

1) Checked the configured NIC:
Code:
# ifconfig -a
eth0   Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
       BROADCAST MULTICAST  MTU:1500 Metric:1
       RX packets:0 errors:0 dropped:0 overruns:0 frame:0
       TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:1000
       RX bytes:0 (0.0 b) TX bytes: 0 (0.0 b)

lo0    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:4 errors:0 dropped:0 overruns:0 frame:0
       TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:1000
       RX bytes:240 (240.0 b) TX bytes: 240 (240.0 b)
2) Create a configuration file for eth0 in /etc/sysconfig/network-scripts/.
Code:
#cd /etc/sysconfig/network-scripts/
#vim ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
TYPE=Ethernet
ONBOOT=yes
Since I'm using DHCP, BOOTPROTO is set to dhcp.

3) Start up eth0:
Code:
# ifup eth0
4) Make sure eth0 is received IP address:
Code:
# ifconfig eth0
eth0   Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
       inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
       inet6 addr: fe80::a00:27ff:fe6f:542e/64 Scope:Link
       UP BROADCAST MULTICAST  MTU:1500 Metric:1
       RX packets:0 errors:0 dropped:0 overruns:0 frame:0
       TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
       collisions:0 txqueuelen:1000
       RX bytes:0 (0.0 b) TX bytes: 0 (0.0 b)
5) Check start up status for network service:
Code:
# chkconfig --list network
network   0:off  1:off  2:off  3:off  4:off  5:off  6:off
6) Enable network service on startup:
Code:
# chkconfig --levels 35 network on
7) Reboot the server to check if IP address is assigned after rebooting:
Code:
# reboot
8) After the server is back up, check for IP address:
Code:
# ip addr
1: lo:...
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
   link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
   inet 192.168.0.6/24 brd 192.168.0.255 scope global eth0
   inet6 fe80::a00:27ff:fe6f:542e/64 scope link
   valid_lft forever preferred_lft forever
That's it. I hope this helped you.
-gibb

PS. BTW, I turned off NetworkManager prior to these steps.

Code:
# service NetworkManager stop
# chkconfig NetworkManager off

Last edited by ubyt3m3; 01-08-2011 at 03:24 AM.
 
Old 01-07-2011, 10:49 PM   #4
tri88
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Hey ubyt3m3, I'm having some trouble with step 2.

Also, I dont get the same output for step 1. Is having eth0 necessary?

1.
Quote:
# ifconfig -a
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:88 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6992 (6.8 KiB) TX bytes:6992 (6.8 KiB)
2
Quote:
# vim ifcfg-eth0
Command not found.

Last edited by tri88; 01-07-2011 at 11:18 PM.
 
Old 01-08-2011, 01:04 AM   #5
ubyt3m3
Member
 
Registered: Apr 2008
Distribution: Slackware64 13.37, Solaris 10, RHEL5/6
Posts: 92

Rep: Reputation: 19
It looks like your system doesn't recognize any network adapter. Do you know what it is? It may be a good idea to run live CD to see if that recognizes any (like frankbell suggested). If all fails, get a new NIC card. I hope a live CD sees your network adapter.

-gibb
 
Old 01-08-2011, 11:35 AM   #6
tri88
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Live CD also does not work.

The Network Adapter came attached to the MSI motherboard I bought back in 2006.

Heres a couple of pics of the internals if it helps
http://i.imgur.com/xs354.jpg
http://i.imgur.com/gfBD0.jpg
 
Old 01-08-2011, 11:56 AM   #7
tri88
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
I went ahead and ordered a new network adapter.

Will reply how it goes.
 
Old 01-08-2011, 12:02 PM   #8
falmdavis
Member
 
Registered: Jul 2010
Posts: 56

Rep: Reputation: 15
Quote:
Originally Posted by tri88 View Post
Hey ubyt3m3, I'm having some trouble with step 2.

Also, I dont get the same output for step 1. Is having eth0 necessary?
Quote:
# vim ifcfg-eth0
Command not found.
You can use any editor that you have installed on your system.
Code:
# vi ifcfg-eth0
Any text editor should work.

eth0 is the first ethernet device. You can also set it up manually instead of with a script. Fedora should have a network manager where you can go through a list of questions about your network services and it will create the scripts for you, or you can edit the files yourself if you know how to do that. You can also manually set up your ethernet. Search Linuxquestions on how to do that.

Code:
# ifup eth0
# ifconfig -a
You can try to see if eth0 comes up with the above code. You can also see if you have dhcp running.
 
Old 01-18-2011, 07:11 AM   #9
tri88
LQ Newbie
 
Registered: Jan 2011
Posts: 6

Original Poster
Rep: Reputation: 0
UPDATE:

MY new NIC came in the mail yesterday. Plugged it in and NetworkManager detected it instantly. Awesome.

In case anyone is wondering it was this card. about $10 including shipping.

Thanks for all responses
 
  


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
Hi another new boy here. having trouble connecting to the internet andrak LinuxQuestions.org Member Intro 0 09-17-2009 04:00 PM
trouble connecting to internet through Squid proxy server (Fedora 4) H@$H Linux - Networking 5 06-30-2009 04:54 AM
[Ubuntu] Having trouble connecting to the internet UbuntuIdiot Linux - Newbie 8 06-13-2009 11:44 PM
trouble connecting to internet aticusboo Linux - Networking 3 05-12-2007 10:36 AM
Trouble connecting to internet with FC6 Medicineman Linux - Networking 2 02-11-2007 07:39 AM

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

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