ZonaWeb Lab

appunti sparsi

  • BLOG
  • Sito ZonaWeb

Set 28: drive snapshot e seven


- installazione di seven con partizione di ripristino da 100MB
- drive snapshot trial versione 1.40.0.15194
- comando utilizzato per creare le immagini:
snapshot_trial hd1:* e:\7\$disk.sna



ripristino con bartPE

1) scegliere la partione HD1-1.sna da ripristinare
2) scegliere l'opzione "restore partition structure"
3) ripristinare l'immagine HD1-1.sna nella corretta partizione
verra' segnalato che il disco non e' bootabile, andiamo avanti...
4) ripristinare l'immagine c.sna nella corretta partizione

verra' segnalato nuovamente che il disco non e' bootabile.....
quindi da prompt dei comandi digitare:



snapshot_trial
--checkboot HD1

otterrete quanto segue:


D:\>snapshot_trial --checkboot HD1
22:33:48 Timelimited TrialWare - use possible up to 04/11/10

Analysing Disk 1
disk 1 - 32301 cylinders, 240 heads, 63 sectors, 512 byte
total physical size 238472 MB

MBR (Master Boot Record) Information:

status Filesystem start - end (CHS) : start,size(Byte)
1:active 07 NTFS 0 32 33 12 223 19 : 1.024KB,102.400KB
2: 07 NTFS 12 223 201023 239 63 :103.424KB,238.373MB
3: 00 unused
4: 00 unused
Partition entry 1 seems not to be correct.
This may happen, if the drive was partitioned on a maschine
with different Cylinder/Head/Sector translation.

original entry :active 07 NTFS 0 32 33 12 223 19 : 1.024KB,102.400
KB
would be changed to:active 07 NTFS 0 32 33 13 163 19 : 1.024KB,102.400
KB

shall this be corrected ?y
Partition entry 2 seems not to be correct.
This may happen, if the drive was partitioned on a maschine
with different Cylinder/Head/Sector translation.

original entry : 07 NTFS 12 223 201023 239 63 :103.424KB,238.37
3MB
would be changed to: 07 NTFS 13 163 201023 239 63 :103.424KB,238.37
3MB

shall this be corrected ?y
partition 1 - sector at 2048
hidden sectors 2048, cyl 255, sect 63

Partition 1 at sector 2048=1MB - has wrong geometry information

current heads = 255,sectors per track 63
this should be heads = 240,sectors per track 63
shall this be corrected ?y
partition 2 - sector at 206848
hidden sectors 206848, cyl 240, sect 63

the disk seems to be bootable
D:\>

riavviare.... il ripristino è terminato.






Scritto da Conzi in Informatica Commenti: (0) Trackbacks: (0)

Ago 06: aura emicrania


ecco la migliore rappresentazione che abbia trovato dell'aura da emicrania, prima che esploda il mal di testa...
un bel caleidoscopio no?


da Le scienze 10/2008 n.482 pag.79
aura


anche questa non è male:

Scritto da Conzi in Vita varia Commenti: (0) Trackbacks: (0)

Gen 19: patton e trixbox


per ricordarmene la prossima volta...
praticamente tutte le informazioni le trovi qui, sul sito della wildix:

http://www.wildix.com/partner/index.php/Gateway_bri

mio caso:

1 patton 4552 (1 bri) 192.168.88.211
1 trixbox                  192.168.88.210
1 borchia idsn con numero 0332xxxxxx

1) per il template proposto da wildix aggiornare il firmware del patton alla versione SN4552_SIP_R4.2_2007-07-23.zip

che si puo' trovare qui:
http://upgrades.patton.com/license.asp?model=SmartNode%204552&path=SN4552_SIP_R4.2_2007-07-23.zip

l'aggiornamente si puo' fare tramite l'interfaccia web dell'apparato.

questo e' il template di wildix modificato negli indirizzi ip e disabilitando le interfacce che non sono presenti nel patton 4552 (il template va bene anche per altri patton, per es il 4634)

_____________________


cli version 3.20
dns-client server 151.99.125.1
dns-client server 151.99.0.100
webserver port 80 language en
sntp-client
sntp-client server primary 192.168.88.210 port 123 version 4

system
  ic voice 0

system
  clock-source port 0 0

profile ppp default


profile call-progress-tone IT_Congestion
 play 1 200 425 -12
 pause 2 200

profile call-progress-tone IT_Dialtone
  play 1 200 425 -12
  pause 2 200
  play 3 600 425 -12
  pause 4 1000

profile call-progress-tone IT_Alertingtone
  play 1 1000 425 -12
  pause 2 4000

profile call-progress-tone IT_Busytone
  play 1 500 425 -12
  pause 2 500



profile voip FAX
  codec 1 g711alaw64k rx-length 20 tx-length 20
  dtmf-relay rtp
  dejitter-max-delay 100
  dejitter-max-packet-loss 20
  fax transmission 1 relay t38-udp
  fax dejitter-max-delay 400
  no fax error-correction

profile tone-set default

profile tone-set IT
  map call-progress-tone dial-tone IT_Dialtone
  map call-progress-tone ringback-tone IT_Alertingtone
  map call-progress-tone busy-tone IT_Busytone
  map call-progress-tone release-tone IT_Busytone
  map call-progress-tone congestion-tone IT_Congestion

profile voip default
  codec 1 g711alaw64k rx-length 20 tx-length 20

profile pstn default

profile sip default
  no autonomous-transitioning

profile aaa default
  method 1 local
  method 2 none

context ip router
  interface eth0
    ipaddress 192.168.88.211 255.255.255.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu
  interface eth1
    ipaddress 192.168.2.1 255.255.255.0
    tcp adjust-mss rx mtu
    tcp adjust-mss tx mtu
context ip router
  route 0.0.0.0 0.0.0.0 192.168.88.1 0


context cs switch
  digit-collection timeout 4
  no digit-collection terminating-char
  address-completion timeout 20
  national-prefix 0
  international-prefix 00

    
  routing-table called-e164 FROM_ATA_FAX
    route 70.T dest-interface IF_BRI_00 STRIPFAX
  # route 71.T dest-interface IF_BRI_01 STRIPFAX
  # route 72.T dest-interface IF_BRI_02 STRIPFAX
  # route 73.T dest-interface IF_BRI_03 STRIPFAX
  # route 74.T dest-interface IF_BRI_04 STRIPFAX
  # route 7.T dest-service BRI_FAX_GROUP STRIPFAX

  routing-table called-e164 FROM_WILDIX
    route .%T dest-interface BRI_GROUP MT_ITC
    route 70.T dest-interface IF_BRI_00 STRIP
  #  route 71.T dest-interface IF_BRI_01 STRIP
  #  route 72.T dest-interface IF_BRI_02 STRIP
  #  route 73.T dest-interface IF_BRI_03 STRIP
  #  route 74.T dest-interface IF_BRI_04 STRIP

  routing-table called-e164 FROM_IF_BRI_00
    route .%T dest-interface IF_WILDIX BRI_00
 #  route <fax_number1> dest-interface IF-ATA-FAX BRI_00
 #  route <fax_number2> dest-interface IF-ATA-FAX BRI_00
 # routing-table called-e164 FROM_IF_BRI_01
 #  route .%T dest-interface IF_WILDIX BRI_01
 #  route <fax_number1> dest-interface IF-ATA-FAX BRI_01
 #  route <fax_number2> dest-interface IF-ATA-FAX BRI_01
 # routing-table called-e164 FROM_IF_BRI_02
 #   route .%T dest-interface IF_WILDIX BRI_02
 #  route <fax_number1> dest-interface IF-ATA-FAX BRI_02
 #  route <fax_number2> dest-interface IF-ATA-FAX BRI_02
 # routing-table called-e164 FROM_IF_BRI_03
 #   route .%T dest-interface IF_WILDIX BRI_03
 #  route <fax_number1> dest-interface IF-ATA-FAX BRI_03
 #  route <fax_number2> dest-interface IF-ATA-FAX BRI_03
 # routing-table called-e164 FROM_IF_BRI_04
 #   route .%T dest-interface IF_WILDIX BRI_04
 #  route <fax_number1> dest-interface IF-ATA-FAX BRI_04
 #  route <fax_number2> dest-interface IF-ATA-FAX BRI_04
   
 
 
  mapping-table called-e164 to called-e164 STRIPFAX
    map ..(.%) to \1
  mapping-table called-e164 to called-e164 STRIP
    map ..(.%) to \1  MT_ITC

  mapping-table called-e164 to called-e164 BRI_00
    map (.%) to 70\1
 # mapping-table called-e164 to called-e164 BRI_01
 #   map (.%) to 71\1
 # mapping-table called-e164 to called-e164 BRI_02
 #   map (.%) to 72\1
 # mapping-table called-e164 to called-e164 BRI_03
 #   map (.%) to 73\1
 # mapping-table called-e164 to called-e164 BRI_04
 #   map (.%) to 74\1
  mapping-table itc to itc MT_ITC
    map default to speech

  interface isdn IF_BRI_00
    route call dest-table FROM_IF_BRI_00
    use mapping-table out 1 MT_ITC
    address-complete-indication emit set
    use profile tone-set IT
 # interface isdn IF_BRI_01
 #   route call dest-table FROM_IF_BRI_01
 #   use mapping-table out 1 MT_ITC
 #   address-complete-indication emit set
 #   use profile tone-set IT
 # interface isdn IF_BRI_02
 #   route call dest-table FROM_IF_BRI_02
 #   use mapping-table out 1 MT_ITC
 #   address-complete-indication emit set
 #   use profile tone-set IT
 # interface isdn IF_BRI_03
 #   route call dest-table FROM_IF_BRI_03
 #   use mapping-table out 1 MT_ITC
 #   address-complete-indication emit set
 #   use profile tone-set IT
 # interface isdn IF_BRI_04
 #   route call dest-table FROM_IF_BRI_04
 #   use mapping-table out 1 MT_ITC
 #   address-complete-indication emit set
 #   use profile tone-set IT

  interface sip IF_WILDIX
    bind gateway WILDIX
    service default
    early-disconnect
    route call dest-table FROM_WILDIX
    remote-party-id called-party
    remote-party-id calling-party
    use profile tone-set IT
  interface sip IF-ATA-FAX
    bind gateway ATA-FAX
    service default
    route call dest-table FROM_ATA_FAX
  # remote <ip-ata-fxs> 5064 loose-router
    use profile voip FAX
    use profile tone-set IT

    
  service hunt-group BRI_GROUP
    drop-cause normal-unspecified
    drop-cause no-circuit-channel-available
    drop-cause network-out-of-order
    drop-cause temporary-failure
    drop-cause switching-equipment-congestion
    drop-cause access-info-discarded
    drop-cause circuit-channel-not-available
    drop-cause resources-unavailable
    drop-cause user-busy
    drop-cause destination-out-of-order
    route call 1 dest-interface IF_BRI_00
    route call 2 dest-interface IF_BRI_00
 #   route call 3 dest-interface IF_BRI_01
 #   route call 4 dest-interface IF_BRI_01
 #   route call 5 dest-interface IF_BRI_02
 #   route call 6 dest-interface IF_BRI_02
 #   route call 7 dest-interface IF_BRI_03
 #   route call 8 dest-interface IF_BRI_03
 #   route call 9 dest-interface IF_BRI_04
 #   route call 9 dest-interface IF_BRI_04

service hunt-group BRI_FAX_GROUP
    drop-cause normal-unspecified
    drop-cause no-circuit-channel-available
    drop-cause network-out-of-order
    drop-cause temporary-failure
    drop-cause switching-equipment-congestion
    drop-cause access-info-discarded
    drop-cause circuit-channel-not-available
    drop-cause resources-unavailable
    drop-cause user-busy
    drop-cause destination-out-of-order
    route call 1 dest-interface IF_BRI_00
    route call 2 dest-interface IF_BRI_00
  #  route call 3 dest-interface IF_BRI_01
  #  route call 4 dest-interface IF_BRI_01
  #  route call 5 dest-interface IF_BRI_02
  #  route call 6 dest-interface IF_BRI_02
  #  route call 7 dest-interface IF_BRI_03
  #  route call 8 dest-interface IF_BRI_03
  #  route call 10 dest-interface IF_BRI_04
context cs switch
  no shutdown


gateway sip ATA-FAX
  call-signaling-port 5064
  bind interface eth0 router
  service default
# default-server <ip-ata-fxs> 5064 loose-router
gateway sip ATA-FAX
 no shutdown
