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 - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-21-2022, 07:06 AM   #1
globetrotterdk
Member
 
Registered: Nov 2006
Posts: 297

Rep: Reputation: 16
New install Slackware64 14.2 and Realtek RTL8101/2/6e Ethernet. No connection.


New Slackware64 14.2 install on Acer Aspire One 725 60kk. lspci shows the Ethernet controller to be Realtek RTL8101/2/6e. I have run watch -n 1 ethtool eth0 and there appears to be a link to the attached Ethernet cable, as well as a blue indicator light on my laptop that appears to confirm the same thing. I have tried to run # slackpkg update but it is unable to connect to the relevant mirror. Yes, I have updated / corrected the URL in /etc/slackpkg/mirrors.

I need to get this working if I am at all to get this system working. Next step will be to get WiFi working, but I have documentation for that…
 
Old 01-21-2022, 07:31 AM   #2
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 589

Rep: Reputation: Disabled
It is not clear if you have network connectivity. Is your only problem that slackpkg cannot connect? Does this return anything (as root)?
Code:
ifconfig eth0
route -n
ping 8.8.4.4
host 8.8.4.4
 
Old 01-21-2022, 09:19 AM   #3
globetrotterdk
Member
 
Registered: Nov 2006
Posts: 297

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Windu View Post
It is not clear if you have network connectivity. Is your only problem that slackpkg cannot connect? Does this return anything (as root)?
Code:
ifconfig eth0
route -n
ping 8.8.4.4
host 8.8.4.4
The first two commands gave 0 packets, while the last two gave “network is unreachable” and “connection timed out: no servers could be reached”, so that would be a big no, I don’t have any network connectivity.
 
Old 01-21-2022, 11:46 AM   #4
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
I don't understand why you would get "0 packets" or any packets result from "ifconfig" or "route" commands. Those commands should show what IPs are assigned to what devices. Whether eth0 or eth1 or whatever your Realtek is assigned, should be accompanied by an IP and a Gateway whether setup manually in "/etc/rc.d/rc.inet1.conf" or via Network Manager or the like. If you still need this setup could you please copy and paste the full output of those 2 commands results?
 
Old 01-21-2022, 12:00 PM   #5
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 589

Rep: Reputation: Disabled
Also the output of "ifconfig -a" would be welcome since that will show all network interfaces that are recognized by your system.
 
Old 01-21-2022, 12:11 PM   #6
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,355

Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
lspci | grep Network

could also give useful information
 
Old 01-21-2022, 01:46 PM   #7
globetrotterdk
Member
 
Registered: Nov 2006
Posts: 297

Original Poster
Rep: Reputation: 16
Thanks for all of the replies. Here is the output:

Code:
root@minislack:~# ifconfig eth0
eth0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 04:7d:7b:cb:91:77  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@minislack:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo

root@minislack:~# ping 8.8.4.4
connect: Network is unreachable

root@minislack:~# host 8.8.4.4
;; connection timed out; no servers could be reached

root@minislack:~# ifconfig -a
eth0: flags=4098<BROADCAST,MULTICAST>  mtu 1500
        ether 04:7d:7b:cb:91:77  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 13  bytes 1085 (1.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 13  bytes 1085 (1.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@minislack:~# lspci | grep Network
02:00.0 Network controller: Broadcom Corporation BCM43228 802.11a/b/g/n
 
Old 01-21-2022, 01:48 PM   #8
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,355

Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
You don't have an IP address

Is NetworkManager running ?
Is dhcpcd running ?
 
Old 01-21-2022, 02:50 PM   #9
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Thanks globetrotterdk. That really helps a lot for helping you get connected.

Network Manager would certainly make it easier but the dhcp daemon will be essential unless you have a Static IP from your ISP or setup manually. Please note that your route -n command didn't result in a Gateway access address. Commonly that should be something like 192.168.0.1 or 10.0.0.1.

I feel pretty confidant that making sure dhcpcd is running and running Network Manager or the cli version "nmtui" will get you up and running. Network Manager has gotten quite powerful and flexible in the last year or three in that one app can handle both wired and wireless connections and even override mode negotiation for max transfer rates.
 
Old 01-21-2022, 03:24 PM   #10
globetrotterdk
Member
 
Registered: Nov 2006
Posts: 297

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by marav View Post
You don't have an IP address

Is NetworkManager running ?
Is dhcpcd running ?
Shouldn’t this be preconfigured from the installation at netconfig time?

I tried rerunning netconfig and then running # /etc/rc.d/rc.inet1 eth0_start and still no luck.
 
Old 01-21-2022, 04:03 PM   #11
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,355

Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
Quote:
Originally Posted by globetrotterdk View Post
Shouldn’t this be preconfigured from the installation at netconfig time?

I tried rerunning netconfig and then running # /etc/rc.d/rc.inet1 eth0_start and still no luck.
which option did you choose ?
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20220121_230250.png
Views:	28
Size:	30.2 KB
ID:	38179  
 
Old 01-21-2022, 05:42 PM   #12
Arnulf
Member
 
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 268

Rep: Reputation: 89
Quote:
Originally Posted by globetrotterdk View Post
Code:
root@minislack:~# lspci | grep Network
02:00.0 Network controller: Broadcom Corporation BCM43228 802.11a/b/g/n

Broadcom BCM43228 is your Wi-Fi device. Realtek ethernet device isn't listed. Please submit complete output of lspci -v.
 
Old 01-21-2022, 07:00 PM   #13
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Allow me to suggest running (as root) "lspci -nnk" so you will see what kernel module is supposed to be used or which one is currently running so you can try more if one isn't working with your chip.
 
Old 01-21-2022, 07:30 PM   #14
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
deleted
 
Old 01-22-2022, 12:32 AM   #15
globetrotterdk
Member
 
Registered: Nov 2006
Posts: 297

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by marav View Post
which option did you choose ?
DHCP.
 
  


Reply

Tags
14.2 64bit, ethernet, laptop



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
LXer: Getting Realtek 8188EU Wireless Adapters to work in Linux (and possibly other wireless Realtek chipsets!) LXer Syndicated Linux News 0 02-04-2017 10:06 PM
problem with ethernet connection of RealTek in RHEL 6 wagmare Linux - Newbie 1 02-22-2013 10:00 PM
RTL8101 Driver tsota Linux - Hardware 6 02-03-2010 04:36 PM
Network: Debian and Realtek ethernet connection problem ferentix Linux - Newbie 2 10-05-2007 12:17 PM
Toshiba A135 RTL8101 NIC problem allisonwe Linux - Hardware 4 07-30-2007 10:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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