[SOLVED] LMDE2 can't find my android phone's wifi hotspot.

Questions about networking
Forum rules
Before you post please read this
baronsamedi
Level 1
Level 1
Posts: 23
Joined: Fri Mar 04, 2011 6:04 pm

[SOLVED] LMDE2 can't find my android phone's wifi hotspot.

Postby baronsamedi » Fri Aug 14, 2015 5:32 pm

That is it: My laptop gets just about any wifi around, but when I put up the hotspot in my phone, it won't show up in the list of available wifis.

Can't figure out what to do. Everything I find through Google is apparently for the reverse problem: the hotspot in the laptop and the phone trying to connect to it.

Edit: also, the hotspot has been checked in and used through at least another tablet.
Last edited by baronsamedi on Sat Aug 15, 2015 9:31 am, edited 1 time in total.

JeremyB
Level 17
Level 17
Posts: 7566
Joined: Fri Feb 21, 2014 8:17 am

Re: LMDE2 can't find my android phone's wifi hotspot.

Postby JeremyB » Fri Aug 14, 2015 6:07 pm

Open a terminal window and enter

Code: Select all

wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && \
chmod +x wireless-info && \
./wireless-info
and post the contents of the wireless-info.txt file

baronsamedi
Level 1
Level 1
Posts: 23
Joined: Fri Mar 04, 2011 6:04 pm

Re: LMDE2 can't find my android phone's wifi hotspot.

Postby baronsamedi » Fri Aug 14, 2015 6:25 pm

Here it is:

Code: Select all

########## wireless info START ##########

Report from: 15 Aug 2015 00:33 CEST +0200

Booted last: 14 Aug 2015 09:08 CEST +0200

Script from: 14 Jul 2015 17:04 UTC +0000

##### release ###########################

Distributor ID:   LinuxMint
Description:   LMDE 2 Betsy
Release:   2
Codename:   betsy

##### kernel ############################

Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 unknown unknown GNU/Linux

Parameters: ro, quiet, splash

##### desktop ###########################

Cinnamon

##### lspci #############################

06:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)
   Subsystem: Dell Wireless 1395 WLAN Mini-Card [1028:000b]
   Kernel driver in use: wl

07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 02)
   Subsystem: Dell Device [1028:0273]
   Kernel driver in use: r8169

##### lsusb #############################

Bus 007 Device 015: ID 0bb4:0004 HTC (High Tech Computer Corp.)
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c043 Logitech, Inc. MX320/MX400 Laser Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 0c45:63e0 Microdia Sonix Integrated Webcam
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: phy0: Wireless LAN
   Soft blocked: no
   Hard blocked: no

##### lsmod #############################

wl                   6299053  0
dell_wmi               12477  0
dell_laptop            17077  0
sparse_keymap          12818  1 dell_wmi
dcdbas                 13313  1 dell_laptop
cfg80211              405538  1 wl
rfkill                 18867  5 cfg80211,bluetooth,dell_laptop
wmi                    17339  1 dell_wmi

##### interfaces ########################

source-directory /etc/network/interfaces.d

##### ifconfig ##########################

eth0      Link encap:Ethernet  HWaddr <MAC 'eth0' [IF]> 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

usb0      Link encap:Ethernet  HWaddr <MAC 'usb0' [IF]> 
          inet addr:192.168.42.66  Bcast:192.168.42.255  Mask:255.255.255.0
          inet6 addr: fe80::<IP6 'usb0' [IF]>/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:119168 errors:7 dropped:0 overruns:0 frame:7
          TX packets:95144 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:122944843 (117.2 MiB)  TX bytes:15184102 (14.4 MiB)

wlan0     Link encap:Ethernet  HWaddr <MAC 'wlan0' [IF]> 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:19

##### iwconfig ##########################

eth0      no wireless extensions.

usb0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11abg  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=200 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
         

##### route #############################

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.42.129  0.0.0.0         UG    1024   0        0 usb0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 usb0
192.168.42.0    0.0.0.0         255.255.255.0   U     0      0        0 usb0

##### resolv.conf #######################

nameserver 192.168.42.129

##### network managers ##################

Installed:

   NetworkManager

Running:

root      2877     1  0 Aug14 ?        00:00:11 /usr/sbin/NetworkManager

##### NetworkManager info ###############

GENERAL.DEVICE:                         usb0
GENERAL.TYPE:                           ethernet
GENERAL.VENDOR:                         MediaTek
GENERAL.PRODUCT:                        MT65xx Android Phone
GENERAL.DRIVER:                         rndis_host
GENERAL.DRIVER-VERSION:                 22-Aug-2005
GENERAL.FIRMWARE-VERSION:               RNDIS device
GENERAL.HWADDR:                         <MAC 'usb0' [IF]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.REASON:                         0 (No reason given)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1d.7/usb7/7-1/7-1:1.0/net/usb0
GENERAL.IP-IFACE:                       usb0
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.CONNECTION:                     Wired connection 2
GENERAL.CON-UUID:                       3684fc18-821d-4fc1-ade5-d71d69d0b714
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/5
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                     unknown
CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{12}
CONNECTIONS.AVAILABLE-CONNECTIONS[1]:   3684fc18-821d-4fc1-ade5-d71d69d0b714 | Wired connection 2
WIRED-PROPERTIES.CARRIER:               on
IP4.ADDRESS[1]:                         ip = 192.168.42.66/24, gw = 192.168.42.129
IP4.ROUTE[1]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000
IP4.DNS[1]:                             192.168.42.129
DHCP4.OPTION[1]:                        requested_subnet_mask = 1
DHCP4.OPTION[2]:                        requested_rfc3442_classless_static_routes = 1
DHCP4.OPTION[3]:                        subnet_mask = 255.255.255.0
DHCP4.OPTION[4]:                        domain_name_servers = 192.168.42.129
DHCP4.OPTION[5]:                        ip_address = 192.168.42.66
DHCP4.OPTION[6]:                        requested_static_routes = 1
DHCP4.OPTION[7]:                        dhcp_server_identifier = 192.168.42.129
DHCP4.OPTION[8]:                        requested_time_offset = 1
DHCP4.OPTION[9]:                        broadcast_address = 192.168.42.255
DHCP4.OPTION[10]:                       requested_interface_mtu = 1
DHCP4.OPTION[11]:                       dhcp_rebinding_time = 37800
DHCP4.OPTION[12]:                       requested_domain_name_servers = 1
DHCP4.OPTION[13]:                       dhcp_message_type = 5
DHCP4.OPTION[14]:                       requested_broadcast_address = 1
DHCP4.OPTION[15]:                       routers = 192.168.42.129
DHCP4.OPTION[16]:                       dhcp_renewal_time = 21600
DHCP4.OPTION[17]:                       requested_domain_name = 1
DHCP4.OPTION[18]:                       requested_routers = 1
DHCP4.OPTION[19]:                       expiry = 1439626190
DHCP4.OPTION[20]:                       requested_wpad = 1
DHCP4.OPTION[21]:                       host_name = lolax-hausa
DHCP4.OPTION[22]:                       requested_netbios_scope = 1
DHCP4.OPTION[23]:                       requested_ms_classless_static_routes = 1
DHCP4.OPTION[24]:                       requested_netbios_name_servers = 1
DHCP4.OPTION[25]:                       network_number = 192.168.42.0
DHCP4.OPTION[26]:                       requested_domain_search = 1
DHCP4.OPTION[27]:                       requested_ntp_servers = 1
DHCP4.OPTION[28]:                       next_server = 192.168.42.129
DHCP4.OPTION[29]:                       vendor_encapsulated_options = ANDROID_METERED
DHCP4.OPTION[30]:                       requested_host_name = 1
DHCP4.OPTION[31]:                       dhcp_lease_time = 43200
IP6.ADDRESS[1]:                         ip = fe80::<IP6 'usb0' [IF]>/64, gw = ::

GENERAL.DEVICE:                         wlan0
GENERAL.TYPE:                           wifi
GENERAL.VENDOR:                         Broadcom Corporation
GENERAL.PRODUCT:                        BCM4312 802.11b/g LP-PHY (Wireless 1395 WLAN Mini-Card)
GENERAL.DRIVER:                         wl
GENERAL.DRIVER-VERSION:                 6.30.223.248 (r487574)
GENERAL.FIRMWARE-VERSION:               
GENERAL.HWADDR:                         <MAC 'wlan0' [IF]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          30 (disconnected)
GENERAL.REASON:                         42 (The supplicant is now available)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.3/0000:06:00.0/net/wlan0
GENERAL.IP-IFACE:                       
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.CONNECTION:                     --
GENERAL.CON-UUID:                       --
GENERAL.CON-PATH:                       --
CAPABILITIES.CARRIER-DETECT:            no
CAPABILITIES.SPEED:                     unknown
CONNECTIONS.AVAILABLE-CONNECTION-PATHS:
WIFI-PROPERTIES.WEP:                    yes
WIFI-PROPERTIES.WPA:                    yes
WIFI-PROPERTIES.WPA2:                   yes
WIFI-PROPERTIES.TKIP:                   yes
WIFI-PROPERTIES.CCMP:                   yes
WIFI-PROPERTIES.AP:                     no
WIFI-PROPERTIES.ADHOC:                  yes

