Autore Topic: OpenWRT su Vodafone Station  (Letto 86672 volte)

nek

  • Full Member
  • ***
  • Post: 121
  • pc basso consumo 28watt idle
    • Mostra profilo
    • E-mail
Re: OpenWRT su Vodafone Station
« Risposta #30 il: Aprile 14, 2010, 10:22:58 am »
 :-D ciao io ne ho proprio una buttata in un cassetto...

ma leggendo le 2 pagine mi pare che openwart non abbia interfaccia grafica?

io purtroppo sono nato windista  :-P quindi se si va tutta da riga di comando la vedo dura per me...

le saldature sono alla portata ne ho fatte anche di pi? piccole e complicate , il jtag :D lo conosco bene xbox360 rulez!!

mi fate sapere?
alice 7 mega + router netgear 834gt FW mod by stev-o + 2 linksys wrt54gl DD-WRT v 24 sp1

truthahn

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1546
    • Mostra profilo
Re: OpenWRT su Vodafone Station
« Risposta #31 il: Aprile 14, 2010, 01:20:04 pm »
Certo che ha l'interfaccia grafica... Segui le indicazioni di Ramponis e ti troverai un bel x-wrt funzionante. :-D.  Naturalmente per fare alcune cose devi muoverti in ssh ma niente di complicato... e comunque siam qua...

« Ultima modifica: Aprile 14, 2010, 01:22:24 pm da truthahn »

Ramponis

  • Hero Member
  • *****
  • Post: 1062
    • Mostra profilo
    • DWL-2100AP Ramponis Homepage
Re: OpenWRT su Vodafone Station
« Risposta #32 il: Aprile 14, 2010, 03:50:21 pm »
io ne ho proprio una buttata in un cassetto...

Piuttosto dalla a me  :lol:

ma leggendo le 2 pagine mi pare che openwart non abbia interfaccia grafica?

Come niente interfaccia grafica... ma se ho allegato tanto di screenshot  :?
DWL-2100AP Ramponis Homepage
http://xoomer.alice.it/ramponis/

nek

  • Full Member
  • ***
  • Post: 121
  • pc basso consumo 28watt idle
    • Mostra profilo
    • E-mail
Re: OpenWRT su Vodafone Station
« Risposta #33 il: Aprile 15, 2010, 12:50:47 pm »
pensavo si dovesse installare con i pack che citate voi da riga di comando... :D
alice 7 mega + router netgear 834gt FW mod by stev-o + 2 linksys wrt54gl DD-WRT v 24 sp1

truthahn

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1546
    • Mostra profilo
Re: OpenWRT su Vodafone Station
« Risposta #34 il: Aprile 15, 2010, 09:13:13 pm »
Son riuscito a compilare un asterisk con chan_datacard funzionante sul laptop (domani lo provo sul server)... necessita di asterisk 1.6.2.x e quindi sulla vs ci sta o la 1.4 o la 1.6.1 e quindi penso nisba...
devo provare cho chan_sebi che gira su la 1.4.
Intanto comunque, dopo mille imprecazioni, sul pc gira e gi? questo mi sembra una gran cosa... ma aspettiamo le prove sul campo...
intanto
Codice: [Seleziona]
laptop*CLI> datacard show devices
ID              Group  Connected State Voice SMS   RSSI  Mode  Submode Provider Name   Model      Firmware          IMEI              Number           
datacard0       1      Yes       Free  Yes   Yes   22    3     3       Telecom Italia  E169       11.314.21.31.00   3596380XXXXXX   +39339XXXXXXX   
laptop*CLI>
Ora ha dentro un sim  solo voce.

« Ultima modifica: Aprile 15, 2010, 09:19:34 pm da truthahn »

Ramponis

  • Hero Member
  • *****
  • Post: 1062
    • Mostra profilo
    • DWL-2100AP Ramponis Homepage
Re: OpenWRT su Vodafone Station
« Risposta #35 il: Aprile 16, 2010, 12:05:48 pm »
No ti sbagli ? disponibile anche la 1.6.2.x per piattaforma bcm63xx
Per cui se mi dici come hai integrato il chan potrei provare a compilartelo per la VS  :wink:
DWL-2100AP Ramponis Homepage
http://xoomer.alice.it/ramponis/

truthahn

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1546
    • Mostra profilo
