No internet

New to Debian (Or Linux in general)? Ask your questions here!

No internet

Postby Winston » 2020-02-22 04:03

I'm new to Debian and have installed 10.3 on a Dell Vostro 1700 laptop with a NVIDIA video card. Surprisingly, Debian is the first distro I've installed that had no problem with NVIDIA. But I do have a network problem.

Debian was installed while connected to an ethernet cable. The Network Connections interface shows both an ethernet wired connection and a connection to my wi-fi network. But neither network sees beyond my laptop. I cannot ping sites like yahoo.com, 8.8.8.8, etc. I can't even ping my nameserver as defined in resolv.conf.

My network cards are from Broadcom. lspci shows
Ethernet controller: Broadcom Limited BCM4401-B0 100Base-TX (rev 05)
Network Controller: Broadcom Limited BCM4321 802.11a/b/g/n (rev 03)

The BCM4321 uses the broadcom-wl driver, aka Broadcom-sta.

iwconfig shows "lo no wireless extensions." as the first line.

Any advice?
Winston
 
Posts: 27
Joined: 2020-02-22 03:08

Re: No internet

Postby Chrisdb » 2020-02-22 08:16

which DE are you using? (Gnome, KDE, Xfce, ...)

what's the output of the following commands:
Code: Select all
ip addr
cat /etc/resolv.conf
ps -ef | grep -i dhcp
systemctl status NetworkManager
Chrisdb
 
Posts: 273
Joined: 2018-04-10 07:16

Re: No internet

Postby Winston » 2020-02-22 14:26

Currently using Mate desktop, but can switch to others as needed. Here are the results:
Code: Select all
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: wlp12s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:1f:3a:a1:9d:42 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.11/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp12s0
       valid_lft 86292sec preferred_lft 86292sec
    inet6 fe80::bd5:90ad:c065:bcd3/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
 
mike@Debian:~$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.1

mike@Debian:~$ ps -ef | grep -i dhcp
root       558   463  0 10:03 ?        00:00:00 /sbin/dhclient -d -q -sf /usr/lib/NetworkManager/nm-dhcp-helper -pf /run/dhclient-wlp12s0.pid -lf /var/lib/NetworkManager/dhclient-f7aaa6d2-c241-42b3-a1af-191da13f7cc4-wlp12s0.lease -cf /var/lib/NetworkManager/dhclient-wlp12s0.conf wlp12s0
mike      1197  1177  0 10:06 pts/0    00:00:00 grep -i dhcp

mike@Debian:~$ systemctl status NetworkManager
● NetworkManager.service - Network Manager
   Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor p
   Active: active (running) since Sat 2020-02-22 10:03:41 EST; 3min 45s ago
     Docs: man:NetworkManager(8)
 Main PID: 463 (NetworkManager)
    Tasks: 4 (limit: 3553)
   Memory: 14.3M
   CGroup: /system.slice/NetworkManager.service
           ├─463 /usr/sbin/NetworkManager --no-daemon
           └─558 /sbin/dhclient -d -q -sf /usr/lib/NetworkManager/nm-dhcp-helper
Winston
 
Posts: 27
Joined: 2020-02-22 03:08

Re: No internet

Postby Chrisdb » 2020-02-22 17:43

Strange, your network Ethernet interface is not showing up in the list. Are the drivers correctly installed?
can you post entire output of:
Code: Select all
lspci -k


You wireless seems ok, but the DNS server is not correct. Is your DHCP assigning DNS servers correctly?

EDIT:
Is your ethernet cable plugged in?
Also post output of:
Code: Select all
cat /etc/network/interfaces
Chrisdb
 
Posts: 273
Joined: 2018-04-10 07:16

Re: No internet

Postby Head_on_a_Stick » 2020-02-22 20:28

Winston wrote:I can't even ping my nameserver as defined in resolv.conf

Please post actual command output rather than a vague description. Also include the verbatim command that you ran.
User avatar
Head_on_a_Stick
 
Posts: 11453
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: No internet

Postby Winston » 2020-02-22 21:31

cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

Interfaces.d is empty, no files

