SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2015-09-11 19:49:42

ilviandante
Member
From: Italy
Registered: 2014-04-25
Posts: 12

networkmanager; add usb_modeswitch and modemmanager

Hi! I've just downloaded BL live iso...amazing, very #! style!
sadly, my usb modem (aka internet key) is not running at all, even creting a new connection with the correct apn. Is it a know issue that will be solved in future, or I'm doing something wrong?
Thank for the help!!

Offline

Help fund CrunchBang, donate to the project!

#2 2015-09-11 20:12:10

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: networkmanager; add usb_modeswitch and modemmanager

Please plug in the device and post the output of:

lsusb
ip l
systemctl status NetworkManager ModemManager

Please use code tags when posting terminal output.

Moving to Help & Support (Stable)

EDIT: What a gorgeous cat! Is that a Maine Coon?
http://crunchbang.org/forums/viewtopic.php?id=36163

Offline

#3 2015-09-11 20:41:40

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: networkmanager; add usb_modeswitch and modemmanager

i guess you mean a mobile broadband dongle.
a word of warning: networkmanager can be very slow in recognizing those, and the menu does not dynamically update. are you sure you have left it alone for a couple of minutes, then checked again?

Offline

#4 2015-09-11 23:49:12

ilviandante
Member
From: Italy
Registered: 2014-04-25
Posts: 12

Re: networkmanager; add usb_modeswitch and modemmanager

I leave the dongle more than 2 minutes...the same is running now, on ubuntu partition.Never had this issue with #! 10 and 11.
The cat is not mine, just a good image...but I have a cat.

Offline

#5 2015-09-11 23:58:42

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: networkmanager; add usb_modeswitch and modemmanager

I need to see the requested command output to troubleshoot this.

Off-topic: The members of the CrunchBang Cat Club would love to see a picture of your cat smile

Offline

#6 2015-09-12 00:06:11

ilviandante
Member
From: Italy
Registered: 2014-04-25
Posts: 12

Re: networkmanager; add usb_modeswitch and modemmanager

I leave the dongle more than 2 minutes...the same is running now, on ubuntu partition.Never had this issue with #! 10 and 11.
The cat is not mine, just a good image...but I have a cat.

chicco

Offline

#7 2015-09-12 00:15:35

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: networkmanager; add usb_modeswitch and modemmanager

Perhaps I am not being clear enough.

Make sure the USB modem is plugged in then open a terminal window and run these three commands:

lsusb
ip l
systemctl status NetworkManager ModemManager

Then copy&paste the output from these commands into a post here in the forums.

Please use code tags when posting terminal output -- you can use the "Quote" button on this post to see how I have created the code box above.

ilviandante wrote:

Absolutely beautiful!

Offline

#8 2015-09-12 06:14:04

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: networkmanager; add usb_modeswitch and modemmanager

Head_on_a_Stick wrote:

Make sure the USB modem is plugged in then open a terminal window and run these three commands:

lsusb
ip l
systemctl status NetworkManager ModemManager

and again, it can take a minute or so before the system recognizes it.
so plug in, wait one minute, type the commands, copy-paste the output.  8)

Offline

#9 2015-09-12 14:09:49

ilviandante
Member
From: Italy
Registered: 2014-04-25
Posts: 12

Re: networkmanager; add usb_modeswitch and modemmanager

Head_on_a_Stick wrote:

Perhaps I am not being clear enough.

Make sure the USB modem is plugged in then open a terminal window and run these three commands:

lsusb
ip l
systemctl status NetworkManager ModemManager

Then copy&paste the output from these commands into a post here in the forums.

Please use code tags when posting terminal output -- you can use the "Quote" button on this post to see how I have created the code box above.

ilviandante wrote:

Absolutely beautiful!

Thank for suggestion, my computer ability is not as good as the average of BL community...that's my terminal output:

daniele@debian:~$ lsusb
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 004: ID 0bda:5606 Realtek Semiconductor Corp. 
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 012: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Bus 001 Device 011: ID 046d:c077 Logitech, Inc. 
Bus 001 Device 010: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
daniele@debian:~$ ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether bc:ee:7b:46:ea:a5 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
    link/ether 24:0a:64:79:32:41 brd ff:ff:ff:ff:ff:ff
daniele@debian:~$ lsusb
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 004: ID 0bda:5606 Realtek Semiconductor Corp. 
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 012: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Bus 001 Device 011: ID 046d:c077 Logitech, Inc. 
Bus 001 Device 010: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
daniele@debian:~$ ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether bc:ee:7b:46:ea:a5 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
    link/ether 24:0a:64:79:32:41 brd ff:ff:ff:ff:ff:ff
daniele@debian:~$ systemctl status NetworkManager ModemManager
● NetworkManager.service - Network Manager
   Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled)
   Active: active (running) since Sat 2015-09-12 13:57:31 BST; 1min 59s ago
 Main PID: 533 (NetworkManager)
   CGroup: /system.slice/NetworkManager.service
           └─533 /usr/sbin/NetworkManager --no-daemon

● ModemManager.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
daniele@debian:~$ 

P.S. Chicco, even is adult, is very little, 2,5kg on average...so nice!

EDITED by damo: added [ code ] tags, as was previously asked for!

Last edited by damo (2015-09-12 15:57:01)

Offline

#10 2015-09-12 17:57:13

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: networkmanager; add usb_modeswitch and modemmanager

Why are you not using the inbuilt wireless card?

Try this:

sudo apt-get install usb-modeswitch modemmanager

Then reboot.

Offline

#11 2015-09-12 18:11:11

ilviandante
Member
From: Italy
Registered: 2014-04-25
Posts: 12

Re: networkmanager; add usb_modeswitch and modemmanager

At moment I've no other internet connection available...http://crunchbang.org/forums/plugins/ezbbc/style/smilies/cry.png

Offline

#12 2015-09-12 18:47:05

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: networkmanager; add usb_modeswitch and modemmanager

Yes, of course how silly of me...
:8

If you have access to another machine which can connect to the internet (such as at a library) then you can download the .deb files for those two programs from here:
http://httpredir.debian.org/debian/pool … _amd64.deb
http://httpredir.debian.org/debian/pool … _amd64.deb
(If you have a 32-bit machine, change the "amd64" in the links to "i386")

You can then transfer these to your BunsenLabs machine (using a USB stick, for example) and install the packages using:

sudo gdebi $NAME_OF_DEB

Replace "$NAME_OF_DEB" with the full name of the .deb file.

Alternatively, right-click on the .deb file in thunar (the file manager) and select "open with gdebi"

Offline

#13 2015-09-13 06:28:00

jeska
New Member
Registered: 2015-09-11
Posts: 1

Re: networkmanager; add usb_modeswitch and modemmanager

Hi all, I've just joined BL and tested the iso. Wouldn't be better to add to the isos usb_modeswitch and modemmamnager debs ? So you can connect out of the box...

Offline

#14 2015-09-13 08:53:31

ilviandante
Member
From: Italy
Registered: 2014-04-25
Posts: 12

Re: networkmanager; add usb_modeswitch and modemmanager

Maybe for me it's best to wait next release...

http://s16.postimg.org/puuwtjt79/bunsenlabsrc1.png

Offline

#15 2015-09-13 10:01:09

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: networkmanager; add usb_modeswitch and modemmanager

jeska wrote:

Wouldn't be better to add to the isos usb_modeswitch and modemmamnager debs ?

Yes, it would.

ilviandante wrote:

Maybe for me it's best to wait next release...

http://s16.postimg.org/puuwtjt79/bunsenlabsrc1.png

We are installing manually without the aid of `apt-get` or `aptitude` and their dependency resolution (now you know how Slackware users have to do things) so you will have to install the dependency chain manually as well.

Download the .deb files using this site to search for what you need:
https://www.debian.org/distrib/packages#search_packages

For those specific packages:
libigm-glib4
libjim

Again, install these using gdebi then attempt to install the original files again.

Of course there may be more packages further down the dependency chain that will also need to be installed manually using the same method.

Offline

#16 2015-09-13 10:03:14

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: networkmanager; add usb_modeswitch and modemmanager

/Merged

These packages are needed to use USB modems.

Offline

#17 2015-09-13 10:15:19

damo
#! gimpbanger
From: N51.5 W002.8 (mostly)
Registered: 2011-11-24
Posts: 5,434

Re: networkmanager; add usb_modeswitch and modemmanager

But if modemmanager is activated by default as a systemd service, on a machine that doesn't use it, it adds a lot to start up times. Would there be a way of including it, but not starting it unless it was required?

What proportion of machines need a usb dongle these days? Should we add what is bloat for the many, for the benefit of a few? Just askin'


BunsenLabs Group on deviantArt
damo's gallery on deviantArt
Openbox themes
Forum Moderator smile

Offline

#18 2015-09-13 10:18:23

Head_on_a_Stick
CatMod
From: A world of pure imagination
Registered: 2014-01-21
Posts: 4,797

Re: networkmanager; add usb_modeswitch and modemmanager