gateway sip WILDIX
  bind interface eth0 router
  service default
    domain 192.168.88.210
    default-server 192.168.88.210 5060 loose-router
    registration-lifetime 90
    registrar 192.168.88.210 5060
    user gatewaybri0 display-name gatewaybri0 password gatewaybri0
gateway sip WILDIX
  no shutdown



port ethernet 0 0
  medium auto
  encapsulation ip
  bind interface eth0 router
  no shutdown
port ethernet 0 1
  medium auto
  encapsulation ip
  bind interface eth1 router
  no shutdown



port bri 0 0
  clock auto
  encapsulation q921
  q921
    protocol pmp
    uni-side auto
    encapsulation q931
    q931
      protocol dss1
      uni-side user
      encapsulation cc-isdn
      bind interface IF_BRI_00 switch
port bri 0 0
  no shutdown

#  port bri 0 1
#  clock auto
#  encapsulation q921
#  q921
#   protocol pmp
#    uni-side auto
#    encapsulation q931
#    q931
#      protocol dss1
#      uni-side user
#      encapsulation cc-isdn
#      bind interface IF_BRI_01 switch
#port bri 0 1
#  no shutdown

#port bri 0 2
#  clock auto
#  encapsulation q921
#  q921
#    protocol pmp
#    uni-side auto
#    encapsulation q931
#    q931
#      protocol dss1
#      uni-side user
#      encapsulation cc-isdn
#      bind interface IF_BRI_02 switch
#port bri 0 2
#  no shutdown

___________________________________________

pur essendo presenti delle opzioni relative ai fax, lascerò per semplicità il fax collegato alla porta analogica della nt1+, che rispondera' al secondo numero associato alla borchia stessa.

2) configurazione di trixbox

da ricordare:
- in PBX settings -> setup -> basic -> Allow Anonymous Inbound SIP Calls?  YES
- configurare gli International Settings

outbound routes:


inbound routes:




































trunk:



Outgoing settings
trunk name: trunk_gatewaybri0
peer details:
________________
allow=g729
canreinvite=no
fromdomain=192.168.88.211
fromuser=gatewaybri0
host=192.168.88.211
insecure=very
nat=yes
qualify=yes
realm=192.168.88.211
secret=
srvlookup=yes
type=friend
username=
___________________


incoming settings
user context: gatewaybri0   (lo stesso del template del patton)
user details:
___________________
host=dynamic
port=5060
secret=gatewaybri0
type=friend
disallow=all
allow=alaw
qualify=2000
context=from-trunk
canreinvite=no
insecure=very
dtmfmode=auto
username=gatewaybri0
accountcode=gatewaybri0
______________________

registration string:
gatewaybri0:gatewaybri0@192.168.88.211:5060/gatewaybri0


creando delle extension (gli interni) e dei ring groups si possono fare a questo punto delle prove con i telefoni...

per quanto riguarda le condizioni temporali, due schemi di esempio:


e relativo diagramma di flusso:

Scritto da Conzi Commenti: (0) Trackbacks: (0)

Ott 16: trixbox, voicemail e postfix


appunti......

tutto riferito al mio mail server (mail.zonaweb.it)


problema: dopo aver configurato il vicemail in trixbox (compresi server smtp e autenticazione)

le mail non partono....

soluzione:

dopo aver abilitato il voicemail da freepbx

collegarsi in ssh con putty e usare nano come editor.... es.

nano /etc/postfix/main.cf

controllare la configurazione di postfix

/etc/postfix/main.cf
---------------------

readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = no
smtp_always_send_ehlo = yes
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =
relayhost = mail.zonaweb.it
myhostname = trixbox1.localdomain

/etc/postfix/saslpasswd
------------------------------

mail.zonaweb.it utente@zonaweb.it:password

poi creare il database delle password con:

postmap hash:/etc/postfix/saslpasswd

e ricaricare la configurazione di postfix con:

postfix reload

se si vuole stoppare e far ripartire postfix:

service postfix restart

invece postfix upgrade-configuration serve per

"Execute "postfix upgrade-configuration" to repair the Postfix configuration files"

per modificare il sender della mail che viene inviata, editare il file vm_general.inc


Scritto da Conzi Commenti: (0) Trackbacks: (0)

Feb 23: Symantec Antivirus 10.1 "immortale"?

Ieri stavo lavorando su un server di posta, che funziona tranquillamente, e su cui e' stato installato il client di un Symantec antivirus corporate 10.1.

Volendo fare dei test, ho arrestato e disattivato TUTTI i servizi Symantec.
poi dovendo fare una scansione della rete per vedere quali pc fossero accesi, ho provato a scaricare da qui IPSCAN.
Scaricato sul desktop, mi risultava sempre corrotto e di 0 byte.

scaricato su un altro pc, nessun problema; l'ho compresso e spostato sul server in questione, bene, non sono riuscito ad estrarlo! provavo ad estrarlo con winrar e il risultato era una cartella VUOTA!
Ho cominciato a preoccuparmi.. vuoi vedere che il server ha preso un virus di quelli bastardi?
Eppure fino a pochi minuti fa era attivo il Symantec Antivirus, com'e' possibile?
Alla fine... anche con tutti i servizi arrestati e disattivati il Symantec antivirus FUNZIONAVA ancora! E non gli piaceva l'ipscan.exe  (che e' innocuo).
Il server non lo usa nessuno tranne me, quindi un antivirus real time non serve, ho disintallato il Symantec e installato Clamwin (per scansioni programmate) e tutto ha ricominciato a funzionare in maniera "prevedibile".......................

Scritto da Conzi Commenti: (0) Trackbacks: (0)
« pagina precedente   (Pagina 1 di 2, in totale 9 notizie)   pagina seguente »

Scrivimi

lab@zonaweb.it

Commenti

D@ve about Pop3 connector free per Exchange, con Hmailserver
ven, 18.07.2008 13:43
è una coda di posta dove arriv ano tutte le email del mio dom inio. Tutto ciò che termina c on @miodominio.it va in [...]


Conzi about Pop3 connector free per Exchange, con Hmailserver
gio, 17.07.2008 00:23
spegati meglio... cosa inten di con casellone? :-D


D@ve about Pop3 connector free per Exchange, con Hmailserver
mer, 16.07.2008 19:12
io ho un casellone di posta e non riesco fargli girare le em ail..:-((


roberto about Frontend antispam e antivirus per Exchange (2003) con Hmailserver
mar, 19.02.2008 13:03
Il mail server è desknow che i n realtà è un vero e proprio c ollaboration server. Voglio qu indi conservare tutte le [...]


Conzi about Frontend antispam e antivirus per Exchange (2003) con Hmailserver
mar, 19.02.2008 11:24
per il gray le wildcards in wh itelist possono andare, ma se setti un intervallo di ip per la tua lan puoi anche de [...]


roberto about Frontend antispam e antivirus per Exchange (2003) con Hmailserver
mar, 19.02.2008 11:09
hai ragione sono stato poco ch iaro, Non ho specificato che p er l'invio uso hmail senza dir ottare niente sul server [...]


Conzi about Frontend antispam e antivirus per Exchange (2003) con Hmailserver
lun, 18.02.2008 21:38
Non capisco il tuo problema pe r l'invio, dato che hai detto che NON usi l'hmail per l'invi o. La tua posta viene in [...]


roberto about Frontend antispam e antivirus per Exchange (2003) con Hmailserver
lun, 18.02.2008 19:04
Ho implementato la soluzione d a te proposta (solo per la ric ezione però) e sembra funziona re. Ci sono solo 2 coset [...]


Conzi about Frontend antispam e antivirus per Exchange (2003) con Hmailserver
ven, 15.02.2008 11:13
no, non è necessario. ho sc elto questa soluzione semplice mente per non dover andare a controllare 2 log di due [...]


roberto about Frontend antispam e antivirus per Exchange (2003) con Hmailserver
gio, 14.02.2008 17:30
Se il nostro scopo è solo quel lo di filtrare con l'antispam la posta in arrivo è proprio n ecessario far passare an [...]


marco° about Frontend antispam e antivirus per Exchange (2003) con Hmailserver
mer, 06.02.2008 22:14
bel lavoro! in settimana prove rò!


Template dropdown

Amministrazione

Apri schermo di login

Powered by

Serendipity PHP Weblog
 

Layout by Andreas Viklund | Serendipity template by Carl