LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-29-2012, 04:10 AM   #1
eyanu
Member
 
Registered: Jul 2012
Location: kampala,Uganda
Distribution: backtrack
Posts: 87

Rep: Reputation: Disabled
Configure 3G USB modem in asterisk


Hello everyone am trying to configure my 3g-usb modem in asterisk. however one of the requirements i found out was
Quote:
usb-modeswitch
i downloaded it, but when i run
Quote:
make install
i get

Quote:
usb_modeswitch.c:1678: error: dereferencing pointer to incomplete type
make: *** [usb_modeswitch] Error 1
i tried using sakis3g script that automatically detect usb modems but when i run ./compile it gives me

Quote:
dependencies/usb-modeswitch/usb_modeswitch.c:1302: error: dereferencing pointer to incomplete type
Failed to compile usb-modeswitch.
lusb
Quote:
Bus 001 Device 003: ID 12d1:140c Huawei Technologies Co., Ltd.
dmesg
Quote:
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
Vendor: HUAWEI Model: Mass Storage Rev: 2.31
Type: CD-ROM ANSI SCSI revision: 02
Am using centos, and my kernel is 2.6, please if you have any ideas i would really appreciate.
 
Old 08-30-2012, 01:26 AM   #2
rabbit2345
Member
 
Registered: Apr 2007
Location: 中国上海
Distribution: Lubuntu 16.04 LTS
Posts: 372

Rep: Reputation: 40
Hi,

It seems your problem is not so uncommon: http://www.linuxquestions.org/questi...centos-860158/

According to most people, the driver for this modem should be builtin already. But in case yours doesn't then, have a look at the link above.


good luck,
rabbit2345
 
Old 08-30-2012, 01:37 AM   #3
eyanu
Member
 
Registered: Jul 2012
Location: kampala,Uganda
Distribution: backtrack
Posts: 87

Original Poster
Rep: Reputation: Disabled
Thanks for your reply actually i succeeded installing mod_switch
Quote:
# rpm -qa usb_modeswitch
usb_modeswitch-0.9.7-1.el5.test
and i found out that i needed chan_datacard but when i run ./configure it returns
Quote:
configure: error: Can't find "asterisk.h"
which is supposed to be in /usr/include and i though of manually copying it but the problem was that i installed asterisk from trixbox not source.
 
  


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
[SOLVED] How to configure a USB modem in RHEL5 PCherry Linux - Newbie 4 12-30-2010 07:19 AM
can't configure broadband usb modem fullwhitebeard Mandriva 4 09-12-2009 05:12 AM
How do i configure usb modem , need suggestion monad1 Linux - Software 1 02-11-2007 11:52 AM
configure speedtouch usb modem dompie Linux - Newbie 2 09-13-2003 03:18 AM
how to configure usb modem onlyhuman9 Linux - Hardware 2 10-13-2002 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:30 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration