PDA

View Full Version : Modem connection problem



Rishkan
17th August 2008, 12:48 PM
hai friends.
i have a problem in connecting my modem in fedora9.here are the codes i had to type to configure my modem according to the manual given with the manual.



[root@localhost root]# tar -jxvf eagle-usb-2.0.0.tar.bz2

[root@localhost root]# cd eagle-usb-2.0.0

[root@localhost eagle-usb-2.0.0]#./configure –enable-cmv
.
[root@localhost eagle-usb-2.0.0]# make uninstall

[root@localhost eagle-usb-2.0.0]# make clean

[root@localhost eagle-usb-2.0.0]# make

root@localhost eagle-usb-2.0.0]# make install



but once i give this


./configure –enable-cmv

i get this error message


[root@localhost eagle-usb-2.0.0]# ./configure –enable-cmv
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: –enable-cmv
checking for –enable-cmv-gcc... no
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... dhclient
checking for pppd... yes
checking for pppoe... yes
checking for tclsh... no
checking for wish... no
checking for doc/man/eagleconfig.8... yes
checking for xsltproc... yes
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 dhclient

pppd support yes
pppoa support yes
pppoe support yes

install eagleconnect (tcl/tk frontend) no

generate documentation yes (update)
================================================== ======================

error: kernel-sources cannot be found!

[root@localhost eagle-usb-2.0.0]#



so please help me.

thanks in advance. :) :D

Arpee Ong
17th August 2008, 12:52 PM
This is USB Modem I assume, can you do an `lsusb` while its plugged in if you will see the USB Model/Manufacturer Name. Afterwhich try invoking `wvdialconf` and see if it will be able to autoconfigure your modem. In some cases you wouldn't have to compile anything to make your USB modem work, Fedora can find it and configure its base settings for you

glennzo
17th August 2008, 12:58 PM
Open a terminal as root or using sudo and type

yum install kernel-devel kernel-headers
Then try building your program again.

arshad3m
17th August 2008, 03:21 PM
Open a terminal as root or using sudo and type

yum install kernel-devel kernel-headers
Then try building your program again.

thanks for your reply.
actually Rishkan is my friend and since he cant connect to internet iam here on his behalf. we both were trying to install it without success.. :).

i wonder how to yum without internet connection. :confused:

thanks in advance.

arshad3m
17th August 2008, 03:24 PM
This is USB Modem I assume, can you do an `lsusb` while its plugged in if you will see the USB Model/Manufacturer Name. Afterwhich try invoking `wvdialconf` and see if it will be able to autoconfigure your modem. In some cases you wouldn't have to compile anything to make your USB modem work, Fedora can find it and configure its base settings for you

hallo,
nice to have your reply.
do i have to type "lsusb" in a terminal? and the 'wvdialconf" ?

thanks.

Arpee Ong
17th August 2008, 05:16 PM
hallo,
nice to have your reply.
do i have to type "lsusb" in a terminal? and the 'wvdialconf" ?

thanks.
yep, go try and let us know the output.