LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-05-2003, 05:05 PM   #1
Senzorr
LQ Newbie
 
Registered: Nov 2003
Distribution: Red Hat 9.0
Posts: 7

Rep: Reputation: 0
Problems installing a intel modem....


Hy!
Today i decided to try out another OS so……bye bye WindowsXP and……welcome Linux Red Hat 9.0 ! The instalation was ok....but when i tried to make a connection to internet i've found that...there was NO modem installed. The Red Hat 9.0 didn't recognize it......so i have to manualy install it. In the readme.txt that was on the cd i have found some steps to install the modem....so there they are:

“ steps to install
1.login as ROOT
2.extract the archive into a directory
3.cd into the directory it created.
4.Type: make clean
5.Type: make 536ep
6.Type: make install-536ep

Steps 1 and 2.....OK

Step 3
[root@localhost root]# cd modem
[root@localhost modem]# cd Intel-536ep-425
[root@localhost Intel-536ep-425]#

Step 4
[root@localhost Intel-536ep-425]# make clean
cd coredrv; make clean
make[1]: Entering directory `/root/modem/Intel-536ep-425/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/modem/Intel-536ep-425/coredrv'
cd serialdrv; make clean
make[1]: Entering directory `/root/modem/Intel-536ep-425/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/modem/Intel-536ep-425/serialdrv'
rm -f *.o
rm -f *.o
[root@localhost Intel-536ep-425]#

Step 5
[root@localhost Intel-536ep-425]# make 536ep
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/ve
rsion.h; fi
cd coredrv; make \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536ep;
make[1]: Entering directory `/root/modem/Intel-536ep-425/coredrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/bui
ld/include -I../inc -c -o coredrv.o coredrv.c
/bin/sh: line 1: cc: command not found
make[1]: *** [coredrv.o] Error 127
make[1]: Leaving directory `/root/modem/Intel-536ep-425/coredrv'
make: *** [536ep] Error 2
[root@localhost Intel-536ep-425]#

...and there is the question....WHAT is wrong with STEP 5 ? What Error 2 means?
What to do next?

Thanks !
 
Old 11-05-2003, 06:00 PM   #2
randomblast
Member
 
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291

Rep: Reputation: 30
/bin/sh: line 1: cc: command not found

install gcc
if you already have it installed type (as root ) ln -s /usr/bin/gcc /usr/bin/cc
post back how you get on
 
Old 11-06-2003, 03:52 PM   #3
Senzorr
LQ Newbie
 
Registered: Nov 2003
Distribution: Red Hat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
what to do next?

Hy!
I did (ln -s /usr/bin/gcc /usr/bin/cc ) and this is the message that i receive:

[root@localhost root]#
[root@localhost root]# ln -s /usr/bin/gcc usr/bin/cc
ln: creating symbolic link `usr/bin/cc' to `/usr/bin/gcc': No such file or directory

What to do next?
Thanks!
 
Old 11-07-2003, 11:14 AM   #4
randomblast
Member
 
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291

Rep: Reputation: 30
are the development tools installed?
look in redhat-config-packages
 
Old 11-10-2003, 05:00 PM   #5
Senzorr
LQ Newbie
 
Registered: Nov 2003
Distribution: Red Hat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
Hy!
Thank you, randomblast for your help.....indeed, u were wright! Installing all the development tools did resolve a problem but.....u know one problem less, two problems more! See if u can understand something from this..........