/etc/network# lspci -k
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 0c)
Subsystem: Dell Mobile PM965/GM965/GL960 Memory Controller Hub
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port (rev 0c)
Kernel driver in use: pcieport
00:1a.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02)
Subsystem: Dell 82801H (ICH8 Family) USB UHCI Controller
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1a.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02)
Subsystem: Dell 82801H (ICH8 Family) USB UHCI Controller
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1a.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02)
Subsystem: Dell 82801H (ICH8 Family) USB2 EHCI Controller
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02)
Subsystem: Dell 82801H (ICH8 Family) HD Audio Controller
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02)
Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02)
Kernel driver in use: pcieport
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 02)
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02)
Subsystem: Dell 82801H (ICH8 Family) USB UHCI Controller
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02)
Subsystem: Dell 82801H (ICH8 Family) USB UHCI Controller
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1d.2 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02)
Subsystem: Dell 82801H (ICH8 Family) USB UHCI Controller
Kernel driver in use: uhci_hcd
Kernel modules: uhci_hcd
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02)
Subsystem: Dell 82801H (ICH8 Family) USB2 EHCI Controller
Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HM (ICH8M) LPC Interface Controller (rev 02)
Subsystem: Dell 82801HM (ICH8M) LPC Interface Controller
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.1 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 02)
Subsystem: Dell 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller
Kernel driver in use: ata_piix
Kernel modules: ata_piix, ata_generic
00:1f.2 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [IDE mode] (rev 02)
Subsystem: Dell 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [IDE mode]
Kernel driver in use: ata_piix
Kernel modules: ata_piix, ata_generic
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02)
Subsystem: Dell 82801H (ICH8 Family) SMBus Controller
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
01:00.0 VGA compatible controller: NVIDIA Corporation G84M [GeForce 8600M GT] (rev a1)
Subsystem: Dell G84M [GeForce 8600M GT]
Kernel driver in use: nouveau
Kernel modules: nouveau
03:00.0 Ethernet controller: Broadcom Limited BCM4401-B0 100Base-TX (rev 02)
Subsystem: Dell BCM4401-B0 100Base-TX
Kernel modules: b44
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
Subsystem: Dell R5C832 IEEE 1394 Controller
Kernel driver in use: firewire_ohci
Kernel modules: firewire_ohci
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
Subsystem: Dell R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter
Kernel driver in use: sdhci-pci
Kernel modules: sdhci_pci
03:01.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
Subsystem: Dell R5C592 Memory Stick Bus Host Adapter
Kernel driver in use: r592
Kernel modules: r592
03:01.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
Subsystem: Dell xD-Picture Card Controller
Kernel driver in use: r852
Kernel modules: r852
0c:00.0 Network controller: Broadcom Limited BCM4321 802.11a/b/g/n (rev 03)
Subsystem: Dell Wireless 1500 Draft 802.11n WLAN Mini-card
Kernel driver in use: wl
Kernel modules: ssb, wl
Winston
 
Posts: 27
Joined: 2020-02-22 03:08


Re: No internet

Postby Winston » 2020-02-22 22:07

Head_on_a_Stick:

Thanks, but that page is more than 4 years old and doesn't match my files on Debian 10.
Winston
 
Posts: 27
Joined: 2020-02-22 03:08

Re: No internet

Postby Chrisdb » 2020-02-23 06:45

I know you are a beginner, but the point of these forums is to ask for help, and we Will provide you with the necessary info. On the other hand we are not going to solve things for you. You'll have to put in some effort yourself, otherwise you won't learn a thing. :wink:

The link mentioned by HoaS contains the solution, indeed the model of the controller is not exactly the same, but the answer is there.
Look at the accepted answer from the link and then check:
Code: Select all
/etc/modprobe.d/xxxx.conf


Replace xxxx with the correct name. Find it by searching for 'blacklist ssb'.
Remove the entries in this file for your ethernet driver.

EDIT:
More info on blacklisting:
https://wiki.archlinux.org/index.php/Kernel_module#Blacklisting
Chrisdb
 
Posts: 273
Joined: 2018-04-10 07:16

Re: No internet

Postby Head_on_a_Stick » 2020-02-23 11:33

Head_on_a_Stick wrote:
Winston wrote:I can't even ping my nameserver as defined in resolv.conf

Please post actual command output rather than a vague description. Also include the verbatim command that you ran.

^ And I'm still waiting for this.

The OP's wireless interface is up & has addresses assigned and resolv.conf looks like it contains a valid gateway address so we need to find the point of failure.
User avatar
Head_on_a_Stick
 
