LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-28-2014, 10:19 AM   #1
tharrison
LQ Newbie
 
Registered: Aug 2014
Posts: 8

Rep: Reputation: Disabled
deleted ethernet port


While attempting to set up my computer onto the local network I happened to accidentally delete the Ethernet option in the control center. I can’t seem to get it back. The computer no longer recognizes one at all. When going to the network center there are no options to choose from and when I attempt to set up a new network from the control center and select the Ethernet option It tells me “No device can be found for this connection type.” I need help with how to get the computer to recognize that there is an Ethernet port again to I can add this computer to the LAN.
 
Old 08-28-2014, 10:25 AM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
well to start can you provide the output of the following commands:
Code:
ifconfig
inconfig -a
lspci -v -v -v
lsmod
also what distro is this ?
 
Old 08-28-2014, 12:00 PM   #3
tharrison
LQ Newbie
 
Registered: Aug 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
ifconfig;
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scop:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:430 errors:0 dropped:0 overruns:0 frame:0
TX packets:430 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:33112 (32.3 KiB) TX bytes:3312 (32.3 Kib)

inconfig -a;
command not found

lspci -v -v -v;
too much to type but i see 5 usb controllers and no ethernet though the last usb is labled differently from the rest:
1-4... USB UHCI Controler
5... USB2 EHCI Controller
everything else are bridges or interfaces

lsmod;
also way too much to type out. if you let me know what your looking for i can tell you if its there or what it says. The computer with the problem is not on the internet and i cannot connect to the internet without the eth0 working.

--also i have no idea what you mean by distro or how to find it--

Last edited by tharrison; 08-28-2014 at 12:02 PM.
 
Old 08-28-2014, 12:02 PM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Quote:
Originally Posted by tharrison View Post
...
inconfig -a;
command not found
...
typo. should be
Code:
ifconfig -a
sorry.
 
Old 08-28-2014, 12:08 PM   #5
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

there was a typo, it should be:
Code:
ifconfig -a
Also, to find out more about the network device:
Code:
lspci -k |grep -A3 -i net
(this should output three lines per network device)

Distro can be found with:
Code:
lsb_release -ds
Evo2.
 
1 members found this post helpful.
Old 08-28-2014, 12:12 PM   #6
tharrison
LQ Newbie
 
Registered: Aug 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
ifconfig -a;
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scop:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:430 errors:0 dropped:0 overruns:0 frame:0
TX packets:430 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:33112 (32.3 KiB) TX bytes:3312 (32.3 Kib)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 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:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
 
Old 08-28-2014, 12:14 PM   #7
tharrison
LQ Newbie
 
Registered: Aug 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
lspci -k |grep -A3 -i net;
nothing came up it just went to the next line like it was asking for mor information
 
Old 08-28-2014, 12:16 PM   #8
tharrison
LQ Newbie
 
Registered: Aug 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
the distro is "Mandriva Linux 2009.0"
 
Old 08-28-2014, 12:30 PM   #9
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by tharrison View Post
lspci -k |grep -A3 -i net;
nothing came up it just went to the next line like it was asking for mor information
Hmm, lscpi might not be in your path. Try
Code:
/sbin/lspci -k |grep -A3 -i net
Otherwise can you confirm that this machine really does have a pci network device and that is has not been disabled in the bios?

Evo2.
 
Old 08-28-2014, 01:03 PM   #10
tharrison
LQ Newbie
 
Registered: Aug 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
/sbin/lspci -k |grep -A3 -i net;
no such file or derectory
 
Old 08-28-2014, 01:20 PM   #11
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

lspci doesn't seem to see it. So, can you confirm that this machine really does have a pci network device and that it has not been disabled in the bios?

Evo2.
 
Old 08-28-2014, 01:25 PM   #12
tharrison
LQ Newbie
 
Registered: Aug 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
checked the biose and it has not been disabled.
 
Old 08-28-2014, 01:34 PM   #13
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

I still think this may be bios or firmware related. Can you toggle it off(disable) and back on(enable) again in the bios? It also might be a good sanity check to boot from a live cd or something an check to see if it is visible to another OS.

Evo2.
 
Old 08-28-2014, 01:39 PM   #14
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
it seems like lspci isnt even installed.

can you try running
Code:
which lspci
and let us know if it prints anything.
 
Old 08-28-2014, 01:40 PM   #15
tharrison
LQ Newbie
 
Registered: Aug 2014
Posts: 8

Original Poster
Rep: Reputation: Disabled
added a second network card to see if the system picked it up. Not only did it pick up the new card but the origional came back on as well. I removed the second card and the origional is still working. Thank you all for all of your help.
 
  


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
ethernet port connection with an E1/T1 port kapsikum Linux - Networking 0 08-30-2010 12:38 AM
LXer: What can you do with a second Ethernet port? LXer Syndicated Linux News 0 05-06-2008 07:20 PM
Why is my Ethernet port not working?? trev_tyler088 Linux - Newbie 7 09-10-2006 09:24 PM
Using another ethernet port ToothlessRebel Linux - Networking 1 06-05-2005 02:59 PM
spare ethernet port tcma Linux - Networking 1 01-05-2005 06:45 AM

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

All times are GMT -5. The time now is 09:28 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