[root@localhost root]# cd modem
[root@localhost modem]# dir
intel-536ep-425
[root@localhost modem]# cd intel-536ep-425
[root@localhost intel-536ep-425]# make clean
cd coredrv; make clean
make[1]: Entering directory `/root/modem/intel-536ep-425/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/modem/intel-536ep-425/coredrv'
cd serialdrv; make clean
make[1]: Entering directory `/root/modem/intel-536ep-425/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/modem/intel-536ep-425/serialdrv'
rm -f *.o
rm -f *.o
[root@localhost intel-536ep-425]#
[root@localhost intel-536ep-425]#
[root@localhost intel-536ep-425]# make 536ep
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi
cd coredrv; make \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536ep;
make[1]: Entering directory `/root/modem/intel-536ep-425/coredrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o coredrv.o coredrv.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o clmmain.o clmmain.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o rts.o rts.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o task.o task.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o uart.o uart.c
uart.c: In function `UART_dte_to_char':
uart.c:630: warning: operation on `uart_rx_put_index' may be undefined
uart.c: In function `UART_dce_to_char':
uart.c:672: warning: operation on `uart_tx_put_index' may be undefined
uart.c: In function `UART_dce_from_char':
uart.c:710: warning: operation on `uart_tx_get_index' may be undefined
uart.c: In function `UART_dte_from_char':
uart.c:755: warning: operation on `uart_rx_get_index' may be undefined
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc -c -o wwh_dflt.o wwh_dflt.c
ld -r coredrv.o clmmain.o rts.o task.o uart.o wwh_dflt.o 536epcore.lib -o 536epcore.o
make[1]: Leaving directory `/root/modem/intel-536ep-425/coredrv'
cp coredrv/536epcore.o .
cd serialdrv; make \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536ep;
make[1]: Entering directory `/root/modem/intel-536ep-425/serialdrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -c -o clmdrvr.o clmdrvr.c
In file included from clmdrvr.c:49:
/lib/modules/2.4.20-8/build/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated, use linux/slab.h instead.
clmdrvr.c:263: warning: static declaration for `rs_init' follows non-static
clmdrvr.c:393:22: warning: multi-line string literals are deprecated
clmdrvr.c: In function `rs_wait_until_sent':
clmdrvr.c:794: structure has no member named `counter'
make[1]: *** [clmdrvr.o] Error 1
make[1]: Leaving directory `/root/modem/intel-536ep-425/serialdrv'
make: *** [536ep] Error 2
[root@localhost intel-536ep-425]#
[root@localhost intel-536ep-425]#


....i really don't know what to do next....is something wrong with the driver ?.....bye!
 
Old 11-11-2003, 06:42 AM   #6
randomblast
Member
 
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291

Rep: Reputation: 30
try
"$ make clean"
"$ make distclean"
"$ ./configure"
"$ make"

or even better
"$ cd ~"
"$ rm -rf intel-536ep-425"
"$ tar -zxvf intel-536ep-425.tar.gz" (or whatever the tarball is named)
"$ cd intel-536ep-425"
"$ ./configure"
"$ make"
 
Old 11-11-2003, 05:33 PM   #7
Senzorr
LQ Newbie
 
Registered: Nov 2003
Distribution: Red Hat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
....and where do i type them ?........
 
Old 11-11-2003, 05:39 PM   #8
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Is kernel-source installed? Do you have a symbolic link /usr/src/linux that points to your /usr/src/linux-<version number here>?

# Compiling/installing kernel modules
You will need to have installed:
1. The developmental packages (compiler)
2. The kernel-source code that matches your running kernel
3. The module source or install code

Check out your system and look under the hood and see if you installed the stuff you need to do the job. Open an x terminal and type in this sequence of commands to see what kernel we are running and see if you have the kernel source installed:
Code:
[fancy@tinwhistle fancy]$ su -
Password: 
[root@tinwhistle root]# uname -r
2.4.18-3
I am running kernel version 2.4.18-3. Do I have the proper source code?
Code:
[root@tinwhistle root]# cd /usr/src
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          136 Jun 12 14:53 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
I do have the same kernel version source code installed in the directory /usr/src/linux-2.4.18-3 and there is a symbolic link named linux-2.4 pointing to it.

If you don't see something similiar to this (but in color), you will need to install the kernel source.

NOTE: I noticed that Red Hat didn't make the symbolic link /usr/src/linux that all of the INSTALL files that I have read mentioned that I need, so I may as well make one now to save editing the files in the source code to install.So, I'll make it just now:
Code:
[root@tinwhistle src]# ln -s linux-2.4.18-3 linux         
[root@tinwhistle src]# ls -alc
total 3
drwxr-xr-x    4 root     root          160 Jun 12 15:46 .
drwxr-xr-x   16 root     root          424 Jun  4 12:04 ..
lrwxrwxrwx    1 root     root           14 Jun 12 15:46 linux -> linux-2.4.18-3
lrwxrwxrwx    1 root     root           14 Jun  4 12:11 linux-2.4 -> linux-2.4.18-3
drwxr-xr-x   16 root     root          584 Jun  4 12:11 linux-2.4.18-3
drwxr-xr-x    7 root     root          168 Jun  4 12:08 redhat
[root@tinwhistle src]#
Ah, there it is, so that's done.

Next, did I install the compiler?
Code:
[root@tinwhistle src]# gcc -v          
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)
[root@tinwhistle src]#
Yes, I have a compiler installed.

If you don't have those two things installed, you have to install them first off your install CD.

If they are installed, download the source and happy comiling. Make sure you carefully read the README and INSTALL files after extracting and before compiling/installing.

# Guides to software management
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation
You might want to check out CheckInstall to manage source code installations/uninstallation

# Find software here
The table of equivalents, replacements, analogs of Windows software in Linux
Freshmeat
Sourceforge
rpmfind

Last edited by fancypiper; 11-11-2003 at 05:41 PM.
 
Old 11-12-2003, 02:56 PM   #9
Senzorr
LQ Newbie
 
Registered: Nov 2003
Distribution: Red Hat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
Hello all!
fancypipper, i did them all, so….here they are :
[root@localhost root]# uname -r
2.4.20-8
[root@localhost root]# cd /usr/src
[root@localhost src]# ls -alc
total 20
drwxr-xr-x 5 root root 4096 Nov 10 23:36 .
drwxr-xr-x 15 root root 4096 Nov 10 23:10 ..
drwxr-xr-x 2 root root 4096 Nov 10 23:10 debug
lrwxrwxrwx 1 root root 14 Nov 10 23:36 linux-2.4 -> linux-2.4.2
0-8
drwxr-xr-x 16 root root 4096 Nov 10 23:35 linux-2.4.20-8
drwxr-xr-x 7 root root 4096 Nov 10 23:29 redhat
[root@localhost src]# ln -s linux-2.4.20-8 linux
[root@localhost src]# ls -alc
total 20
drwxr-xr-x 5 root root 4096 Nov 12 17:32 .
drwxr-xr-x 15 root root 4096 Nov 10 23:10 ..
drwxr-xr-x 2 root root 4096 Nov 10 23:10 debug
lrwxrwxrwx 1 root root 14 Nov 12 17:32 linux -> linux-2.4.20-8
lrwxrwxrwx 1 root root 14 Nov 10 23:36 linux-2.4 -> linux-2.4.20-8
drwxr-xr-x 16 root root 4096 Nov 10 23:35 linux-2.4.20-8
drwxr-xr-x 7 root root 4096 Nov 10 23:29 redhat
[root@localhost src]# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/in
fo --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__
cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)

I think that i have the kernel version source code like the kernel that i use, and I have for sure, the compiler installed (thanks to randomblast)…….
….so i tried again….

[root@localhost root]# cd modem
[root@localhost modem]# dir
intel-536ep-425
[root@localhost modem]# cd intel-536ep-425
[root@localhost intel-536ep-425]# make clean
cd coredrv; make clean
make[1]: Entering directory `/root/modem/intel-536ep-425/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/modem/intel-536ep-425/coredrv'
cd serialdrv; make clean
make[1]: Entering directory `/root/modem/intel-536ep-425/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/modem/intel-536ep-425/serialdrv'
rm -f *.o
rm -f *.o
[root@localhost intel-536ep-425]# make 536ep
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h; fi
cd coredrv; make \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536ep;
make[1]: Entering directory `/root/modem/intel-536ep-425/coredrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include
-I../inc -c -o coredrv.o coredrv.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include
-I../inc -c -o clmmain.o clmmain.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include
-I../inc -c -o rts.o rts.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include
-I../inc -c -o task.o task.c
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include
-I../inc -c -o uart.o uart.c
uart.c: In function `UART_dte_to_char':
uart.c:630: warning: operation on `uart_rx_put_index' may be undefined
uart.c: In function `UART_dce_to_char':
uart.c:672: warning: operation on `uart_tx_put_index' may be undefined
uart.c: In function `UART_dce_from_char':
uart.c:710: warning: operation on `uart_tx_get_index' may be undefined
uart.c: In function `UART_dte_from_char':
uart.c:755: warning: operation on `uart_rx_get_index' may be undefined
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include
-I../inc -c -o wwh_dflt.o wwh_dflt.c
ld -r coredrv.o clmmain.o rts.o task.o uart.o wwh_dflt.o 536epcore.lib -o 536epcore.o
make[1]: Leaving directory `/root/modem/intel-536ep-425/coredrv'
cp coredrv/536epcore.o .
cd serialdrv; make \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" \
536ep;
make[1]: Entering directory `/root/modem/intel-536ep-425/serialdrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include
-I ../inc -c -o clmdrvr.o clmdrvr.c
In file included from clmdrvr.c:49:
/lib/modules/2.4.20-8/build/include/linux/malloc.h:4:2: #error linux/malloc.h is deprecated
, use linux/slab.h instead.
clmdrvr.c:263: warning: static declaration for `rs_init' follows non-static
clmdrvr.c:393:22: warning: multi-line string literals are deprecated
clmdrvr.c: In function `rs_wait_until_sent':
clmdrvr.c:794: structure has no member named `counter'
make[1]: *** [clmdrvr.o] Error 1
make[1]: Leaving directory `/root/modem/intel-536ep-425/serialdrv'
make: *** [536ep] Error 2
[root@localhost modem]#
…..the problem is still there….and if that was not enough, i found that my printer (cannon i320) doesn’t work under Linux….there are no driver for her…but, (there is always a but ), I found that there is a program….turboprint that has driver for my printer…and it cost ~30$.......only that is another problem…first I want to use the modem and then I’l search for drivers on the Net……..

