LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-23-2006, 09:32 AM   #1
binary_digit
LQ Newbie
 
Registered: Oct 2006
Distribution: Slackware 11.0
Posts: 7

Rep: Reputation: 0
Unhappy usb modem with slack 11


hi,
I've tried to make my speedtouch 330 usb modem to work on slackware 11.The firmware loads fine but i need libatb in order to make it work.When i compile it stops at "make" step here's console output:
Code:
root@darkstar:~/soft/speedtouch/linux-atm-2.4.1# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for bison... (cached) bison -y
checking for a BSD compatible install... /usr/bin/ginstall -c
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking for ld used by GCC... (cached) /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... (cached) yes
checking for /usr/i486-slackware-linux/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for dlfcn.h... (cached) yes
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached)   -fPIC
checking if gcc PIC flag   -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/i486-slackware-linux/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether -lc should be explicitly linked in... (cached) no
creating libtool
checking for perl... (cached) /usr/bin/perl
checking for asm/errno.h... (cached) yes
checking for linux/atmsap.h... (cached) yes
checking for main in -lresolv... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating m4/Makefile
creating src/Makefile
creating src/include/Makefile
creating src/lib/Makefile
creating src/test/Makefile
creating src/debug/Makefile
creating src/qgen/Makefile
creating src/saal/Makefile
creating src/sigd/Makefile
creating src/maint/Makefile
creating src/arpd/Makefile
creating src/ilmid/Makefile
creating src/ilmid/asn1/Makefile
creating src/man/Makefile
creating src/led/Makefile
creating src/lane/Makefile
creating src/mpoad/Makefile
creating src/switch/Makefile
creating src/switch/debug/Makefile
creating src/switch/tcp/Makefile
creating src/config/Makefile
creating src/config/init-redhat/Makefile
creating src/extra/Makefile
creating src/extra/linux-atm.spec
creating src/extra/ANS/Makefile
creating config.h
config.h is unchanged
root@darkstar:~/soft/speedtouch/linux-atm-2.4.1# make
make  all-recursive
make[1]: Entering directory `/root/soft/speedtouch/linux-atm-2.4.1'
Making all in m4
make[2]: Entering directory `/root/soft/speedtouch/linux-atm-2.4.1/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/soft/speedtouch/linux-atm-2.4.1/m4'
Making all in src
make[2]: Entering directory `/root/soft/speedtouch/linux-atm-2.4.1/src'
Making all in include
make[3]: Entering directory `/root/soft/speedtouch/linux-atm-2.4.1/src/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/soft/speedtouch/linux-atm-2.4.1/src/include'
Making all in lib
make[3]: Entering directory `/root/soft/speedtouch/linux-atm-2.4.1/src/lib'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..     -I../../src/include -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sapequal.c
rm -f .libs/sapequal.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -c sapequal.c    -fPIC -DPIC -o .libs/sapequal.lo
sapequal.c: In function `match_blli':
sapequal.c:68: error: label at end of compound statement
sapequal.c:86: error: label at end of compound statement
make[3]: *** [sapequal.lo] Error 1
make[3]: Leaving directory `/root/soft/speedtouch/linux-atm-2.4.1/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/soft/speedtouch/linux-atm-2.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/soft/speedtouch/linux-atm-2.4.1'
make: *** [all-recursive-am] Error 2
What can i do to compile it, or can i use somethiong else ???
I've tried on certains forums but noboddy answere, pls help masters!!!
 
Old 10-23-2006, 05:32 PM   #2
karlos4321
LQ Newbie
 
Registered: Oct 2005
Location: /studio
Distribution: mainly slack + musix
Posts: 12

Rep: Reputation: 0
I have successfully connected with a speedtouch 330 and slack 11 using steve parkers speedtouchconf script

which can be found here -> http://www.steve-parker.org/speedtouchconf/

I have been using this script for years and can verify that it works

If you have any problems post here, I am happy to help

regards

karlos
 
Old 10-24-2006, 02:00 PM   #3
binary_digit
LQ Newbie
 
Registered: Oct 2006
Distribution: Slackware 11.0
Posts: 7

Original Poster
Rep: Reputation: 0
well i've tried steve's script but it's not working, i've installed kernells modules 2.6.17.13,
headers and source but libatb still doesn't compile.Speedtouchconf sais it's all ok , my adsl LED is bliking for 60 sec and then sais "dont seem to have connected". I've noticed that speedtouchconf uses modem_run , and modem_run is used with 2.4 kernels.
What todo?? reinstall slack with 2.4.33 or keep trying.
ps: vci vpi username and passw were corect and my modem is rev4( i've used rev4fw.zip firmaware).
 
Old 10-25-2006, 04:04 AM   #4
Hyakutake
Member
 
Registered: Apr 2004
Location: Portugal
Distribution: Slackware
Posts: 154

Rep: Reputation: 19
I also have an alcatel 330 usb modem (with pppoe) and got it working with this guide.

Although it is for lfs it works too on slackware (the last script add to /etc/rc.d/rc.local instead of /etc/rc.d/init.d/dial)

EDIT:The section on PPP-2.4.4 can be skipped, 11 has that version.

Last edited by Hyakutake; 10-25-2006 at 04:07 AM.
 
Old 01-08-2007, 04:13 AM   #5
cristopher5
Member
 
Registered: Jun 2006
Distribution: Slackware 13.1 & Suse 11.3
Posts: 46

Rep: Reputation: 15
hy
When i install slackware 11.0,whit old kernel work it the modem but when i reinstall slackware and upgrade the kernel (all... module,header,source) the modem doesnt work,i can install the driver but when i start the modem(speedtouch -start) i get: Starting ADSL connection...
and than exit....
like cannot identify usb port or something!?
some solution?
thanx

Last edited by cristopher5; 01-08-2007 at 04:16 AM.
 
Old 01-10-2007, 08:00 AM   #6
binary_digit
LQ Newbie
 
Registered: Oct 2006
Distribution: Slackware 11.0
Posts: 7

Original Poster
Rep: Reputation: 0
Hyakutake's guide work's fine. When I installed the new kernel 2.6.17.13 I think i installed a new compiler gcc 3.4 so that's why my lib-atm didn't compile.Follow those steps and don't forget to aply the patch for new compilers: http://www.linux-usb.org/SpeedTouch/LFS/index.html
ps: you don't need to recompile the kernel with new features to suport your modem , just activate the required modules from /etc/rc.d/rc.modules-2.6.17.13
 
Old 01-13-2007, 03:50 AM   #7
cristopher5
Member
 
Registered: Jun 2006
Distribution: Slackware 13.1 & Suse 11.3
Posts: 46

Rep: Reputation: 15
Quote:
Originally Posted by binary_digit
ps: you don't need to recompile the kernel with new features to suport your modem , just activate the required modules from /etc/rc.d/rc.modules-2.6.17.13

how can activate the module for my modem?
 
Old 01-14-2007, 09:03 AM   #8
binary_digit
LQ Newbie
 
Registered: Oct 2006
Distribution: Slackware 11.0
Posts: 7

Original Poster
Rep: Reputation: 0
you can activate a module by editing the file "/etc/rc.d/rc.modules-2.6.17.13"
The file format is something like this
Code:
## This module provides compression for PPP (optional):
#/sbin/modprobe ppp_deflate
you must delete 2nd line's "#" character and the ppp compresion will load:
Code:
## This module provides compression for PPP (optional):
/sbin/modprobe ppp_deflate
search these modules and activate them:
Code:
## Load PPP:
# This module is for PPP support:
/sbin/modprobe ppp_generic
# This PPP plugin supports PPP over serial lines:
/sbin/modprobe ppp_async
# Use this plugin instead for HDLC (used for high-speed leased lines like T1/E1)
#/sbin/modprobe ppp_synctty

## This module provides compression for PPP (optional):
/sbin/modprobe ppp_deflate

......
# USB modem support:
/sbin/modprobe cdc-acm
save your changes and reboot.
 
Old 01-15-2007, 11:04 AM   #9
cristopher5
Member
 
Registered: Jun 2006
Distribution: Slackware 13.1 & Suse 11.3
Posts: 46

Rep: Reputation: 15
HY
I make like you say but dont work.i have install speedtouch-1.3.1 but doesnt start...when tape speedtouch -start i get: Starting ADSL connection...
and than exit
any sugestion?
@binary_digit what have install?.. this driver .... or http://www.steve-parker.org/speedtouchconf/
 
Old 01-16-2007, 07:09 AM   #10
binary_digit
LQ Newbie
 
Registered: Oct 2006
Distribution: Slackware 11.0
Posts: 7

Original Poster
Rep: Reputation: 0
I've tried steve parker's script, and it didn't work for me.I tried to install the modem with a "driver" but that driver required a network modem not an usb modem, so yo need a tool called br2684 to simulate a network and then run the driver.
So if you want something certain , get read of steve's script and the driver, so use NONE of them. just follow the howto from here:
http://www.linux-usb.org/SpeedTouch/LFS/index.html
There you'll find what you need to download.PPP-2.4.4 is already installed by slackware so you need br2684-ctl and libatm.
So, once again , delete any driver, scripts and follow the steps from here:
http://www.linux-usb.org/SpeedTouch/LFS/index.html
 
Old 01-17-2007, 07:10 AM   #11
cristopher5
Member
 
Registered: Jun 2006
Distribution: Slackware 13.1 & Suse 11.3
Posts: 46

Rep: Reputation: 15
@binary_digit
cannot install linux-atm-2.4.1....get error.on this site i found a patch but how it run???
i search linux-atm pachage but cannot find only rpm.
 
Old 01-19-2007, 09:06 AM   #12
binary_digit
LQ Newbie
 
Registered: Oct 2006
Distribution: Slackware 11.0
Posts: 7

Original Poster
Rep: Reputation: 0
You take the patch from here:http://www.linux-usb.org/SpeedTouch/....1-gcc-4.patch
If your browser opens it like a text file , click File->Save Page As , and you save under this name linux-atm-2.4.1-gcc-4.patch in your lib-atm-2.4.1 folder, then you recompile it with the commands from that howto from the yellow table. If you still have problems please read lib-atm's README file.
I didn't find either lib-atm as a tgz pakage, but if your compilation fails you can try converting an rpm pakage, that is platform independent, into an tgz pakage with "rpm2tgz".Type in console "rpm2tgz pakage.rpm", and this tool will create a new file pakage.tgz.Then you may try installing it with installpkg.No warranty.
 
  


Reply



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
installing z55i phone as usb modem or bluetooth modem in fedora manoharan Linux - Hardware 1 10-17-2006 06:42 PM
How to connect to Broadband internet on USB modem in slack 10.2 dark* Slackware 4 01-08-2006 09:30 AM
SUSE 9.2 detect my [B]ADSL USB-Ethernet Modem-Router [/B] as a [B]Dial up modem[/B]. myprecius Linux - Hardware 0 06-27-2005 09:21 AM
USB Cable Modem on Clean Slack 10 Install cranky Slackware 2 10-27-2004 06:31 PM
USB ADSL modem and Slack Savagekitty Slackware 2 08-28-2003 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:06 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
Open Source Consulting | Domain Registration