Octal A360 erro
Viva!
Ora bem, pois eu mudei-me para Debian mas agora estou com um problema desgraçado, a instalação do maldito modem Octal A360!
Tenho vindo a seguir os passos da instalação por aqui:
Depois do kernel compilado e as libs instaladas(penso eu de que), executo o make na pasta "octal" e aparece isto:
cd init && make clean
make[1]: Entering directory `/root/octal/init'
rm -f amload amioctl amloaddbg amloaddbgt
make[1]: Leaving directory `/root/octal/init'
cd module && make clean
make[1]: Entering directory `/root/octal/module'
rm -f *.o .*.flags *.ko *.mod.* .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/root/octal/module'
cd bridged && make clean
make[1]: Entering directory `/root/octal/bridged'
rm -f br2684ctl
make[1]: Leaving directory `/root/octal/bridged'
cd amcontrol && make clean
make[1]: Entering directory `/root/octal/amcontrol'
rm -f amcontrol amcontroldbg amcontroldbgt
make[1]: Leaving directory `/root/octal/amcontrol'
cd init && make && make install
make[1]: Entering directory `/root/octal/init'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX
-Wsign-compare -I../include -lusb amload.c -o amload
amload.c:71:17: usb.h: Arquivo ou diretório não encontrado
In file included from amload.c:72:
../include/usbi.h:4:17: usb.h: Arquivo ou diretório não encontrado
In file included from amload.c:72:
../include/usbi.h:49: error: syntax error before '*' token
../include/usbi.h:49: warning: function declaration isn't a prototype
../include/usbi.h:54: error: syntax error before '*' token
../include/usbi.h:54: warning: function declaration isn't a prototype
../include/usbi.h:55: error: syntax error before '*' token
../include/usbi.h:55: warning: function declaration isn't a prototype
amload.c:229: error: syntax error before '*' token
amload.c:230: warning: function declaration isn't a prototype
amload.c: In function `transfer_ctrl_msg':
amload.c:240: warning: implicit declaration of function `usb_control_msg'
amload.c:240: error: `adsl_handle' undeclared (first use in this function)
amload.c:240: error: (Each undeclared identifier is reported only once
amload.c:240: error: for each function it appears in.)
amload.c:240: error: `requesttype' undeclared (first use in this function)
amload.c:240: error: `request' undeclared (first use in this function)
amload.c:240: error: `value' undeclared (first use in this function)
amload.c:240: error: `buf' undeclared (first use in this function)
amload.c:240: error: `size' undeclared (first use in this function)
amload.c:250: warning: implicit declaration of function `usb_strerror'
amload.c:250: warning: format argument is not a pointer (arg 2)
amload.c:252: warning: implicit declaration of function `usb_clear_halt'
amload.c: At top level:
amload.c:268: error: syntax error before '*' token
amload.c:269: warning: function declaration isn't a prototype
amload.c: In function `read_bulk':
amload.c:274: error: `buf' undeclared (first use in this function)
amload.c:280: warning: implicit declaration of function `usb_bulk_read'
amload.c:280: error: `adsl_handle' undeclared (first use in this function)
amload.c:280: error: `ep' undeclared (first use in this function)
amload.c:280: error: `size' undeclared (first use in this function)
amload.c:290: warning: format argument is not a pointer (arg 2)
amload.c: At top level:
amload.c:307: error: syntax error before '*' token
amload.c:308: warning: function declaration isn't a prototype
amload.c: In function `send_bulk':
amload.c:314: error: `nfil' undeclared (first use in this function)
amload.c:320: warning: implicit declaration of function `usb_bulk_write'
amload.c:320: error: `adsl_handle' undeclared (first use in this function)
amload.c:320: error: `ep' undeclared (first use in this function)
amload.c:320: error: `buf' undeclared (first use in this function)
amload.c:320: error: `ncol' undeclared (first use in this function)
amload.c:330: warning: format argument is not a pointer (arg 2)
amload.c: At top level:
amload.c:367: error: syntax error before '*' token
amload.c:367: warning: function declaration isn't a prototype
amload.c: In function `clear_endpoints':
amload.c:368: error: `op' undeclared (first use in this function)
amload.c:369: warning: implicit declaration of function `usb_resetep'
amload.c:369: error: `adsl_handle' undeclared (first use in this function)
amload.c: At top level:
amload.c:379: error: syntax error before '*' token
amload.c:380: warning: function declaration isn't a prototype
amload.c: In function `send_block':
amload.c:383: error: `bufin' undeclared (first use in this function)
amload.c:383: error: `len' undeclared (first use in this function)
amload.c:386: error: `place' undeclared (first use in this function)
amload.c:389: error: `adsl_handle' undeclared (first use in this function)
amload.c: At top level:
amload.c:395: error: syntax error before '*' token
amload.c:396: warning: function declaration isn't a prototype
amload.c: In function `jump_to_address':
amload.c:402: error: `place' undeclared (first use in this function)
amload.c:406: error: `adsl_handle' undeclared (first use in this function)
amload.c: At top level:
amload.c:417: error: syntax error before '*' token
amload.c:418: warning: function declaration isn't a prototype
amload.c: In function `send_cmds_sync':
amload.c:426: error: `adsl_handle' undeclared (first use in this function)
amload.c: At top level:
amload.c:457: error: syntax error before '*' token
amload.c:458: warning: function declaration isn't a prototype
amload.c: In function `load_firmware':
amload.c:471: error: `adsl_handle' undeclared (first use in this function)
amload.c:617: error: `tmodem' undeclared (first use in this function)
amload.c: In function `init_modem':
amload.c:745: error: dereferencing pointer to incomplete type
amload.c:746: error: dereferencing pointer to incomplete type
amload.c: In function `main':
amload.c:790: error: `usb_dev_handle' undeclared (first use in this function)
amload.c:790: error: `adsl_handle' undeclared (first use in this function)
amload.c:841: warning: implicit declaration of function `usb_init'
amload.c:842: warning: implicit declaration of function `usb_find_busses'
amload.c:847: warning: implicit declaration of function `usb_find_devices'
amload.c:854: error: `usb_busses' undeclared (first use in this function)
amload.c:858: error: dereferencing pointer to incomplete type
amload.c:861: error: dereferencing pointer to incomplete type
amload.c:861: error: dereferencing pointer to incomplete type
amload.c:868: error: dereferencing pointer to incomplete type
amload.c:871: error: dereferencing pointer to incomplete type
amload.c:878: error: dereferencing pointer to incomplete type
amload.c:878: error: dereferencing pointer to incomplete type
amload.c:892: warning: implicit declaration of function `usb_open'
amload.c:899: warning: implicit declaration of function `usb_set_configuration'
amload.c:901: warning: format argument is not a pointer (arg 2)
amload.c:905: warning: implicit declaration of function `usb_claim_interface'
amload.c:907: warning: format argument is not a pointer (arg 2)
amload.c:912: warning: format argument is not a pointer (arg 2)
amload.c:917: warning: format argument is not a pointer (arg 2)
amload.c:926: warning: implicit declaration of function `usb_release_interface'
amload.c:928: warning: implicit declaration of function `usb_close'
make[1]: ** [amload] Erro 1
make[1]: Leaving directory `/root/octal/init'
make: ** [AME_INIT] Erro 2
Podem-me ajudar? Pff!
- Clique Iniciar Sessão ou registar-se para colocar comentários







