?>/script>'; } ?> [Tutorial] OpenWrt y USB 3G Widgets Magazine

Autor Tema: [Tutorial] OpenWrt y USB 3G  (Leído 123097 veces)

0 Usuarios y 2 Visitantes están viendo este tema.

ZakSpeed

  • Visitante
Re:[Tutorial] OpenWrt y USB 3G
« Respuesta #160 en: 05-02-2019, 13:55 (Martes) »

Lo tengo en "wan"




root@LEDE:~# comgt
Trying list of devices
SIM ready
Waiting for Registration..(120 sec max)
Registered on Home network: "vodafone ES",2
Signal Quality: 16,99

root@LEDE:~# logread
Tue Feb  5 12:50:25 2019 daemon.notice netifd: Interface '3G_K3772' is now down
Tue Feb  5 12:50:25 2019 daemon.notice netifd: Interface '3G_K3772' is setting up now
Tue Feb  5 12:50:25 2019 daemon.notice pppd[3789]: pppd 2.4.7 started by root, uid 0
Tue Feb  5 12:50:26 2019 local2.info chat[3792]: abort on (BUSY)
Tue Feb  5 12:50:26 2019 local2.info chat[3792]: abort on (NO CARRIER)
Tue Feb  5 12:50:26 2019 local2.info chat[3792]: abort on (ERROR)
Tue Feb  5 12:50:26 2019 local2.info chat[3792]: abort on (NO DIAL TONE)
Tue Feb  5 12:50:26 2019 local2.info chat[3792]: abort on (NO ANSWER)
Tue Feb  5 12:50:26 2019 local2.info chat[3792]: abort on (DELAYED)
Tue Feb  5 12:50:26 2019 local2.info chat[3792]: report (CONNECT)
Tue Feb  5 12:50:26 2019 local2.info chat[3792]: timeout set to 10 seconds
Tue Feb  5 12:50:26 2019 local2.info chat[3792]: send (AT^M)
Tue Feb  5 12:50:26 2019 local2.info chat[3792]: expect (OK)
Tue Feb  5 12:50:36 2019 local2.info chat[3792]: alarm
Tue Feb  5 12:50:36 2019 local2.info chat[3792]: Failed
Tue Feb  5 12:50:36 2019 daemon.err pppd[3789]: Connect script failed
Tue Feb  5 12:50:37 2019 daemon.info pppd[3789]: Exit.
Tue Feb  5 12:50:37 2019 daemon.notice netifd: Interface '3G_K3772' is now down
Tue Feb  5 12:50:37 2019 daemon.notice netifd: Interface '3G_K3772' is setting up now
Tue Feb  5 12:50:38 2019 daemon.notice pppd[3812]: pppd 2.4.7 started by root, uid 0
Tue Feb  5 12:50:39 2019 local2.info chat[3814]: abort on (BUSY)
Tue Feb  5 12:50:39 2019 local2.info chat[3814]: abort on (NO CARRIER)
Tue Feb  5 12:50:39 2019 local2.info chat[3814]: abort on (ERROR)
Tue Feb  5 12:50:39 2019 local2.info chat[3814]: abort on (NO DIAL TONE)
Tue Feb  5 12:50:39 2019 local2.info chat[3814]: abort on (NO ANSWER)
Tue Feb  5 12:50:39 2019 local2.info chat[3814]: abort on (DELAYED)
Tue Feb  5 12:50:39 2019 local2.info chat[3814]: report (CONNECT)
Tue Feb  5 12:50:39 2019 local2.info chat[3814]: timeout set to 10 seconds
Tue Feb  5 12:50:39 2019 local2.info chat[3814]: send (AT^M)
Tue Feb  5 12:50:39 2019 local2.info chat[3814]: expect (OK)
....
Tue Feb  5 13:28:02 2019 daemon.warn pppd[3969]: Child process USE_APN=ac.vodafone.es DIALNUMBER=*99***1# /usr/sbin/chat -t5 -v -E -f /etc/chatscripts/3g.chat (pid 3970) terminated with signal 15
Tue Feb  5 13:28:02 2019 daemon.err pppd[3969]: Connect script failed
Tue Feb  5 13:28:03 2019 daemon.info pppd[3969]: Exit.

"dmesg"
Código: [Seleccionar]
[    0.000000] Linux version 4.4.153 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3103-1b51a49) ) #0 Thu Aug 30 12:10:54 2018
[    0.000000] Detected Broadcom 0x6358 CPU revision a1
[    0.000000] CPU frequency is 300 MHz
[    0.000000] 64MB of RAM installed
[    0.000000] board_bcm963xx: Boot address 0xbe000000
[    0.000000] board_bcm963xx: CFE version: d081.5003
[    0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected 33303639, got 7e6e69cf)
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[    0.000000] board: board name: HW556_B
[    0.000000] MIPS: machine is Huawei EchoLife HG556a (version B)
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 803ac530, node_mem_map 81004280
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 59512K/65536K available (3156K kernel code, 153K rwdata, 504K rodata, 1300K init, 198K bss, 6024K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.000024] sched_clock: 32 bits at 150MHz, resolution 6ns, wraps every 14316557820ns
[    0.008155] Calibrating delay loop... 297.98 BogoMIPS (lpj=595968)
[    0.046958] pid_max: default: 32768 minimum: 301
[    0.052104] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.058968] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.077794] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.087924] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.097873] NET: Registered protocol family 16
[    0.111908] Can't analyze schedule() prologue at 80016d88
[    0.134963] registering PCI controller with io_map_base unset
[    0.140934] registering PCI controller with io_map_base unset
[    0.179809] PCI host bridge to bus 0000:00
[    0.184105] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[    0.191236] pci_bus 0000:00: root bus resource [io  0x8000000-0x8007fff]
[    0.198214] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.205244] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.213525] pci 0000:00:01.0: [168c:ff1d] type 00 class 0x020000
[    0.214664] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[    0.221579] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.221672] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x3000ffff]
[    0.229601] PCI host bridge to bus 0000:01
[    0.233887] pci_bus 0000:01: root bus resource [mem 0x38000000-0x3fffffff]
[    0.241011] pci_bus 0000:01: root bus resource [io  0x8008000-0x800ffff]
[    0.247955] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[    0.254985] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.263298] pci 0000:01:1e.0: [14e4:6358] type 02 class 0x060700
[    0.263903] pci 0000:01:1e.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.272630] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
[    0.272705] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 05
[    0.272801] pci 0000:01:1e.0: BAR 10: assigned [mem 0x38000000-0x3fffffff]
[    0.279965] pci 0000:01:1e.0: BAR 7: assigned [io  0x8008000-0x80080ff]
[    0.286827] pci 0000:01:1e.0: BAR 8: assigned [io  0x8008400-0x80084ff]
[    0.293683] pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
[    0.299457] pci 0000:01:1e.0:   bridge window [io  0x8008000-0x80080ff]
[    0.306313] pci 0000:01:1e.0:   bridge window [io  0x8008400-0x80084ff]
[    0.313168] pci 0000:01:1e.0:   bridge window [mem 0x38000000-0x3fffffff]
[    0.322538] clocksource: Switched to clocksource MIPS
[    0.332016] NET: Registered protocol family 2
[    0.339220] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.346620] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.353296] TCP: Hash tables configured (established 1024 bind 1024)
[    0.360393] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.366634] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.373804] NET: Registered protocol family 1
[    0.378465] pci 0000:00:01.0: fixup device configuration
[    0.387463] PCI: CLS 0 bytes, default 16
[    0.410284] Crashlog allocated RAM at address 0x3f00000
[    0.476945] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.483030] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.503285] io scheduler noop registered
[    0.507391] io scheduler deadline registered (default)
[    0.515554] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10, base_baud = 1562500) is a bcm63xx_uart
[    0.525278] console [ttyS0] enabled
[    0.532484] bootconsole [early0] disabled
[    0.543346] 1e000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[    0.553775] 1e000000.nor: Found an alias at 0x1000000 for the chip at 0x0
[    0.553835] Amd/Fujitsu Extended Query Table at 0x0040
[    0.559186]   Amd/Fujitsu Extended Query version 1.3.
[    0.564432] number of CFI chips: 1
[    0.578143] bcm63xxpart: CFE boot tag found with version 8 and board type HW556
[    0.585841] 6 bcm63xxpart partitions found on MTD device 1e000000.nor
[    0.592541] Creating 6 MTD partitions on "1e000000.nor":
[    0.598058] 0x000000000000-0x000000020000 : "CFE"
[    0.607386] 0x000000020100-0x0000001590c4 : "kernel"
[    0.618190] 0x0000001590c4-0x000000ee0000 : "rootfs"
[    0.628998] mtd: device 2 (rootfs) set to be root filesystem
[    0.634951] 1 squashfs-split partitions found on MTD device rootfs
[    0.641374] 0x0000003a0000-0x000000ee0000 : "rootfs_data"
[    0.652577] 0x000000020000-0x000000ee0000 : "linux"
[    0.663453] 0x000000ee0000-0x000000fe0000 : "cal_data"
[    0.674635] 0x000000fe0000-0x000001000000 : "nvram"
[    0.690463] bcm63xx-spi bcm6358-spi: at [mem 0xfffe0800-0xfffe0f0b flags 0x200] (irq 9, FIFOs size 542)
[    0.713896] libphy: bcm63xx_enet MII bus: probed
[    0.785421] b53_common: found switch: BCM5325, rev 0
[    0.790645] bcm63xx_enet bcm63xx_enet.1: attached PHY at address 0 [Broadcom B53 (1)]
[    0.801309] bcm63xx-wdt bcm63xx-wdt:  started, timer margin: 30 sec
[    0.816732] NET: Registered protocol family 10
[    0.843806] NET: Registered protocol family 17
[    0.848644] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    0.861699] 8021q: 802.1Q VLAN Support v1.8
[    0.880975] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    0.906966] Freeing unused kernel memory: 1300K
[    2.543714] init: Console is alive
[    2.547810] init: - watchdog -
[    4.359580] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.522996] usbcore: registered new interface driver usbfs
[    4.528999] usbcore: registered new interface driver hub
[    4.534901] usbcore: registered new device driver usb
[    4.557572] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.567331] ehci-platform: EHCI generic platform driver
[    4.573070] ehci-platform ehci-platform: EHCI Host Controller
[    4.579152] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.587862] ehci-platform ehci-platform: irq 18, io mem 0xfffe1300
[    4.602631] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[    4.613874] hub 1-0:1.0: USB hub found
[    4.618978] hub 1-0:1.0: 2 ports detected
[    4.631494] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.641306] ohci-platform: OHCI generic platform driver
[    4.647029] ohci-platform ohci-platform: Generic Platform OHCI controller
[    4.654187] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[    4.662705] ohci-platform ohci-platform: irq 13, io mem 0xfffe1400
[    4.729780] hub 2-0:1.0: USB hub found
[    4.734962] hub 2-0:1.0: 2 ports detected
[    4.741684] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.760016] init: - preinit -
[    5.221390] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    5.361647] random: procd: uninitialized urandom read (4 bytes read, 20 bits of entropy available)
[    5.372104] hub 1-1:1.0: USB hub found
[    5.382687] hub 1-1:1.0: 2 ports detected
[    5.614803] usb 1-2: new high-speed USB device number 3 using ehci-platform
[    5.880171] random: jshn: uninitialized urandom read (4 bytes read, 23 bits of entropy available)
[    6.007700] random: jshn: uninitialized urandom read (4 bytes read, 24 bits of entropy available)
[    6.394439] random: jshn: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
[    6.508998] random: jshn: uninitialized urandom read (4 bytes read, 26 bits of entropy available)
[    6.717843] random: jshn: uninitialized urandom read (4 bytes read, 26 bits of entropy available)
[    7.502316] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.508612] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[    9.274629] eth0: link UP - 100/full - flow control off
[    9.280066] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.287527] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   11.255227] jffs2: notice: (376) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   11.275186] mount_root: switching to jffs2 overlay
[   11.297084] urandom-seed: Seeding with /etc/urandom.seed
[   11.537532] procd: - early -
[   11.540901] procd: - watchdog -
[   12.278674] eth0: link DOWN
[   12.304718] random: jshn: uninitialized urandom read (4 bytes read, 50 bits of entropy available)
[   12.470107] procd: - watchdog -
[   12.479682] procd: - ubus -
[   12.693418] random: jshn: uninitialized urandom read (4 bytes read, 52 bits of entropy available)
[   13.046964] random: ubusd: uninitialized urandom read (4 bytes read, 53 bits of entropy available)
[   13.276381] random: jshn: uninitialized urandom read (4 bytes read, 54 bits of entropy available)
[   13.314341] procd: - init -
[   15.036000] kmodloader: loading kernel modules from /etc/modules.d/*
[   15.074414] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.165378] uhci_hcd: USB Universal Host Controller Interface driver
[   15.195600] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[   15.203949] Backport generated by backports.git backports-20160324-13-g24da7d3c
[   15.219374] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.245940] nf_conntrack version 0.5.0 (950 buckets, 3800 max)
[   15.314424] usbcore: registered new interface driver usbserial
[   15.320892] usbcore: registered new interface driver usbserial_generic
[   15.328026] usbserial: USB Serial support registered for generic
[   15.378076] xt_time: kernel timezone is -0000
[   15.530388] PPP generic driver version 2.4.2
[   15.541416] NET: Registered protocol family 24
[   15.635188] usbcore: registered new interface driver option
[   15.641338] usbserial: USB Serial support registered for GSM modem (1-port)
[   15.649761] option 1-2:1.0: GSM modem (1-port) converter detected
[   15.657042] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
[   15.664863] option 1-2:1.2: GSM modem (1-port) converter detected
[   15.672196] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB1
[   15.679563] option 1-2:1.3: GSM modem (1-port) converter detected
[   15.686922] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB2
[   15.824818] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[   15.842112] ath: EEPROM regdomain: 0x0
[   15.842156] ath: EEPROM indicates default country code should be used
[   15.842180] ath: doing EEPROM country->regdmn map search
[   15.842220] ath: country maps to regdmn code: 0x3a
[   15.842244] ath: Country alpha2 being used: US
[   15.842266] ath: Regpair used: 0x3a
[   15.863807] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   15.883156] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xc0480000, irq=39
[   15.983266] kmodloader: done loading kernel modules from /etc/modules.d/*
[   31.866689] random: nonblocking pool is initialized
[   33.571284] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   33.607171] device eth0.1 entered promiscuous mode
[   33.612174] device eth0 entered promiscuous mode
[   33.638221] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   34.750696] eth0: link UP - 100/full - flow control off
[   34.770744] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   34.798808] br-lan: port 1(eth0.1) entered forwarding state
[   34.804721] br-lan: port 1(eth0.1) entered forwarding state
[   34.862707] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   36.806633] br-lan: port 1(eth0.1) entered forwarding state
[   40.495000] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
[   40.639972] device wlan0-1 entered promiscuous mode
[   41.084249] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   42.617746] wlan0: authenticate with a0:e4:53:77:f5:2a
[   42.641604] wlan0: send auth to a0:e4:53:77:f5:2a (try 1/3)
[   42.651926] wlan0: authenticated
[   42.658992] wlan0: associate with a0:e4:53:77:f5:2a (try 1/3)
[   42.678629] wlan0: RX AssocResp from a0:e4:53:77:f5:2a (capab=0x431 status=0 aid=4)
[   42.687150] wlan0: associated
[   42.690674] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   42.741752] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[   42.749022] br-lan: port 2(wlan0-1) entered forwarding state
[   42.755040] br-lan: port 2(wlan0-1) entered forwarding state
[   44.758637] br-lan: port 2(wlan0-1) entered forwarding state
[  156.970862] device wlan0-1 left promiscuous mode
[  156.975973] br-lan: port 2(wlan0-1) entered disabled state
[  157.542087] wlan0: deauthenticating from a0:e4:53:77:f5:2a by local choice (Reason: 3=DEAUTH_LEAVING)
[  159.343199] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  161.779690] wlan0: authenticate with a0:e4:53:77:f5:2a
[  161.803830] wlan0: send auth to a0:e4:53:77:f5:2a (try 1/3)
[  161.827356] wlan0: authenticated
[  161.910524] wlan0: associate with a0:e4:53:77:f5:2a (try 1/3)
[  161.928391] wlan0: RX AssocResp from a0:e4:53:77:f5:2a (capab=0x431 status=0 aid=5)
[  161.937030] wlan0: associated
[  161.940592] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  799.663295] wlan0: deauthenticating from a0:e4:53:77:f5:2a by local choice (Reason: 3=DEAUTH_LEAVING)
[ 1055.777882] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1058.016800] wlan0: authenticate with a0:e4:53:77:f5:2a
[ 1058.041029] wlan0: send auth to a0:e4:53:77:f5:2a (try 1/3)
[ 1058.053096] wlan0: authenticated
[ 1058.059559] wlan0: associate with a0:e4:53:77:f5:2a (try 1/3)
[ 1058.074342] wlan0: RX AssocResp from a0:e4:53:77:f5:2a (capab=0x431 status=0 aid=6)
[ 1058.083274] wlan0: associated
[ 1058.091855] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1144.513854] wlan0: deauthenticating from a0:e4:53:77:f5:2a by local choice (Reason: 3=DEAUTH_LEAVING)
[ 1147.152114] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1150.107054] wlan0: authenticate with a0:e4:53:77:f5:2a
[ 1150.130943] wlan0: send auth to a0:e4:53:77:f5:2a (try 1/3)
[ 1150.150960] wlan0: authenticated
[ 1150.254488] wlan0: associate with a0:e4:53:77:f5:2a (try 1/3)
[ 1150.274719] wlan0: RX AssocResp from a0:e4:53:77:f5:2a (capab=0x431 status=0 aid=7)
[ 1150.283373] wlan0: associated
[ 1150.286823] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready


*Será que al coger conexion de mi movil personal (compartir wifi con el movil)
*Será que el K3772 es muy antiguo
« Última modificación: 05-02-2019, 14:45 (Martes) por ZakSpeed »

Predator64

  • Visitante
Re:[Tutorial] OpenWrt y USB 3G
« Respuesta #161 en: 28-03-2019, 18:07 (Jueves) »
Muy buenas, estoy peleándome con un router Comtrend AR-5387un. Le he metido OpenWRT y muy contento, me parece una pasada la de posibilidades que tiene.

La cosa es que he tratado de pincharle un dongle 3G y no me funciona. He seguido el tutorial en dos ocasiones (le tenía un puesto un firmware más viejuno y he aprovechado y le he flasheado otro más nuevo), he instalado todo lo necesario, añado la interfaz y tal...

Pero una vez creada, me aparece este mensaje: Error: Network device is not present. He de decir que a la hora de meter el "modem device", en el desplegable solo me sale "ttyS0", que ya se ha comentado en el hilo que no es el correcto. He probado a meter a mano ttyUSB0 y sucesivos y nada, pero me da que hay algo raro, ya que en la carpeta /dev no aparece ninguno siquiera.

En el dmesg me muestra esto:

usbserial: USB Serial support registered for generic
usbserial: USB Serial support registered for GSM modem (1-port)

Y ahí se queda, no me sale nada de esto:
usb 1-1: generic converter now attached to ttyUSB0

Googleando he encontrado gente con problemas similares en Debian y parece que el problema es que no se crean los susodichos /dev/ttyUSBx. La cosa es que no sé muy bien por donde tirar, no sé qué tiene exactamente la culpa de que pase esto. ¿Alguna sugerencia?

La versión que tengo instalada es esta: OpenWrt 18.06.2 r7676-cddd7b4c77
Y el dongle que tengo es este: Huawei E3531i-2

Un saludo y gracias.

Desconectado Tki2000

  • Moderador
  • *
  • Mensajes: 2247
Re:[Tutorial] OpenWrt y USB 3G
« Respuesta #162 en: 28-03-2019, 23:48 (Jueves) »
Muy buenas, estoy peleándome con un router Comtrend AR-5387un. Le he metido OpenWRT y muy contento, me parece una pasada la de posibilidades que tiene.

La cosa es que he tratado de pincharle un dongle 3G y no me funciona. He seguido el tutorial en dos ocasiones (le tenía un puesto un firmware más viejuno y he aprovechado y le he flasheado otro más nuevo), he instalado todo lo necesario, añado la interfaz y tal...

Pero una vez creada, me aparece este mensaje: Error: Network device is not present. He de decir que a la hora de meter el "modem device", en el desplegable solo me sale "ttyS0", que ya se ha comentado en el hilo que no es el correcto. He probado a meter a mano ttyUSB0 y sucesivos y nada, pero me da que hay algo raro, ya que en la carpeta /dev no aparece ninguno siquiera.

En el dmesg me muestra esto:

usbserial: USB Serial support registered for generic
usbserial: USB Serial support registered for GSM modem (1-port)

Y ahí se queda, no me sale nada de esto:
usb 1-1: generic converter now attached to ttyUSB0

Googleando he encontrado gente con problemas similares en Debian y parece que el problema es que no se crean los susodichos /dev/ttyUSBx. La cosa es que no sé muy bien por donde tirar, no sé qué tiene exactamente la culpa de que pase esto. ¿Alguna sugerencia?

La versión que tengo instalada es esta: OpenWrt 18.06.2 r7676-cddd7b4c77
Y el dongle que tengo es este: Huawei E3531i-2

Un saludo y gracias.

Ese módem no es un módem serie, es un hilink. Los drivers no son los serie. Es una emulación de puerto ethernet.
Alguno de estos drivers debería funcionar:
Código: [Seleccionar]
kmod-usb-net-cdc-ether
kmod-usb-net-cdc-ncm
kmod-usb-net-huawei-cdc-ncm
kmod-usb-net-rndis
Y luego te debería aparecer una interfaz nueva que puede ser eth1 o similar. Define una interfaz lógica wan sobre la interfaz física nueva.
En algunos pinchos con ethernet, el pincho actúa como gateway, con una interfaz pública para el isp, y otra interna privada que se engancha al router. Es decir, el pincho en sí es un mini router. Lo malo de esto, es que impide que las conexiones externas entren, aunque esto depende del pincho. Los zte mf823 sí dejan pasar las conexiones, sin embargo, los huawei con hilink no suelen dejar pasar las conexiones.
« Última modificación: 28-03-2019, 23:53 (Jueves) por Tki2000 »

Predator64

  • Visitante
Re:[Tutorial] OpenWrt y USB 3G
« Respuesta #163 en: 08-04-2019, 16:33 (Lunes) »
Joder, muchas gracias crack. Pues menos mal que me ha dado por preguntar, porque sí que iba mal encaminado yo xD

Efectivamente, tras instalar los paquetes que comentas, me ha aparecido una nueva interfaz física, eth1. He definido una interfaz lógica (la he llamado "3g") sobre esta, la he metida en la misma zona del firewall que la interfaz wan... y funciona perfectamente.

¡Mil gracias!   ;D

Desconectado jaimebar

  • **
  • Mensajes: 3
Re:[Tutorial] OpenWrt y USB 3G
« Respuesta #164 en: 10-06-2020, 08:17 (Miércoles) »
Hola,

recientemente he descubierto OpenWrt y he conseguido instalarlo en este router en la version C.

Ahora estoy buscando como configurar el router 3G. He seguido 3 o 4 tutoriales y no me funciona. Se enciende una lucecita verde como buscando pero luego en la interfaz veo error de pin. Evidentemente el pin esta bien.

Con tantas paginas los tutoriales encontrados son muy antiguos y ya dudo de su validez hoy en dia.

¿Existe alguna manera de configurar el 3G/4G del USB mas reciente y que funcione?

Firmware Version
OpenWrt 18.06.8 r7989-82fbd85747 / LuCI openwrt-18.06 branch (git-20.029.49294-41e2258)

Kernel Version
4.9.214


Desconectado Tki2000

  • Moderador
  • *
  • Mensajes: 2247
Re:[Tutorial] OpenWrt y USB 3G
« Respuesta #165 en: 10-06-2020, 11:02 (Miércoles) »
Hola,

recientemente he descubierto OpenWrt y he conseguido instalarlo en este router en la version C.

Ahora estoy buscando como configurar el router 3G. He seguido 3 o 4 tutoriales y no me funciona. Se enciende una lucecita verde como buscando pero luego en la interfaz veo error de pin. Evidentemente el pin esta bien.

Con tantas paginas los tutoriales encontrados son muy antiguos y ya dudo de su validez hoy en dia.

¿Existe alguna manera de configurar el 3G/4G del USB mas reciente y que funcione?

Firmware Version
OpenWrt 18.06.8 r7989-82fbd85747 / LuCI openwrt-18.06 branch (git-20.029.49294-41e2258)

Kernel Version
4.9.214

Si vas a usar la SIM exclusivamente en el router, quítale el PIN. O por lo menos para probar que todo funciona bien. Luego si quieres se lo vuelves a poner, pero el PIN está más destinado a proteger el uso de la tarjeta en un teléfono móvil que cualquiera te pueda coger. Un pincho de un router es más difícil que te lo birlen, ¿no?

Revisa en los logs del router que el pincho se haya detectado bien. Revisa los drivers si los tienes instalados y bien. ¿Qué versión de pincho 3G tienes? Hay muchos y cada uno tiene un protocolo y drivers distintos. Si tienes un pincho con protocolo HiLink y estás haciendo el tutorial para los pinchos con puerto serie no te va a funcionar. Sin más datos no se te puede aconsejar bien.

Desconectado jaimebar

  • **
  • Mensajes: 3
Re:[Tutorial] OpenWrt y USB 3G
« Respuesta #166 en: 10-06-2020, 12:28 (Miércoles) »
Si vas a usar la SIM exclusivamente en el router, quítale el PIN. O por lo menos para probar que todo funciona bien. Luego si quieres se lo vuelves a poner, pero el PIN está más destinado a proteger el uso de la tarjeta en un teléfono móvil que cualquiera te pueda coger. Un pincho de un router es más difícil que te lo birlen, ¿no?

Revisa en los logs del router que el pincho se haya detectado bien. Revisa los drivers si los tienes instalados y bien. ¿Qué versión de pincho 3G tienes? Hay muchos y cada uno tiene un protocolo y drivers distintos. Si tienes un pincho con protocolo HiLink y estás haciendo el tutorial para los pinchos con puerto serie no te va a funcionar. Sin más datos no se te puede aconsejar bien.

Los datos de la parte posterior del pincho son:

Modelo: K3772
HSPA USB Stick

Segun un comentario tuyo tambien (https://foro.seguridadwireless.net/openwrt/(tutorial)-openwrt-y-usb-3g/msg366255/#msg366255) es un hlink.

¿Cuales son todos los modulos necesarios? ¿Algo especial a configurar ademas de la nueva interfaz con el APN?

Mil gracias!

Desconectado Tki2000

  • Moderador
  • *
  • Mensajes: 2247
Re:[Tutorial] OpenWrt y USB 3G
« Respuesta #167 en: 10-06-2020, 17:50 (Miércoles) »
Te he cambiado los posts de sitio ya que esto tiene más que ver con el hilo de 3G, que con el de desarrollo del hg556.

¿Has realizado los pasos que tú mismo indicas en el post que has enlazado?

No creo recordar que el K3772 fuera hilink. Te debería funcionar con la configuración de puerto serie del primer post.
« Última modificación: 10-06-2020, 18:01 (Miércoles) por Tki2000 »

Desconectado jaimebar

  • **
  • Mensajes: 3
Re:[Tutorial] OpenWrt y USB 3G
« Respuesta #168 en: 12-06-2020, 09:29 (Viernes) »
Creo que el primer problema que puedo tener es que el router USB no esta liberado.