oldBastard
Expert Member
Within the scripts folder in cli
South Africa’s biggest forum. Discuss, discover, and connect with thousands of members.
anton@anton-mint:~/scripts$ cat usbmodem.sh
#!/bin/bash
sudo modprobe -v option
sudo echo "1bbb 022c ff" > /sys/bus/usb-serial/drivers/option1/new_id
anton@anton-mint:~/scripts$
Remove those last 2 lines. You only need the first three lines. See my previous post on what in the file must be.roy@roy-desktop ~/scripts $ cat usbmodem.sh
#!/bin/bash
sudo modprobe -v option
sudo echo "1bbb 022c ff" > /sys/bus/usb-serial/drivers/option1/new_id
chmod +x usbmodem.sh
cat usbmodem.sh
roy@roy-desktop ~/scripts $
Hi again
To recap: I opened Home/scripts/usbmodem.sh and removed the commands you
requested and ran the command 'cat usbmodem.sh' as you can see.
If this is correct do I have to re-instate those 2 commands back in to the original
file where I removed them from.
roy@roy-desktop ~ $ cd scripts
roy@roy-desktop ~/scripts $ ./usbmodem.sh
[sudo] password for roy:
./usbmodem.sh: line 4: /sys/bus/usb-serial/drivers/option1/new_id: Permission denied
roy@roy-desktop ~/scripts $
I just get Network Settings & Network Connections but it doesn't open any further to
display the option to connect to MTN
Hi
My laptop is my windows pc, my desktop is my linux pc, I am currently getting a very poor signal with my old modem
but connected just now and writing this on my desktop with linux.
I dont know any about teamviewer
ok done that, do I leave the other entry there.
I am having to run on the laptop again due to bad signal