GENERAL.DEVICE:                         eth0
GENERAL.TYPE:                           ethernet
GENERAL.VENDOR:                         Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT:                        RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
GENERAL.DRIVER:                         r8169
GENERAL.DRIVER-VERSION:                 2.3LK-NAPI
GENERAL.FIRMWARE-VERSION:               
GENERAL.HWADDR:                         <MAC 'eth0' [IF]>
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.REASON:                         2 (Device is now managed)
GENERAL.UDI:                            /sys/devices/pci0000:00/0000:00:1c.4/0000:07:00.0/net/eth0
GENERAL.IP-IFACE:                       
GENERAL.NM-MANAGED:                     yes
GENERAL.AUTOCONNECT:                    yes
GENERAL.FIRMWARE-MISSING:               no
GENERAL.CONNECTION:                     --
GENERAL.CON-UUID:                       --
GENERAL.CON-PATH:                       --
CAPABILITIES.CARRIER-DETECT:            yes
CAPABILITIES.SPEED:                     unknown
CONNECTIONS.AVAILABLE-CONNECTION-PATHS:
WIRED-PROPERTIES.CARRIER:               off

SSID  BSSID  MODE  CHAN  FREQ  RATE  SIGNAL  BARS  SECURITY  ACTIVE  *

##### NetworkManager.state ##############

[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

##### NetworkManager profiles ###########

[[/etc/NetworkManager/system-connections/WLAN_42 automática]] (600 root)
[connection] id=WLAN_42 automática | type=wifi
[wifi] ssid=WLAN_42 | mac-address=<MAC 'wlan0' [IF]>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Toro&Betolaza automática]] (600 root)
[connection] id=Toro&Betolaza automática | type=wifi
[wifi] ssid=Toro&Betolaza | mac-address=<MAC 'wlan0' [IF]>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/P6000 automática]] (600 root)
[connection] id=baronsamedi | type=wifi | permissions=user:ee:;
[wifi] ssid=baronsamedi | mac-address=<MAC 'wlan0' [IF]>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/ONO79A7 automática]] (600 root)
[connection] id=ONO79A7 automática | type=wifi
[wifi] ssid=ONO79A7 | mac-address=<MAC 'wlan0' [IF]>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/Orange-2f3e automática]] (600 root)
[connection] id=Orange-2f3e automática | type=wifi
[wifi] ssid=Orange-2f3e | mac-address=<MAC 'wlan0' [IF]>
[ipv4] method=auto
[ipv6] method=auto

[[/etc/NetworkManager/system-connections/JAZZTEL-YDPVYR automática]] (600 root)
[connection] id=JAZZTEL-YDPVYR automática | type=wifi
[wifi] ssid=JAZZTEL-YDPVYR | mac-address=<MAC 'wlan0' [IF]>
[ipv4] method=auto
[ipv6] method=auto

##### iw reg get ########################

Region: Europe/Madrid (based on set time zone)

country 00: DFS-UNSET
   (2402 - 2472 @ 40), (N/A, 20), (N/A)
   (2457 - 2482 @ 40), (N/A, 20), (N/A), NO-IR
   (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
   (5170 - 5250 @ 80), (N/A, 20), (N/A), NO-IR
   (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, NO-IR
   (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
   (5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
   (57240 - 63720 @ 2160), (N/A, 0), (N/A)

##### iwlist channels ###################

eth0      no frequency information.

usb0      no frequency information.

lo        no frequency information.

wlan0     32 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Channel 14 : 2.484 GHz
          Channel 36 : 5.18 GHz
          Channel 38 : 5.19 GHz
          Channel 40 : 5.2 GHz
          Channel 42 : 5.21 GHz
          Channel 44 : 5.22 GHz
          Channel 46 : 5.23 GHz
          Channel 48 : 5.24 GHz
          Channel 52 : 5.26 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 120 : 5.6 GHz
          Channel 124 : 5.62 GHz

##### iwlist scan #######################

eth0      Interface doesn't support scanning.

usb0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

wlan0     No scan results

##### module infos ######################

[wl]
filename:       /lib/modules/3.16.0-4-amd64/updates/dkms/wl.ko
license:        MIXED/Proprietary
depends:        cfg80211
vermagic:       3.16.0-4-amd64 SMP mod_unload modversions
parm:           passivemode:int
parm:           wl_txq_thresh:int
parm:           oneonly:int
parm:           piomode:int
parm:           instance_base:int
parm:           nompc:int
parm:           intf_name:string

[cfg80211]
filename:       /lib/modules/3.16.0-4-amd64/kernel/net/wireless/cfg80211.ko
description:    wireless configuration support
license:        GPL
author:         Johannes Berg
depends:        rfkill
intree:         Y
vermagic:       3.16.0-4-amd64 SMP mod_unload modversions
parm:           ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm:           cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00

##### /etc/modules ######################

##### modprobe options ##################

[/etc/modprobe.d/broadcom-sta-dkms.conf]
blacklist b43
blacklist b43legacy
blacklist b44
blacklist bcma
blacklist brcm80211
blacklist brcmsmac
blacklist ssb

[/etc/modprobe.d/modesetting.conf]
options cirrus modeset=1
options mgag200 modeset=1

##### rc.local ##########################

exit 0

##### pm-utils ##########################

##### udev rules ########################

[/etc/udev/rules.d/70-persistent-net.rules]
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'eth0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x14e4:0x4315 (wl)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="<MAC 'wlan0' [IF]>", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

##### dmesg #############################

########## wireless info END ############
Last edited by killer de bug on Sat Aug 15, 2015 10:26 am, edited 1 time in total.
Reason: Please use the code tags when pasting long text.

JeremyB
Level 17
Level 17
Posts: 7566
Joined: Fri Feb 21, 2014 8:17 am

Re: LMDE2 can't find my android phone's wifi hotspot.

Postby JeremyB » Fri Aug 14, 2015 6:38 pm

I would do this

Code: Select all

sudo apt-get install b43-firmware-installer && sudo apt-get purge bcmwl-kernel-source
then reboot and see how it works

baronsamedi
Level 1
Level 1
Posts: 23
Joined: Fri Mar 04, 2011 6:04 pm

Re: LMDE2 can't find my android phone's wifi hotspot.

Postby baronsamedi » Sat Aug 15, 2015 5:54 am

Thanks. b43-firmware-installer could not be found, so I went for firmware-b43-installer instead, with:

Code: Select all

sudo apt-get install firmware-b43-installer && sudo apt-get purge bcmwl-kernel-source


It installed it alright, but then it couldn't find bcmwl-kernel-source, and there I got stuck.

I rebooted anyway. Still can't detect the wifi.

JeremyB
Level 17
Level 17
Posts: 7566
Joined: Fri Feb 21, 2014 8:17 am

Re: LMDE2 can't find my android phone's wifi hotspot.

Postby JeremyB » Sat Aug 15, 2015 6:46 am

This should find what package was used to install the other driver

Code: Select all

dpkg -l | grep -i broadcom
Post results

baronsamedi
Level 1
Level 1
Posts: 23
Joined: Fri Mar 04, 2011 6:04 pm

Re: LMDE2 can't find my android phone's wifi hotspot.

Postby baronsamedi » Sat Aug 15, 2015 8:26 am

> dpkg -l | grep -i broadcom

### Results:

ii b43-fwcutter 1:019-2 amd64 utility for extracting Br$
ii broadcom-sta-dkms 6.30.223.248-3 all dkms source for the Broad$
ii firmware-bnx2 0.43 all Binary firmware for Broad$
ii firmware-bnx2x 0.43 all Binary firmware for Broad$
ii firmware-brcm80211 0.43 all Binary firmware for Broad$

### What now?

JeremyB
Level 17
Level 17
Posts: 7566
Joined: Fri Feb 21, 2014 8:17 am

Re: Re: LMDE2 can't find my android phone's wifi hotspot.

Postby JeremyB » Sat Aug 15, 2015 8:57 am

baronsamedi wrote:> dpkg -l | grep -i broadcom

### Results:

ii b43-fwcutter 1:019-2 amd64 utility for extracting Br$
ii broadcom-sta-dkms 6.30.223.248-3 all dkms source for the Broad$
ii firmware-bnx2 0.43 all Binary firmware for Broad$
ii firmware-bnx2x 0.43 all Binary firmware for Broad$
ii firmware-brcm80211 0.43 all Binary firmware for Broad$

### What now?

Code: Select all

sudo apt-get purge broadcom-sta-dkms
reboot

baronsamedi
Level 1
Level 1
Posts: 23
Joined: Fri Mar 04, 2011 6:04 pm

Re: LMDE2 can't find my android phone's wifi hotspot.

Postby baronsamedi » Sat Aug 15, 2015 9:31 am

Suc-cesssssssssssss!!! Thanks a bundle!

However, I think I hit the keyboard when I shouldn't and got a strange message in the last line:

update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
W: The operation was interrupted before it could be finished


Is this bad? Will my puppies die from this? Anything else I should do?

Anyway: Thank you so much, man. I'll mark the tread as solved (and on to the next issue in my list :mrgreen: )


Return to “Networking”