LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   New Install - No Network Card Detected (https://www.linuxquestions.org/questions/slackware-installation-40/new-install-no-network-card-detected-4175510561/)

1976dan 07-09-2014 05:57 AM

New Install - No Network Card Detected
 
Hi Guys ,

i am a new user to the slacker world and have installed
Slackware 14 .

Now i have noticed my install did not detect my onboard network card .

Now what steps do i need to take to load the drives for my network card and get it setup .

any help would be appreciated .

i have a asus motherboard .

camorri 07-09-2014 06:30 AM

First of all, welcome to the forum.

Quote:

Now i have noticed my install did not detect my onboard network card .
Please tell us how you came to this conclusion. Did you run 'netconfig' during installation? If not, run it now and see what happens.

Run netconfig as root user. If no network card is detected then, open a command prompt, run the command lspci as root user, and post the results.

It would also help if you run the command 'lsmod' and post the results.

Hope this helps.

onebuck 07-09-2014 08:48 AM

Member Response
 
Hi,

Welcome to LQ & Slackware!
Quote:

Originally Posted by 1976dan (Post 5201001)
Hi Guys ,

i am a new user to the slacker world and have installed
Slackware 14 .

Now i have noticed my install did not detect my onboard network card .

Now what steps do i need to take to load the drives for my network card and get it setup .

any help would be appreciated .

i have a asus motherboard .

A few quick thinks you can do as root;
Code:

~# dmesg |grep -i wireless
[    4.708244] Intel(R) Wireless WiFi driver for Linux, in-tree:
[    4.725364] iwlwifi 0000:03:00.0: Detected Intel(R) Centrino(R) Wireless-N 1030 BGN, REV=0xB0
~# dmesg |grep -i ETH   
[    4.690133] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    4.690694] r8169 0000:0a:00.0 eth0: RTL8168e/8111e at 0xffffc9000489a000, 84:8f:69:c4:6a:e2, XID 0c200000 IRQ 50
[    4.690697] r8169 0000:0a:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[  22.259078] r8169 0000:0a:00.0 eth0: link down

~#lspci -vv |grep -i network
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 (rev 34)
~# lspci -vv |grep -i eth   
0a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)

You can use 'lspci -vv |most' to scroll through output. Notice at the end for each device that 'Kernel driver in use:' is provided to show which driver is in use. You can then do as root: 'modinfo driver_name' to get module information.

If I do have network or wireless issue then I will make sure that proper drivers & firmware are in use. Then the device should be recognized thus allowing configuration. Be sure to look at: http://docs.slackware.com/howtos:network_services:start

Hope this helps.
Have fun & enjoy!
:hattip:

ReaperX7 07-10-2014 09:34 PM

I have some tips you may want to use OneBuck might not have touched on... Let's try a troubleshooting step check.

1. Check in your motherboard BIOS/UEFI settings if you have the Network Adapter enabled. Usually it will say options for Enabled/Disabled. If it is disabled, set it to enabled, save the settings, and reboot. If the network doesn't come up, proceed to step 2.

2. Check the network cabling. Make sure your network cable is a Cat5 or higher certified cable (I personally recommend no less than Cat5e cabling). Check for breaks in the cable, a broken clip on the plug, if the cable is plugged in, etc. If cable is damaged, try to replace it with a better cable. If network still doesn't work, proceed to step 3.

3. If the lspci utility does not list a network device, there is a chance the kernel driver was not enabled for that device or the card might be dead. lspci should list the device type, brand, model number, or make. If it doesn't, you might have a dead network chip. If it does come up, but no driver is loaded, you may need to rebuilt the kernel to support your device, if a built-in driver exists.

Follow these instructions here:

http://docs.slackware.com/howtos:sla...rnelbuilding?s

When building the kernel. I recommend you use the make menuconfig to check the kernel registry for your device, and enable it. You can build it as a module (preferred method), or built into the kernel. If the new rebuilt kernel and modules do resolve the issue and load the driver, you're done.

If not, then you may want to contact your PC manufacturer for information about the network card, check for recalls, or even look into a USB Network Adapter, or look into an RMA if it is indeed a dead adapter.

Be advised that some Network Adapters may be a Staging Driver and could require loadable firmware. If you need help finding firmware, we can help you.

My advise is to work your way down the checklist and see what is going on before you get to step 3.

1976dan 07-11-2014 05:00 AM

LSPCI output
 
2 Attachment(s)
Hi again ,

ok see the attached for the output

it looks like it detects the card but the drivers are not there .

see attachments for the output

onebuck 07-11-2014 08:05 AM

Member Response
 
Hi,

It does show that your link is up and using 'r8169' driver. Possibly a network configuration issue. Show us 'ifconfig -a' & 'route -n'.

Show us the '/etc/rc.d/rc.inet1.conf' file section for the device.

1976dan 07-12-2014 03:50 AM

Thank u all for your help

Looks like it was a problem with the on board network card

would work then not work etc .

shoved in a pci network card and shes apples .

i have learnt a few new commands which will help me in the future

thank u all very much


All times are GMT -5. The time now is 08:20 AM.