i try to setup my usb modem on linux/manjaro ..but i caaant !!
i inseret the usb then extract linux file ..then go to the terminal to run the installation file .. install.sh
but it failed at least ..so how can i make the modem run on manjaro ??

Dani AI

Generated

A practical troubleshooting note to follow after the suggestions from , and : many USB dongles either present themselves as a removable USB storage device (the "zero‑CD" mode) or as an integrated modem that creates serial ports. Inspect what the kernel actually sees and avoid running the vendor installer blindly until its actions are known.

Quick diagnostics (collect these outputs before changing anything):

lsusb
dmesg | tail -n 80
ls /dev/ttyUSB* /dev/ttyACM* /dev/cdc-wdm*  2>/dev/null || true
lsmod | grep -E "option|usbserial|cdc_acm|cdc_wdm"
mmcli -L        # if ModemManager is installed
nmcli device    # if NetworkManager is available

If the device shows as a mass storage device after plugging in, install and use usb_modeswitch (Manjaro/Arch: pacman) to flip it into modem mode; use the vendor and product IDs from lsusb when running usb_modeswitch. If /dev/ttyUSB or /dev/ttyACM nodes appear, the kernel drivers (option, cdc_acm, usbserial) are likely in play — loading the appropriate module will let ModemManager or NetworkManager claim the modem and create a Mobile Broadband connection (enter the APN). For older setups, wvdial/pppd can still be used by pointing them at the correct tty device and APN strings.

Before executing the provided install script, inspect it with a pager to see whether it only installs udev rules or tries to build kernel modules. A safe workflow is to identify device IDs, try the kernel drivers/ModemManager path first, and only use vendor scripts if absolutely necessary. If problems persist, paste the exact lsusb output and the last 50 lines of dmesg so the failure mode can be diagnosed further.

Recommended Answers

All 3 Replies

Hello,

What error did you get when the install failed?
Probably could not execute the script. Try this:

. ./install.sh

If not let us know what the error is and we will work from there.

Off the top of my head, a couple of obvious things to check are:

  1. Is the script executable?
    I don't know how much you know about the Linux terminal commands, so apologies if you already know this; but you can determine whether the file is executable using ls:
    ls -l ./install.sh
    Check the permissions in the listing to see if the executable (x) flag is set.
    If it is not set, you can use chmod to make the file executable:
    chmod +x ./install.sh

  2. Were you running the install script as root?
    If you ran the installer as a normal/unprivileged user, that would cause problems!
    Try using sudo ./install.sh to run the script as root.

NOTE: I'm not familiar with Manjaro. I know it's based on Arch, but I don't know what software is installed by default on Manjaro. If sudo is not installed, then use whatever mechanism is in place to allow you escalate your privileges to root (su?).

If none of these suggestions are of any help, please post again listing the exact errors output by your attempts to run the script.

Linux usb modems are a species of serial modem. You need to use the network management tool to configure it properly, as a PPP device.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.