![]() ![]() We can obtain a lot of information about our modem and Inserted a working SIM card into the modem. WARNING: In the following sections I assume that we TIP: To exit minicom press Ctrl+A followed by X (must be upper case). Modem, I googled for “huawei e3131 at command interface specification”Īnd found a PDF document describing supported AT commands. To find out what options are supported by my The modem should respons with OK if everything works: Now we can start minicom without sudo: minicom huawei2Īnd execute our first AT command which is just AT. Then we need to return to the main menu (press Enter)Īnd select “Save setup as…” option. The serial port itself does not support it. We need to enable local echo (on the minicom side) Next we need to go into “Screen and Keyboard” section and Then we need to change baud rate (press E): (to do this press A, change the field value and press either Have to run it with sudo: sudo minicom -sĬonfiguring minicom is like a journey to 80s,įirst we need to go into “Serial port setup” section:Īnd change “Serial Device” to /dev/ttyUSB0 Insisted on saving it into /etc/minicom/ and so I We need to create a minicom configuration first.Īble to save it’s config file in my home directory and To connect to ttyUSB0 I used minicom: sudo apt install minicom (you can try it yourself in bash by executing stty -echo That is not very comfortable but can be changed easily before an option name means that this option is disabled.Įxplanations for all options can be found in man stty.įor example -echo means that the characters that weĪre writing, are not visible on the screen. To be honest I expected only a single tty file… usb 3-9: GSM modem (1-port) converter now attached to ttyUSB2 usb 3-9: GSM modem (1-port) converter now attached to ttyUSB1 usb 3-9: GSM modem (1-port) converter now attached to ttyUSB0 dev/ttyUSB1 and /dev/ttyUSB2: $ dmesg | grep tty Grepping through dmesg revealed that three serial port Recognized as both an USB Drive and an GSM modem. When I connected the modem to my PC it was immediately This post is the result of this few hours of hacking. ![]() Sending AT commands and figuring out what is actually Primitive text based interface known as “AT commands”. That this simple device, as virtually all modems, supports a I planed to throw it away, but then I reminded myself Recently, while cleaning my flat, I found an old Huawei E3131 Menu Fun with AT commands and an old modem Marcin Chwedczuk ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |