Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,362 members, 7,819,305 topics. Date: Monday, 06 May 2024 at 02:05 PM

Spectranet For Linux - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Spectranet For Linux (1132 Views)

Na Who Design/redesign Http://selfcare.spectranet.com.ng? / Official Thread For Linux Developers. / Introduction To Basic Terminal Commands For Linux (2) (3) (4)

(1) (Reply)

Spectranet For Linux by benjiamobi(m): 10:42pm On Jul 27, 2015
hello, pls I'm trying to configure my desktop so i can connect to my spectranet, the challenge is that I have linux installed, and I don't have wifi on the desktop, so i have to connect via USB, but i can't seem to do the configuration.

can anyone help me with that?
Re: Spectranet For Linux by danidee10(m): 9:25am On Jul 22, 2016
use lsusb to check for the modem's id and current mode, you should see something like this (Huawei E353/E3131)

Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 012: ID 12d1:1f01 Huawei Technologies Co., Ltd. E353/E3131 (Mass storage mode)
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 05c8:036e Cheng Uei Precision Industry Co., Ltd (Foxlink) Webcam
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

in my case it's on Bus 001 with an id of 12d1 and the current mode is 1f01

use usb_modeswitch run this command from the terminal

sudo usb_modeswitch -v 12d1 -p 1f01 -M '55534243123456780000000000000011062000000101000100000000000000'

if you're not using a distro that uses sudo just switch to the root account with su - and run

usb_modeswitch -v 12d1 -p 14db -V 12d1 -P 1442 -M "55534243123456780000000000000011062000000100000000000000000000"


yours might be different depending on the model, so just change replace the numbers with the one on your modem

Here it the git repo if you need more info https://github.com/trevd/usb-modeswitch

(1) (Reply)

Data Science / Vacancy For Web Developer, Creative Personnel And Mobile App Developer Trainer / Wordpress Homepage Not Displaying Menus

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 13
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.