LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-17-2017, 02:14 PM   #1
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 417

Rep: Reputation: 32
There is no way to set UP wlan0 in debian after system update


Hello out there.

After updating and rebooting my machine, suddenly , network manager stop working by not finding the interface and I tried everything that i found on the internet to get the wlan0 up. The thing is that this specific PC has no access to ethernet and the wireless connections now are not working.

Here are some results that might help you to suggest me any solution.

Code:
ip addr

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:22:15:53:09:b7 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:14:c1:1e:72:67 brd ff:ff:ff:ff:ff:ff

Code:
lspci

00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 4 Series Chipset PCI Express Root Port (rev 02)
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 5
00:1c.5 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 6
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller #1
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller #2
01:00.0 VGA compatible controller: NVIDIA Corporation G94 [GeForce 9600 GT] (rev a1)
02:00.0 Ethernet controller: Qualcomm Atheros AR8121/AR8113/AR8114 Gigabit or Fast Ethernet (rev b0)
03:00.0 IDE interface: Marvell Technology Group Ltd. 88SE6121 SATA II / PATA Controller (rev b2)
05:01.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
05:03.0 FireWire (IEEE 1394): LSI Corporation FW322/323 [TrueFire] 1394a Controller (rev 70)
Code:
lsmod

Module                  Size  Used by
binfmt_misc            12813  1 
cpufreq_userspace      12520  0 
cpufreq_powersave      12422  0 
cpufreq_stats          12762  0 
cpufreq_conservative    12987  0 
ext2                   49867  1 
arc4                   12418  2 
b43                   288880  0 
bcma                   19156  1 b43
mac80211              171456  1 b43
cfg80211              113445  2 mac80211,b43
rfkill                 18509  2 cfg80211
rng_core               12580  1 b43
nouveau               526808  2 
mxm_wmi                12467  1 nouveau
wmi                    13051  2 mxm_wmi,nouveau
video                  17459  1 nouveau
ttm                    47786  1 nouveau
acpi_cpufreq           12807  0 
mperf                  12421  1 acpi_cpufreq
snd_hda_codec_realtek   142267  1 
drm_kms_helper         22738  1 nouveau
iTCO_wdt               16945  0 
snd_hda_intel          21786  2 
processor              27565  1 acpi_cpufreq
coretemp               12770  0 
i2c_i801               12670  0 
iTCO_vendor_support    12632  1 iTCO_wdt
drm                   146387  4 drm_kms_helper,ttm,nouveau
snd_hda_codec          63477  2 snd_hda_intel,snd_hda_codec_realtek
evdev                  17225  9 
sg                     21476  0 
serio_raw              12803  0 
pcspkr                 12515  0 
power_supply           13283  1 nouveau
i2c_algo_bit           12713  1 nouveau
i2c_core               19116  5 i2c_algo_bit,drm,i2c_i801,drm_kms_helper,nouveau
thermal_sys            17752  2 processor,video
asus_atk0110           17113  0 
snd_hwdep              12943  1 snd_hda_codec
snd_pcm                53461  2 snd_hda_codec,snd_hda_intel
snd_page_alloc         12867  2 snd_pcm,snd_hda_intel
snd_timer              22401  1 snd_pcm
snd                    42761  10 snd_timer,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek
soundcore              12921  1 snd
shpchp                 26717  0 
button                 12817  1 nouveau
loop                   17803  0 
fuse                   52168  1 
ip_tables              17109  0 
x_tables               18158  1 ip_tables
autofs4                22784  2 
ext4                  307077  2 
crc16                  12327  1 ext4
jbd2                   56659  1 ext4
mbcache                12938  2 ext4,ext2
cryptd                 14125  0 
aes_i586               16647  8 
aes_generic            32970  1 aes_i586
xts                    12557  4 
gf128mul               12922  1 xts
algif_skcipher         12930  0 
af_alg                 12844  1 algif_skcipher
dm_crypt               18039  1 
dm_mod                 57386  12 dm_crypt
sd_mod                 35425  3 
usbhid                 31554  0 
hid                    64284  1 usbhid
crc_t10dif             12332  1 sd_mod
ata_generic            12439  0 
uhci_hcd               22337  0 
firewire_ohci          26784  0 
firewire_core          38753  1 firewire_ohci
ssb                    43266  1 b43
mmc_core               62021  2 ssb,b43
pata_marvell           12512  0 
ahci                   24952  0 
ata_piix               25271  2 
libahci                18373  1 ahci
pcmcia                 32047  2 ssb,b43
pcmcia_core            17942  1 pcmcia
crc_itu_t              12331  1 firewire_core
libata                125057  5 libahci,ata_piix,ahci,pata_marvell,ata_generic
atl1e                  27339  0 
scsi_mod              135081  3 libata,sd_mod,sg
ehci_hcd               39631  0 
usbcore               104555  4 ehci_hcd,uhci_hcd,usbhid
usb_common             12338  1 usbcore
floppy                 48125  0

dmesg


The last firmware errors in the dmesg might explain something but googling them couldn't find any workaround.

Thank you in advance for any suggestion or hint.
 
Old 11-17-2017, 04:51 PM   #2
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan
Posts: 478

Rep: Reputation: 115Reputation: 115
That dmesg error seems to say it's the wrong firmware for the wireless. I would think it would not show up with
Code:
ip a
though if that were the case. If you have wpa-supplicant installed, just to see if you can get connected, you could try
Code:
wpa_supplicant -B -i wlan0 -c <(wpa_passphrase SSID "Password")
and if that returns a message indicating success, just get an ip address with something like
Code:
dhclient -v wlan0
then see if you are connected.
 
Old 11-19-2017, 10:36 AM   #3
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 417

Original Poster
Rep: Reputation: 32
ip a returns

Quote:
wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
 
Old 11-19-2017, 08:58 PM   #4
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan
Posts: 478

Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by netpumber View Post
ip a returns
Code:
 wlan0:   mtu 1500 qdisc noop state DOWN group default qlen 1000
That's good, so it shows the card. Go ahead and try connecting with commands above. You'll want to set the card &quot;up&quot; first though.
Code:
ip link set wlan0 up
And then you can confirm with
Code:
ping -c 2 www.google.com
or just try opening a webpage

Last edited by TheEzekielProject; 11-19-2017 at 09:02 PM.
 
Old 11-20-2017, 04:18 AM   #5
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 417

Original Poster
Rep: Reputation: 32
In my first post I forgot to say that ip link set wlan0 up returns this weird status:

Quote:
RTNETLINK answers: No such file or directory
 
Old 11-20-2017, 04:23 AM   #6
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan
Posts: 478

Rep: Reputation: 115Reputation: 115
Quote:
Originally Posted by netpumber View Post
In my first post I forgot to say that ip link set wlan0 up returns this weird status:

Note that it is a ZERO and not the letter "O".
 
Old 11-20-2017, 04:32 AM   #7
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan
Posts: 478

Rep: Reputation: 115Reputation: 115
If you are certain you've typed the wireless nic name right, (not replaced any number with a letter or vice versa), make sure you've installed
Code:
sudo apt-get update && sudo apt-get install firmware-b43-installer
then try setting the interface up again
Code:
ip link set wlan0 up
 
Old 11-20-2017, 08:25 AM   #8
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 417

Original Poster
Rep: Reputation: 32
Hahahaha. firmware-b43-installer is already installed. And I checked it with dpkg -s that returned me Status: install ok installed . So maybe somewhere else the problem is lying.
 
Old 11-20-2017, 09:42 AM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,914

Rep: Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999Reputation: 1999
Out of interest did the kernel update to a new version? If so, have you tried booting into the old kernel? Just thought as I had an issue with a kernel version a little while ago -- I am running Sid though so it may not apply to you.
 
Old 11-20-2017, 04:10 PM   #10
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 417

Original Poster
Rep: Reputation: 32
Nope dude. Kernel didn't updated. It's still 3.2.0- 4- 686- pae
 
Old 11-20-2017, 09:00 PM   #11
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan
Posts: 478

Rep: Reputation: 115Reputation: 115
What's the output of
Code:
iw dev

EDIT: Also have a look at this https://www.linuxquestions.org/quest...ry-4175422879/

Last edited by TheEzekielProject; 11-20-2017 at 09:13 PM.
 
Old 11-22-2017, 04:42 AM   #12
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 417

Original Poster
Rep: Reputation: 32
Code:
iw dev
returns
interface wlan0 , ifindex 3 , type managed

while from the post you referenced, I checked the following two packages (with dpkg -s) and none of them is installed. An I cannot install them without internet connection.

Code:
firmware-linux-nonfree
firmware-linux
 
Old 11-22-2017, 05:13 AM   #13
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: Devuan
Posts: 478

Rep: Reputation: 115Reputation: 115
You mentioned in the OP that the computer has no access to ethernet; can you not connect even temporarily to download those packages?

Other than that, you could try USB tethering your phones internet connection, or downloading the packages with another device and transferring via usb.

If you can't do any of those, it looks like you may be stuck
 
Old 11-22-2017, 07:51 AM   #14
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 417

Original Poster
Rep: Reputation: 32
I'll try the trick with the usb and I hope not to have a problem with dependencies. I'll keep you posted.
 
Old 11-22-2017, 03:23 PM   #15
netpumber
Member
 
Registered: Sep 2007
Location: In My Box
Distribution: Arch Linux
Posts: 417

Original Poster
Rep: Reputation: 32
Pff..nothing happened even after installing these two packages :-S
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
sdb2 instead of sda2 is set in grub after every system-update on Debian skipidar Linux - Software 2 10-02-2009 09:41 AM
How set up Debian to update from Etch but also use packs from Sid? KingPanda Debian 10 09-29-2008 06:06 PM
I have to set up the wlan0 up every time the system is rebooted Fuzia Linux - Wireless Networking 11 04-14-2006 05:15 PM
Do you know how to set up DHCP on a Debian System? jordansmit935 Linux - Networking 1 03-19-2003 01:43 AM
Do you know how to set up Apache on a Debian system? jordansmit935 Linux - Networking 1 03-19-2003 01:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration