Errors while installing Arch Linux through a USB 3G modem
I'm trying to install Arch on my PC and I have access to the internet only through a USB 3G modem but I can't seem to get it to work. I'll list the things I've tried -
The command
dmesg | tail
showed that
sr 10:0:0:0: Attached scsi CD-ROM sr0
and so I tried eject the /dev/sr0 but it didn't work at all. The lsblk command still showed the presence of sr0.
I changed the udev rules in /lib/udev/rules.d/40-usb_modeswitch.rules to include my vendor ID and product ID which are 19d2 and 1177 respectively. The usb_modeswitch.rules now includes this -
ATTR{idVendor}=="19d2", ATTR{idProduct}=="1177", RUN+="usb_modeswitch '%b%k'"
I copied the netctl example profile named mobile_ppp to /etc/netctl and edited it to the interface name wwp0s20u2i5 as shown by lsusb, I got the following errors from journal -xn and netctl status mobile_ppp
archiso pppd[1319]: In file /run/network/mobile_ppp.wwp0s20u2i5.mobile_ppp/options: unrecognized option 'wwp0s20u2i5'
archsio network[1302]: Could not establish a ppp connection for profile 'mobile_ppp'.
archiso network[1302]: Failed to bring the network up for profile 'mobile_ppp'
The same was true for ttyUSB0. However, when I set it to ttyACM0, netctl start mobile_ppp didn't give me any errors but didn't work. journalctl -xn and netctl status mobile_ppp gave the following one-line error -
archsio pppd[1454]: Connect script failed
I removed and reinserted the USB modem and then, journalctl -xn didn't give any errors. However, it did contain the following lines -
usb_modeswitch: switched to 19d2:1177 on 003/014
sr 16:0:0:0: Attached scsi CD-ROM sr0
archiso systemd[1]: Started Networking for netctl profile mobile_ppp
The start-up result is done.
netctl status mobile_ppp gave me the same error as the last time -
archsio pppd[1454]: Connect script failed
I think I am at a dead-end here. Help?
EDIT: You are also welcome to try to resolve my issue at Arch Forums here
Edited 3 Jul 2015. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 8 · 100% up
- Kind
- Text
- ID
- 3byuly
10 comments
use
wvdialdon't torture yourselfI tried to use
wvdial. Although it obtains an IP and DNS address and is able to make a connection, the wvdial process doesn't return to the shell (command prompt) during the Arch Linux installation.I have to manually give a CTRL+C to return to the shell.
did you use
stupid modeit might help2: yes wvdial does not return to shell until you cancel it
I don't think this is what the interface is supposed to be. Run
dmesgand look for a line like this:usb 1-6: GSM modem (1-port) converter now attached to ttyUSB0Put ttyUSB0 or whatever else shows there on the profile and try again. Alternatively you could try using
pppddirectly, as shown here.My device uses
ttyACM0and using that doesn't give me any errors but the connection still doesn't happen.