LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-13-2006, 11:14 PM   #16
silverman
LQ Newbie
 
Registered: Mar 2006
Posts: 15

Rep: Reputation: 0

When you first start your system try :
/etc/init.d/slmodemd start. if it fires up you can configure kppp and you should be on line. if not, you wil need to do : cp scripts/slmodemd /etc/init.d. to check it functional do : /sbin/chkconfig slmodemd on. again you can : /etc/init.d/slmodemd start.

your modem will not be available as you require it unless you init it at boot time. look in the script to make sure all events point to the right actions on FC 4.

you should kppp without problems.

your network device has enable at startup select. put it to on and your done..

congrates on your efforts so far...regards
 
Old 05-14-2006, 05:44 AM   #17
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
You only need to change three lines in the /modem/Makefile (any text editor will do);

Line 19: CFLAGS:= -m32 -Wall -g -O -I. -DCONFIG_DEBUG_MODEM

The -m32 switch was added

Line 31; slmodemd: modem_main.o modem_cmdline.o $(modem-objs) $(dp-objs) dsplibs.o $(sysdep-objs) /usr/lib/libasound.so.2

The <space>/usr/lib/libasound.so.2 was added*

Line 36; #slmodemd: -lasound

Commented the line out (the #)

*You might want to check to make sure you have the symlinked file;

ls -al /usr/lib/libasound*

Sample output:

$ ls -al /usr/lib/libasound*
lrwxrwxrwx 1 root root 18 Feb 25 08:00 /usr/lib/libasound.so.2 -> libasound.so.2.0.0
-rwxr-xr-x 1 root root 842508 Jan 20 16:37 /usr/lib/libasound.so.2.0.0

If not then install the alsa-lib-<version_number>.i386.rpm file that matches you x86_64 version. You may have to use the --force switch and install both;

rpm -Uvh alsa-lib*.rpm --force

Because you already have the x86_64 version installed (you want both).
 
Old 05-15-2006, 06:42 AM   #18
NAC
Member
 
Registered: May 2006
Location: mm........
Distribution: FC6 + Gentoo >/ x86_64
Posts: 132

Rep: Reputation: 15
hi Lenard & silverman
first of all thanks for your help. I really appreciate.
and Lenard, i did as ur structure.
i got an error when i commanded
Quote:
$ ls -al /usr/lib/libasound
system says : no such file or directory.
then i installed a file called:
alsa-lib-1.0.11-3.rc2.2.i386

I only can find this one file named: alsa-lib-<version>.i386

after installation, i still cannot use this command:
Quote:
$ ls -al /usr/lib/libasound
so i failed again to install my Modem driver

and i have another question is:
as you told me :
Copy (as root) the two built files (modem_test and slmodemd) to /usr/sbin
I dont know which "slmodemd" file i should copy, bcoz i found 4 files called "slmodemd"

and finally i succeed to replace the "Makefile" file to u provided one.
but I am confused why i need to change three lines in the new one?

i am too new to understand. probably my question is stupid.
thanks for your help so far.

Warm regards

Last edited by NAC; 05-15-2006 at 10:50 AM.
 
Old 05-15-2006, 07:45 AM   #19
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
The command is; ls -al /usr/lib/libasound*
Notice the last character (the shifted '8' key, it is important).

Just check the directory (/usr/lib), do you have the file /usr/lib/libasound.so.2.0.0 If yes then you are good to go.

Any text editor (nedit, gedit, nano or whatever) can be used to edit the ../modem/Makefile, just make sure you save the changes.

You install the slomdemd and test_modem files you created, after editing the ../modem/Makefile and using the command 'make ALSA_SUPPORT=1' in the ../modem directory.
 
Old 05-15-2006, 10:52 AM   #20
NAC
Member
 
Registered: May 2006
Location: mm........
Distribution: FC6 + Gentoo >/ x86_64
Posts: 132

Rep: Reputation: 15
yes! i am going to try it, thanks a lot Lenard
 
Old 05-16-2006, 12:07 PM   #21
vhasun
LQ Newbie
 
Registered: May 2006
Posts: 23

Rep: Reputation: 15
Hi Silverman and Lenard,

Thanks for the help so far.
I'm still having trouble with the scripts.

The driver archive did contain a directory with scripts, but it doesnt have a script specifically for FC4. (There are some for Mandrake, SUISE, etc.) Do I only have to copy slmodemd?

could you pls explain what happens to scripts in /etc/init.d/
Is it safe to try a new script? (I mean if I make a mistake it it Fatal?)
 
Old 05-16-2006, 01:21 PM   #22
silverman
LQ Newbie
 
Registered: Mar 2006
Posts: 15

Rep: Reputation: 0
Hi vhasun

init - a service to auto start when your machine is booted. Open gedit - kedit and take a look at the scripts already present in /etc/init.d/

any one of the scripts should give you an example of the kind of things that you can do. Dont change them, only look. Then open the services tool and you will understand some more about starting and stopping script functions at boot time...


Read the slmodem script to understand your country placement and slusb or slamr requirements. where it starts and where it goes next. you should get the modem up and running and play alsa another time if its not a requirement today.

if your not happy with an init process, you can press (i) at bootime to enter interactive startup.

n for no if you dont want slmodem init iated...due to a scripting problem.

regards

Last edited by silverman; 05-16-2006 at 01:27 PM.
 
Old 05-16-2006, 07:13 PM   #23
NAC
Member
 
Registered: May 2006
Location: mm........
Distribution: FC6 + Gentoo >/ x86_64
Posts: 132

Rep: Reputation: 15
Hi Lenard
thanks for ur help
I still cannot solve the problem
failed again.
the error info is:

Quote:
make -C modem all
make[1]: Entering directory `/tmp/slmodem-2.9.11-20051101/modem'
gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
/usr/bin/ld: warning: i386 architecture of input file `dsplibs.o' is incompatible with i386:x86-64 output
dsplibs.o: In function `ModulusEncoder:rogress(unsigned char*, unsigned int*)': undefined reference to `__moddi3'dsplibs.o: In function `ModulusEncoder:rogress(unsigned char*, unsigned int*)': undefined reference to `__divdi3'
dsplibs.o: In function `V90ConstellationPower::calcModulusParameters(V90MappingParams*)': undefined reference to `__moddi3'
dsplibs.o: In function `V92ModulusEncoder:rogress(unsigned char*, unsigned int*)': undefined reference to `__divdi3'
collect2: ld returned 1 exit status
make[1]: *** [slmodemd] Error 1
make[1]: Leaving directory `/tmp/slmodem-2.9.11-20051101/modem'
make: *** [modem] Error 2
 
Old 05-20-2006, 02:17 PM   #24
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Please review this thread again, it looks like you did not make and save the changes (or replace) to the ../modem/Makefile as suggested.
 
  


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
Fedora Core4 do not detect my smartlink PCI 56K internal modem appunni Fedora 5 05-17-2006 12:10 AM
opensuse and smartlink modem vinzer Linux - Hardware 2 11-05-2005 05:46 AM
Smartlink USB modem installation on SuSE 9.2 dborzasi SUSE / openSUSE 3 06-03-2005 03:10 PM
smartlink modem installation problem varunvarde2007 Linux - Hardware 1 05-07-2005 02:17 PM
Configuring modem for Fedora Core 1 (ltwin modem) robroy911 Linux - Hardware 0 08-02-2004 06:47 AM

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

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