Esqueci-me de dizer o URL:
Esqueci-me de dizer o URL:
http://gulest.est.ips.pt/index.php?option=com_docman&task=cat_view&gid=7...
Viva, tb tenho esse modem
Viva,
tb tenho esse modem :S em Debian e tb passei por esse problema. Caso tenhas compilado o kernel com td o que é necessário, ainda falta instalar uns qts pacotes relativos ao usb, q parece ser onde te dá erro.
No meu caso instalei: usbutils, libusb-dev, libusb-0.14, libhid0, libhid-dev, libdicover1, discover1-data, hotplug e br2684ctl.
Isto deve resolver o problema, mm assim fica aqui o config do meu kernel 2.6.12 para o caso de faltar algo no teu!
Cumps,
karlos
MUITISSIMO obrigado! É que p
MUITISSIMO obrigado! É que precisava mesmo disto a funcionar visto que tenho uma rede wireless e com a ligação partilhada, o que já à 3 dias que o pessoal está descontente!
Mais uma vez obrigado, vou agora meter mãos à obra e darei o "report"...
Cumprimentos,
Diogo
Já deu para instalar, tudo O
Já deu para instalar, tudo OK! Como me esqueci de uma coisa no kernel vou compilar outra vez mas pronto, já instalei tudinho direito e agradeço imenso!
Cumprimentos
Afinal ainda ha algo a não f
Afinal ainda ha algo a não funcionar ou seja, adsl-setup! Não vejo maneira de configurar os dados da ligação!
Eu bem instalo o rp-pppoe mas nada, o /etc/ppp/pppoe.conf não existe!
Eu fiz download daqui. Depois
Eu fiz download daqui. Depois de descompactares faz ./go (cm root) e configura com os teus dados.
No meu caso depois de fazer amstart.sh (cm root) ele executa logo o rp-pppoe e faz logo a autenticação com as confs do sapo, senão, depois do amstart.sh corre o adsl-start.
Uma nota, cd vez q me ligo faço amstart.sh e após a linha adsl ficar estavel, a luz do sinal adsl no modem fica desligada. Tenho de fazer amstop.sh e desligar o modem por 10s, depois ligo e faço de novo ficando a funcionar :). E fica mto estavel :-D
Cumps,
karlos
Nada feito! Agora é uma coi
Nada feito!
Agora é uma coisita de nada que não bate certo!
Aqui fica o report:
sulicos:~# amstart.sh
* Octal A360 *
> A removar a driver...
> A carregar firmware...
** OCTAL A360 ** .OCTAL a360 * VID= 06b9 & PID = a5a5
*Enviar o firmware /usr/sbin/fw-usb.bin...
Firmware enviado!
Linha ADSL activa [-1 segundos]...
......
I: Linha ADSL activa!
> A carregar a driver...
FATAL: Module crc32 not found.
/usr/sbin/amload.sh *sucesso*
Setting PPP over Ethernet...
> Carregar PPPoE
OCTAL a360 * VID = 06b9 & PID = a5a5
*
> Carregar: br2684 modulo...
>>> Loading ppp_generic...
FATAL: Module ppp_generic not found.
> A carregar br2684ctl...
RFC1483/2684 bridge: Interface "nas0" created sucessfully
RFC1483/2684 bridge: Communicating over ATM 0.0.35, encapsulation: LLC
RFC1483/2684 bridge: Interface configured
> A activar a interface: nas0...
> A carregar o pppd...
/usr/sbin/amnet4up.sh successful
sulicos:~# ping powerpt.net
ping: unknown host powerpt.net
sulicos:~# adsl-start
................TIMED OUT
/usr/sbin/adsl-start: line 191: 8318 Terminated $CONNECT "$@" >/dev/null 2>&1
Será que o problema está no device que meti no adsl-setup? Penso que não, meti nas0
Isto já está a dar é muito trabalho xiça!
FATAL: Module crc32 not found
FATAL: Module crc32 not found.
No kernel, na secção crypto tens esse módulo. Experimenta compila-lo a ver se esse erro desaparece.
/usr/sbin/adsl-start: line 191: 8318 Terminated $CONNECT "$@" >/dev/null 2>&1
Edita o ficheiro e vê o que está na linha 191, pode ser que hajam mais pistas...
"No ínicio não havia nada e Ele disse: apt-get install light"
O meu tb me dá esses FATAL W
O meu tb me dá esses FATAL Warnings, no entanto tenho td instalado e funciona. Tenho é de fazer uma vez amstart.sh e logo de seguida amstop.sh, desligar o modem e voltar a ligar 10 sg depois ficando a funcionar a partir daí.
karlos
* Octal A360 * > A removar
* Octal A360 *
> A removar a driver...
> A carregar firmware...
** OCTAL A360 ** .OCTAL a360 * VID= 06b9 & PID = a5a5
*Enviar o firmware /usr/sbin/fw-usb.bin...
Firmware enviado!
Linha ADSL activa [-1 segundos]...
......
I: Linha ADSL activa!
> A carregar a driver...
FATAL: Module crc32 not found.
/usr/sbin/amload.sh *sucesso*
Setting PPP over Ethernet...
> Carregar PPPoE
OCTAL a360 * VID = 06b9 & PID = a5a5
*
> Carregar: br2684 modulo...
>>> Loading ppp_generic...
FATAL: Module ppp_generic not found.
> A carregar br2684ctl...
RFC1483/2684 bridge: Interface "nas0" created sucessfully
RFC1483/2684 bridge: Communicating over ATM 0.0.35, encapsulation: LLC
RFC1483/2684 bridge: Interface configured
> A activar a interface: nas0...
> A carregar o pppd...
/usr/sbin/amnet4up.sh successful
Mas nada! E por exemplo, a seguir faço adsl-atop e diz que aparentemente não tem nenhuma ligação adsl activa.
Sabem que mais? Possivelmente vou-me virar para a compra de um router, modems usb em linux é para esquecer!
A minha distro de eleição era o slackware e aqui tudo funcionava impecável, na tree 2.4.*
Apesar deste problemazito gosto muito do Debian e preciso de mais tempo para o explorar...
Obrigado