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.
I am slowly, but steadily moving trhrough my Slackware 12.2 setup, the last major thing being EVDO modem because that is my only option where I live.
However, I appear to have some problems. The kernel seems to recognize the modem on /dev/ttyUSB{0,1}; dmesg output:
Code:
usb 4-2: new full speed USB device using uhci_hcd and address 3
usb 4-2: configuration #1 chosen from 1 choice
option 4-2:1.0: GSM modem (1-port) converter detected
usb 4-2: GSM modem (1-port) converter now attached to ttyUSB0
option 4-2:1.1: GSM modem (1-port) converter detected
usb 4-2: GSM modem (1-port) converter now attached to ttyUSB1
usb 4-2: New USB device found, idVendor=1410, idProduct=2110
usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 4-2: Product: Novatel Wireless CDMA
usb 4-2: Manufacturer: Novatel Wireless Inc.
However, the modem does not appear to communicate via chat; tail -f /var/log/messages output:
What puzzles me, though, is that there is no re-mapping of the /dev/ttyUSB* ports as it was my understanding that the hal/udev will remap the /dev/ttyUSB* on tts/USB*. But examining lshal output, this did not happen:
I am somewhat disappointed with TLDP at still seeing anyone with dialup modem problems. That modem HOWTO from the early - mid-90s was the best, but at some point it was removed from TLDP. Until 4 - 5 years ago I was using a dialup modem, and in the several years before that I never found another HOWTO (including for NetBSD) that helped set up a modem: it always took a lot of extra work. I recommend trying to find that old modem HOWTO; I had it in a book that published all TLDP docs printed in about 1996 - '8. If you cannot find it or continue to have problems, message me and I will look it up and try to get a copy with its scripts posted here or on my homepage.
do I understand you correctly, based on your quote "but cannot query the modem" that you did not make the modem work?
Dear David,
thank you for the offer, however, I am at the stage where I am considering switching to a different distribution or back to FreeBSD because I am having too many problems.
do I understand you correctly, based on your quote "but cannot query the modem" that you did not make the modem work?
No, it is like, only when I softlinked the /dev/ttyUSB0 to /dev/modem I can query the modem. I wrote that since someone here insisted that making such softlink is not necessary. Btw, I have succeeded using several modems.
I'm using a Huawei E220 HSDPA modem and I don't need to symlink anything. All I require to make it work in KPPP is a right AT command and dial number.
And since the thread starter said it's a EVDO modem, I'm assuming it's a wireless CDMA modem. So, I guess all you need is a correct AT command for your modem.
I did, indeed, passed the parameters to the modem, but on further inspection I have discovered that the parameters are already present in one of the configuration files. Regardless, this is not the problem.
No, I did not try kppp, just pppd.
I am afraid that at this point I do not see another option, but go to a more mainstream distribution.
Well, just in case, here are my pppd configuration files for the Huawei E220 modem. AFAIK it's the same for these modems. I have disabled the PIN on the SIM card because it gives less problems. You'd also have to change the username, password and Internet APN to the ones appropriate for your provider (Google helps):
/etc/ppp/chat-3gmodem
Code:
ABORT BUSY
ABORT ERROR
ABORT 'NO CARRIER'
REPORT CONNECT
TIMEOUT 10
"" "ATZ"
OK AT+CGDCONT=1,"ip","internet"
OK "ATE1V1&D2&C1S0=0+IFC=2,2"
OK "AT+IPR=115200"
OK "ATE1"
TIMEOUT 60
"" "ATD*99***1#"
CONNECT \c
Note that you may also want to uncomment the "usepeerdns" or to configure some good DNS servers in /etc/resolv.conf. I connect, essentially, using "pppd call 3gmodem nodetach".
Good luck.
Edit: the username/password is changed in the second file, while the Internet APN is the word "internet" in the first file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.