…and another thing….(this is for randomblast)…
U have send me some commands…..
”$ make clean”
“$ make distclean”
“$ ./configure”
………etc
I know it’s sounds silly but…..where do I type them?(in what folder)…and…do I have to type the commands with the “$” sign?......when i type them, this are the messages that i get :
[root@localhost root]# $ make clean
bash: $: command not found
[root@localhost root]# cd modem
[root@localhost modem]# $ make clean
bash: $: command not found
[root@localhost modem]#

..when i type them without the “$” sign this is the message that i get at the second command:
[root@localhost intel-536ep-425]# make distclean
make: *** No rule to make target `distclean'. Stop.
[root@localhost intel-536ep-425]#

...and i get further....
[root@localhost intel-536ep-425]# ./configure
bash: ./configure: No such file or directory
[root@localhost intel-536ep-425]#

..what to do next...???
I really don’t want to use Windows for internet……but i have no choice……..please help me!
 
Old 11-12-2003, 03:58 PM   #10
randomblast
Member
 
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291

Rep: Reputation: 30
no no no no no no no....no
and a very resounding no
the $ is just to show that you run them as a normal user, and you should run them in the directory that the driver source is in.
or just remove the directory and untar the tarball again so that you have a completely clean source tree.
and it sounds like you need to untar it again because
"[root@localhost intel-536ep-425]# ./configure
bash: ./configure: No such file or directory"

means that there is nothing there ???
 
Old 11-12-2003, 04:48 PM   #11
rameth
Member
 
Registered: Aug 2003
Location: new zealand
Distribution: debian unstable
Posts: 32

Rep: Reputation: 15
Also note that there appears to be a newer version available 462, i havent tried it yet myself
still using 451, it may pay for you to update it ?

http://developer.intel.com/design/mo...rt/drivers.htm
 
Old 11-19-2003, 05:54 PM   #12
Senzorr
LQ Newbie
 
Registered: Nov 2003
Distribution: Red Hat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
Hi!
I have dissapear because i have waited for the driver 'Intel536ep-462-R90.tgz' on the Intel site to become available....and when it did become available i have downloaded and install it....the installation was ok (so i think the driver was the problem)..so far so good...i use kppp to configure it...
the ISP account
modem:dev/modem
flow:software
line:cr/lf
connection:57600
the query was ok(can a modem reply if the drivers are no good?)...all was ok...until i've made the connection...i have 2 accounts:
1 Free Dial Up
2 Some paid account also on Dial Up

The Free Dial Up make the connection....but when i try to view a web page i get the message:"The operation timed out when attempting to contact www.yahoo.com"...and this is the message that i get every time i try to open any web page.....

The second account doesn't even connect.....ant this is the paid account!!
(In Windows the second account works perfectly)...
What settings i have miss ?
(btw, my phone line is analog)
Thanks!
 
Old 11-21-2003, 06:38 PM   #13
robmcl
LQ Newbie
 
Registered: Oct 2003
Location: La Habra
Distribution: Redhat 9.1;Windows 2000
Posts: 5

Rep: Reputation: 0
Cool modem setupI

I bought an external modem called "Best Data" Model 56SX92 it's a V. 92/V. 44 modem and it works great with Redhat 9.1 all I did was install the serial cable to the back of the computer; connect my phone line to the external modem and BANG! DONE.

Next step I went into internet connection wizard setup my incoming port and my outgoing port and I was done.

Linux does not like Winmodems as you have probably found out by now.

If you have any questions I can help just e-mail me at: rlmcommunications@joimail.com
 
  


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
Problems bringing up Intel modem pwaring Linux - Hardware 1 11-01-2005 11:22 PM
trouble installing modem Intel modem module kholdstayr Linux - Networking 0 07-17-2005 09:25 AM
Installing a intel 536ep chipset modem maximillion78 Linux - Newbie 4 07-29-2004 02:18 PM
problems with Intel 537 modem texfs Linux - Hardware 7 12-06-2003 09:59 AM
Installing modem Intel 536 EX chipset garzl Linux - Hardware 0 09-20-2003 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:21 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