User avatar
kyrios
Posts: 2468
Joined: Thu Sep 22, 2016 4:20 pm

Re: mobile internet (LTE/UMTS/..)

Thu Jan 10, 2019 11:57 am

Well the install script is looking for stuffs that don't exist in /usr/local

Look if you can set the prefix to /usr

User avatar
alexanderzhirov
Posts: 28
Joined: Fri Dec 07, 2018 10:25 pm
Contact: Website

Re: mobile internet (LTE/UMTS/..)

Thu Jan 10, 2019 12:24 pm

kyrios wrote:
Thu Jan 10, 2019 11:57 am
Look if you can set the prefix to /usr
I'm not sure what you mean. The linux_mbb_install folder contains the readme file. I install according to what it says.

User avatar
kyrios
Posts: 2468
Joined: Thu Sep 22, 2016 4:20 pm

Re: mobile internet (LTE/UMTS/..)

Thu Jan 10, 2019 2:52 pm

alexanderzhirov wrote:
Thu Jan 10, 2019 12:24 pm
kyrios wrote:
Thu Jan 10, 2019 11:57 am
Look if you can set the prefix to /usr
I'm not sure what you mean. The linux_mbb_install folder contains the readme file. I install according to what it says.

I mean that out of the box, Solus doesn't have /usr/local, Solus uses /usr instead.
The install script seems to be looking for things in /usr/local.
So either the install script wants to put things there in previous steps and it failed because it doesn't exists and the script doesn't handle errors nicely or it is expecting to have things pre-installed there which will never be the case.

You need to look at the code to see what it does because being blind all we can do here is guessing...

User avatar
alexanderzhirov
Posts: 28
Joined: Fri Dec 07, 2018 10:25 pm
Contact: Website

Re: mobile internet (LTE/UMTS/..)

Sat Jan 12, 2019 10:04 am

Um... I can only share the installer itself, as bash scripts are not yet much mastered. And regular means it is impossible to have a modem? The system should see it as a LAN network interface, if I'm not mistaken. In Ubuntu picks up as an Ethernet device.

I have made these settings, but they do not help

Code: Select all

lsusb

Bus 002 Device 003: ID 12d1:1f01 Huawei Technologies Co., Ltd. E353/E3131 (Mass storage mode)

sudo nano /lib/udev/rules.d/40-usb_modeswitch.rules

ATTR{idVendor}=="12d1", ATTR{idProduct}=="1f01", RUN +="usb_modeswitch '%b/%k'" 

User avatar
alexanderzhirov
Posts: 28
Joined: Fri Dec 07, 2018 10:25 pm
Contact: Website

Re: mobile internet (LTE/UMTS/..)

Sat Jan 12, 2019 11:49 am

I stumbled on the website. Prescribed a condition in usb_modeswitch and I found a USB modem in HiLink mode in the form of an Ethernet network interface! :D

Code: Select all

$ lsusb
Bus 001 Device 002: ID 12d1:1f01 Huawei Technologies Co., Ltd. E353/E3131 (Mass storage mode)
$ sudo usb_modeswitch -v 12d1 -p 1f01 -J
Look for default devices ...
 Found devices in default mode (1)
Access device 002 on bus 001
Get the current device configuration ...
Current configuration number is 1
Use interface number 0
 with class 8
Use endpoints 0x01 (out) and 0x81 (in)
Using standard Huawei switching message
Looking for active drivers ...
 OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 OK, message successfully sent
Read the response to message 1 (CSW) ...
 Response successfully read (0 bytes), status 0
Reset response endpoint 0x81
Reset message endpoint 0x01
-> Run lsusb to note any changes. Bye!
$ lsusb
Bus 001 Device 003: ID 12d1:14dc Huawei Technologies Co., Ltd. E33372 LTE/UMTS/GSM HiLink Modem/Networkcard
When connecting I just used -J mode
-J --huawei-new-mode
Send a specific bulk message used by all newer Huawei devices

Return to “Installation”