Instalação do modem Netodragon no Conectiva 10

Nesse artigo tento descrever, de forma prática, como consegui instalar e configurar meu modem, um Netodragon, no Conectiva Linux 10.

[ Hits: 16.667 ]

Por: Orlando Silva de Oliveira em 22/03/2005


Instalando e configurando o modem



Para instalar o modem Netodragon é necessário ter previamente instaladas as fontes do kernel (kernel26-source). Para verificar se as fontes do kernel estão instaladas, use o comando:

$ rpm -q kernel26-source

Se as fontes estiverem instaladas, você receberá um resultado semelhante a este:

kernel26-source-2.6.5-63077cl

Caso não esteja instalado, use o Synaptic para efetuar a instalação do mesmo!

Será necessário o driver do modem, que poderá ser encontrado em:
Salve o driver no seu diretório /home/$USER e vamos começar a instalação e configuração.

Estando no diretório em que você salvou o driver, dê o seguinte comando para descompactar o driver:

$ tar -zxvf slmodem-x.y.z.tar.gz

Onde x, y e z correspondem a versão do driver.

Um novo diretório será criado, use o comando "cd slmodem-x.y.z" para entrar no novo diretório. Estando no novo diretório, abra o arquivo "Makefile" com um editor de texto, pode ser o kedit ou kwrite.

No arquivo Makefile, procure uma linha semelhante a esta:

KERNEL_DIR:=/lib/modules/$(shell uname -r)/build

Deixe-a da seguinte forma:

KERNEL_DIR:=/usr/src/linux-$(uname -r)

Neste momento é necessário que se saiba qual o modelo do seu processador, no meu caso estou usando um Athlon XP. Isto é importante para que se possa usar o arquivo de configuração correto para o seu processador.

De agora em diante será necessário os privilégios de administrador, entre como root através do comando su.

$ su

Para copiar o arquivo de configuração do seu processador, use os seguintes comandos:

# cd /usr/src/linux-$(uname -r)/configs
# cp kernel-athlon.config /usr/src/linux-$(uname -r)/.config


Estes passos servem tanto para o Athlon quanto para o Duron, se você está utilizando outro modelo de processador, pode conferir os arquivos de configuração disponíveis através do comando:

# ls /usr/src/linux-$(uname -r)/configs

Por exemplo, para um Pentium 4, seriam usados os seguintes comandos:

# cd /usr/src/linux-$(uname -r)/configs
# cp kernel-pentium4.config /usr/src/linux-$(uname -r)/.config


Depois disto volte para o diretório onde está o driver do modem:

# cd /home/[usuário]/slmodem-x.y.z

Chegou a hora da instalação do driver, para isso use a seqüência de comandos:

# make
# make install


Agora basta carregar o módulo do modem e executar o aplicativo que o gerencia:

# modprobe slamr
# /usr/sbin/slmodemd --country=BRAZIL &


Vamos criar o link simbólico para facilitar a utilização do nosso modem:

# rm -rf /dev/modem
# ln -sf /dev/ttySL0 /dev/modem


Pronto, use o kppp para ver se o modem foi corretamente configurado. No kppp, clique em "Configurar...", depois clique na aba Modem, em seguida clique em "Perguntar ao modem", se aparecer a frase "Modem Pronto" seguido de uma barra de progresso mostrando uma porcentagem, é sinal de que seu modem foi corretamente configurado. Agora crie uma conta no kppp e é só conectar!

    Próxima página

Páginas do artigo
   1. Instalando e configurando o modem
   2. Automatize o carregamento do módulo do modem
Outros artigos deste autor
Nenhum artigo encontrado.
Leitura recomendada

Indicador de Caps Lock

Configuração da impressora HP Deskjet 3650

Fontes True Type no Slackware (sem xfstt e ttmkfdir)

Montando um Servidor de FTP

Rodando um aplicativo em modo Kiosk no Ubuntu Linux 20.04

  
Comentários
[1] Comentário enviado por cazon em 10/04/2005 - 09:11h

Prezados colegas,
Ja usei estas dicas para instalar o netodragon no CL10 e foi blz ate que...
Saiu o CD de Atualizacao, atualizei e agora nao consigo + que funcione.
qdo vc digita "MAKE INSTALL" aparece muitos erros, seria por causa do novo kernel??
Abraços

[2] Comentário enviado por mcnd2 em 27/02/2006 - 01:52h

Boa noite, sou novo no linux e não consegui instalar meu modem.

Tentei por esse artigo instalar meu modem e não consegui.
Quando eu digito o comando " modprobe slamr" e <enter> aparece o seguinte: FATAL: Module slamr not found

Espero ter ume ajuda para poder navegar com o Linux.

Desde já obrigado.

[3] Comentário enviado por cazon em 27/02/2006 - 10:17h

Voltando a estaca zero!!!
kras, infelizmente ainda tenho q usar modem (discado) aki e troquei de makina e estou usando o SLAMD64 com kernel 2.6.12 e ate agora nao consegui instalar o maldito modem novamente.
alguem ja teve experiencia neste novo pack de 64 bits
grato

[4] Comentário enviado por cazon em 28/02/2006 - 10:26h

Segue abaixo o erro que estou recebendo ao tentar instalar o driver slmodem 2.9.10


root@cazon:~/Downloads/modem/slmodem-2.9.10# make
make -C modem all
make[1]: Entering directory `/root/Downloads/modem/slmodem-2.9.10/modem'
rebuild profile...
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_main.o -c modem_main.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_cmdline.o -c modem_cmdline.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem.o -c modem.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_datafile.o -c modem_datafile.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_at.o -c modem_at.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_timer.o -c modem_timer.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_pack.o -c modem_pack.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_ec.o -c odem_ec.c
modem_ec.c:689: warning: 't403_timeout' defined but not used
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_comp.o -c modem_comp.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_param.o -c modem_param.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o modem_debug.o -c modem_debug.c
modem_debug.c: In function `modem_debug_log_data':

modem_debug.c:75: warning: cast from pointer to integer of different size

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o homolog_data.o -c homolog_data.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_sinus.o -c dp_sinus.c
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o dp_dummy.o -c dp_dummy.c

gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -o sysdep_common.o -c sysdep_common.c
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/lib/gcc/x86_64-slackware-linux/3.4.4/../../../../x86_64-slackware-linux/bin/ld: warning: i386 architecture of input file `dsplibs.o' is incompatible

with i386:x86-64 output
dsplibs.o(.text+0x2b61b): In function `ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to

`__moddi3'
dsplibs.o(.text+0x2b649): In function `ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x2b668): In function `ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x2b697): In function `ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x2b6b6): In function `ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x2b6e3): In function `ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x2b706): In function `ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x2b731): In function `ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x2b754): In function `ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x2b77f): In function `ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x36038): In function `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x36060): In function `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x36086): In function `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x360ae): In function `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x360d4): In function `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x360fc): In function `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x36122): In function `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x3614a): In function `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x36170): In function `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x36198): In function `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x361cb): In function `V90ConstellationPower::calcModulusParameters(V90MappingParams*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x36392): In function `V90ConstellationPower::getPower(V90MappingParams*, V90TxPowerMeasurementPoint, PcmType)':
: undefined reference to

`__moddi3'
dsplibs.o(.text+0x363ba): In function `V90ConstellationPower::getPower(V90MappingParams*, V90TxPowerMeasurementPoint, PcmType)':

: undefined reference to `__divdi3'
dsplibs.o(.text+0x363e0): In function `V90ConstellationPower::getPower(V90MappingParams*, V90TxPowerMeasurementPoint,

PcmType)':
: undefined reference to `__moddi3'

dsplibs.o(.text+0x36408): In function `V90ConstellationPower::getPower(V90MappingParams*, V90TxPowerMeasurementPoint, PcmType)':

: undefined reference to `__divdi3'
dsplibs.o(.text+0x3642e): In function `V90ConstellationPower::getPower(V90MappingParams*, V90TxPowerMeasurementPoint,

PcmType)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x36456): In function `V90ConstellationPower::getPower(V90MappingParams*,

V90TxPowerMeasurementPoint, PcmType)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x3647c): In function

`V90ConstellationPower::getPower(V90MappingParams*, V90TxPowerMeasurementPoint, PcmType)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x364a4): In

function `V90ConstellationPower::getPower(V90MappingParams*, V90TxPowerMeasurementPoint, PcmType)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x364ca): In function `V90ConstellationPower::getPower(V90MappingParams*, V90TxPowerMeasurementPoint, PcmType)':
: undefined reference to

`__moddi3'
dsplibs.o(.text+0x364f2): In function `V90ConstellationPower::getPower(V90MappingParams*, V90TxPowerMeasurementPoint, PcmType)':
: undefined

reference to `__divdi3'
dsplibs.o(.text+0x36525): In function `V90ConstellationPower::getPower(V90MappingParams*, V90TxPowerMeasurementPoint, PcmType)':
:

undefined reference to `__divdi3'
dsplibs.o(.text+0x4a54c): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference

to `__divdi3'
dsplibs.o(.text+0x4a57c): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4a70a): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4a73c): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4a754): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4a7b3): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4a815): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4a861): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4a8aa): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4a8ce): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4a901): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4a927): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4a958): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4a97e): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4a9af): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4a9d5): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4aa06): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4aa2c): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4aa5d): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4aa83): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4aab4): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4aada): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4ab0b): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4ab31): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4ab62): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4ab88): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4abb9): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4abfb): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4ac2e): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4ac60): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4acbb): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4ad14): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4ad44): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4aebd): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4aeef): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4af09): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4af42): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4af74): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4afcf): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4b00d): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4b03f): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4b112): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'
dsplibs.o(.text+0x4b144): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4b20d): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__moddi3'
dsplibs.o(.text+0x4b256): In function `V92ModulusEncoder::progress(unsigned char*, unsigned int*)':
: undefined reference to `__divdi3'

collect2: ld returned 1 exit status
make[1]: *** [slmodemd]
Error 1
make[1]: Leaving directory `/root/Downloads/modem/slmodem-2.9.10/modem'

make: *** [modem] Error 2

[5] Comentário enviado por brainiac em 29/04/2006 - 20:57h

gostaria de um tutorial passo a passo detalhado para instalar o maldito modem da lg no conectiva 10

[6] Comentário enviado por pastel_lost em 13/07/2006 - 17:47h

como eu faco para baixar e instalar meu modem (intel 537) no conectiva????????


Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts