Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Mobile Broadband
Mobile Broadband
Hi,
I installed Debian 9.1.0 from debian-9.1.0-xfce-CD-1 and everything worked well until I unplugged my Huawei e3251s 2 USB modem. When I plugged it back Debian havent recognized it. First time I ran it normally, just added connection in Network Manager, found my provider, saved it and it worked. After that I have googled whole day and couldnt find any solution. Tried to reboot system, to plug out and plug in modem I dont know for how many times, also tried few things with that "nmcli" command, dont know what (sorry, Im new to Linux), tried something with WVDial and havent succeed too. Somehow Im stucked on that Network Manager and when I type "nmcli device" in terminal there isnt listed modem but it is mounted as /media/cdrom1. I dont know is that relevant, but I run on Biostar MCP6P-M2 motherboard and AMD Sempron CPU.
Any solution would be really helpful becouse I need this for my college.
Thanks.
I installed Debian 9.1.0 from debian-9.1.0-xfce-CD-1 and everything worked well until I unplugged my Huawei e3251s 2 USB modem. When I plugged it back Debian havent recognized it. First time I ran it normally, just added connection in Network Manager, found my provider, saved it and it worked. After that I have googled whole day and couldnt find any solution. Tried to reboot system, to plug out and plug in modem I dont know for how many times, also tried few things with that "nmcli" command, dont know what (sorry, Im new to Linux), tried something with WVDial and havent succeed too. Somehow Im stucked on that Network Manager and when I type "nmcli device" in terminal there isnt listed modem but it is mounted as /media/cdrom1. I dont know is that relevant, but I run on Biostar MCP6P-M2 motherboard and AMD Sempron CPU.
Any solution would be really helpful becouse I need this for my college.
Thanks.
-
- Posts: 1406
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: Mobile Broadband
Try first use mmcli. Does ModemManager detect this modem?
Peter.
Code: Select all
mmcli -L
Re: Mobile Broadband
I think the problem is because Debian recognizes USB modem as storage device not as broadband, but I dont have idea how to solve it.
-
- Posts: 1406
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: Mobile Broadband
When it is inserting is new device in /dev appeared or not?
Is it unlocked?
Peter.
Is it unlocked?
Peter.
-
- Posts: 1406
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: Mobile Broadband
If it is appeared in /dev try send to it commandvladimir wrote:I think the problem is because Debian recognizes USB modem as storage device not as broadband, but I dont have idea how to solve it.
Code: Select all
AT^u2diag?
//Set for modem only mode
Code: Select all
AT^u2diag=0
http://m2msupport.net/m2msupport/forums ... -commands/
or you can download pdf, but for other model, by searching
AT Command Interface Specification - Huawei
Peter.
Re: Mobile Broadband
There is lot of files in /dev and I dont know what these files are, but when I checked in File Manager at bottom line of file manager there is four new items created, so I guess it appears there. Tried command and it says command not found.
Code: Select all
AT^u2diag?
-
- Posts: 1406
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: Mobile Broadband
AT-commands are modem commands! You must enter them in communication program like minicom.
In minicom you will see the modem answer.
What devices are appeared in /dev when modem is inserting?
minicom is needed on tweaking on certain port.
Peter.
In minicom you will see the modem answer.
What devices are appeared in /dev when modem is inserting?
minicom is needed on tweaking on certain port.
Peter.
Re: Mobile Broadband
When I plug modem it creates four files: sr1, sg2, sg3 and sdb. I had to look which files are created with ls -la command so I noticed that folders: block, bsg, char and disk are created at the same time when I plugged modem so I guess it is modified and it is probably interesting.
-
- Posts: 1406
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: Mobile Broadband
These folders are always present. To modem may correspond /dev/ttyUSBn or /dev/ttyACMn, check carefully.
Try command
before and after modem inserting.
Or find other modem, because workable modem works immediately and without problems.
Peter.
Try command
Code: Select all
ls /dev/tty*
Or find other modem, because workable modem works immediately and without problems.
Peter.
Re: Mobile Broadband
There is /dev/tty, /dev/tty1, /dev/tty2, ... , /dev/tty63 and /dev/ttyS0, ... , /dev/ttyS3 files, but these files were there and before I inserted modem. Btw, I read somewhere at Ubuntu forums its known thing for Huawei modems to "disappear" but their problem is solved by rebooting and mine isnt so I thought its problem with Debian, also its working on Windows without problems. Anyway, thank you for effort.
-
- Posts: 1406
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: Mobile Broadband
According specification this modem works in Windows and in Mac OS, so that I was not sure that it will work in Linux.
Peter.
Peter.
-
- Posts: 1406
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: Mobile Broadband
Some modems works in one Windows version and not works in other, similarly in Linux, or needs on driver for concrete system.
Can you show output
when this modem is plugged?
Peter.
Can you show output
Code: Select all
lsusb
Peter.
Re: Mobile Broadband
Code: Select all
root@debian:~# lsusb
Bus 001 Device 013: ID 12d1:14fe Huawei Technologies Co., Ltd. Modem (Mass Storage Mode)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
-
- Posts: 1406
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: Mobile Broadband
Thank you, but I forgot to ask: are usb-modeswitch and usb-modeswitch-data installed?
This had remind me on other forum. It contains 12d1 for Huawei.
Peter.
This had remind me on other forum. It contains 12d1 for Huawei.
Peter.
-
- Posts: 1406
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: Mobile Broadband
Then install its, reboot the computer and again insert modem.vladimir wrote:No, I dont have installed those packages.
Its are mandatory for usb-modems.
Peter.
Re: Mobile Broadband
To install Usb-modeswitch I need Make command and to install Make I need C compiler, to install C compiler I need Make...Because target machine is offline and cant use Apt-get. Im giving up, will try to install Debian from DVD instead from CD, I hope there will be all needed packages.
Sposibo bolshoe batyushka.
Sposibo bolshoe batyushka.
-
- Posts: 1406
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: Mobile Broadband
I'm not a batyushka, I'm the secular man. "batyushka" - is a priest on Russian.
I hope, after usb-modeswitch and usb-modeswitch-data installing your modem will work.
Or you can itself place it in /lib/udev/rules.d/40-usb_modeswitch.rules.
Peter
I hope, after usb-modeswitch and usb-modeswitch-data installing your modem will work.
Or you can itself place it in /lib/udev/rules.d/40-usb_modeswitch.rules.
Peter