Re: OpenWRT su Vodafone Station
« Risposta #36 il: Aprile 16, 2010, 03:21:26 pm »
Bene :lol: :lol: :lol: :lol: :lol:
Sarebbe veramente super, oggi ho inserito il chan nel server asterisk della scuola e funziona alla grande sia in entrata che in uscita... un gateway gsm a 25 euro, e se ne possono installare a iosa (datacard0, datacard1.... )

allora il source del chan lo trovi in svn qui...
https://www.makhutov.org/svn/chan_datacard/trunk/

ho scaricato il svn e semplicemente un make e make install ed ? andato tutto al primo colpo. provando ad inserirlo negli addons o direttamente nei channel mi dava un sacco di errori...

Nel svn si trova "datacard.conf" che va copiato in /etc/asterisk e opportunamente modificato (poche istruzioni chiare) e in README.txt l'esempio del datacard-incoming per l'extensions.conf.

Se poi si riuscir? a far andare quelle benedette porte fxs diventerebbe veramente una super scatolina. :-D



Ramponis

  • Hero Member
  • *****
  • Post: 1062
    • Mostra profilo
    • DWL-2100AP Ramponis Homepage
Re: OpenWRT su Vodafone Station
« Risposta #37 il: Aprile 19, 2010, 11:56:19 am »
Forse ci sono riuscito...  :lol:

Puoi scaricare l'ipk da qui.

http://www.megaupload.com/?d=55D66JUZ

Fammi sapere se funziona  :wink:
DWL-2100AP Ramponis Homepage
http://xoomer.alice.it/ramponis/

truthahn

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1546
    • Mostra profilo
Re: OpenWRT su Vodafone Station
« Risposta #38 il: Aprile 19, 2010, 12:41:36 pm »
Grazzzzzieeeee!!! Oggi pomeriggio a casa provo...

Avatar

  • Sr. Member
  • ****
  • Post: 798
    • Mostra profilo
    • my Netbuk server
    • E-mail
Re: OpenWRT su Vodafone Station
« Risposta #39 il: Aprile 19, 2010, 01:19:38 pm »
Citazione da: truthahn
ho inserito il chan nel server asterisk della scuola e funziona alla grande sia in entrata che in uscita

su * 1.6  ?
mi spiegheresti i passaggi? 
grazie
ci st? sbattendo la testa  :-D
Considerate la vostra semenza: fatti non foste a viver come bruti, ma per seguir virtute e canoscenza

truthahn

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1546
    • Mostra profilo
Re: OpenWRT su Vodafone Station
« Risposta #40 il: Aprile 19, 2010, 06:32:03 pm »
Annuntio vobis gaudium magnum: Ramponis gratias habemus gateway gsm. Non ho fatto ancore le prove di chiamata ma....

Codice: [Seleziona]
root@OpenWrt:/dev# asterisk -rvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
Asterisk 1.6.2.6, Copyright (C) 1999 - 2010 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
  == Parsing '/etc/asterisk/asterisk.conf':   == Found
Connected to Asterisk 1.6.2.6 currently running on OpenWrt (pid = 1425)
Verbosity is at least 58
OpenWrt*CLI> datacard show devices
ID              Group  Connected State Voice SMS   RSSI  Mode  Submode Provider Name   Model      Firmware          IMEI              Number          
datacard0       1      Yes       Free  Yes   Yes   20    3     3       Telecom Italia  E169       11.314.21.31.00   35963XXXXXXXXXX   +39339XXXXXXX  
OpenWrt*CLI>

Che dire... onore e gloria all' Eminentissimum ac reverendissimum Dominum
Dominum Ramponis :-D :-D :-D :-D :-D :-D


« Ultima modifica: Aprile 19, 2010, 06:52:14 pm da truthahn »

truthahn

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1546
    • Mostra profilo
Re: OpenWRT su Vodafone Station
« Risposta #41 il: Aprile 19, 2010, 06:38:31 pm »
Naturalmente bisogna caricare il driver per la key... in questo caso (e169)
Codice: [Seleziona]
insmod usbserial vendor=0x12d1 product=0x1001

che si ricava la "lsusb"

poi inserirlo pure in /etc/modules.d/60-usb-serial
Codice: [Seleziona]
root@OpenWrt:/dev# cat /etc/modules.d/60-usb-serial
usbserial vendor=0x12d1 product=0x1001

