FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


UBUNTU HELP!!





avk
Hey I have just Installed Ubuntu and dont know even the ABC... of Linux.
So, Help me to install my modem. PLease give me easy Steps

Readme.txt file wrote:

Smart Link Soft Modem for Linux
-------------------------------
Introduction
============
This is Smart Link Soft Modem for Linux version 2.X. It provides
full-featured 56K Voice Fax Modem.

Features
========
Modem: V.92, V.90, V.34, V.32bis, V.23, V.22, V.21, Bell 103/212.
Flow control: V.42, MNP 2-4.
Compression: V.44, V.42bis, MNP5.
Fax: Class 1.
Voice: ADPCM voice compression, Digital Answering Machine.

Requirements
============
CPU: Intel Pentium II, Celron. AMD K6, Cyrix 400MHz or higher.
Memory: 64MB (may work also with 32MB).
OS: Linux 2.4 series.

Supported Hardware
==================
HAMR5600 based AMR/CNR/MDC/ACR modem cards on the following Southbridge
chips:
- Intel ICH0, ICH2
- Via 686A, 686B, 8231, 8233
- SiS 630
- ALI 1535.
SmartPCI56/561/562/563 based PCI modem cards.
SmartUSB56 based USB modem.

Installation
============
1. Unpack tar.gz package file:

$ gzip -dc slmdm-2.X.X.tar.gz | tar xf -

2. 'cd' to package directory:

$ cd slmdm-2.X.X

3. Review and edit (if need) 'Makefile'.

Note: Probably you will want to correct in Makefile path to your
local linux kernel header files:

KERNEL_INCLUDES=/path/to/linux/include

Another way is to pass command line the parameter while
running 'make':

$ make KERNEL_INCLUDES=/path/to/linux/include ...

4. Run 'make' command to compile package:

$ make

5. Install.

If you are going to use AMR/CNR/PCI modem type (as superuser):

# make install-amr

, or

# make install-usb

if you are going to use USB modem.

