Alive the Linux and Free Software Viva o Linux e o Software Livre Viva o Linux e o Software Livre
Home | Statisticians | Members | It speaks With Us  Alive RSS the Linux
Articles
Conf
Communities
Tips
Team VOL
FAQ
Fotolog
Bozolinux Guide
Links
Questions
Screenshots
Scripts
Simulated
Wallpapers
[ 8 ] using stops
Direct Papo
 
Configuration of the Telephonic Speedy in Slackware 10.2
Compilation commented of kernel
Working with CARP in the BSD's
Webcam Genius in the Linux - Slackware
Reading Linux partitions in the Windows
To configure a domestic net and to share ADSL in the Slackware
 
Tela do Linux
 To read
For beetle_juice
 
Dicas Linux
It operates gratis and without banners
Installing the Slackware without COMPACT DISC
Attending the Short films of the site Door in the Kurumin (and other archives of the type wmf)
Arranging cedilha of a time for all
Installing Gnome 2 in the Kurumin
Error when loading ' kio_pop3 '
Mercury - New customer of MSN with support the Web Cam
List of doors TCP, UDP and ICMP
 
[ Shell-Script ] menu blackbox
[ Shell-Script ] script backup
[ Shell-Script ] Clean Squid RH9
[ Pascal/Kylix ] Loops
[ C/C++ ] Using sockets to monitor servers
 
Articles
Home > Articles > Linux > Configuration > article Visualization

Installing modem LG Lm-i5ñ

timaobr
04/11/2004

This article describes at great length as to install modem LG Lm-i5ñ model in a distribution based on the RedHat Linux, kernel 2.6.
For: Enéias Branches of Melo [ Hits: 9202 ]
Concept: 8.9    + I want to give note to the article
+ Favourite  A4 paper Version for printer To indicate for a friend
Modem LG Lm-i5ñ

The installation to follow well easy and is descomplicada. However we must observe that the packages of kernel must be correctly installed. We will make this with the command:

$ rpm - qa|grep kernel

You it must have something as:

kernel-postinstall-2.0-62776cl
kernel26-2.6.5-63077cl
kernel26-source-2.6.5-63077cl
kernel-pcmcia-cs-3.2.7-58927cl
task-kernel-compiling-10-5362çl
kernel26-it modulates-nvidia-2.6.5.63077cl.1.0.5336-63164cl

We can see that the package kernel26-source-2.6.5-63077cl is installed, that in the case it is the code-source of kernel of the Linux . If until it is all good here, we can then initiate the installation.

In the truth the modem uses one chipset of There. To see this description, we will use the following command:

$ lspci|grep - i Modem
or
$ cat/proc/pci|grep - i Modem

We will have:

Modem: There SmartPCI561 Corporation 56K Modem

First we will make download of driver in the site of the SmartLink , not of There Between in some folder where it will be the archive and it types the command:

$ wget http://www.smlink.com/main/down/slmodem-2.9.10.tar.gz

Download also can be made manually by the navigator.

OK. First we will go to make the configuration of kernel stops later terms modules not conflicting:

$ compact disc/usr/src/linux
$ make to mrproper
$ make menuconfig

In the section "Processor type and features" the option "Processor family" must in accordance with be chosen the type of processor for which current its kernel was compiled. Example:

My machine of work is a Athlon 700mhz, then I will have that to choose the Athlon/Duron/K7 option .

Made this we will come back in the folder where he is to driver that it was lowered. In the directory it types:

$ to tar - xzvf slmodem-2.9.10.tar.gz
$ compact disc slmodem-2.9.10
$ make
$ su
# make install

Soon. Our modem is installed. Lack only to inicializarmos. In its favourite publisher of texts, it opens the etc/rc.d/rc.local archive/ and it adds the following line:

/usr/sbin/slmodemd -- country=BRAZIL/dev/slamr0 >/dev/null 2>&1 &

The called program creates the device /dev/slamr0 , used to have access the modem, more still has that to linkar the device in /they dev/modem . The following command uses:

# ln - s/dev/ttySL0/dev/modem

If you it followed these steps and it did not appear no error, it is only enough to open the program kppp and to connect in the InterNet. If by chance to connect and not to sail will be necessary to add to the IP of its supplier in the archive /etc/resolv.conf :

# my supplier
to nameserver 200.225.157.104
to nameserver 200.225.157.105

I wait not to have very been eccentric in the explanations, but also I am happy if this was useful.


Navigation

1. Modem LG Lm-i5ñ


Recommended reading

Modem HSP 56 MR in the Fedora Core 1
Red Hat and Fedora - One guides basic of configuration
Restoring the LILO with Slackware 9,1 (HOWTO)
Installing and demystifying the Debian
Configuring xorgconfig and inittab to initiate the Slackware in graphical way


Commentaries

Commentary sent for lordello in 04/11/2004:

Extranho, I installed the diverse CL10 to know and vi here that it possesss drivers for softmodems, also I slmodem it, already he tried to use it?
Clearly that the article is valid exactly thus, mainly for having indicated the installation of the package task-kernel-compiling, that is where much people erra in the hour to install drivers in the CL.
It said ae!

Commentary sent for Red Foot in 04/11/2004:

Olá timaobr:)

This article has great utility

Great aid for the staff, I myself I passed two weeks without being able to use net in the CL10 until a friend to pass me as it had obtained, the modem that already comes daily pay-configured, perhaps for some error mine had not given certain.


Commentary sent for engos in 04/11/2004:

I did not read the article because he does not interest me (not use modem in the Linux), but the staff has asked on this in the section of questions and lacked an article on this subject, congratulations for sharing its experience.

[ ]s

Commentary sent for timaobr in 04/11/2004:

Olá lordello!

This article also serves for other users of distributions based on the RedHat that have kernel 2.6.


Commentary sent for tidus in 08/01/2005:

Very good!
I am beginning in linux, and obtained without problems in the CL10

Commentary sent for timaobr in 10/01/2005:

Certain... tidus.

It was valid!


Commentary sent for boureal in 28/01/2005:

The modules of kernel that it comes with the CL10 for modems, are alone to install with
rpm - ivh kernel-I modulate of driver
e the modem already functions or is necessary more something?

Commentary sent for timaobr in 30/01/2005:

Boureal Olá!

For the users of the Connective Linux 10, ' slmodemd-xxx.rpm ' is alone to install a called package and to add the line below in the archive: '/etc/rc.d/rc.local ':

/usr/sbin/slmodemd -- country=BRAZIL/dev/slamr0 >/dev/null 2>&1 &

Abraços...


Commentary sent for timaobr in 30/01/2005:

Please,

I find bacana dispatch by post in the site the doubts instead of ordering email.

Therefore thus, we will be helping this great site always to be best.

;)

Abraços.


Commentary sent for kpinix in 16/03/2005:

ola, good face nao manjo very of linux, you using the fedora Core 3 and I did not obtain to configure my modem, good I lowered the archive whom they indicate in this article for windows, (já that I cannot connect me for linux) but did not give very certain, this functions in the fedora Core 3?

Commentary sent for smeer in 19/03/2005:

Expensive timaobr, congratulations for the article. He is very clearly and complete, and must have helped much people.
In mine in case that, however, it did not function. I bought a modem LG new Lm-i5ñ and installed in my micron with Connective 10. I tried the two methods, described in the article and the installation of the package slmodemd-xxx.rpm. In both the cases did not have error messages, but when trying to have access the InterNet for kppp, comes the message of that the modem does not answer. When I try to inquire the modem in the border modem of the configuration of kppp, comes the message "Modem does not answer".
It would thank any aid, therefore I am inexperienced in the Linux.


Commentary sent for timaobr in 20/03/2005:

Olá to smeer!

He sees if you have the permissions necessary to have access the devices.

' ls - lh/dev/modem ' and tmb '/dev/ttySL0 '

It activates permissions with the command:

chmod a+rw/dev/modem

Flowz!


Commentary sent for sergiotucano in 28/03/2005:

Ola!

Then, I already also followed steps similar to these. using the package that already comes with the CL10....

My modem also is LM 5Ñ, that in mine in case that, back in the Kppp when clico in connecting it is initiating the modem perpetual and does not only connect... I know there saw... will be q is some problem with this modem hein! /

FALOW!

Commentary sent for timaobr in 28/03/2005:

Sergiotucano Ola!

Blz?

It can be that its modem is with problems. In fact, the beginning steps are well simple and nao would have difficulties in making the modem to function with this tutorial one.

Flowz!


Commentary sent for darksideslayer in 17/04/2005:

Ola, timaobr! I am noob in linux well, + tow very interested in learning to use it with eficiencia. I have the Lm-i5ñ modem of the LG and found this perfect substance for me, ja q naum I know as to detect my modem in linux. Use the Slackware 10,1 and naum I understood as to proceed in this tutorial one (+ specifically, naum I know nor as to make the first step:P) It would like, please that vc (or qlqr another person) helped therefore want mto me to learn to use linux and nor to connect the InterNet I still know me to it with it... desd jah, vlw!

Commentary sent for timaobr in 19/04/2005:

Ola to darksideslayer!

Blz?

Well, it is not very difficult to configure this modem. If you mention following láááá above:

$ rpm - qa|grep kernel

They are commands that you need to type in some terminal.

The signal ' $ ' means that you do not need super-usuário(root) privileges of being able to type the command. Now when you to see ' # ', yes need there to type in the terminal:

su -

E soon after that the password pra to lead generality the terminal of its system.

:D

The archives kernel -... they are packages RPM of its system. As you use the Slackware, that has its proper system of pacotes(the TGZ), ' pkgtool ' uses the tool (as root) and installs kernel-source.

Then it executes the following instructions to function its modem.

Obs: You need to have the code-source of its kernel installed in the system therefore driver of the modem you will be compiled as module and the use of the cited source will become necessary.

Flowz!


Commentary sent for freirejesse in 24/04/2005:

It looks at staff I am a zero in linux, it will have interest in learning some thing and was always puto pq same with linux installed did not have access net because of porra of modens(ou them as they say softmodens). Done Apanhei donkey (speaking serious) and since already I thank the this tutorial that vi, in the truth it were who here gave the first tips to me, have a modem of the LG, Lm-i65n, tried of all skill to botar my CONNECTIVE 10 in net and nothing, it seemed that these disasters alone happened with me. Then after much fight, happy end, I found a tutorial one of the LG for the CONNECTIVE and others distro very explicadinho, timtim for timtim of our friend Anderson Marcelo De Oliveira( http://www.anderlinux.rg3.net ), was the salvation of my soul, therefore already it was giving up new linux, boys, functioned that it is a beauty, now is alone joy to see mine linux twirling that nor BMW, who will have poor interest to see if catches in net or then to order an email to me (menelaus@uol.com.br) that control a copy. I hug to all...

Commentary sent for Tsuji Giri in 08/05/2005:

Good Night,

Friends, I followed the steps of everything what I read and I found. Already I installed the modem, I obtain to connect. But I do not obtain to sail.
O que pode estar acontecendo. Pesquisei na net, mas não achei nada a respeito sobre.
Um abraço,
Fábio

Comentário enviado por timaobr em 08/05/2005:

Olá Tsuji Giri!

Descubra o IP do seu provedor internet e adicione-o no arquivo '/etc/resolv.conf'

ex:

#MEU PROVEDOR
nameserver 200.192.168.123


Comentário enviado por h3rz1 em 10/05/2005:

cara! Por isso gosto do VOL
tem tudo q precisamos para ficar seguro no q fazemos, essa dica sua foi pesquisada por um colegão, maior sangue bom, o m4sk4r4.
valeu a todos por fazer desse site uma novidade a cada visita!


Comentário enviado por Seabs em 13/05/2005:

Olá amigos,

Tenho um modem LG LM-I56N e fiz tudo que ta aí no artigo, não tive nenhum problema, nenhuma mensagem de erro e mesmo assim meu modem não funciona no conectiva 10, mas percebi uma coisa, meu modem é pci e na seguinte linha -=> ( /usr/sbin/slmodemd --country=BRAZIL /dev/slamr0 > /dev/null 2>&1 & ) <=- tem algo de amr, existe alguma especificação para pci ao invés de amr ou isso não tem nada a ver, e outra pergunta meu modem esta na com 5 eu coloco ttysl0 ou qual coloco?

Comentário enviado por sergiotucano em 17/05/2005:

Acabei de fazer um procedimento aqui que instalou o modem tranqilinho .....

O modem é um LG i 56N , ou seja , softmodem (slmodem)

Fiz o seguinte

Com o Conectiva 10 , eu instalei os pacotes :

Kernel26-module-slmodem
slmodemd
wvdial

e fiz :

vi /etc/sysconfig/slmodemd

editei a linha onde tem SLMODEMD_DEVICE
e coloquei
/dev/slamr0 (Para PCI e AMR)

se for modem usb pode colocar

/dev/slusb0

Depois...

digitei no console service slmodemd start ... ele iniciou meu modem

Agora para testar o modem eu fiz

wvdialconfi /etc/wvdial.conf

Bom o link é criado em /dev/ttySL0

ln -s /dev/ttySL0 dev/modem para criar um link com /dev/modem

Ai testei a net e ta tranqilo !

Para iniciar o modem no boot escrevi

chkconfig slmodemd on

OPS: editei o arquivo /etc/rc.d/rc.local e coloquei a seguinte linha
/usr/sbin/slmodemd --country=BRAZIL /dev/slamr0 > /dev/null 2>&1 &


T+ !

Comentário enviado por anderson_rhuy em 22/05/2005:

eu tentei instalar o kernel source que peguei no site do fedora que deveria ser copilado antes de instalar, mas naum deu serto porque o kernel baixado naum tinha perniçao aos pacotes 386 somete 586, 686, e 64, por favor me ajudem se puder.

Comentário enviado por djony em 03/06/2005:

Bem, é o seguinte, eu sou novato tambehm no linux, e tive algumas dificuldades, a primeira foi a respeito do comando "$ rpm -qa | grep kernel " como eu uso o slack esse comando não retorna nenhuma linha de erro ou de confirmação, porem conversei com um amigo meu q a algum tempo já meche com linux, ele disse que esse comando não funciona, este comando só sera executado no conectiva e no redhat =) bem entaum continuei, e o comando "make install" ele retornou um erro e naum consegui mais nada depois disso, o modem esta sem funciona, tem como alguem me dizer o q pode ter ocorrido?

