Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

No internet

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
Winston
Posts: 27
Joined: 2020-02-22 03:08

No internet

#1 Post by Winston »

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?

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: No internet

#2 Post by Chrisdb »

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

Winston
Posts: 27
Joined: 2020-02-22 03:08

Re: No internet

#3 Post by Winston »

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

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: No internet

#4 Post by Chrisdb »

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 

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: No internet

#5 Post by Head_on_a_Stick »

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.
deadbang

Winston
Posts: 27
Joined: 2020-02-22 03:08

Re: No internet

#6 Post by Winston »

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

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: No internet

#7 Post by Head_on_a_Stick »

deadbang

Winston
Posts: 27
Joined: 2020-02-22 03:08

Re: No internet

#8 Post by Winston »

Head_on_a_Stick:

Thanks, but that page is more than 4 years old and doesn't match my files on Debian 10.

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: No internet

#9 Post by Chrisdb »

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/Ke ... acklisting

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: No internet

#10 Post by Head_on_a_Stick »

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.
deadbang

Winston
Posts: 27
Joined: 2020-02-22 03:08

Re: No internet

#11 Post by Winston »

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

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: No internet

#12 Post by Chrisdb »

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)?

Winston
Posts: 27
Joined: 2020-02-22 03:08

Re: No internet

#13 Post by Winston »

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.

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: No internet

#14 Post by Chrisdb »

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

Winston
Posts: 27
Joined: 2020-02-22 03:08

Re: No internet

#15 Post by Winston »

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

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: No internet

#16 Post by Chrisdb »

What does the following tell us:

Code: Select all

lsmod | grep ssb

Winston
Posts: 27
Joined: 2020-02-22 03:08

Re: No internet

#17 Post by Winston »

I tried the Installation guide at https://wiki.debian.org/wl, then followed the Configuration instructions for Gnome at https://wiki.debian.org/WiFi/HowToUse. One problem with that is that my Debian install didn't include the System Tray, so I had to install that. After that, I couldn't find the applet, but a check with ip addr shows I now have 3 interfaces - but the apparent wireless (2) still doesn't ping yahoo.com and 8.8.8.8 with the ethernet cord disconnected.

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.13/24 brd 192.168.1.255 scope global dynamic
noprefixroute wlp12s0
valid_lft 83239sec preferred_lft 83239sec
inet6 fe80::bd5:90ad:c065:bcd3/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: 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 86044sec preferred_lft 86044sec
inet6 fe80::21d:9ff:fecf:f251/64 scope link noprefixroute
valid_lft forever preferred_lft forever

So it looks like I now have a wireless connection that doesn't work by itself. Even commenting out B43 and b43legacy in /etc/modprobe.d/broadcom-sta-dkms.conf blackmails didn't help, which is probably logical since wl doesn't use them.

I remain puzzled and wireless-less. Did I miss something?

Blacklist is currently
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

I'm wondering if my wl package needs updating, but I get:
sudo apt-get --reinstall install bcmwl-kernel-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bcmwl-kernel-source

Apparently I need to add a new location to my sources.list, but I have no idea what.

Winston
Posts: 27
Joined: 2020-02-22 03:08

Re: No internet

#18 Post by Winston »

lsmod | grep ssb
ssb 90112 2 b43,b44
pcmcia 69632 1 ssb
mmc_core 176128 5 b43,sdhci,ssb,cqhci,sdhci_pci

Chrisdb
Posts: 279
Joined: 2018-04-10 07:16

Re: No internet

#19 Post by Chrisdb »

Winston wrote: Apparently I need to add a new location to my sources.list, but I have no idea what.
See 'add contrib non-free after main':
https://wiki.debian.org/SourcesList#Exa ... urces.list
Winston wrote:lsmod | grep ssb
ssb 90112 2 b43,b44
pcmcia 69632 1 ssb
mmc_core 176128 5 b43,sdhci,ssb,cqhci,sdhci_pci
the 'ssb' module is conflicting with 'wl'

Try the following as root (the order of commands is important here):

Code: Select all

modprobe -v -r b43 b43legacy b44 ssb brcmsmac bcma
modprobe -v wl 
modprobe -v b44
Let us know if this worked.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: No internet

#20 Post by Head_on_a_Stick »

Winston wrote:but the apparent wireless (2) still doesn't ping yahoo.com and 8.8.8.8 with the ethernet cord disconnected
Was the routing table updated by NetworkManager after you unplugged the cable?

Check with

Code: Select all

ip r
The "default via" line should show your router's IP address for the wireless interface.

Note that NetworkManager will refuse to control any devices listed in /etc/network/interfaces{,.d/*} so clear any references to wlp12s0 from those files.

Also, you seem to have a traditional interface name for the cable connection but a "predictable" name for the wireless device, which is weird :?

And please edit your posts to enclose all of your terminal output with code tags, it will make the thread more readable.
deadbang

Post Reply