LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-21-2012, 03:43 AM   #1
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 847

Rep: Reputation: Disabled
Unhappy 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.
 
Old 06-21-2012, 05:01 AM   #2
san
Member
 
Registered: Jan 2006
Location: vienna, .at
Distribution: Slackware64 13.37
Posts: 50

Rep: Reputation: 12
are you talking about a mobile broadband modem?

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.

could you please post the output of
Code:
 lsusb
Code:
 lshal -m
while plugging the modem in, as well as
Code:
 dmesg|tail
 
Old 06-21-2012, 10:39 AM   #3
shrourdian
LQ Newbie
 
Registered: Apr 2012
Location: indonesia
Distribution: on the way to slackware
Posts: 8

Rep: Reputation: Disabled
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
 
Old 06-21-2012, 11:32 AM   #4
Marcelo_Belfalas
LQ Newbie
 
Registered: Apr 2012
Location: Brazil
Distribution: Slackware64-current multilib
Posts: 23

Rep: Reputation: 10
Maybe it's worth trying to install network manager on 13.37 or upgrading to -current

I had some troubles with mobile broadband modems and they all ended with NetworkManager.
 
Old 06-21-2012, 08:55 PM   #5
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,795
Blog Entries: 15

Rep: Reputation: 730Reputation: 730Reputation: 730Reputation: 730Reputation: 730Reputation: 730Reputation: 730
NetworkManager has a package called ModemManager that might work for your USB Modem.
 
Old 06-21-2012, 11:31 PM   #6
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,378

Rep: Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824
Your Smartfren Haier CE682 modem is not supported by the version usb_modeswitch in Slackware 13.37.
I suggest:
1. Create a file named 201e:1023 in /etc/usb_modeswitch.d containing the information from here. http://www.draisberghof.de/usb_modes...opic.php?t=807
2. Create a file named 99-haier-ce682.rules in /etc/udev/rules.d containing the information from here. http://zulkhamsyahmh.blogspot.com.au...on-ubuntu.html

Note: There is some confusion about what the actual message content string should be. This link uses the same message content string as that in step 2. http://14netbeaner.blogspot.com.au/2...etting-in.html

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

Last edited by allend; 06-21-2012 at 11:37 PM.
 
Old 06-22-2012, 02:46 AM   #7
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 847

Original Poster
Rep: Reputation: Disabled
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.
 
Old 06-22-2012, 06:50 AM   #8
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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.
 
Old 06-22-2012, 09:03 AM   #9
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,378

Rep: Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824
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.
 
Old 06-22-2012, 09:43 AM   #10
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Quote:
Originally Posted by allend View Post
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.
 
Old 06-22-2012, 10:11 AM   #11
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,378

Rep: Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824Reputation: 824
Quote:
It would be great if the OP would have posted such info tho ...
+1 to that.

BTW- You are hitting the forum with a vengeance. Welcome back!
 
Old 06-22-2012, 10:47 AM   #12
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Quote:
Originally Posted by allend View Post
+1 to that.

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.
 
1 members found this post helpful.
Old 06-22-2012, 12:31 PM   #13
shrourdian
LQ Newbie
 
Registered: Apr 2012
Location: indonesia
Distribution: on the way to slackware
Posts: 8

Rep: Reputation: Disabled
@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.
 
Old 06-22-2012, 01:02 PM   #14
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 847

Original Poster
Rep: Reputation: Disabled
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 .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware-USB modem nemesis24 Slackware - Installation 0 05-27-2005 04:06 PM
USB modem working on RH but not Slackware vonkempelen Slackware 1 04-04-2005 09:56 AM
Slackware 10.1 and usb modem steved123 Slackware 1 03-06-2005 12:42 AM
alcatel usb modem (slackware 9) flump Linux - Hardware 1 08-11-2003 08:15 PM
USB + Modem + Slackware 8.1 = No Working v20 Slackware 3 03-02-2003 10:16 AM


All times are GMT -5. The time now is 02:11 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration