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
Re: No internet
root@Debian:/home/mike# /sbin/modprobe -v -r b43 b43legacy b44 ssb brcmsmac bcmarmmod b44
rmmod libphy
rmmod mii
rmmod ssb
rmmod pcmcia
rmmod pcmcia_core
root@Debian:/home/mike# /sbin/modprobe -v wl
root@Debian:/home/mike# /sbin/modprobe -v b44
insmod /lib/modules/4.19.0-8-amd64/kernel/drivers/pcmcia/pcmcia_core.ko
insmod /lib/modules/4.19.0-8-amd64/kernel/drivers/pcmcia/pcmcia.ko
insmod /lib/modules/4.19.0-8-amd64/kernel/drivers/net/phy/libphy.ko
insmod /lib/modules/4.19.0-8-amd64/kernel/drivers/net/mii.ko
insmod /lib/modules/4.19.0-8-amd64/kernel/drivers/ssb/ssb.ko
insmod /lib/modules/4.19.0-8-amd64/kernel/drivers/net/ethernet/broadcom/b44.ko
With ethernet cord connected
root@Debian:/home/mike# ping yahoo.com
PING yahoo.com (98.137.246. 56(84) bytes of data.
64 bytes from media-router-fp2.prod1.media.vip.gq1.yahoo.com (98.137.246.: icmp_seq=1 ttl=48 time=73.8 ms
64 bytes from media-router-fp2.prod1.media.vip.gq1.yahoo.com (98.137.246.: icmp_seq=3 ttl=48 time=73.10 ms
64 bytes from media-router-fp2.prod1.media.vip.gq1.yahoo.com (98.137.246.: icmp_seq=4 ttl=48 time=72.0 ms
--- yahoo.com ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 24ms
rtt min/avg/max/mdev = 72.024/73.261/73.982/0.932 ms
Without ethernet cord
root@Debian:/home/mike# ping yahoo.com
^Z
[1]+ Stopped ping yahoo.com
Still no wireless
rmmod libphy
rmmod mii
rmmod ssb
rmmod pcmcia
rmmod pcmcia_core
root@Debian:/home/mike# /sbin/modprobe -v wl
root@Debian:/home/mike# /sbin/modprobe -v b44
insmod /lib/modules/4.19.0-8-amd64/kernel/drivers/pcmcia/pcmcia_core.ko
insmod /lib/modules/4.19.0-8-amd64/kernel/drivers/pcmcia/pcmcia.ko
insmod /lib/modules/4.19.0-8-amd64/kernel/drivers/net/phy/libphy.ko
insmod /lib/modules/4.19.0-8-amd64/kernel/drivers/net/mii.ko
insmod /lib/modules/4.19.0-8-amd64/kernel/drivers/ssb/ssb.ko
insmod /lib/modules/4.19.0-8-amd64/kernel/drivers/net/ethernet/broadcom/b44.ko
With ethernet cord connected
root@Debian:/home/mike# ping yahoo.com
PING yahoo.com (98.137.246. 56(84) bytes of data.
64 bytes from media-router-fp2.prod1.media.vip.gq1.yahoo.com (98.137.246.: icmp_seq=1 ttl=48 time=73.8 ms
64 bytes from media-router-fp2.prod1.media.vip.gq1.yahoo.com (98.137.246.: icmp_seq=3 ttl=48 time=73.10 ms
64 bytes from media-router-fp2.prod1.media.vip.gq1.yahoo.com (98.137.246.: icmp_seq=4 ttl=48 time=72.0 ms
--- yahoo.com ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 24ms
rtt min/avg/max/mdev = 72.024/73.261/73.982/0.932 ms
Without ethernet cord
root@Debian:/home/mike# ping yahoo.com
^Z
[1]+ Stopped ping yahoo.com
Still no wireless
Re: No internet
root@Debian:/home/mike# lp z
lp: Error - unable to access "z" - No such file or directory
root@Debian:/home/mike# 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
lp: Error - unable to access "z" - No such file or directory
root@Debian:/home/mike# 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
- 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
Read my post again, carefully this time.Winston wrote:Code: Select all
root@Debian:/home/mike# ip z Object "z" is unknown, try "ip help".
And use code tags for terminal output or I'm out. The quote button will show you how I've edited your post to do that.
deadbang
Re: No internet
Sorry, the old eyes ain't what they used to be.
Code: Select all
root@Debian:/home/mike# ip r
default via 192.168.1.1 dev eth0 proto dhcp metric 100
default via 192.168.1.1 dev wlp12s0 proto dhcp metric 600
169.254.0.0/16 dev eth0 scope link metric 1000
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.13 metric 100
192.168.1.0/24 dev wlp12s0 proto kernel scope link src 192.168.1.14 metric 600
Not sure which you want, so used both code and quote.root@Debian:/home/mike# ip r
default via 192.168.1.1 dev eth0 proto dhcp metric 100
default via 192.168.1.1 dev wlp12s0 proto dhcp metric 600
169.254.0.0/16 dev eth0 scope link metric 1000
192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.13 metric 100
192.168.1.0/24 dev wlp12s0 proto kernel scope link src 192.168.1.14 metric 600
Re: No internet
I don't think interfaces is a problem. Here's the file:
Directory interfaces.d is empty.
Code: Select all
root@Debian:/etc/network# cat 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
Re: No internet
are you able to ping your gateway (without ethernet)
what's the output of the following commands (without ethernet)
Code: Select all
ping -c 5 192.168.1.1
Code: Select all
ip addr
ip r
cat /proc/net/arp
- 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
That looks strange but I don't use NetworkManager so I don't know what's normal for that.Winston wrote:Code: Select all
169.254.0.0/16 dev eth0 scope link metric 1000
I would disable NM completely and try connecting manually to narrow down the source of the problem.
Code tags are for code, quote tags are for quotes. It's confusing, I know.Winston wrote:Not sure which you want, so used both code and quote.
deadbang
Re: No internet
chrisdb: No
With ethernet
Without ethernet
The commands without ethernet
With ethernet
Code: Select all
mike@Debian:~$ ping -c 5 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.627 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.509 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.457 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.416 ms
64 bytes from 192.168.1.1: icmp_seq=5 ttl=64 time=0.410 ms
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 88ms
rtt min/avg/max/mdev = 0.410/0.483/0.627/0.084 ms
Code: Select all
mike@Debian:~$ ping -c 5 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
--- 192.168.1.1 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 103ms
Code: Select all
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: 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 84879sec preferred_lft 84879sec
inet6 fe80::21f:3aff:fea1:9d42/64 scope link
valid_lft forever preferred_lft forever
3: 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
mike@Debian:~$ ip r
default via 192.168.1.1 dev wlp12s0 proto dhcp metric 600
169.254.0.0/16 dev wlp12s0 scope link metric 1000
192.168.1.0/24 dev wlp12s0 proto kernel scope link src 192.168.1.13 metric 600
mike@Debian:~$ cat /proc/net/arp
IP address HW type Flags HW address Mask Device
192.168.1.1 0x1 0x2 9c:3d:cf:ba:88:f0 * wlp12s0
Re: No internet
It could be an issue with the driver.
Something else you can try as root:
Now reboot and try again.
Make sure you check the blacklist (b43 should not be blacklisted).
Something else you can try as root:
Code: Select all
apt-get purge broadcom-sta-dkms
apt install firmware-b43-installer
Make sure you check the blacklist (b43 should not be blacklisted).
Re: No internet
Head_on_a_Stick:
Yes, it's strange, but apparently due to NetworkManager, per packetlife.net/blog/2008/sep/24/169-254-0-0-addresses-explained.Winston wrote:
Code: Select all
169.254.0.0/16 dev eth0 scope link metric 1000
That looks strange but I don't use NetworkManager so I don't know what's normal for that.
I spent most of the afternoon figuring out how to disable NM and configure /etc/network/interfaces using https://wiki.debian.org/NetworkConfigur ... _Interface and https://wiki.debian.org/WiFi/HowToUse. So now I have the below and it does bring up ethernet, but wireless is still not working. In addition, reboot stalls with the message "A start job is running for Raise network interfaces." for a bit more than 6 minutes, though it finally reboots. My revised interfaces file:I would disable NM completely and try connecting manually to narrow down the source of the problem.
Code: Select all
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).
# my ethernet
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
iface eth0 inet6 dhcp
# my wifi device
allow-hotplug wlp12s0.
iface wlp12s0. inet dhcp
wireless-essid Corniche5
wireless-mode Master
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
Code: Select all
sudo systemctl status NetworkManager
● NetworkManager.service - Network Manager
Loaded: loaded (/lib/systemd/system/NetworkManager.service; disabled; vendor preset: enabled)
Active: inactive (dead) since Wed 2020-02-26 16:05:05 EST; 36min ago
Docs: man:NetworkManager(8)
Main PID: 445 (code=exited, status=0/SUCCESS)
Feb 26 16:00:32 Debian NetworkManager[445]: <info> [1582750832.1148] agent-manager: req[0x556c036619c0, :1.45/org
Feb 26 16:02:10 Debian NetworkManager[445]: <info> [1582750930.7029] device (eth0): carrier: link connected
Feb 26 16:05:05 Debian NetworkManager[445]: <info> [1582751105.2807] caught SIGTERM, shutting down normally.
Feb 26 16:05:05 Debian systemd[1]: Stopping Network Manager...
Feb 26 16:05:05 Debian NetworkManager[445]: <info> [1582751105.3036] dhcp4 (wlp12s0): canceled DHCP transaction,
Feb 26 16:05:05 Debian NetworkManager[445]: <info> [1582751105.3037] dhcp4 (wlp12s0): state changed bound -> done
Feb 26 16:05:05 Debian NetworkManager[445]: <info> [1582751105.3037] device (wlp12s0): DHCPv4: 480 seconds grace
Feb 26 16:05:05 Debian NetworkManager[445]: <info> [1582751105.3506] exiting (success)
Feb 26 16:05:05 Debian systemd[1]: NetworkManager.service: Succeeded.
Feb 26 16:05:05 Debian systemd[1]: Stopped Network Manager.
Re: No internet
Chrisdb:
sources.list updated, probably wrong because I'm not familiar with sources. ftp.us.debian.org is the new line.
Purge works fine, butIt could be an issue with the driver.
Something else you can try as root:
Code: Select all
apt-get purge broadcom-sta-dkms
apt install firmware-b43-installer
Now reboot and try again.
Code: Select all
mike@Debian:~$ sudo apt install firmware-b43-installer
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package firmware-b43-installer
mike@Debian:~$ sudo apt install firmware-b43-installer_019-4_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package firmware-b43-installer_019-4_all.deb
E: Couldn't find any package by glob 'firmware-b43-installer_019-4_all.deb'
E: Couldn't find any package by regex 'firmware-b43-installer_019-4_all.deb'
Code: Select all
cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 10.3.0 _Buster_ - Official amd64 NETINST 20200208-12:07]/ buster main
# deb cdrom:[Debian GNU/Linux 10.3.0 _Buster_ - Official amd64 NETINST 20200208-12:07]/ buster main
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main
# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main
deb-src http://deb.debian.org/debian/ buster-updates main
deb http://ftp.us.debian.org/debian buster main contrib
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
deb http://deb.debian.org/debian buster-backports main contrib non-free
# deb-src http://deb.debian.org/debian buster-backports main contrib non-free
# see the sources.list(5) manual.
Re: No internet
Chrisdb:
The link for firmware-b43-installer_019-4_all.deb came from following the directories at https://packages.debian.org/jessie/all/ ... r/download
The link for firmware-b43-installer_019-4_all.deb came from following the directories at https://packages.debian.org/jessie/all/ ... r/download
Re: No internet
Chrisdb - Update
Found some more links to put in /etc/apt/sources.link, and sudo apt install firmware-b43-installer worked.
BUT now reboot stalls on a line "A stop job is running for Raise network interfaces" for a bit more than 6 minutes before reboot completes.
Now on ping 8.8.8.8 without the ethernet connection, I get
which means the default gateway is misconfigured
The hostname command gives 2 different answers, but resolv.conf is still correct
192.168.1.14 is the address of the laptop itself.
arp now has 3 addresses, the gateway and two of my network printers with fixed addresses
The broadcom blacklist file no longer exists
ip now shows wireless as wlan0 instead of wlp12s0
The broadcom-sta-dkms.conf blacklist file is gone
So I'm thinking I should re-install broadcom-sta-dkms and reset things as they were before it was removed. Do you agree?
Found some more links to put in /etc/apt/sources.link, and sudo apt install firmware-b43-installer worked.
BUT now reboot stalls on a line "A stop job is running for Raise network interfaces" for a bit more than 6 minutes before reboot completes.
Now on ping 8.8.8.8 without the ethernet connection, I get
Code: Select all
From 192.168.1.14 icmp seq=10 Destination Host Unreachable
The hostname command gives 2 different answers, but resolv.conf is still correct
Code: Select all
mike@Debian:~$ hostname -i
127.0.1.1
mike@Debian:~$ hostname -I
192.168.1.14
mike@Debian:~$ cat /etc/resolv.conf
nameserver 192.168.1.1
arp now has 3 addresses, the gateway and two of my network printers with fixed addresses
Code: Select all
mike@Debian:~$ cat /proc/net/arp
IP address HW type Flags HW address Mask Device
192.168.1.51 0x1 0x2 50:5b:c2:2a:a8:b5 * eth0
192.168.1.1 0x1 0x2 9c:3d:cf:ba:88:f0 * eth0
192.168.1.50 0x1 0x2 b0:ea:bc:30:d4:21 * eth0
Code: Select all
mike@Debian:/etc/modprobe.d$ ls
dkms.conf
Code: Select all
mike@Debian:/etc/modprobe.d$ 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.14/24 brd 192.168.1.255 scope global dynamic eth0
valid_lft 82371sec preferred_lft 82371sec
inet6 fe80::21d:9ff:fecf:f251/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group
default qlen 1000
link/ether 00:1f:3a:a1:9d:42 brd ff:ff:ff:ff:ff:ff
Code: Select all
mike@Debian:/etc/modprobe.d$ ls
dkms.conf
Re: No internet
This is not the way to install packages on DebianWinston wrote:sudo apt install firmware-b43-installer_019-4_all.deb
see: https://wiki.debian.org/DebianPackageManagement
you're missing the non-free repo in your sources. Take a look at the second example from the following link:
https://wiki.debian.org/SourcesList#Exa ... urces.list
To add backports, use the third example
Did you deactivate NetworkManager?Winston wrote:BUT now reboot stalls on a line "A stop job is running for Raise network interfaces"
Code: Select all
systemctl disable NetworkManager
Did you configure wpa_supplicant?
https://wiki.debian.org/WiFi/HowToUse#wpa_supplicant
- 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
Why have you followed the "wi-fi hotspot" instructions?Winston wrote:Code: Select all
allow-hotplug wlp12s0. iface wlp12s0. inet dhcp wireless-essid Corniche5 wireless-mode Master
Try https://wiki.debian.org/WiFi/HowToUse#W ... d_WPA2-PSK instead, the first bit should provide some diagnostic information if it doesn't work.
EDIT: and there shouldn't be a full-stop after the interface name, not sure why you've added that. It certainly doesn't appear in the guide.
deadbang
Re: No internet
Chrisdb and Head:
OK, got that fixed and properly installed apt install firmware-b43-installer and broadcom-sta-dkmsThis is not the way to install packages on Debian
see: https://wiki.debian.org/DebianPackageManagement
you're missing the non-free repo in your sources. Take a look at the second example from the following link:
https://wiki.debian.org/SourcesList#Exa ... urces.list
To add backports, use the third example
YesDid you deactivate NetworkManager?
Code: Select all
sudo systemctl status NetworkManager
● NetworkManager.service - Network Manager
Loaded: loaded (/lib/systemd/system/NetworkManager.service;
disabled; vendor preset: enabled)
Active: inactive (dead)
Also, what does your final 'interface' file look like?
Code: Select all
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).
# my ethernet
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
iface eth0 inet6 dhcp
# my wifi device
allow-hotplug wlp12s0
iface wlp12s0 inet dhcp
wireless-essid Corniche5
wireless-mode infrastructure
#source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
Yes, created (it didn't exist) and configured as below and rebooted, but still no wireless internet on reboot, just annoying stop and start delays.Did you configure wpa_supplicant?
https://wiki.debian.org/WiFi/HowToUse#wpa_supplicant
Code: Select all
mike@Debian:/etc/systemd/system$ cat wpa_supplicant.service
[Unit]
Description=WPA supplicant
Before=network.target
After=dbus.service
Wants=network.target
[Service]
Type=dbus
BusName=fi.w1.wpa_supplicant1
ExecStart=/sbin/wpa_supplicant -u -s -c /etc/wpa_supplicant.conf -i
wlp12s0
[Install]
WantedBy=multi-user.target
#Alias=dbus-fi.w1.wpa_supplicant1.service
Re: No internet
After installing the new driver, your interface was renamed to 'wlan0'.
You should change your configs accordingly
Also for wpa_supplicant you should not have to define a service yourself.
Take a look at the link HoaS provided. You probably use WPA-PSK...
You should change your configs accordingly
Also for wpa_supplicant you should not have to define a service yourself.
Take a look at the link HoaS provided. You probably use WPA-PSK...
- 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
There is already /lib/systemd/system/wpa_supplicant.service (and several others) so delete your file and disable it.Winston wrote:Yes, created (it didn't exist) and configured as below and rebootedDid you configure wpa_supplicant?
https://wiki.debian.org/WiFi/HowToUse#wpa_supplicant
This thread is getting really silly now so let's start from scratch and I'll spoon-feed you commands to try. You obviously can't follow the linked guides for whatever reason.
So first please provide a list of enabled services:
Code: Select all
systemctl list-unit-files --state=enabled
Please don't try anything else unless we specifically tell you to or this will just go on forever.
deadbang
Re: No internet
Code: Select all
systemctl list-unit-files --state=enabled
UNIT FILE STATE
cups.path enabled
accounts-daemon.service enabled
anacron.service enabled
apparmor.service enabled
autovt@.service enabled
avahi-daemon.service enabled
bluetooth.service enabled
console-setup.service enabled
cron.service enabled
cups-browsed.service enabled
cups.service enabled
dbus-fi.w1.wpa_supplicant1.service enabled
dbus-org.bluez.service enabled
dbus-org.freedesktop.Avahi.service enabled
dbus-org.freedesktop.ModemManager1.service enabled
dbus-org.freedesktop.timesync1.service enabled
getty@.service enabled
keyboard-setup.service enabled
ModemManager.service enabled
networking.service enabled
pppd-dns.service enabled
rsyslog.service enabled