Installing Sagem USB ADSL modem problems
Installing Sagem USB ADSL modem problems
I am running Suse 8.0 professional which i installed from CD in 2002. I have subscribed to Tiscali broadband and am using the ADSL modem they supplied (SAGEM F@st 800). I have got the right driver from sagem.com but the installation instructions included state that 'the sources of the linux core must be installed'. On my system I do not seem to have 'the sources of the linux core', which i expect to be in '/usr/src/linux'. The result of ls -l in '/usr/src' gives marfor@linux:~> ls -la /usr/src total 0 drwxr-xr-x 3 root root 72 Feb 4 2005 . drwxr-xr-x 13 root root 376 Feb 6 2005 .. drwxr-xr-x 7 root root 168 Feb 4 2005 packages marfor@linux:~> The output of running the configure script supplied with the driver confirms this checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking whether closedir returns void... no checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for alarm... yes checking for gettimeofday... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strspn... yes checking for strtol... yes checking for ifconfig... yes checking for route... yes checking for pidof... yes checking for dhclient... no checking for dhcpcd... dhcpcd checking for pppd... yes checking for pppoe... no checking for tclsh... yes checking for wish... yes checking for doc/man/eagleconfig.8... yes checking for xsltproc... yes *** docbook stylesheets are missing, keeping prebuild version *** checking for kernel version... not found checking for ifup... 1 checking for adictrl... no checking for eaglectrl... no checking for showstat... no checking for eaglestat... no checking for startadsl... no checking for stopadsl... no configure: creating ./config.status config.status: creating Makefile.common ======================================================================== distribution detected generic dhcp support dhcpcd pppd support yes pppoa support yes pppoe support no (runtime detection) install eagleconnect (tcl/tk frontend) yes generate documentation no ======================================================================== error: kernel-sources cannot be found! linux:/home/marfor/drivers/sagem-modem/linux/eagle-usb-2.0.0 # I do not appear to have the sources on my installation CD's. How can i get this modem up and running with Linux? Thanks Martin |
What kernel are you running?
If you don't know try running 'dmesg | less' Should be the first or second line. Then download the appropriate source from http://www.kernel.org to /usr/src. Then extract and try again. There might be specific packages for the sources from SUSE, but I don't know about that. |
kernel source in /usr/src/linux didn't seem to solve it
Thanks for suggestions.
I found the kernel source (2.4.18-64GB-SMP) from 'uname -a'). marfor@linux:~/drivers/sagem-modem/linux/eagle-usb-2.0.0> uname -a Linux linux 2.4.18-64GB-SMP #1 SMP Wed Mar 27 13:58:12 UTC 2002 i686 unknown #################################################################### I got the 2.4.18 source from kernels.org. I unpacked it to /usr/src/linux as suggested. marfor@linux:~/drivers/sagem-modem/linux/eagle-usb-2.0.0> ls -la /usr/src total 128766 drwxr-xr-x 4 root root 128 Sep 4 14:27 . drwxr-xr-x 13 root root 376 Feb 6 2005 .. drwxr-xr-x 14 573 573 536 Feb 25 2002 linux -rwxr-xr-x 1 marfor users 131727360 Sep 4 14:09 linux-2.4.18.tar drwxr-xr-x 7 root root 168 Feb 4 2005 packages marfor@linux:~/drivers/sagem-modem/linux/eagle-usb-2.0.0> ls -la /usr/src/linux total 201 drwxr-xr-x 14 573 573 536 Feb 25 2002 . drwxr-xr-x 4 root root 128 Sep 4 14:27 .. -rw-r--r-- 1 573 573 18689 Oct 9 2001 COPYING -rw-r--r-- 1 573 573 78697 Feb 25 2002 CREDITS drwxr-xr-x 28 573 573 3312 Feb 25 2002 Documentation -rw-r--r-- 1 573 573 39525 Feb 25 2002 MAINTAINERS -rw-r--r-- 1 573 573 17219 Feb 25 2002 Makefile -rw-r--r-- 1 573 573 14242 Oct 5 2001 README -rw-r--r-- 1 573 573 2815 Apr 6 2001 REPORTING-BUGS -rw-r--r-- 1 573 573 9010 Feb 25 2002 Rules.make drwxr-xr-x 17 573 573 408 Feb 13 2001 arch drwxr-xr-x 39 573 573 984 Feb 25 2002 drivers drwxr-xr-x 45 573 573 2168 Feb 25 2002 fs drwxr-xr-x 24 573 573 632 Nov 22 2001 include drwxr-xr-x 2 573 573 104 Feb 25 2002 init drwxr-xr-x 2 573 573 192 Dec 21 2001 ipc drwxr-xr-x 2 573 573 736 Sep 4 14:30 kernel drwxr-xr-x 2 573 573 408 Nov 22 2001 lib drwxr-xr-x 2 573 573 608 Feb 25 2002 mm drwxr-xr-x 28 573 573 888 Feb 25 2002 net drwxr-xr-x 5 573 573 920 Feb 25 2002 scripts marfor@linux:~/drivers/sagem-modem/linux/eagle-usb-2.0.0> #################################################################### I still had the same 'error: kernel-sources cannot be found!' problem when running the configure script (as root). linux:/home/marfor/drivers/sagem-modem/linux/eagle-usb-2.0.0 # id uid=0(root) gid=0(root) groups=0(root),1(bin),14(uucp),15(shadow),16(dialout),17(audio),65533(nobody),65534(nogroup) linux:/home/marfor/drivers/sagem-modem/linux/eagle-usb-2.0.0 # ./configure checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking whether closedir returns void... no checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for alarm... yes checking for gettimeofday... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strspn... yes checking for strtol... yes checking for ifconfig... yes checking for route... yes checking for pidof... yes checking for dhclient... no checking for dhcpcd... dhcpcd checking for pppd... yes checking for pppoe... no checking for tclsh... yes checking for wish... yes checking for doc/man/eagleconfig.8... yes checking for xsltproc... yes *** docbook stylesheets are missing, keeping prebuild version *** checking for kernel version... not found checking for ifup... 1 checking for adictrl... no checking for eaglectrl... no checking for showstat... no checking for eaglestat... no checking for startadsl... no checking for stopadsl... no configure: creating ./config.status config.status: creating Makefile.common ======================================================================== distribution detected generic dhcp support dhcpcd pppd support yes pppoa support yes pppoe support no (runtime detection) install eagleconnect (tcl/tk frontend) yes generate documentation no ======================================================================== error: kernel-sources cannot be found! linux:/home/marfor/drivers/sagem-modem/linux/eagle-usb-2.0.0 # Any more thoughts gratefully received. Thanks Martin |
Look on the SUSE disc(s) to see if there is a kernel source package, that should include patches and modifications by SUSE, maybe that will work.
It looks like lots of people are having this problem. Try running 'ifconfig' to see if the modem is already recognised. Try going here: http://en.opensuse.org/SDB:Setting_U..._8.0_or_Higher |
All times are GMT -5. The time now is 04:00 AM. |