damo wrote:

Would there be a way of including it, but not starting it unless it was required?

It could be added to the "Welcome" script in a similar way to johnraff's proposed solution to the xfce4-power-manager icon debacle.

The packages themselves would have to be added to the ISO because if the user only has a USB modem then they cannot be downloaded but the "Welcome" script could `disable` (or perhaps even `mask`) ModemManager.service if it is not needed.

Offline

#19 2015-09-13 13:00:25

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: networkmanager; add usb_modeswitch and modemmanager

since the days of crunchbang it was customary to include networkmanager, to make initial setup and connectivity as easy as possible.

if networkmanager, then also modemmanager imho.

here in my country mobile broadband is still the first option for many users, because it is both cheap (flatrate!) and widespread and connectivity is good.

but a pipemenu to disable uneeded services would be good.

ps:
here it looks almost like not including modemmanger will cause unnecessary cpu cycles.

Last edited by ohnonot (2015-09-13 13:01:41)

Offline

#20 2015-09-13 17:19:52

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: networkmanager; add usb_modeswitch and modemmanager

@ilviandante and Head_on_a_Stick, thanks for troubleshooting this! ilviandante, I've merged threads, the issue of configuring usb_modeswitch and modemmanager and including them by default is being discussed. Thanks doodz! big_smile


bunsenlabs     8)     forum mod squad

Offline

#21 2015-09-13 17:25:26

ilviandante
Member
From: Italy
Registered: 2014-04-25
Posts: 12

Re: networkmanager; add usb_modeswitch and modemmanager

ohnonot wrote:

since the days of crunchbang it was customary to include networkmanager, to make initial setup and connectivity as easy as possible.

if networkmanager, then also modemmanager imho.

here in my country mobile broadband is still the first option for many users, because it is both cheap (flatrate!) and widespread and connectivity is good.

but a pipemenu to disable uneeded services would be good.

ps:
here it looks almost like not including modemmanger will cause unnecessary cpu cycles.


Totally agree with you. I must move to a public space to install BL, otherwise download all packages with Xubuntu.

Offline

#22 2015-09-17 22:25:10

ilviandante
Member
From: Italy
Registered: 2014-04-25
Posts: 12

Re: networkmanager; add usb_modeswitch and modemmanager

This week I'm stick on an plateau: hard work, my poor back that hearts,and finally mi family, the best of all.

Starting from weekend i hope try to setup BL as best as I canCCA

Offline

#23 2015-10-02 17:32:36

Morpheus
Member
From: Nagoya (名古屋)
Registered: 2013-07-07
Posts: 11

Re: networkmanager; add usb_modeswitch and modemmanager

I'm a mobile broadband user too so I decided to give it a try too.

I installed usb_modeswitch and modemmanager but there's still something wrong. connection is not working, what to do?


noire@lastation:~$ lsusb
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 004: ID 0c45:64e0 Microdia 
Bus 003 Device 003: ID 8087:07da Intel Corp. 
Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 2931:0afe  
Bus 001 Device 012: ID 1c9e:9801 OMEGA TECHNOLOGY 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

noire@lastation:~$ ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 1000
    link/ether 50:b7:c3:8e:c5:b3 brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
    link/ether c8:f7:33:5f:41:d2 brd ff:ff:ff:ff:ff:ff
noire@lastation:~$ 

noire@lastation:~$ systemctl status NetworkManager ModemManager
● NetworkManager.service - Network Manager
   Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled)
   Active: active (running) since pe 2015-10-02 19:30:21 EEST; 50min ago
 Main PID: 527 (NetworkManager)
   CGroup: /system.slice/NetworkManager.service
           ├─ 527 /usr/sbin/NetworkManager --no-daemon
           └─1720 /sbin/dhclient -d -q -sf /usr/lib/NetworkManager/nm-dhcp-helper -pf /var/run/dhclient-...

● ModemManager.service - Modem Manager
   Loaded: loaded (/lib/systemd/system/ModemManager.service; enabled)
   Active: active (running) since pe 2015-10-02 19:30:21 EEST; 50min ago
 Main PID: 530 (ModemManager)
   CGroup: /system.slice/ModemManager.service
           └─530 /usr/sbin/ModemManager

(^-^*)/コンチャ!

Offline

#24 2015-10-02 18:13:06

ohnonot
...again
Registered: 2012-05-22
Posts: 2,205

Re: networkmanager; add usb_modeswitch and modemmanager

morpheus:
if you have a problem with bunsenlabs, you should open a thread on bunsenlabs forums.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo