br-linux

Artigos br-linux.org
Artigos sobre Linux em bom português, originais e com qualidade

Speedy ADSL no Linux com modem USB
Publicado em 20 de junho de 2004

Diego Lahos França (diego.geek@terra.com.br) enviou seu tutorial de Instalação do Speedy com Modems NDS1060USB ARESCOM. Se você tem modem ADSL conectado ao micro pela porta USB e vem encontrando problemas para fazê-lo funcionar no Linux, esta pode ser a solução dos seus problemas.

Tutorial de Instalação do Speedy com Modems NDS1060USB ARESCOM
por Diego Lahos França (diego.geek@terra.com.br)


*** NÃO CONECTE O MODEM NO USB ATE SER AVISADO PARA FAZÊ-LO ***


1. Baixe o driver do modem no site da Telefonica [peça ajuda ao suporte, ou pesquise por eagle-1.0.4.tar.gz caso este endereço já não esteja mais disponível].

2. Baixe o PPPoE atualizado no link oficial, ou instale-o de acordo com as instruções de sua distribuição.

3. Descompacte e instale o driver seguindo as instruções do README... detalhe, ao iniciar, a instalação faz algumas perguntas, em francês... apenas responda o padrão pra todas as perguntas, exceto, é claro, quando perguntar o nome e password da conexão, não sei se é importante responder corretamente agora, pois você vai responder essas perguntas novamente depois...

4. Agora temos que alterar o arquivo de configuração: Logo após o comando 'make install' deve ser alterado o a linha Encapsulation=00000006 no arquivo /etc/analog/adiusbadsl.conf para Encapsulation=00000001.

5. Você já pode conectar o modem na porta USB.

6. Digite os comandos:
adictrl -i
(irá indicar qual a interface será usada, no meu caso foi a eth1)
adictrl -w
(irá sincronizar o modem, notem que o led do link irá acender depois desse comando)

7. Pode ser que a interface não levante sozinha, nesse caso, digite o comando:
ifconfig eth* 192.168.0.1 netmask 255.255.255.0 up
(substitua * pelo número que você viu no passo 6)

8. Instale o PPPoE... o site explica como fazer a instalação, por isso não vou explicar aqui novamente.

9. Para configurar a conexão, digite o comando:
adsl-setup

e responda às questões:

>>> Enter your PPPoE user name: seunome@seudominio.com.br (seu nome de usuário Speedy)
>>> Enter the Ethernet interface conected to the ADSL modem (é a interface mostrada no passo 6)
>>> Enter the demand value (dê um Enter)
>>> Enter the DNS information here: 200.204.0.10 (parece que esse DNS é padrão da telefônica)
>>> Enter the secondary DNS server address here: 200.204.0.138 (telefônica)
>>> Please enter your PPPoE password: ******* (hehehe)
>>> Please re-enter your PPPoE password: ******* (hahaha)
>>> Choose a type of firewall (0-2): 1 (1 é o padrão, mas escolha o que lhe for mais apropriado)
>>> Accept these settings and adjust configuration files (y/n)? y

10. Para se conectar, digite o comando:
adsl-start

11. Se recebeu a msg: Connected! você já está conectado, no meu caso, isso ainda não foi suficiente, pois as rotas
não estavam configuradas para sair pelo ppp0, para isso cheque com o camando ifconfig qual interface foi criada
para o ppp (no meu caso foi ppp0) e digite os seguintes comandos:
route delete default
route add default ppp0

Se tudo deu certo, sua conexão já deve estar funcionando. Parabéns! Agora, se você teve outros problemas, tente novamente, não desista!

Para facilitar, criei um pequeno script de conexão (/usr/sbin/speedy) que ficou assim:


echo "Aguarde, sincronizando modem..."
adictrl -i
adictrl -w
echo "Modem Sincronizado"
echo "Levantando Interface eth1"
ifconfig eth1 192.168.0.1 netmask 255.255.255.0 up
echo "Conectando-se"
adsl-start
echo "Configurando rota..."
route delete default
route add default ppp0
echo "CONECTADO!!!"

Espero que esse pequeno tutorial contribuia com a comunidade Linux de alguma forma.
Diego Lahos França (diego.geek@terra.com.br)
"Porque Deus amou o mundo de tal maneira, que deu Seu ùnico Filho, para que todo aquele que nele crer, não
morra, mas tenha a vida Eterna" João 3.16

Postado por brain em junho 20, 2004 12:07 PM

Comentários para "Speedy ADSL no Linux com modem USB"

» Postado por: Arthur em junho 27, 2004 07:59 PM, 201.1.129.1:

    Eu possuo este modem e utilizo o fedora core 2!
    qd eu tento executar o comando make aparecem N erros... o proprio fedora localiza o modem, e os 2 leds ficam acesos, + eu nao consigo fazer a internet funcionar!
    Help-me please!!
    flw

 

» Postado por: Eduardo Tião em julho 23, 2004 02:30 PM, 200.230.190:

    Arthur, poste os erros que aparecem para que possamos ter uma idéia.

    Eu também tenho uma dúvida. Acontece que eu consigo fazer o modem funcionar, mas algo estranho se passa por que só consigo acessar alguns sitios, como www.google.com.br . Quase nenhum outro abre!! O que pode ser? Estou usando o Debian 3.0r2, instalação padrão, só recompilei o kernel para o driver eagle. O resolv.hosts tem o endereço da telefonica... alguém tem alguma idéia?

 

» Postado por: Eduardo Tião em julho 26, 2004 02:51 PM, 200.230.190:

    Consegui resolver esse probleminha. Era só editar o /etc/ppp/pppoe.conf e mudar o tipo de acesso ao DNS para SERVER(lá pra linha 50, acho). Com isso o pppoe reconhece os nomes e já posso navegar...

 

» Postado por: Alessandro em julho 29, 2004 06:31 PM, 200.207.26.:

    tenho red hat 9 e quando tento instalar o driver do mmodem aparece um monte de erros (logo depois q eu digito o comando make)..eis os erros:
    AdiUsbAdslDriver.c:718: warning: implicit declaration of function `spin_unlock'
    AdiUsbAdslDriver.c:739: warning: implicit declaration of function `usb_driver_release_interface'
    AdiUsbAdslDriver.c:739: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:740: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:741: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:756: parse error before string constant
    AdiUsbAdslDriver.c:762: parse error before string constant
    AdiUsbAdslDriver.c: In function `adi_irq':
    AdiUsbAdslDriver.c:770: `pHw' undeclared (first use in this function)
    AdiUsbAdslDriver.c:772: `KERN_DEBUG' undeclared (first use in this function)
    AdiUsbAdslDriver.c:772: parse error before string constant
    AdiUsbAdslDriver.c:775: parse error before ')' token
    AdiUsbAdslDriver.c:778: `KERN_ERR' undeclared (first use in this function)
    AdiUsbAdslDriver.c:778: parse error before string constant
    AdiUsbAdslDriver.c:783: parse error before string constant
    AdiUsbAdslDriver.c:787: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:787: `ENOENT' undeclared (first use in this function)
    AdiUsbAdslDriver.c:793: `KERN_INFO' undeclared (first use in this function)
    AdiUsbAdslDriver.c:793: parse error before string constant
    AdiUsbAdslDriver.c:798: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:801: parse error before string constant
    AdiUsbAdslDriver.c:804: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:819: parse error before string constant
    AdiUsbAdslDriver.c:830: parse error before string constant
    AdiUsbAdslDriver.c:836: parse error before string constant
    AdiUsbAdslDriver.c:843: parse error before string constant
    AdiUsbAdslDriver.c: At top level:
    AdiUsbAdslDriver.c:848: parse error before '*' token
    AdiUsbAdslDriver.c:849: warning: return type defaults to `int'
    AdiUsbAdslDriver.c: In function `find_hardware':
    AdiUsbAdslDriver.c:851: `pHw' undeclared (first use in this function)
    AdiUsbAdslDriver.c:855: `entry' undeclared (first use in this function)
    AdiUsbAdslDriver.c:856: parse error before ')' token
    AdiUsbAdslDriver.c:856: parse error before ')' token
    AdiUsbAdslDriver.c: In function `adi_user':
    AdiUsbAdslDriver.c:876: `pHw' undeclared (first use in this function)
    AdiUsbAdslDriver.c:877: `ENOTTY' undeclared (first use in this function)
    AdiUsbAdslDriver.c:878: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:886: warning: implicit declaration of function `atomic_inc'
    AdiUsbAdslDriver.c:886: union has no member named `usecount'
    AdiUsbAdslDriver.c:891: `KERN_INFO' undeclared (first use in this function)
    AdiUsbAdslDriver.c:891: parse error before string constant
    AdiUsbAdslDriver.c:892: warning: implicit declaration of function `atomic_dec'
    AdiUsbAdslDriver.c:892: union has no member named `usecount'
    AdiUsbAdslDriver.c:902: warning: implicit declaration of function `_IOWR'
    AdiUsbAdslDriver.c:902: parse error before "struct"
    AdiUsbAdslDriver.c:910: parse error before string constant
    AdiUsbAdslDriver.c:914: parse error before "struct"
    AdiUsbAdslDriver.c:906: warning: unreachable code at beginning of switch statement
    AdiUsbAdslDriver.c:922: break statement not within loop or switch
    AdiUsbAdslDriver.c: At top level:
    AdiUsbAdslDriver.c:977: parse error before "break"
    AdiUsbAdslDriver.c:989: warning: type defaults to `int' in declaration of `module_dbg_mask'
    AdiUsbAdslDriver.c:989: conflicting types for `module_dbg_mask'
    AdiUsbAdslDriver.c:171: previous declaration of `module_dbg_mask'
    AdiUsbAdslDriver.c:989: `pIOCTLinfo' undeclared here (not in a function)
    AdiUsbAdslDriver.c:989: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:990: parse error before string constant
    AdiUsbAdslDriver.c:990: warning: type defaults to `int' in declaration of `printk'
    AdiUsbAdslDriver.c:990: warning: function declaration isn't a prototype
    AdiUsbAdslDriver.c:990: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:991: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:991: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:992: parse error before "break"
    AdiUsbAdslDriver.c:1001: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1001: redefinition of `retval'
    AdiUsbAdslDriver.c:991: `retval' previously defined here
    AdiUsbAdslDriver.c:1001: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1002: parse error before "break"
    AdiUsbAdslDriver.c:1090: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1090: redefinition of `retval'
    AdiUsbAdslDriver.c:1001: `retval' previously defined here
    AdiUsbAdslDriver.c:1090: `EBUSY' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1090: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1092: parse error before "if"
    AdiUsbAdslDriver.c:1096: parse error before '&' token
    AdiUsbAdslDriver.c:1098: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1098: redefinition of `retval'
    AdiUsbAdslDriver.c:1090: `retval' previously defined here
    AdiUsbAdslDriver.c:1098: `EFAULT' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1098: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1099: parse error before "if"
    AdiUsbAdslDriver.c:1107: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1107: redefinition of `retval'
    AdiUsbAdslDriver.c:1098: `retval' previously defined here
    AdiUsbAdslDriver.c:1107: `EINVAL' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1107: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1108: parse error before "if"
    AdiUsbAdslDriver.c:1118: parse error before string constant
    AdiUsbAdslDriver.c:1118: warning: type defaults to `int' in declaration of `printk'
    AdiUsbAdslDriver.c:1118: warning: function declaration isn't a prototype
    AdiUsbAdslDriver.c:1118: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1129: warning: type defaults to `int' in declaration of `MsgInitialize'
    AdiUsbAdslDriver.c:1129: warning: parameter names (without types) in function declaration
    AdiUsbAdslDriver.c:1129: conflicting types for `MsgInitialize'
    Msg.h:27: previous declaration of `MsgInitialize'
    AdiUsbAdslDriver.c:1129: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1130: warning: type defaults to `int' in declaration of `MpoaInitialize'
    AdiUsbAdslDriver.c:1130: warning: parameter names (without types) in function declaration
    AdiUsbAdslDriver.c:1130: conflicting types for `MpoaInitialize'
    Mpoa.h:27: previous declaration of `MpoaInitialize'
    AdiUsbAdslDriver.c:1130: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1132: parse error before '->' token
    AdiUsbAdslDriver.c:1134: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1134: redefinition of `retval'
    AdiUsbAdslDriver.c:1107: `retval' previously defined here
    AdiUsbAdslDriver.c:1134: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1135: parse error before '}' token
    AdiUsbAdslDriver.c:1140: parse error before string constant
    AdiUsbAdslDriver.c:1140: warning: type defaults to `int' in declaration of `printk'
    AdiUsbAdslDriver.c:1140: warning: function declaration isn't a prototype
    AdiUsbAdslDriver.c:1140: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1161: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1161: redefinition of `retval'
    AdiUsbAdslDriver.c:1134: `retval' previously defined here
    AdiUsbAdslDriver.c:1161: `EINVAL' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1161: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1162: parse error before "goto"
    AdiUsbAdslDriver.c:1173: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1173: redefinition of `retval'
    AdiUsbAdslDriver.c:1161: `retval' previously defined here
    AdiUsbAdslDriver.c:1173: `EFAULT' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1173: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1174: parse error before "if"
    AdiUsbAdslDriver.c:1186: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1186: redefinition of `retval'
    AdiUsbAdslDriver.c:1173: `retval' previously defined here
    AdiUsbAdslDriver.c:1186: `ENOMEM' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1186: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1187: warning: type defaults to `int' in declaration of `pBuf'
    AdiUsbAdslDriver.c:1187: warning: implicit declaration of function `vmalloc'
    AdiUsbAdslDriver.c:1187: `pIOCTLinfo' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1187: initializer element is not constant
    AdiUsbAdslDriver.c:1187: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1188: parse error before "if"
    AdiUsbAdslDriver.c:1195: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1195: redefinition of `retval'
    AdiUsbAdslDriver.c:1186: `retval' previously defined here
    AdiUsbAdslDriver.c:1195: `EFAULT' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1195: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1196: parse error before "if"
    AdiUsbAdslDriver.c:1204: parse error before string constant
    AdiUsbAdslDriver.c:1204: warning: type defaults to `int' in declaration of `printk'
    AdiUsbAdslDriver.c:1204: warning: function declaration isn't a prototype
    AdiUsbAdslDriver.c:1204: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1206: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1206: redefinition of `retval'
    AdiUsbAdslDriver.c:1195: `retval' previously defined here
    AdiUsbAdslDriver.c:1206: `pHw' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1206: `pIOCTLinfo' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1206: `pIOCTLinfo' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1207: initializer element is not constant
    AdiUsbAdslDriver.c:1207: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1208: parse error before "if"
    AdiUsbAdslDriver.c:1212: parse error before '&' token
    AdiUsbAdslDriver.c:1212: warning: type defaults to `int' in declaration of `FreeDspData'
    AdiUsbAdslDriver.c:1212: warning: function declaration isn't a prototype
    AdiUsbAdslDriver.c:1212: conflicting types for `FreeDspData'
    Dsp.h:30: previous declaration of `FreeDspData'
    AdiUsbAdslDriver.c:1212: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1217: parse error before '&' token
    AdiUsbAdslDriver.c:1217: warning: type defaults to `int' in declaration of `write_lock_irqsave'
    AdiUsbAdslDriver.c:1217: warning: function declaration isn't a prototype
    AdiUsbAdslDriver.c:1217: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1218: parse error before '&' token
    AdiUsbAdslDriver.c:1218: warning: type defaults to `int' in declaration of `FreeDspData'
    AdiUsbAdslDriver.c:1218: warning: function declaration isn't a prototype
    AdiUsbAdslDriver.c:1218: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1219: parse error before '->' token
    AdiUsbAdslDriver.c:1223: parse error before '&' token
    AdiUsbAdslDriver.c:1223: warning: type defaults to `int' in declaration of `write_unlock_irqrestore'
    AdiUsbAdslDriver.c:1223: warning: function declaration isn't a prototype
    AdiUsbAdslDriver.c:1223: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1226: parse error before string constant
    AdiUsbAdslDriver.c:1226: warning: type defaults to `int' in declaration of `printk'
    AdiUsbAdslDriver.c:1226: warning: function declaration isn't a prototype
    AdiUsbAdslDriver.c:1226: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1228: parse error before '&' token
    AdiUsbAdslDriver.c:1228: warning: type defaults to `int' in declaration of `read_lock'
    AdiUsbAdslDriver.c:1228: warning: function declaration isn't a prototype
    AdiUsbAdslDriver.c:1228: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1229: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1229: redefinition of `retval'
    AdiUsbAdslDriver.c:1206: `retval' previously defined here
    AdiUsbAdslDriver.c:1229: `EIO' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1229: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1230: parse error before "if"
    AdiUsbAdslDriver.c:1237: parse error before '&' token
    AdiUsbAdslDriver.c:1238: warning: type defaults to `int' in declaration of `usb_fill_int_urb'
    AdiUsbAdslDriver.c:1238: warning: function declaration isn't a prototype
    AdiUsbAdslDriver.c:1238: warning: type defaults to `int' in declaration of `adi_irq'
    AdiUsbAdslDriver.c:1238: `adi_irq' redeclared as different kind of symbol
    AdiUsbAdslDriver.c:769: previous declaration of `adi_irq'
    AdiUsbAdslDriver.c:1238: warning: type defaults to `int' in declaration of `pHw'AdiUsbAdslDriver.c:1238: `pHw' used prior to declaration
    AdiUsbAdslDriver.c:1238: warning: type defaults to `int' in declaration of `epint'
    AdiUsbAdslDriver.c:1238: parse error before '->' token
    AdiUsbAdslDriver.c:1262: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1262: redefinition of `retval'
    AdiUsbAdslDriver.c:1229: `retval' previously defined here
    AdiUsbAdslDriver.c:1262: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1264: parse error before ':' token
    AdiUsbAdslDriver.c:1267: warning: type defaults to `int' in declaration of `pBuf'
    AdiUsbAdslDriver.c:1267: redefinition of `pBuf'
    AdiUsbAdslDriver.c:1187: `pBuf' previously defined here
    AdiUsbAdslDriver.c:1267: warning: initialization makes integer from pointer without a cast
    AdiUsbAdslDriver.c:1267: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1267: parse error before '}' token
    AdiUsbAdslDriver.c:1272: parse error before string constant
    AdiUsbAdslDriver.c:1272: warning: type defaults to `int' in declaration of `printk'
    AdiUsbAdslDriver.c:1272: warning: function declaration isn't a prototype
    AdiUsbAdslDriver.c:1272: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1282: conflicting types for `flags'
    AdiUsbAdslDriver.c:1171: previous declaration of `flags'
    AdiUsbAdslDriver.c:1284: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1284: redefinition of `retval'
    AdiUsbAdslDriver.c:1262: `retval' previously defined here
    AdiUsbAdslDriver.c:1284: `EFAULT' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1284: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1285: parse error before "if"
    AdiUsbAdslDriver.c:1293: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1293: redefinition of `retval'
    AdiUsbAdslDriver.c:1284: `retval' previously defined here
    AdiUsbAdslDriver.c:1293: `ERESTARTSYS' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1293: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1294: parse error before "if"
    AdiUsbAdslDriver.c:1301: parse error before '&' token
    AdiUsbAdslDriver.c:1301: warning: type defaults to `int' in declaration of `spin_lock_irqsave'
    AdiUsbAdslDriver.c:1301: warning: function declaration isn't a prototype
    AdiUsbAdslDriver.c:1301: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1313: warning: type defaults to `int' in declaration of `dwNameLen'
    AdiUsbAdslDriver.c:1313: warning: implicit declaration of function `strlen'
    AdiUsbAdslDriver.c:1313: invalid type argument of `->'
    AdiUsbAdslDriver.c:1313: initializer element is not constant
    AdiUsbAdslDriver.c:1313: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1314: parse error before "if"
    AdiUsbAdslDriver.c:1318: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1318: redefinition of `retval'
    AdiUsbAdslDriver.c:1293: `retval' previously defined here
    AdiUsbAdslDriver.c:1318: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1319: parse error before '}' token
    AdiUsbAdslDriver.c:1327: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1327: redefinition of `retval'
    AdiUsbAdslDriver.c:1318: `retval' previously defined here
    AdiUsbAdslDriver.c:1327: `EINVAL' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1327: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1328: parse error before "goto"
    AdiUsbAdslDriver.c:1334: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1334: redefinition of `retval'
    AdiUsbAdslDriver.c:1327: `retval' previously defined here
    AdiUsbAdslDriver.c:1334: `EFAULT' undeclared here (not in a function)
    AdiUsbAdslDriver.c:1334: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1335: parse error before "goto"
    AdiUsbAdslDriver.c:1337: warning: type defaults to `int' in declaration of `retval'
    AdiUsbAdslDriver.c:1337: redefinition of `retval'
    AdiUsbAdslDriver.c:1334: `retval' previously defined here
    AdiUsbAdslDriver.c:1337: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1338: parse error before '}' token
    AdiUsbAdslDriver.c:1341: parse error before '&' token
    AdiUsbAdslDriver.c:1341: warning: type defaults to `int' in declaration of `up'
    AdiUsbAdslDriver.c:1341: warning: function declaration isn't a prototype
    AdiUsbAdslDriver.c:1341: warning: data definition has no type or storage class
    AdiUsbAdslDriver.c:1363: parse error before '&' token
    AdiUsbAdslDriver.c: In function `adi_read_proc':
    AdiUsbAdslDriver.c:1372: parse error before ')' token
    AdiUsbAdslDriver.c:1376: warning: implicit declaration of function `sprintf'
    AdiUsbAdslDriver.c:1379: invalid type argument of `->'
    AdiUsbAdslDriver.c:1379: invalid type argument of `->'
    AdiUsbAdslDriver.c:1380: invalid type argument of `->'
    AdiUsbAdslDriver.c:1382: invalid type argument of `->'
    AdiUsbAdslDriver.c:1389: invalid type argument of `->'
    AdiUsbAdslDriver.c:1390: invalid type argument of `->'
    AdiUsbAdslDriver.c:1391: invalid type argument of `->'
    AdiUsbAdslDriver.c:1393: invalid type argument of `->'
    AdiUsbAdslDriver.c:1394: invalid type argument of `->'
    AdiUsbAdslDriver.c:1395: invalid type argument of `->'
    AdiUsbAdslDriver.c:1397: invalid type argument of `->'
    AdiUsbAdslDriver.c:1398: invalid type argument of `->'
    AdiUsbAdslDriver.c:1399: invalid type argument of `->'
    AdiUsbAdslDriver.c:1402: invalid type argument of `->'
    AdiUsbAdslDriver.c:1402: invalid type argument of `->'
    AdiUsbAdslDriver.c:1405: invalid type argument of `->'
    AdiUsbAdslDriver.c:1408: invalid type argument of `->'
    AdiUsbAdslDriver.c:1413: invalid type argument of `->'
    AdiUsbAdslDriver.c:1414: invalid type argument of `->'
    AdiUsbAdslDriver.c:1416: invalid type argument of `->'
    AdiUsbAdslDriver.c:1417: invalid type argument of `->'
    AdiUsbAdslDriver.c:1419: invalid type argument of `->'
    AdiUsbAdslDriver.c:1420: invalid type argument of `->'
    AdiUsbAdslDriver.c:1421: invalid type argument of `->'
    AdiUsbAdslDriver.c:1424: invalid type argument of `->'
    AdiUsbAdslDriver.c:1426: invalid type argument of `->'
    AdiUsbAdslDriver.c:1463: `KERN_INFO' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1463: parse error before string constant
    AdiUsbAdslDriver.c: At top level:
    AdiUsbAdslDriver.c:1492: parse error before '*' token
    AdiUsbAdslDriver.c:1493: warning: function declaration isn't a prototype
    AdiUsbAdslDriver.c: In function `create_etherdev':
    AdiUsbAdslDriver.c:1494: warning: implicit declaration of function `init_etherdev'
    AdiUsbAdslDriver.c:1494: warning: initialization makes pointer from integer without a cast
    AdiUsbAdslDriver.c:1498: `ENOMEM' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1502: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1506: warning: implicit declaration of function `strncpy'
    AdiUsbAdslDriver.c:1506: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1509: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1510: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1511: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1512: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1513: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1514: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1515: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1516: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1518: warning: implicit declaration of function `memcpy'
    AdiUsbAdslDriver.c:1518: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1518: invalid type argument of `->'
    AdiUsbAdslDriver.c:1521: invalid type argument of `->'
    AdiUsbAdslDriver.c:1524: `KERN_INFO' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1524: parse error before string constant
    AdiUsbAdslDriver.c: In function `adi_open':
    AdiUsbAdslDriver.c:1535: parse error before ')' token
    AdiUsbAdslDriver.c:1537: union has no member named `usecount'
    AdiUsbAdslDriver.c:1538: `KERN_DEBUG' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1538: parse error before string constant
    AdiUsbAdslDriver.c:1542: warning: implicit declaration of function `down_interruptible'
    AdiUsbAdslDriver.c:1542: invalid type argument of `->'
    AdiUsbAdslDriver.c:1543: `ERESTARTSYS' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1544: invalid type argument of `->'
    AdiUsbAdslDriver.c:1545: invalid type argument of `->'
    AdiUsbAdslDriver.c:1551: invalid type argument of `->'
    AdiUsbAdslDriver.c:1552: warning: implicit declaration of function `netif_start_queue'
    AdiUsbAdslDriver.c:1554: parse error before string constant
    AdiUsbAdslDriver.c: In function `adi_close':
    AdiUsbAdslDriver.c:1564: parse error before ')' token
    AdiUsbAdslDriver.c:1566: `KERN_DEBUG' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1566: parse error before string constant
    AdiUsbAdslDriver.c:1568: invalid type argument of `->'
    AdiUsbAdslDriver.c:1569: `ERESTARTSYS' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1571: warning: implicit declaration of function `netif_stop_queue'
    AdiUsbAdslDriver.c:1574: invalid type argument of `->'
    AdiUsbAdslDriver.c:1576: invalid type argument of `->'
    AdiUsbAdslDriver.c:1576: `USB_ASYNC_UNLINK' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1577: invalid type argument of `->'
    AdiUsbAdslDriver.c:1584: invalid type argument of `->'
    AdiUsbAdslDriver.c:1585: invalid type argument of `->'
    AdiUsbAdslDriver.c:1587: parse error before string constant
    AdiUsbAdslDriver.c:1589: union has no member named `usecount'
    AdiUsbAdslDriver.c: In function `adi_ioctl':
    AdiUsbAdslDriver.c:1598: `KERN_DEBUG' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1598: parse error before string constant
    AdiUsbAdslDriver.c:1601: parse error before string constant
    AdiUsbAdslDriver.c:1605: `ENOTTY' undeclared (first use in this function)
    AdiUsbAdslDriver.c: In function `adi_stats':
    AdiUsbAdslDriver.c:1613: parse error before ')' token
    AdiUsbAdslDriver.c:1615: `KERN_DEBUG' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1615: parse error before string constant
    AdiUsbAdslDriver.c:1618: parse error before string constant
    AdiUsbAdslDriver.c:1620: invalid type argument of `->'
    AdiUsbAdslDriver.c: At top level:
    AdiUsbAdslDriver.c:1626: warning: `struct sk_buff' declared inside parameter list
    AdiUsbAdslDriver.c:1627: conflicting types for `adi_start_xmit'
    AdiUsbAdslDriver.c:69: previous declaration of `adi_start_xmit'
    AdiUsbAdslDriver.c: In function `adi_start_xmit':
    AdiUsbAdslDriver.c:1628: parse error before ')' token
    AdiUsbAdslDriver.c:1629: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1632: `KERN_DEBUG' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1632: parse error before string constant
    AdiUsbAdslDriver.c:1639: invalid type argument of `->'
    AdiUsbAdslDriver.c:1643: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1643: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1652: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1652: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1661: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1661: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1667: `KERN_ERR' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1667: parse error before string constant
    AdiUsbAdslDriver.c:1675: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1676: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1677: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1677: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1684: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1684: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1691: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1691: `jiffies' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1693: invalid type argument of `->'
    AdiUsbAdslDriver.c:1693: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1701: warning: implicit declaration of function `dev_kfree_skb'
    AdiUsbAdslDriver.c:1721: `KERN_WARNING' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1721: parse error before string constant
    AdiUsbAdslDriver.c:1723: invalid type argument of `->'
    AdiUsbAdslDriver.c:1724: invalid type argument of `->'
    AdiUsbAdslDriver.c:1728: invalid type argument of `->'
    AdiUsbAdslDriver.c:1729: warning: implicit declaration of function `netif_wake_queue'
    AdiUsbAdslDriver.c:1744: parse error before string constant
    AdiUsbAdslDriver.c: In function `adi_set_multicast':
    AdiUsbAdslDriver.c:1754: `KERN_DEBUG' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1754: parse error before string constant
    AdiUsbAdslDriver.c:1766: parse error before string constant
    AdiUsbAdslDriver.c: In function `adi_tx_timeout':
    AdiUsbAdslDriver.c:1776: parse error before ')' token
    AdiUsbAdslDriver.c:1777: `KERN_WARNING' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1777: parse error before string constant
    AdiUsbAdslDriver.c:1790: invalid type argument of `->'
    AdiUsbAdslDriver.c:1790: `USB_ASYNC_UNLINK' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1791: invalid type argument of `->'
    AdiUsbAdslDriver.c:1793: invalid type argument of `->'
    AdiUsbAdslDriver.c:1794: invalid type argument of `->'
    AdiUsbAdslDriver.c:1797: dereferencing pointer to incomplete type
    AdiUsbAdslDriver.c:1797: `jiffies' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1799: `KERN_DEBUG' undeclared (first use in this function)
    AdiUsbAdslDriver.c:1799: parse error before string constant
    AdiUsbAdslDriver.c: At top level:
    Hardware.h:109: storage size of `CtrlUrbQueueTimer' isn't known
    Hardware.h:110: storage size of `ctrl_urb_retry' isn't known
    Hardware.h:127: storage size of `NetSem' isn't known
    Hardware.h:147: storage size of `OAMTimer' isn't known
    AdiUsbAdslDriver.c:99: storage size of `adi_driver' isn't known
    AdiUsbAdslDriver.c:769: warning: `adi_irq' defined but not used
    AdiUsbAdslDriver.c:1493: warning: `create_etherdev' defined but not used
    AdiUsbAdslDriver.c:134: warning: `CheckOptions' defined but not used
    {standard input}: Assembler messages:
    {standard input}:142: Error: symbol `retval' is already defined
    {standard input}:148: Error: symbol `retval' is already defined
    {standard input}:154: Error: symbol `retval' is already defined
    {standard input}:166: Error: symbol `retval' is already defined
    {standard input}:172: Error: symbol `retval' is already defined
    {standard input}:229: Error: symbol `retval' is already defined
    {standard input}:235: Error: symbol `retval' is already defined
    {standard input}:241: Error: symbol `retval' is already defined
    {standard input}:247: Error: symbol `retval' is already defined
    {standard input}:254: Error: symbol `retval' is already defined
    {standard input}:260: Error: symbol `retval' is already defined
    {standard input}:266: Error: symbol `pBuf' is already defined
    {standard input}:272: Error: symbol `retval' is already defined
    {standard input}:278: Error: symbol `retval' is already defined
    {standard input}:284: Error: symbol `retval' is already defined
    {standard input}:293: Error: symbol `retval' is already defined
    {standard input}:299: Error: symbol `retval' is already defined
    {standard input}:311: Error: symbol `retval' is already defined
    {standard input}:317: Error: symbol `retval' is already defined
    make[1]: ** [AdiUsbAdslDriver.o] Erro 1
    make[1]: Saindo do diretório `/home/eagle-1.0.4/driver'
    make: ** [build] Erro 2

 

» Postado por: psicotico em agosto 17, 2004 12:44 AM, 201.1.0.155:

    é, bastantes erros mesmo...

 

» Postado por: Luis em setembro 3, 2004 11:52 AM, 200.232.143:

    Eu possuo outro modem usb: Vitelcom, eu achei o driver, mas nao sei como instala-lo...será q esse procedimento daria certo?

    vlwww

 

» Postado por: Thiago em setembro 16, 2004 08:52 PM, 200.245.157:

    Gente, tenho o Dynalink, e não consigo encontrar driver para linux, é presico configurar algum driver em especifico realmente?

 

» Postado por: Athos Crespi em outubro 12, 2004 12:12 AM, 201.0.53.23:

    O meu modem é um Speed Touch 330 da Thomson , como fasso para configurar ele

 

Antes de comentar...

- Preserve a qualidade desta discussão
- Leia os Termos de Uso.
- Este formulário deve ser usado para comentários sobre a notícia. Se você tem dúvidas ou precisa de ajuda, use o Fórum.
- Mantenha o foco nos argumentos e no assunto
- Não faça ataques pessoais.
- Pense 5 vezes antes de entrar em discussões inúteis, como "qual é a melhor distribuição/ambiente gráfico/linguagem de programação/etc.", mesmo se alguém já tiver provocado - um erro não justifica o outro
- Não seja um e-mala ;-)

Envie seu comentário









Lembrar as informações pessoais?


Atenção: Este formulário deve ser usado para comentários sobre a notícia. Se você tem dúvidas ou precisa de ajuda, use o Fórum, onde mais pessoas estarão disponíveis para respondê-lo..






Nota: os comentários pertencem a seus respectivos autores e são de responsabilidade de quem os postou. O restante desta nota está disponível sob a licença GNU FDL, exceto se explicitamente declarado em contrário.