root@OpenWrt:/dev#

così al boot lo ricarica.

A presto le prove sul campo! :wink:

truthahn

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1546
    • Mostra profilo
Re: OpenWRT su Vodafone Station
« Risposta #42 il: Aprile 19, 2010, 06:42:18 pm »
su * 1.6  ?
mi spiegheresti i passaggi? 
grazie
ci stò sbattendo la testa  :-D

Per installarlo o per configurare l'extensions.conf?
Per installarlo semplicemente come riportato dal messaggio che citi. Per l'extensions.conf... provando un po', ora non l'ho sottomano ma te lo posso girare domani. Ho adattato comunque quello che si trova nel README...
« Ultima modifica: Aprile 19, 2010, 06:44:52 pm da truthahn »

Avatar

  • Sr. Member
  • ****
  • Post: 798
    • Mostra profilo
    • my Netbuk server
    • E-mail
Re: OpenWRT su Vodafone Station
« Risposta #43 il: Aprile 19, 2010, 07:05:47 pm »
per l'extensions non c'? problema

per installarre il chan  :evil:
Considerate la vostra semenza: fatti non foste a viver come bruti, ma per seguir virtute e canoscenza

truthahn

  • Global Moderator
  • Hero Member
  • *****
  • Post: 1546
    • Mostra profilo
Re: OpenWRT su Vodafone Station
« Risposta #44 il: Aprile 19, 2010, 07:20:02 pm »
Codice: [Seleziona]
cd /usr/src
sudo svn co https://www.makhutov.org/svn/chan_datacard/trunk/chan-datacard
cd chan-datacard
sudo make
sudo make install

semplicissimo!

Poi ti ritrovi, o copi, datacard.conf in /etc/asterisk (se l'hai l?) e lo configuri... il mio:

Codice: [Seleziona]
root@OpenWrt:/etc/asterisk# cat datacard.conf
[general]
interval=15 ; Number of seconds between trying to connect to devices.

;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
; jbenable = yes ; Enables the use of a jitterbuffer on the receiving side of an
; OSS channel. Defaults to "no". An enabled jitterbuffer will
; be used only if the sending side can create and the receiving
; side can not accept jitter. The OSS channel can't accept jitter,
; thus an enabled jitterbuffer on the receive OSS side will always
; be used if the sending side can create jitter.

; jbmaxsize = 200 ; Max length of the jitterbuffer in milliseconds.

; jbresyncthreshold = 1000 ; Jump in the frame timestamps over which the jitterbuffer is
; resynchronized. Useful to improve the quality of the voice, with
; big jumps in/broken timestamps, usualy sent from exotic devices
; and programs. Defaults to 1000.

; jbimpl = fixed ; Jitterbuffer implementation, used on the receiving side of an OSS
; channel. Two implementations are currenlty available - "fixed"
; (with size always equals to jbmax-size) and "adaptive" (with
; variable size, actually the new jb of IAX2). Defaults to fixed.

; jbtargetextra = 40 ; This option only affects the jb when 'jbimpl = adaptive' is set.
; The option represents the number of milliseconds by which the new
; jitter buffer will pad its size. the default is 40, so without
; modification, the new jitter buffer will set its size to the jitter
; value plus 40 milliseconds. increasing this value may help if your
; network normally has low jitter, but occasionally has spikes.

; jblog = no ; Enables jitterbuffer frame logging. Defaults to "no".
;-----------------------------------------------------------------------------------

[datacard0]
context=datacard-incoming ; context for incoming calls
audio=/dev/ttyUSB1 ; tty port for audio connection
data=/dev/ttyUSB2 ; tty port for AT commands
group=1 ; calling group

;[datacard1]
;context=datacard-incoming ; context for incoming calls
;audio=/dev/ttyUSB4 ; tty port for audio connection
;data=/dev/ttyUSB5 ; tty port for AT commands
;group=2 ; calling group
rxgain=10 ; increase the incoming volume
txgain=10 ; increase the outgoint volume
autodeletesms=yes ; auto delete incoming sms
;resetdatacard=yes ; reset datacard during initialization
;u2duag=0 ; set U2DIAG parameter (0 = disable everything except modem function)
root@OpenWrt:/etc/asterisk#