Posts: 11453
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: No internet

Postby Winston » 2020-02-24 00:00

My apologies, guys, and sorry if I offended anyone. Didn't mean to!

Commenting out the b44 line in /etc/modprobe.d/broadcom-sta-dkms.conf did indeed give me wired ethernet! Seems I've been befuddled by it all.

Here's my revised broadcom-sta-dkms.conf
# wl module from Broadcom conflicts with the following modules:
blacklist b43
blacklist b43legacy
#blacklist b44
blacklist bcma
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist ssb

and here's the information you asked for:
mike@Debian:~$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.1

With ethernet wire connected:
mike@Debian:~$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.608 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.481 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.404 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.561 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.486 ms
64 bytes from 192.168.1.1: icmp_seq=6 ttl=64 time=0.518 ms
64 bytes from 192.168.1.1: icmp_seq=7 ttl=64 time=0.478 ms
64 bytes from 192.168.1.1: icmp_seq=8 ttl=64 time=0.538 ms

--- 192.168.1.1 ping statistics ---
8 packets transmitted, 8 received, 0% packet loss, time 154ms
rtt min/avg/max/mdev = 0.404/0.509/0.608/0.059 ms

With ethernet wire disconnected:
mike@Debian:~$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
^C
--- 192.168.1.1 ping statistics ---
22 packets transmitted, 0 received, 100% packet loss, time 516ms
Winston
 
Posts: 27
Joined: 2020-02-22 03:08

Re: No internet

Postby Chrisdb » 2020-02-24 06:45

Winston wrote:My apologies, guys, and sorry if I offended anyone. Didn't mean to!

No need to apologize. :wink:

You can ping the gateway with your ethernet connection, so does it also work for yahoo and 8.8.8.8?

can you post output of
Code: Select all
ip addr
again?

What frequency of wifi are you using (2.4Ghz, 5GHz)?
Chrisdb
 
Posts: 273
Joined: 2018-04-10 07:16

Re: No internet

Postby Winston » 2020-02-24 15:16

Yes, ping works fine for yahoo.com, 8.8.8.8 just as it should - but only with the wired ethernet cable connected. Here's the output:


r.michael.kent@gmail.com
11:02 AM (0 minutes ago)
to Mike

Without network cable: ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
state DOWN group default qlen 1000
link/ether 00:1d:09:cf:f2:51 brd ff:ff:ff:ff:ff:ff

With network cable: ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP group default qlen 1000
link/ether 00:1d:09:cf:f2:51 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.10/24 brd 192.168.1.255 scope global dynamic
noprefixroute eth0
valid_lft 86386sec preferred_lft 86386sec
inet6 fe80::21d:9ff:fecf:f251/64 scope link noprefixroute
valid_lft forever preferred_lft forever

I'm using 5G on my network.
Winston
 
Posts: 27
Joined: 2020-02-22 03:08

Re: No internet

Postby Chrisdb » 2020-02-24 16:15

Your wireless interface is missing...

Post output of below commands (run as root)
Code: Select all
modprobe -v -r b43 b43legacy ssb brcmsmac bcma
modprobe -v wl


See of it works afterwards
Chrisdb
 
Posts: 273
Joined: 2018-04-10 07:16

Re: No internet

Postby Winston » 2020-02-24 17:23

sudo modprobe -v -r b43 b43legacy ssb brcmsmac bcma
modprobe: FATAL: Module ssb is in use.

Dropped ssb:
mike@Debian:~$ sudo modprobe -v -r b43 b43legacy brcmsmac bcma
mike@Debian:~$ sudo modprobe -v wl
mike@Debian:~$

ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP group default qlen 1000
link/ether 00:1d:09:cf:f2:51 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.10/24 brd 192.168.1.255 scope global dynamic
noprefixroute eth0
valid_lft 85676sec preferred_lft 85676sec
inet6 fe80::21d:9ff:fecf:f251/64 scope link noprefixroute
valid_lft forever preferred_lft forever

Blacklist unchanged
cat /etc/modprobe.d/broadcom-sta-dkms.conf
# wl module from Broadcom
conflicts with the following modules:
blacklist b43
blacklist b43legacy
#blacklist b44
blacklist bcma
blacklist brcm80211
blacklist brcmsmac
blacklist ssb
Winston
 
Posts: 27
Joined: 2020-02-22 03:08

Next

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable