You are not logged in.

#1 2015-08-24 20:09:34

latgarf
Member
Registered: 2012-12-14
Posts: 32

Mobile broadband in Network Manager greyed out while enabled...

I'm struggling to make my USB modem (Huawei e169) work in Network Manager.  Despite that I've checked "Enable Mobile Broadband" (after right-clicking on NM icon in system tray), the Mobile Broadband entry there is greyed out and reads "Not Enabled" (when left-clicking on NM icon).  This all works fine in Lubuntu that I have on the same machine (NM settings are identical), but not in Arch.  I've thoroughly read the relevant wiki articles, but still no clue how to troubleshoot.  Thanks for any hints.

Offline

#2 2015-08-24 20:29:10

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: Mobile broadband in Network Manager greyed out while enabled...

Run this command then plug the modem in and post the output:

udevadm monitor

Jin, Jîyan, Azadî

Offline

#3 2015-08-25 07:14:25

latgarf
Member
Registered: 2012-12-14
Posts: 32

Re: Mobile broadband in Network Manager greyed out while enabled...

$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[808.419565] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2 (usb)
KERNEL[808.420634] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0 (usb)
KERNEL[808.422933] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host10 (scsi)
KERNEL[808.423015] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host10/scsi_host/host10 (scsi_host)
KERNEL[808.424680] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host10/scsi_host/host10 (scsi_host)
KERNEL[808.424778] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host10 (scsi)
KERNEL[808.425088] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0 (usb)
KERNEL[808.425545] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-2 (usb)
UDEV  [808.428190] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2 (usb)
UDEV  [808.431499] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0 (usb)
UDEV  [808.432563] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host10 (scsi)
UDEV  [808.433498] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host10/scsi_host/host10 (scsi_host)
UDEV  [808.433860] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host10/scsi_host/host10 (scsi_host)
UDEV  [808.434446] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/host10 (scsi)
UDEV  [808.435144] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0 (usb)
UDEV  [808.436026] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-2 (usb)
KERNEL[809.079533] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2 (usb)
KERNEL[809.080818] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0 (usb)
KERNEL[809.081295] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/ttyUSB0 (usb-serial)
KERNEL[809.081500] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/ttyUSB0/tty/ttyUSB0 (tty)
KERNEL[809.082201] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1 (usb)
KERNEL[809.082498] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1/ttyUSB1 (usb-serial)
KERNEL[809.082673] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1/ttyUSB1/tty/ttyUSB1 (tty)
KERNEL[809.083323] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2 (usb)
KERNEL[809.083416] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2/ttyUSB2 (usb-serial)
KERNEL[809.083604] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2/ttyUSB2/tty/ttyUSB2 (tty)
KERNEL[809.083813] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3 (usb)
KERNEL[809.086898] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14 (scsi)
KERNEL[809.086980] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/scsi_host/host14 (scsi_host)
UDEV  [809.105964] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2 (usb)
UDEV  [809.110346] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1 (usb)
UDEV  [809.110689] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3 (usb)
UDEV  [809.112392] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1/ttyUSB1 (usb-serial)
UDEV  [809.113469] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14 (scsi)
UDEV  [809.114839] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/scsi_host/host14 (scsi_host)
UDEV  [809.115868] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2 (usb)
UDEV  [809.117185] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2/ttyUSB2 (usb-serial)
UDEV  [809.128746] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2/ttyUSB2/tty/ttyUSB2 (tty)
UDEV  [809.129987] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.1/ttyUSB1/tty/ttyUSB1 (tty)
KERNEL[810.095095] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0 (scsi)
KERNEL[810.095156] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:0 (scsi)
UDEV  [810.097713] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0 (scsi)
UDEV  [810.098595] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:0 (scsi)
KERNEL[810.100614] add      /devices/virtual/bdi/11:0 (bdi)
KERNEL[810.100881] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:0/block/sr0 (block)
UDEV  [810.100906] add      /devices/virtual/bdi/11:0 (bdi)
KERNEL[810.100920] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:0/scsi_device/14:0:0:0 (scsi_device)
KERNEL[810.100942] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:0/bsg/14:0:0:0 (bsg)
KERNEL[810.100975] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:1 (scsi)
KERNEL[810.100988] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:1/scsi_disk/14:0:0:1 (scsi_disk)
KERNEL[810.100999] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:1/scsi_device/14:0:0:1 (scsi_device)
KERNEL[810.101033] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:1/bsg/14:0:0:1 (bsg)
UDEV  [810.102162] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:0/scsi_device/14:0:0:0 (scsi_device)
UDEV  [810.102556] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:0/bsg/14:0:0:0 (bsg)
UDEV  [810.102743] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:1 (scsi)
UDEV  [810.103948] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:1/scsi_disk/14:0:0:1 (scsi_disk)
KERNEL[810.104044] change   /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:0/block/sr0 (block)
UDEV  [810.104108] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:1/bsg/14:0:0:1 (bsg)
UDEV  [810.104189] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:1/scsi_device/14:0:0:1 (scsi_device)
KERNEL[810.106366] add      /devices/virtual/bdi/8:16 (bdi)
KERNEL[810.106456] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:1/block/sdb (block)
UDEV  [810.106670] add      /devices/virtual/bdi/8:16 (bdi)
KERNEL[810.114731] change   /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:1/block/sdb (block)
UDEV  [810.120252] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0 (usb)
UDEV  [810.121221] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/ttyUSB0 (usb-serial)
UDEV  [810.132603] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/ttyUSB0/tty/ttyUSB0 (tty)
UDEV  [810.150572] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:1/block/sdb (block)
UDEV  [810.168437] add      /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:0/block/sr0 (block)
UDEV  [810.189492] change   /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:1/block/sdb (block)
UDEV  [810.228732] change   /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:0/block/sr0 (block)
KERNEL[820.964030] change   /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:0/block/sr0 (block)
UDEV  [821.017426] change   /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.3/host14/target14:0:0/14:0:0:0/block/sr0 (block)

Offline

#4 2015-08-25 08:33:51

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: Mobile broadband in Network Manager greyed out while enabled...

# pacman -S usb_modeswitch

Jin, Jîyan, Azadî

Offline

#5 2015-09-02 11:02:27

latgarf
Member
Registered: 2012-12-14
Posts: 32

Re: Mobile broadband in Network Manager greyed out while enabled...

I do have usb_modeswitch installed.  I expected it to create an appropriate udev rule in either /lib/udev/rules.d/ or /etc/udev/rules.d/
File /lib/udev/rules.d/40-usb_modeswitch.rules contains two rules for Huawei modems:

# Generic entry for all Huawei devices, excluding Android phones
ATTRS{idVendor}=="12d1", ATTRS{manufacturer}!="Android*", ATTR{bInterfaceNumber}=="00", ATTR{bInterfaceClass}=="08", RUN+="usb_modeswitch '%b/%k'"

# Huawei E630
ATTR{idVendor}=="1033", ATTR{idProduct}=="0035", RUN+="usb_modeswitch '%b/%k'"

These rules didn't automatically switch my modem into the modem mode, so I created file
/etc/udev/rules.d/40-huawei-e169.rules
with this content:

SUBSYSTEM=="usb", SYSFS{idProduct}=="1001", SYSFS{idVendor}=="12d1", RUN+="/lib/udev/modem-modeswitch --vendor 0x12d1 --product 0x1001 --type option-zerocd"

This rule uses /lib/udev/modem-modeswitch , but this file is missing on my system.  I expected it to exist as it should have come with udev.

Experimenting further, I installed modem-manager-gui.  Pressing its 'Scan' tab, first asks
"Enable modem: Modem must be enabled to scan for available networks. Enable modem? Yes/No",
and after I press 'Yes', I see
"Error enabling device.  GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method Enable is not implemented on interface org.freedesktop.ModemManager1.Modem".

Thank you for further advice!

Offline

Board footer

Powered by FluxBB