LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-24-2018, 02:00 AM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
I seem to have lost my network card


This is a real emergency! The network card inside my desktop computer seems to have disappeared. That's
the only way I can describe it. I have three systems on that machine: in Crux and LFS, the driver is built
in and the card always comes up automatically. In Debian, the kernel detects the card and loads the correct
module. Today none of these systems detects the card and Debian does not load the driver. If I modprobe the
driver, it loads but nothing else happens. In none of my systems does /sys/class/net contain
anything but the loopback interface. Last night, when I shut down Crux, everything was normal.

I am typing this on my laptop, Littleboy. I also have Oldboy upstairs, an old 32-bit machine that runs
AntiX, so I am not completely cut off. But I'm seriously crippled. Has anybody any idea of how I could
proceed? How do I diagnose this?

Last edited by hazel; 07-24-2018 at 02:03 AM.
 
Old 07-24-2018, 02:06 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,153

Rep: Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125Reputation: 4125
Things break - hardly unknown. Chuck another one in it. I've given up on cable, so I just have USB wifi dongles in a couple of my machines - I have 2 with broken network cards.
 
Old 07-24-2018, 03:32 AM   #3
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,521

Rep: Reputation: Disabled
Quote:
I seem to have lost my network card
That's rather remiss of you......

Old kit needs the electrical contacts cleaned every now & again, open up the box & remove & insert the card a couple of times, that should be enough to clean the terminals, (also the connecting cable terminals). If that doesn't work, try it in another slot - if it's dead, grab another card to put in there, or, if you want, use a USB stick or base unit for your connection. (Sticks cost upwards of £5)

P.S. Also try a different cable if it's cat5.

Last edited by fatmac; 07-24-2018 at 03:35 AM.
 
Old 07-24-2018, 05:20 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682

Original Poster
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
While washing, I suddenly thought"lspci". I ran downstairs and tried it. No ethernet card. So it's definitely lost contact either with the motherboard or with its power supply.
The trouble is I am a klutz. I can't touch anything without breaking it. The last time I opened that machine, it was with a friend who doesn't know anything about computers but is good with his hands. We were trying to change the failing battery. And we couldn't even get the old one out; it was welded to the mobo. That's how old the machine is! Maybe someone at the Harrow Computer club could help me reseat the card. In the mean time I need a sticking plaster.

I do have a wifi dongle, which is plugged into Oldboy upstairs. I could try that. It probably wouldn't work in LFS but it should in Debian. I've just checked and I do have wpa_supplicant there. That dongle hates being moved and misbehaves if it isn't exactly seated, but it's worth trying.

An alternative possibility is to install a proper system on this laptop. I'v got LFS on it at the moment but it's not really suitable for local building. And I don't have Firefox on it, only Links, which means I can't use Google Mail. However I have found a CD with a Debian Stretch netinstall. If I plugged the laptop into the router and installed Debian with a simple desktop (probably fluxbox) plus FF and claws, I'd at least be able to get my email back.

Postscript: Debian recognises the dongle. I now have a wlan interface with a weird name. Now to try and get it recognised by my router. Logging off here.

Last edited by hazel; 07-24-2018 at 05:26 AM.
 
Old 07-24-2018, 06:51 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682

Original Poster
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Grr! It needs firmware which my Debian doesn't have. And of course I can't install it using apt without a working network card!

However I found the firmware package using links on littleboy. I put it on a stick and I will havce to install it using dpkg. Not exactly the preferred way of doing things. The package came from Jessie, not Stretch, but I imagine for firmware it doesn't make much difference.

I also tried logging in to google to see if I could at least read my email. But they wanted confirmatory information which I couldn't remember. It's years since I set up that account. In any case istr that gmail doesn't work with links.
 
Old 07-24-2018, 07:52 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
I hope you get it diagnosed and get a solution.

Hard to advise here. Well not really, given the frustration you're citing and the stories you've told about your history with hardware, I'd advise you to not tinker.

You are VERY savvy with Linux, I can fully get that you admit to things being risky if you tinker inside the computer. The only recommendation I could make is that if you choose to proceed, then do so at a paced and meticulous rate, versus rush to get it done. Either that, or do not proceed.

By the way, your comment about the battery? Yes the system is old, but the state of the battery doesn't indicate exactly that. Many batteries are soldered down. Their holders are cheap wire or sheet metal, where the lead of that wire or metal is soldered to the board, and the battery is soldered both to the board as well as to that metal wire/sheet. Why? Because is it very inexpensive as opposed to purchasing and installing an actual battery holder. The law of probabilities is that the backup battery is designed to last 10+ years and some may last longer. Meanwhile some may last far briefer. Either case, that's the design and fabrication decision the MB vendor chose to make. A very common one when you get to mass production. As sad as it is, I've sat in endless meetings where they discuss shaving off 1/2 a cent of cost for something.
 
Old 07-24-2018, 10:04 AM   #7
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682

Original Poster
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
It came up again! Weird, isn't it: I shut the computer down for a few hours and when I started it up again, there was the ethernet card with its usual name!

I still want to install that dongle firmware though, just in case. Now I can do it via apt-get if I temporarily add non-free to my Debian repos.

A lot of folks in this thread have talked casually about buying a few extra network cards or dongles. I have no obvious place to buy them from, now that Maplins has gone bust. That was a wonderful store. I used to go in sometimes just to browse.

Should I mark this solved? It's not really a solution as I don't know what happened or what changed during the day. But the dongle will be a solution of sorts if I can get it to work.

The long-term solution is probably to start treating my laptop as a proper computer, not a toy, and get a mainstream distro onto it in place of LFS.
 
Old 07-24-2018, 01:27 PM   #8
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,521

Rep: Reputation: Disabled
Put AntiX on your laptop......you know it makes sense

P.S. Ask around at your computer club, someone will have some spare network cards, & possibly an old wifi card to spare - & if you're lucky, some kind soul will fit it & set it up for you.

Edit: Failing that, you might get lucky on 'Freecycle'.

Last edited by fatmac; 07-24-2018 at 01:32 PM.
 
Old 07-24-2018, 02:10 PM   #9
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682

Original Poster
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Quote:
Originally Posted by fatmac View Post
Put AntiX on your laptop......you know it makes sense
Hey, that's brilliant! I was thinking of Debian with a lightweight desktop but AntiX would be better. And I have an up-to-date 64-bit image, as I recently made a disc for a friend.
Quote:
P.S. Ask around at your computer club, someone will have some spare network cards, & possibly an old wifi card to spare - & if you're lucky, some kind soul will fit it & set it up for you.

Edit: Failing that, you might get lucky on 'Freecycle'.
I was a freecycler for a while, but I got tired of the endless emails. You can ask for a digest instead, but then anything interesting is gone by the time you notice it.

The Harrow Computer Club is a possibility. In the mean time I have paid the insurance by installing the Ralink firmware needed by the dongle and also printing out the pages from the manual that deal with inserting and removing expansion cards.

Last edited by hazel; 07-24-2018 at 03:02 PM.
 
Old 07-25-2018, 04:03 AM   #10
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,521

Rep: Reputation: Disabled
AntiX has worked flawlessly for me for years now, on lots of different machines.

(I used to be a Debian devotee too, way back, but swapped to #!, & when he stopped creating it, I transferred over to AntiX - & I don't like systemd, too much like MS registry).
 
Old 07-25-2018, 05:46 AM   #11
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
The apple ethernet dongle works good in linux. The asix kernel module, no firmware needed. I got it OTS at a radio shack long ago (the only "apple" device I own). The only one they had at radio shack and they never restocked it, even back then. So I got a couple linksys ones from walmart as well. They require firmware, but do gigabit. One of the two I have is flakey, so I have to unplug, replug every once in a while.

Ethernet being wired can get zapped from things like lightning strikes. Or other "thanks power company" quirks. I have an old asus rt-n12 with a fried port from lightning. But 4 of the 5 ports still work.
 
Old 07-25-2018, 05:53 AM   #12
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682

Original Poster
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
But it isn't fried! It works perfectly at the moment. That means it had to be an intermittent fault, probably a bad contact.
 
Old 08-06-2018, 12:23 PM   #13
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,682

Original Poster
Blog Entries: 19

Rep: Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492Reputation: 4492
Quote:
Originally Posted by fatmac View Post
Put AntiX on your laptop......you know it makes sense
Done! I did a standard install (no faffing around with manual partitioning) and easily got the wifi to work using ceni. Then I did the big first update you always have to do after a fresh install. There's still no email client and no libreoffice, but plenty of time to install those. I was impressed that AntiX immediately found the correct driver for my video card (openchrome). Yes, it's a lovely distro!

The network card on Bigboy has gone awol twice more but most days it reports for duty.
 
Old 08-06-2018, 01:14 PM   #14
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Can try a different slot if it is an add on card?
 
Old 08-06-2018, 01:43 PM   #15
Wells
Member
 
Registered: Nov 2004
Location: Florida, USA
Distribution: Debian, Redhat
Posts: 417

Rep: Reputation: 53
I see this from time to time on other hardware. Sometimes the motherboard BIOS will simply lose something on the PCI bus, which is what appears to have happened here. Rebooting doesn't fix the problem because it isn't a problem at the OS level, but at a more fundamental level. Even a power cycle sometimes won't help.

If this happens to you again, my recommendation as a possible remedy is to full unplug the system for at least thirty seconds, then start up normally. Chances are it will come right up without issues. That is, if it even ever happens again.
 
  


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
Lost in the network: setting up network on Laptop with virtual guest machines pdaalder Linux - Networking 1 02-16-2010 04:33 AM
lost onboard network card all of a sudden haxpak Linux - Newbie 2 01-04-2009 06:35 AM
Installed with an SD Card in reader months ago; lost card, won't boot (VolGroup err) sandaili Fedora 2 07-02-2008 05:19 PM
Kernel upgrade from 2.2 to 2.6.8, lost network card/functionality MrCranky Linux - Kernel 3 04-14-2007 04:30 PM
linux shuts down built in network card then windows tells me network card is unplugge lesmoxhaybaker SUSE / openSUSE 8 08-29-2006 05:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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