It will install:
- modem kernel modules slmdm.o (modem core), slfax.o (fax)
into '/lib/modules/<kernel-version>/misc' directory
(standard linux modules' directory).
- hardware specific kernel module slamrmo.o (for AMR/CNR/PCI) or
slusb.o (for USB) into '/lib/modules/<kernel-version>/misc'
directory (standard linux modules' directory).
- country settings data file 'country.dat' into directory '/etc'.

Also it will:
- create character tty device entry '/dev/ttySL0' with major
number 212 and symbolic link 'dev/modem'.
- config you '/etc/modules.conf' file in order to provide
possibility for loading the modem modules into kernel on demand
automatically by kmod, when you are going to use them.

Note: currently you cannot use both AMR/CNR/PCI and USB Modems.

6. Config modem country.

You can configure your current country by using module parameters
'country' or 'country_code'.
Add 'options' directive line to file '/etc/modules.conf':

options slmdm country=<MyCountry>

, for example

options slmdm country=USA

, or use module parameter while module loading:

# modprobe slmdm country=<MyCountry>

Use 'slver -c' to see list of all supported countries and their
codes (utility 'slver' may be found in package directory).

Note: Command ATI7 shows installed country setting.

7. Using the modem.

Installation will automatically create character tty device entry
'/dev/ttySL0' with major number 212 and symbolic link '/dev/modem'.
Use one of them as modem device for your dialing application.

8. Uninstallation.

In package directory just type:

# make uninstall


Using RPM
=========

1. Build SRPM and RPM from tar.gz package:

In order to build RPM and SRPM run command:

# rpm -ta slmdm-2.X.X.tar.gz

It will build in your RPM directory:
- slmdm-2.X.X-Y.src.rpm - Source SRPM package
- slmdm-2.X.X-Y.i386.rpm - Core Modem RPM package
- slmdm-amr-2.X.X-Y.i386.rpm - AMR/CNR/PCI Modem driver
- slmdm-usb-2.X.X-Y.i386.rpm - USB Modem driver

2. Install

To install Modem core package run:

# rpm -i /path/to/slmdm-2.X.X-Y.i386.rpm

To install Modem hw driver run:

# rpm -i /path/to/slmdm-amr-2.X.X-Y.i386.rpm

if you are going to use AMR/CNR/PCI Modem, or

# rpm -i /path/to/slmdm-usb-2.X.X-Y.i386.rpm

if you are going to use SmartUSB56 Modem.

Note: currently you cannot install and use both AMR/CNR/PCI and USB Modems.

3. Uninstall.

# rpm -e slmdm slmdm-<amr|usb>


So PLease Help me Yaar
asfaltboy
u just pasted in the whole install procedure in that readme.txt file !

just do whatever the file says ?


$ gzip -dc slmdm-2.X.X.tar.gz | tar xf -
$ cd slmdm-2.X.X

and so on ...

hint: u dont need to type the $ Razz ... it's just the symbol that indicates ur shell ... like C:\ on DOS ? ... anyway ... if u try doing the steps and get some weird stuff then please tell me about it ? just tell about ur attempts here and we'll try to see what's wrong ? ... it should be fairly easy ... if not we'll google together Very Happy
avk
thanks I will try that!!!
kuad
You should also try searching through www.ubuntuforums.org for help or posting there. Chances are your problem has been experienced by someone else.
avk
Hey when i write make install-amr

It says

Bash: make:command not found

and if I write "#make install-amr":
IT has no response::

And my modem is in Com port 3 but ttyS0 means com port 1
How do I change that!!
Nyizsa
I think you have to become a superuser to be able to use make.
Just type su
and enter the root password.
Now you can try. (# is the prompt. If you start your typing with #, it will be considered as a comment.)
Your COM3 is ttyS2, so when the program asks for it, just change ttyS0 to ttyS2. (If it isn't autodetected.)
Good luck!
avk
I beacme a superuser and did type

make install-amr then got the same answer!!

Bash: make:command not found

Now what!!
avk
I beacme a superuser and did type

make install-amr then got the same answer!!

Bash: make:command not found

Now what!!
asfaltboy
ok .. usually what this - "Bash: make:command not found" - means is that u dont have the gmake (gcc package?) installed... try to see through the documentation on ubuntu at their site...

basically u need to install the gcc compiler package i reccon ? i dont know what Graphic package installer software ubuntu uses ... but say on SuSE 10.0 linux i'd use my yast2 (at least i think that's what it was called?) to install any software i didnt bother picking at install time Razz ...

if u really cant find it i'll try to look up on some help for ubuntu (since i ordered their free cd's a few months ago and i cant wait to try them! when they get here lol)...
desertwind
It seems that you havent installed the system development packages.

install gcc from your ubuntu cd, and try again.
avk
desertwind wrote:
It seems that you havent installed the system development packages.

install gcc from your ubuntu cd, and try again.


Thanks for it
But how to install gcc from the CD
there is a folder called as gcc-4.0 i opened it and found a file which is unable to open!!
How to install it

I have the Ubuntu CD
asfaltboy
ok cool .. so u need to install the build-essentials ...

hmm, how about u try reading this: http://ubuntuguide.org/ !

it will give out a lot of new user info for ur hungry mind Very Happy and in the process explain how to install stuff Razz I would reccommend u read through all of it instead of just jumping to the part u need (http://ubuntuguide.org/#build-essential), and trying to guess your way into it


basically in linux... the more knowledge u have the less trouble u'll have doing stuff. That's all Very Happy
simplyw00x
Ok, I'm going to lay it down for you. The following is right:
Code:

# sudo apt-get install build-essential
Enter password: (enter your password)


Then carry out the steps above. Seriously do go to ubuntu guide before doing anything else.
Related topics
Reply to topic    Frihost Forum Index -> Computers -> Software

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.