[SOLVED] Wrestling with USB modem on slackware....
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855
Rep:
Wrestling with USB modem on slackware....
This is perhaps a long story and I have been with this for more than a week now without any progress.
First there is this usb modem that 'supports' linux. The other OS's (live cds) can go online with this however with Slackware 13.37 something refuses the binary application to make changes to the kernel (a very good thing) but then eventually the thing is I am not able to go online with this.
Then I try to go online with kppp. Sigh! It gives up ghost whenever it gets the chance. To top it the modem does not show itself under the usual '/dev/ttyUSB0' it shows up as '/dev/usbdev4.2' and kppp cannot use something as complicated as this.
So I download wvstreams and wvdial from slackbuilds to see if there is any chance of them working with this modem. Well, the slackbuilds do not compile - they fail with an error during make.
Next I manually try to link the /dev/usbdev to /dev/modem (when /dev/modem does not exist) and then with kppp I try to connect - well it gives me an error that the modem is busy! I try all the possible ways of linking in the man page n -s ln -P etc. Everytime I do this the modem is busy.
Can someone help me out here. Any observations or pointers would be appereciated.
Thanks for reading through.
in case you are running a custom kernel: maybe you kicked out the drivers from the kernel.
perhaps the modem is too new to be handled by slackware's usb_modeswitch.
Hi,
i dont know how to technicaly explain, briefly this is what i do to get my usbmodem work
# lsub
the output shows string containing device vendor and product such as ID 201e:1023
since the modem comes with builtin storage i
# eject /dev/sr1
# lsusb
the product id now switches to 201e:1022
# modprobe usbserial vendor=0x201e product=0x1022
# pppsetup
follow everything pppsetup asks
Hopefully this will allow your modem to be recognised and switched to modem mode when plugged so that you can then configure and connect.
PS - This is an old post of mine with a pppd chat script that you may find useful if you are attempting to use pppd. Obviously the parameters will need to be altered along the lines of those reported to work with wvdial. http://www.linuxquestions.org/questi...4/#post4213848
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855
Original Poster
Rep:
Yes I understand that all network problems end with NetworkManager but the thing here is I downloaded all this stuff from slackbuilds and not one of them is compiling - leave alone installing properly. Or am I the only unluck one here?
Meanwhile I linked /dev/ttyUSButps_modem (six different devices are created - for some uneartly reason - for one usb device) to modem and then everything is working fine. Apart from the speed there is no other complain though.
I also downloaded netcat from slackbuilds and they are not even compiling properly. Is this something that is happening to me alone? Guess I should start a new thread for this.
Can you tell us what modem it is, that would help a lot. If /dev/ttyUSB0 doesn't show up it may be that the driver modules isn't loaded properly and it will not work no matter the software you use.
Goggling the vendor and product ID from the lsusb output shows that the modem is a Haier CE682 that has been supplied by Smartfren, an Indonesian ISP. The OP shows a location in India, so perhaps another ISP is involved.
Goggling the vendor and product ID from the lsusb output shows that the modem is a Haier CE682 that has been supplied by Smartfren, an Indonesian ISP. The OP shows a location in India, so perhaps another ISP is involved.
Yes, but that is not the OP's modem, it is shrourdian's modem.
It would be great if the OP would have posted such info tho ... then the problem would have already been solved.
BTW- You are hitting the forum with a vengeance. Welcome back!
Thanks, I have come back because by leaving I feel I am letting Pat V. down. I don't want to do that, in spite of some people pushing me to leave. My time now will be focused solely on Slackware and no other forum on here.
@allend , the Smartfren Haier CE682 is my part of demonstrating my newbie experience of configuring the type of modem i currently have (as H_TeXMeX_H mentioned) not the the original poster's one.
btw i thank you for the links, those really improve my messy config.
Last edited by shrourdian; 06-22-2012 at 12:33 PM.
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855
Original Poster
Rep:
Sorry, I was not at the compuer for a while. I am talking about a Huawei modem from India.
Primaraly what I did was eliminate all the possibilities until I got the right one.
Like i said attaching the modem gave me six new devices (aweful) so all I did was link each one of them to /dev/modem (eg ln -s /dev/usbdev4.2 /dev/modem) and then try to connect usin kppp. (Perhaps you can understand my frustration now). I knew that out the six one had to work - or was it pure luck? Most of the devices I linked to gave me a 'modem is busy' message. I was thinking that this was something that could be worked out but then this was a message that essentialy told me 'sorry dude, you cannot connect now' and perhaps I misread it. Anyway one of them worked and I am online
The thing is it looks like they want me to use the binary drivers they gave me and Slackware does not want to so I listened to Slackware .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.