Comentário enviado por sergiotucano em 03/06/2005:

rpm é um aplicativo para instalação de pacotes de .rpm , ele geralmente é usado no Red Hat , veio dele , no Conectiva , no Kurumin e em mais algumas.

O padrão do Slack é o tgz , você usa o slackpkg muito bom .

Agora , sobre o erro , seria interessante você posla - lo aqui para podermos te ajudar.


Falow !

Comentário enviado por timaobr em 03/06/2005:

Olá djony!

Outro jeito muito simples de saber se o fonte do seu kernel está instalado, é verificando se existe o link '/usr/src/linux' que normalmente aponta para o diretório do fonte.

E valeu sergiotucano pelas dicas!

Inte...


Comentário enviado por djony em 04/06/2005:

Hi, People, é o seguinte, =) eu to usando o kernel 2.4 não é o kernel 2.6 e isso pode acarretar algum problema? bem o seguinte é o erro ocorrido foi (vou colar aqui apartir do comando make install x)
---------------------------log----------------------------
root@djony:~/Desktop/modem/slmodem-2.9.10# make install
make -C modem all
make[1]: Entering directory `/root/Desktop/modem/slmodem-2.9.10/modem'
make[1]: Leaving directory `/root/Desktop/modem/slmodem-2.9.10/modem'
make -C drivers KERNEL_DIR=/lib/modules/2.4.26/build
make[1]: Entering directory `/root/Desktop/modem/slmodem-2.9.10/drivers'
cc -I/lib/modules/2.4.26/build/include -o kernel-ver kernel-ver.c
make all KERNEL_VER=2.4.29
make[2]: Entering directory `/root/Desktop/modem/slmodem-2.9.10/drivers'
cc -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS --include /lib/modules/2.4.26/build/include/linux/modversions.h -I/lib/modules/2.4.26/build/include -I. -I./../modem -o amrmo_init.o -c amrmo_init.c
<command line>:138332070:51176: /lib/modules/2.4.26/build/include/linux/modversions.h: No such file or directory
make[2]: *** [amrmo_init.o] Error 1
make[2]: Leaving directory `/root/Desktop/modem/slmodem-2.9.10/drivers'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/Desktop/modem/slmodem-2.9.10/drivers'
make: *** [drivers] Error 2
root@djony:~/Desktop/modem/slmodem-2.9.10#

Grato pela ajuda pessoal, pensei que ninguem iria responder, e com isso fiquei mais animado ainda em usar linux, posso contar com a ajuda de vocês... obrigato =)

Contribuir com comentário

  
Para executar esta ação você precisa estar logado no site, caso contrário, tudo o que for digitado será perdido.
 

[Como anunciar?]
Login:
Senha:
Se você ainda não possui uma conta, clique aqui.

Esqueci minha senha

781808: Alessandro de Oliveira Faria
771344: Fábio Berbert de Paula
504196: Jefferson Estanislau da Silva
340500: Celso Goya
323512: Ricardo Rodrigues Lucca
291218: Lincoln Lordello
267409: Luiz Antonio da Silva Junior
243600: Eduardo Assis
239172: Wanderson Berbert
230751: Thiago Alves
 
Aonde quer que esteja é o que se quer usar
Por neriberto
galera estou com duas duvidas sobre o amns . A primeira é: como faço p... (0)

para quem utiliza o squirrel mail... galera é o seguinte eu tenho aqui... (0)

Ola galera da vol tenho uma Radeon 9600pro e gostaria de instalar o dr... (0)

Instalacao do Suse 9.3-amd64 Nao consigo instalar o SO em minha m... (0)

Boa Tarde Estou com problemas para configurar o SNMP(Net-SNMP...... (0)
 
[X] xorg.conf - xorg.conf para Radeon 9200 SE Saphire

[BitchX] .bitchxrc - BitchX configurado

[ddclient] ddclient.conf - ddclient para dyndns

Contribuir com: [ Artigo | Conf | Dica | Pergunta | Link | Script | Screenshot | Simulado | Wallpaper ]
Responsável pelo site: Fábio Berbert de Paula

Copyleft© 2002-2005 Viva o Linux.com.br