Jump to content

DragonJAR

Active Members
  • Posts

    2
  • Joined

  • Last visited

Everything posted by DragonJAR

  1. Webinario gratuito sobre Seguridad Informática, CEH y CyberSecurity http://t.co/TsJkSmvD // todavia puedes entrar!! YA EMPEZAMOS!!

  2. Alcaldía Mayor de Bogotá explica su no participación en Campus Party 2012 http://t.co/1dLXx68i // 600 millones son 600 millones...

  3. WiFi Security Workshop en el @SecZone, no te lo pierdas http://t.co/APrx006G

  4. Así fue el ACK Security Conference 2012 – Día IV http://t.co/Bl9fGeg1

  5. Memorias del Guadalajara CON 2012 http://t.co/gXXLcWGK

  6. Para quienes no les ha llegado el correo del Diplomado en Seguridad http://t.co/PLktXNBx

  7. Diplomado Profesional en Seguridad Cibernética http://t.co/BvcBIy4S

  8. Nuevos episodios de Mundo Hacker TV http://t.co/ijorJz9w

  9. Así fue el ACK Security Conference 2012 – Día I http://t.co/QSs0wZ4D

  10. Configurar GMail de forma segura http://t.co/aQ2AXHW6

  11. Configura tu GMail de forma segura http://t.co/YrawxOMK

  12. Diplomado Profesional en Seguridad Cibernética http://t.co/BvcBIy4S #CyberSecurity

  13. Tan mala fama tenemos los ingenieros que @AlmacenesExito publica promociones de tecnologia y licores juntas http://t.co/QUsA6oxt

  14. Así fue el ACK Security Conference 2012 – Día IV http://t.co/Bl9fGeg1 #ACKSecurity

  15. Taller Forensics I. FATxx http://t.co/v7mqeN7t

  16. Tips de programación de videojuegos http://t.co/L7xq6HzB

  17. Nuevos Capítulos de la Temporada 2 de Mundo Hacker TV http://t.co/ijorJz9w @mundohackertv

  18. ¿Tengo un error bien raro conectando un modem Huawei e173s-6 al jasager (o linux), a alguien ya le ha pasado? http://t.co/lPvwZZrl

  19. I use this script to my modem Huawei E173s-6 *12d1:1c05*) echo "Huawei E173s-6 detected. Attempting mode switch" uci delete network.wan2 uci set network.wan2=interface uci set network.wan2.ifname=ppp0 uci set network.wan2.proto=3g uci set network.wan2.service=umts uci set network.wan2.device=/dev/ttyUSB0 uci set network.wan2.apn=internet.movistar.com.co uci set network.wan2.username=movistar uci set network.wan2.password=movistar uci set network.wan2.defaultroute=1 uci commit network sleep 10; rmmod usbserial sleep 3; insmod usbserial vendor=0x12d1 product=0x1c05 sleep 5; /etc/init.d/firewall disable; /etc/init.d/firewall stop logger "3G: firewall stopped" iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o 3g-wan2 -j MASQUERADE iptables -A FORWARD -s 172.16.42.0/24 -o 3g-wan2 -j ACCEPT iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i 3g-wan2 -j ACCEPT ;; apparently all goes well, the connection is successful but then the modem disconnects and shutdown Jan 1 00:11:29 Pineapple user.notice root: 3G: Connection Script here, searching for modems Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.110000] usb 1-1: new high-speed USB device number 27 using ath79-ehci Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.600000] usbserial_generic 1-1:1.0: generic converter detected Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.610000] usb 1-1: generic converter now attached to ttyUSB0 Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.610000] usbserial_generic 1-1:1.1: generic converter detected Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.620000] usb 1-1: generic converter now attached to ttyUSB1 Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.620000] usbserial_generic 1-1:1.2: generic converter detected Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.630000] usb 1-1: generic converter now attached to ttyUSB2 Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.640000] scsi32 : usb-storage 1-1:1.3 Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.650000] scsi33 : usb-storage 1-1:1.4 Jan 1 00:11:31 Pineapple syslog.notice usb_modeswitch: switched to 12d1:1c05 on 001/026 Jan 1 00:11:31 Pineapple user.notice usb-modeswitch: 1-1:1.1: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=? Jan 1 00:11:32 Pineapple user.notice root: 3G: Connection Script here, searching for modems Jan 1 00:11:32 Pineapple user.notice usb-modeswitch: 1-1:1.0: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=? Jan 1 00:11:32 Pineapple user.notice 3g-hotplug: Starting interface wan2 for device ttyUSB0 Jan 1 00:11:32 Pineapple user.notice usb-modeswitch: 1-1:1.1: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=? Jan 1 00:11:33 Pineapple user.notice usb-modeswitch: 1-1:1.2: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=? Jan 1 00:11:33 Pineapple user.notice usb-modeswitch: 1-1:1.3: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=? Jan 1 00:11:34 Pineapple user.notice usb-modeswitch: 1-1:1.4: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=? Jan 1 00:11:34 Pineapple kern.notice kernel: [ 694.180000] scsi 32:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2 Jan 1 00:11:34 Pineapple kern.notice kernel: [ 694.190000] scsi 32:0:0:0: Attached scsi generic sg0 type 5 Jan 1 00:11:34 Pineapple kern.notice kernel: [ 694.200000] scsi 33:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2 Jan 1 00:11:34 Pineapple kern.notice kernel: [ 694.200000] sd 33:0:0:0: Attached scsi generic sg1 type 0 Jan 1 00:11:34 Pineapple kern.notice kernel: [ 694.220000] sd 33:0:0:0: [sda] Attached SCSI removable disk Jan 1 00:11:36 Pineapple daemon.notice pppd[4629]: pppd 2.4.5 started by root, uid 0 Jan 1 00:11:37 Pineapple local2.info chat[4634]: abort on (BUSY) Jan 1 00:11:37 Pineapple local2.info chat[4634]: abort on (NO CARRIER) Jan 1 00:11:37 Pineapple local2.info chat[4634]: abort on (ERROR) Jan 1 00:11:37 Pineapple local2.info chat[4634]: report (CONNECT) Jan 1 00:11:37 Pineapple local2.info chat[4634]: timeout set to 10 seconds Jan 1 00:11:37 Pineapple local2.info chat[4634]: send (AT&F^M) Jan 1 00:11:37 Pineapple local2.info chat[4634]: expect (OK) Jan 1 00:11:39 Pineapple local2.info chat[4634]: ^M Jan 1 00:11:39 Pineapple local2.info chat[4634]: ^STIN: 0, 0, 0^M Jan 1 00:11:39 Pineapple local2.info chat[4634]: AT&F^M^M Jan 1 00:11:39 Pineapple local2.info chat[4634]: OK Jan 1 00:11:39 Pineapple local2.info chat[4634]: -- got it Jan 1 00:11:39 Pineapple local2.info chat[4634]: send (ATE1^M) Jan 1 00:11:39 Pineapple local2.info chat[4634]: expect (OK) Jan 1 00:11:39 Pineapple local2.info chat[4634]: ^M Jan 1 00:11:39 Pineapple local2.info chat[4634]: ATE1^M^M Jan 1 00:11:39 Pineapple local2.info chat[4634]: OK Jan 1 00:11:39 Pineapple local2.info chat[4634]: -- got it Jan 1 00:11:39 Pineapple local2.info chat[4634]: send (AT+CGDCONT=1,"IP","internet.movistar.com.co"^M) Jan 1 00:11:39 Pineapple local2.info chat[4634]: timeout set to 30 seconds Jan 1 00:11:39 Pineapple local2.info chat[4634]: expect (OK) Jan 1 00:11:39 Pineapple local2.info chat[4634]: ^M Jan 1 00:11:39 Pineapple local2.info chat[4634]: AT+CGDCONT=1,"IP","i^M Jan 1 00:11:39 Pineapple local2.info chat[4634]: ^STIN: 99, 0, 0^M Jan 1 00:11:40 Pineapple local2.info chat[4634]: nternet.movistar.com.co"^M^M Jan 1 00:11:40 Pineapple local2.info chat[4634]: OK Jan 1 00:11:40 Pineapple local2.info chat[4634]: -- got it Jan 1 00:11:40 Pineapple local2.info chat[4634]: send (ATD*99***1#^M) Jan 1 00:11:40 Pineapple local2.info chat[4634]: expect (CONNECT) Jan 1 00:11:40 Pineapple local2.info chat[4634]: ^M Jan 1 00:11:40 Pineapple local2.info chat[4634]: ATD*99***1#^M^M Jan 1 00:11:40 Pineapple local2.info chat[4634]: CONNECT Jan 1 00:11:40 Pineapple local2.info chat[4634]: -- got it Jan 1 00:11:40 Pineapple local2.info chat[4634]: send ( ^M) Jan 1 00:11:40 Pineapple daemon.info pppd[4629]: Serial connection established. Jan 1 00:11:40 Pineapple daemon.info pppd[4629]: Using interface 3g-wan2 Jan 1 00:11:40 Pineapple daemon.notice pppd[4629]: Connect: 3g-wan2 <--> /dev/ttyUSB0 Jan 1 00:11:41 Pineapple daemon.info pppd[4629]: CHAP authentication succeeded: Welcome!! Jan 1 00:11:41 Pineapple daemon.notice pppd[4629]: CHAP authentication succeeded Jan 1 00:11:44 Pineapple kern.info kernel: [ 704.920000] usb 1-1: USB disconnect, device number 27 Jan 1 00:11:44 Pineapple daemon.info pppd[4629]: Hangup (SIGHUP) Jan 1 00:11:44 Pineapple daemon.notice pppd[4629]: Modem hangup Jan 1 00:11:44 Pineapple daemon.notice pppd[4629]: Connection terminated. Jan 1 00:11:45 Pineapple kern.info kernel: [ 704.920000] generic ttyUSB0: generic converter now disconnected from ttyUSB0 Jan 1 00:11:45 Pineapple kern.info kernel: [ 704.930000] usbserial_generic 1-1:1.0: device disconnected Jan 1 00:11:45 Pineapple kern.info kernel: [ 704.940000] generic ttyUSB1: generic converter now disconnected from ttyUSB1 Jan 1 00:11:45 Pineapple kern.info kernel: [ 704.940000] usbserial_generic 1-1:1.1: device disconnected Jan 1 00:11:45 Pineapple kern.info kernel: [ 704.950000] generic ttyUSB2: generic converter now disconnected from ttyUSB2 Jan 1 00:11:45 Pineapple kern.info kernel: [ 704.950000] usbserial_generic 1-1:1.2: device disconnected Jan 1 00:11:45 Pineapple user.notice 3g-hotplug: Stopping interface wan2 for device ttyUSB0 Jan 1 00:11:45 Pineapple daemon.info pppd[4629]: Terminating on signal 15 Jan 1 00:11:45 Pineapple daemon.info pppd[4629]: Exit. Jan 1 00:11:45 Pineapple kern.info kernel: [ 705.270000] usb 1-1: new high-speed USB device number 28 using ath79-ehci Jan 1 00:11:45 Pineapple kern.err kernel: [ 705.430000] hub 1-0:1.0: unable to enumerate USB device on port 1 Jan 1 00:11:53 Pineapple user.notice root: 3G: firewall stopped Has anyone had this problem?
  20. I use this script to my modem Huawei E173s-6 *12d1:1c05*) echo "Huawei E173s-6 detected. Attempting mode switch" uci delete network.wan2 uci set network.wan2=interface uci set network.wan2.ifname=ppp0 uci set network.wan2.proto=3g uci set network.wan2.service=umts uci set network.wan2.device=/dev/ttyUSB0 uci set network.wan2.apn=internet.movistar.com.co uci set network.wan2.username=movistar uci set network.wan2.password=movistar uci set network.wan2.defaultroute=1 uci commit network sleep 10; rmmod usbserial sleep 3; insmod usbserial vendor=0x12d1 product=0x1c05 sleep 5; /etc/init.d/firewall disable; /etc/init.d/firewall stop logger "3G: firewall stopped" iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o 3g-wan2 -j MASQUERADE iptables -A FORWARD -s 172.16.42.0/24 -o 3g-wan2 -j ACCEPT iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i 3g-wan2 -j ACCEPT ;; apparently all goes well, the connection is successful but then the modem disconnects and shutdown Jan 1 00:11:29 Pineapple user.notice root: 3G: Connection Script here, searching for modems Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.110000] usb 1-1: new high-speed USB device number 27 using ath79-ehci Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.600000] usbserial_generic 1-1:1.0: generic converter detected Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.610000] usb 1-1: generic converter now attached to ttyUSB0 Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.610000] usbserial_generic 1-1:1.1: generic converter detected Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.620000] usb 1-1: generic converter now attached to ttyUSB1 Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.620000] usbserial_generic 1-1:1.2: generic converter detected Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.630000] usb 1-1: generic converter now attached to ttyUSB2 Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.640000] scsi32 : usb-storage 1-1:1.3 Jan 1 00:11:31 Pineapple kern.info kernel: [ 691.650000] scsi33 : usb-storage 1-1:1.4 Jan 1 00:11:31 Pineapple syslog.notice usb_modeswitch: switched to 12d1:1c05 on 001/026 Jan 1 00:11:31 Pineapple user.notice usb-modeswitch: 1-1:1.1: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=? Jan 1 00:11:32 Pineapple user.notice root: 3G: Connection Script here, searching for modems Jan 1 00:11:32 Pineapple user.notice usb-modeswitch: 1-1:1.0: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=? Jan 1 00:11:32 Pineapple user.notice 3g-hotplug: Starting interface wan2 for device ttyUSB0 Jan 1 00:11:32 Pineapple user.notice usb-modeswitch: 1-1:1.1: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=? Jan 1 00:11:33 Pineapple user.notice usb-modeswitch: 1-1:1.2: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=? Jan 1 00:11:33 Pineapple user.notice usb-modeswitch: 1-1:1.3: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=? Jan 1 00:11:34 Pineapple user.notice usb-modeswitch: 1-1:1.4: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=? Jan 1 00:11:34 Pineapple kern.notice kernel: [ 694.180000] scsi 32:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2 Jan 1 00:11:34 Pineapple kern.notice kernel: [ 694.190000] scsi 32:0:0:0: Attached scsi generic sg0 type 5 Jan 1 00:11:34 Pineapple kern.notice kernel: [ 694.200000] scsi 33:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2 Jan 1 00:11:34 Pineapple kern.notice kernel: [ 694.200000] sd 33:0:0:0: Attached scsi generic sg1 type 0 Jan 1 00:11:34 Pineapple kern.notice kernel: [ 694.220000] sd 33:0:0:0: [sda] Attached SCSI removable disk Jan 1 00:11:36 Pineapple daemon.notice pppd[4629]: pppd 2.4.5 started by root, uid 0 Jan 1 00:11:37 Pineapple local2.info chat[4634]: abort on (BUSY) Jan 1 00:11:37 Pineapple local2.info chat[4634]: abort on (NO CARRIER) Jan 1 00:11:37 Pineapple local2.info chat[4634]: abort on (ERROR) Jan 1 00:11:37 Pineapple local2.info chat[4634]: report (CONNECT) Jan 1 00:11:37 Pineapple local2.info chat[4634]: timeout set to 10 seconds Jan 1 00:11:37 Pineapple local2.info chat[4634]: send (AT&F^M) Jan 1 00:11:37 Pineapple local2.info chat[4634]: expect (OK) Jan 1 00:11:39 Pineapple local2.info chat[4634]: ^M Jan 1 00:11:39 Pineapple local2.info chat[4634]: ^STIN: 0, 0, 0^M Jan 1 00:11:39 Pineapple local2.info chat[4634]: AT&F^M^M Jan 1 00:11:39 Pineapple local2.info chat[4634]: OK Jan 1 00:11:39 Pineapple local2.info chat[4634]: -- got it Jan 1 00:11:39 Pineapple local2.info chat[4634]: send (ATE1^M) Jan 1 00:11:39 Pineapple local2.info chat[4634]: expect (OK) Jan 1 00:11:39 Pineapple local2.info chat[4634]: ^M Jan 1 00:11:39 Pineapple local2.info chat[4634]: ATE1^M^M Jan 1 00:11:39 Pineapple local2.info chat[4634]: OK Jan 1 00:11:39 Pineapple local2.info chat[4634]: -- got it Jan 1 00:11:39 Pineapple local2.info chat[4634]: send (AT+CGDCONT=1,"IP","internet.movistar.com.co"^M) Jan 1 00:11:39 Pineapple local2.info chat[4634]: timeout set to 30 seconds Jan 1 00:11:39 Pineapple local2.info chat[4634]: expect (OK) Jan 1 00:11:39 Pineapple local2.info chat[4634]: ^M Jan 1 00:11:39 Pineapple local2.info chat[4634]: AT+CGDCONT=1,"IP","i^M Jan 1 00:11:39 Pineapple local2.info chat[4634]: ^STIN: 99, 0, 0^M Jan 1 00:11:40 Pineapple local2.info chat[4634]: nternet.movistar.com.co"^M^M Jan 1 00:11:40 Pineapple local2.info chat[4634]: OK Jan 1 00:11:40 Pineapple local2.info chat[4634]: -- got it Jan 1 00:11:40 Pineapple local2.info chat[4634]: send (ATD*99***1#^M) Jan 1 00:11:40 Pineapple local2.info chat[4634]: expect (CONNECT) Jan 1 00:11:40 Pineapple local2.info chat[4634]: ^M Jan 1 00:11:40 Pineapple local2.info chat[4634]: ATD*99***1#^M^M Jan 1 00:11:40 Pineapple local2.info chat[4634]: CONNECT Jan 1 00:11:40 Pineapple local2.info chat[4634]: -- got it Jan 1 00:11:40 Pineapple local2.info chat[4634]: send ( ^M) Jan 1 00:11:40 Pineapple daemon.info pppd[4629]: Serial connection established. Jan 1 00:11:40 Pineapple daemon.info pppd[4629]: Using interface 3g-wan2 Jan 1 00:11:40 Pineapple daemon.notice pppd[4629]: Connect: 3g-wan2 <--> /dev/ttyUSB0 Jan 1 00:11:41 Pineapple daemon.info pppd[4629]: CHAP authentication succeeded: Welcome!! Jan 1 00:11:41 Pineapple daemon.notice pppd[4629]: CHAP authentication succeeded Jan 1 00:11:44 Pineapple kern.info kernel: [ 704.920000] usb 1-1: USB disconnect, device number 27 Jan 1 00:11:44 Pineapple daemon.info pppd[4629]: Hangup (SIGHUP) Jan 1 00:11:44 Pineapple daemon.notice pppd[4629]: Modem hangup Jan 1 00:11:44 Pineapple daemon.notice pppd[4629]: Connection terminated. Jan 1 00:11:45 Pineapple kern.info kernel: [ 704.920000] generic ttyUSB0: generic converter now disconnected from ttyUSB0 Jan 1 00:11:45 Pineapple kern.info kernel: [ 704.930000] usbserial_generic 1-1:1.0: device disconnected Jan 1 00:11:45 Pineapple kern.info kernel: [ 704.940000] generic ttyUSB1: generic converter now disconnected from ttyUSB1 Jan 1 00:11:45 Pineapple kern.info kernel: [ 704.940000] usbserial_generic 1-1:1.1: device disconnected Jan 1 00:11:45 Pineapple kern.info kernel: [ 704.950000] generic ttyUSB2: generic converter now disconnected from ttyUSB2 Jan 1 00:11:45 Pineapple kern.info kernel: [ 704.950000] usbserial_generic 1-1:1.2: device disconnected Jan 1 00:11:45 Pineapple user.notice 3g-hotplug: Stopping interface wan2 for device ttyUSB0 Jan 1 00:11:45 Pineapple daemon.info pppd[4629]: Terminating on signal 15 Jan 1 00:11:45 Pineapple daemon.info pppd[4629]: Exit. Jan 1 00:11:45 Pineapple kern.info kernel: [ 705.270000] usb 1-1: new high-speed USB device number 28 using ath79-ehci Jan 1 00:11:45 Pineapple kern.err kernel: [ 705.430000] hub 1-0:1.0: unable to enumerate USB device on port 1 Jan 1 00:11:53 Pineapple user.notice root: 3G: firewall stopped Has anyone had this problem?
×
×
  • Create New...