Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: roman.styler on February 22, 2011, 02:22:55 PM

Title: Problem with pppd. USB modem doesn't work.
Post by: roman.styler on February 22, 2011, 02:22:55 PM
Hi everyone!
Right now I want to set up 3G internet connection for my server. But unfortunately, I have a problem.
I have usb stick modem. When I plug it, a get message:

Code: [Select]

# dmesg
usb 2-1: new full speed USB device using uhci_hcd and address 4


But I don't get name for my device, like ttyUSB0. There are no devices started with ttyUSB at all.
Please help me. What should I do to make it work?

Thanx.
Title: Re: Problem with pppd. USB modem doesn't work.
Post by: combo3 on February 23, 2011, 12:56:38 AM
Have you tried installing the usb-serial-2.6.33.3-tinycore.tcz extension?
Title: Re: Problem with pppd. USB modem doesn't work.
Post by: roman.styler on February 23, 2011, 01:09:47 AM
Thank you very much! It really helped!
After installing this extension I got message:

Code: [Select]
# dmesg

USB Serial support registered for GSM modem (1-port)
option 2-1:1.0: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
option 2-1:1.1: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
option 2-1:1.2: GSM modem (1-port) converter detected
usb 2-1: GSM modem (1-port) converter now attached to ttyUSB2
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems


Do you have an idea, why system detected 3 devices instead of one?
Title: Re: Problem with pppd. USB modem doesn't work.
Post by: curaga on February 23, 2011, 03:49:26 AM
These devices are very peculiar, and vary a lot between models. Some appear as usb cdroms, some as usb sticks in addition to modems. In your case I'm guessing they might be for different HW (one for GSM speeds, one GPRS, one 3G), but that is just poking in the dark. It's just as likely that it's merely a weird device, and only one of the modem devices works.
Title: Re: Problem with pppd. USB modem doesn't work.
Post by: roman.styler on February 23, 2011, 06:50:52 AM
I found solution. I downloaded instruction of usb modem. And saw this:

Code: [Select]
When you insert the modem into USB port, you should
see the next in kernel messages:

  option 3-1:1.0: GSM modem (1-port) converter detected
  usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
  option 3-1:1.1: GSM modem (1-port) converter detected
  usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
  option 3-1:1.2: GSM modem (1-port) converter detected
  usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2

First endpoint's port (ttyUSB0) is usual modem port
for AT commands/data. The other 2 are AnyDATA's proprietary
endpoints.