Hirdetés

Keresés

Új hozzászólás Aktív témák

  • vargalex

    félisten

    válasz albinolynx #16815 üzenetére

    Beállíthatod wifi kliensként, de akár USB tethering-el is (azaz a telefont USB-n kötöd a routerre).

  • vargalex

    félisten

    válasz albinolynx #16813 üzenetére

    Több lehetőség is van:

    - nem fut a gépeden a tftp szerver
    - nem 192.168.0.11 a szerver IP címe
    - nem wdr3600v1_en_3_13_31_up(130320).bin a file neve
    - nem jó a hálózati kábel

  • vargalex

    félisten

    válasz albinolynx #16811 üzenetére

    Többször leírtuk és a wiki is felhívja a figyelmet, hogy ne erőszakoljunk fel bootloader-es firmware-t a routerre, mert akkor bootloop-ba kerül (nem tudja elindítani a kernelt a bootloader, hiszen a kernel helyén is egy bootloader van).

    Soros konzolon most már jó helyen vagy, ezt kell követned.

  • albinolynx

    senior tag

    válasz albinolynx #16810 üzenetére

    Autobooting in 1 seconds
    ## Booting image at 9f020000 ...
    Uncompressing Kernel Image ... Too big uncompressed streamLZMA ERROR 1 - must RESET board to recovertpl


    U-Boot 1.1.4 (Sep 9 2013 - 14:28:41)

    U-boot DB120


    DRAM: 128 MB
    id read 0x100000ff
    flash size 8MB, sector count = 128
    Flash: 8 MB
    Using default environment

    PCIe Reset OK!!!!!!
    In: serial
    Out: serial
    Err: serial
    Net: ag934x_enet_initialize...
    No valid address in Flash. Using fixed address
    wasp reset mask:c03300
    WASP ----> S17 PHY *
    : cfg1 0x7 cfg2 0x7114
    eth0: ba:be:fa:ce:08:41
    athrs17_reg_init: complete
    eth0 up
    eth0
    Autobooting in 1 seconds
    tpl
    db12x>

  • vargalex

    félisten

    válasz albinolynx #16799 üzenetére

    Ha már van SSH-d, akkor ennél szerintem egyszerűbb, ha letöltöd gépedre az aktuális stabil build-et (19.07, vagy 21.02-RC1), majd felmásolod a routerre SCP-n (pl. WinSCP-vel) a /tmp alá. Bejelentkezel a routerre SSH-n és kiadod a parancsot:

    sysupgrade -n /tmp/tplink_tl-wdr3600-v1-squashfs-sysupgrade.bin

    Így már egy LuCI-val is rendelkező, friss OpenWrt build lesz a routereden.

  • vargalex

    félisten

    válasz albinolynx #16797 üzenetére

    Van egyáltalán LuCI, illetve uhttpd telepítve (nem tudom, hogy milyen viedót néztél, de nem kell hozzá inkognitó mót)? SSH-n ellenőrizheted:

    opkg list_installed | grep "uhttpd\|luci"
    Ha van, akkor

    /etc/init.d/uhttpd start

    Szerk.: Ha jól látom, ez valami egyedi build (vagy akkori snapshot), így simán lehet, hogy nincs benne LuCI. Ugyanis a 15.05-ös CC az r46767 lenne, a tiéd régebbi (r44620). Ha van net magán a routeren, akkor ssh-n:

    opkg update
    opkg install luci
    /etc/init.d/uhttpd start

  • vargalex

    félisten

    válasz albinolynx #16795 üzenetére

    Milyen felületen kapod az access denied-et (ha SSH-n bejelentkezni sem tudsz)?

  • vargalex

    félisten

    válasz albinolynx #16792 üzenetére

    CC van rajta, így első induláskor csak telneten érhető el jelszó nélkül. Ott kell jelszót beállítani, majd mehet az SSH.

  • vargalex

    félisten

    válasz albinolynx #16789 üzenetére

    Ha már idáig eljutottál, akkor a legegyszerűbb, ha itt kiadod az

    mtd -r erase rootfs_data

    parancsot. Ezzel alapra áll.

  • albinolynx

    senior tag

    válasz albinolynx #16788 üzenetére

    Ezt dobja. Openwrt van rajta. Innen hogyan lehet a legegyszerűbben észhez téríteni?

    [00]

    U-Boot 1.1.4 (Sep 9 2013 - 14:28:41)

    U-boot DB120

    DRAM: 128 MB
    id read 0x100000ff
    flash size 8MB, sector count = 128
    Flash: 8 MB
    Using default environment

    PCIe Reset OK!!!!!!
    In: serial
    Out: serial
    Err: serial
    Net: ag934x_enet_initialize...
    No valid address in Flash. Using fixed address
    wasp reset mask:c03300
    WASP ----> S17 PHY *
    : cfg1 0x7 cfg2 0x7114
    eth0: ba:be:fa:ce:08:41
    athrs17_reg_init: complete
    eth0 up
    eth0
    Autobooting in 1 seconds
    ## Booting image at 9f020000 ...
    Uncompressing Kernel Image ... OK

    Starting kernel ...

    [ 0.000000] Linux version 3.18.8 (openwrt@gb-16) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44620) ) #1 Sat Mar 7 04:41:01 UTC 2015
    [ 0.000000] bootconsole [early0] enabled
    [ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
    [ 0.000000] SoC: Atheros AR9344 rev 2
    [ 0.000000] Determined physical RAM map:
    [ 0.000000] memory: 08000000 @ 00000000 (usable)
    [ 0.000000] Initrd not found or empty - disabling initrd
    [ 0.000000] Zone ranges:
    [ 0.000000] Normal [mem 0x00000000-0x07ffffff]
    [ 0.000000] Movable zone start for each node
    [ 0.000000] Early memory node ranges
    [ 0.000000] node 0: [mem 0x00000000-0x07ffffff]
    [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
    [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
    [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
    [ 0.000000] Kernel command line: board=TL-WDR4300 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
    [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
    [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.000000] Writing ErrCtl register=00000000
    [ 0.000000] Readback ErrCtl register=00000000
    [ 0.000000] Memory: 125788K/131072K available (2630K kernel code, 128K rwdata, 544K rodata, 208K init, 193K bss, 5284K reserved)
    [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] NR_IRQS:51
    [ 0.000000] Clocks: CPU:560.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:40.000MHz
    [ 0.000000] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
    [ 0.070000] pid_max: default: 32768 minimum: 301
    [ 0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.090000] NET: Registered protocol family 16
    [ 0.090000] MIPS: machine is TP-LINK TL-WDR3600/4300/4310
    [ 0.100000] registering PCI controller with io_map_base unset
    [ 0.330000] PCI host bridge to bus 0000:00
    [ 0.330000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
    [ 0.340000] pci_bus 0000:00: root bus resource [io 0x0000]
    [ 0.340000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
    [ 0.350000] pci 0000:00:00.0: invalid calibration data
    [ 0.350000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
    [ 0.360000] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
    [ 0.360000] pci 0000:00:00.0: using irq 40 for pin 1
    [ 0.370000] Switched to clocksource MIPS
    [ 0.370000] NET: Registered protocol family 2
    [ 0.380000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.380000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.390000] TCP: Hash tables configured (established 1024 bind 1024)
    [ 0.390000] TCP: reno registered
    [ 0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.410000] NET: Registered protocol family 1
    [ 0.410000] futex hash table entries: 256 (order: -1, 3072 bytes)
    [ 0.440000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.440000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    [ 0.450000] msgmni has been set to 245
    [ 0.460000] io scheduler noop registered
    [ 0.470000] io scheduler deadline registered (default)
    [ 0.470000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
    [ 0.480000] console [ttyS0] disabled
    ú[ 0.500000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
    [ 0.510000] console [ttyS0] enabled
    [ 0.510000] console [ttyS0] enabled
    [ 0.520000] bootconsole [early0] disabled
    [ 0.520000] bootconsole [early0] disabled
    [ 0.530000] m25p80 spi0.0: found en25q64, expected m25p80
    [ 0.530000] m25p80 spi0.0: en25q64 (8192 Kbytes)
    [ 0.540000] 5 tp-link partitions found on MTD device spi0.0
    [ 0.540000] Creating 5 MTD partitions on "spi0.0":
    [ 0.550000] 0x000000000000-0x000000020000 : "u-boot"
    [ 0.550000] 0x000000020000-0x000000146efc : "kernel"
    [ 0.560000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
    [ 0.570000] 0x000000146efc-0x0000007f0000 : "rootfs"
    [ 0.580000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
    [ 0.590000] mtd: device 2 (rootfs) set to be root filesystem
    [ 0.600000] 1 squashfs-split partitions found on MTD device rootfs
    [ 0.600000] 0x000000330000-0x0000007f0000 : "rootfs_data"
    [ 0.610000] 0x0000007f0000-0x000000800000 : "art"
    [ 0.620000] 0x000000020000-0x0000007f0000 : "firmware"
    [ 0.640000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
    [ 0.700000] libphy: ag71xx_mdio: probed
    [ 1.300000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
    [ 1.310000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
    [ 1.320000] TCP: cubic registered
    [ 1.320000] NET: Registered protocol family 17
    [ 1.320000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
    [ 1.340000] Bridge firewalling registered
    [ 1.340000] 8021q: 802.1Q VLAN Support v1.8
    [ 1.350000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
    [ 1.360000] Freeing unused kernel memory: 208K (8039c000 - 803d0000)
    [ 2.320000] init: Console is alive
    [ 2.320000] init: - watchdog -
    [ 3.480000] usbcore: registered new interface driver usbfs
    [ 3.480000] usbcore: registered new interface driver hub
    [ 3.490000] usbcore: registered new device driver usb
    [ 3.500000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 3.510000] ehci-platform: EHCI generic platform driver
    [ 3.510000] ehci-platform ehci-platform: EHCI Host Controller
    [ 3.520000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
    [ 3.530000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
    [ 3.550000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
    [ 3.550000] hub 1-0:1.0: USB hub found
    [ 3.560000] hub 1-0:1.0: 1 port detected
    [ 3.560000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 3.570000] ohci-platform: OHCI generic platform driver
    [ 3.880000] usb 1-1: new high-speed USB device number 2 using ehci-platform
    [ 4.030000] hub 1-1:1.0: USB hub found
    [ 4.030000] hub 1-1:1.0: 4 ports detected
    [ 4.390000] init: - preinit -
    [ 5.000000] random: mktemp urandom read with 8 bits of entropy available
    Press the [f] key and hit [enter] to enter failsafe mode
    Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
    [ 6.310000] eth0: link up (1000Mbps/Full duplex)
    [ 8.240000] jffs2: notice: (389) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    [ 8.260000] mount_root: switching to jffs2 overlay
    [ 8.300000] eth0: link down
    [ 8.320000] procd: - early -
    [ 8.330000] procd: - watchdog -
    [ 9.060000] procd: - ubus -
    [ 10.070000] procd: - init -
    Please press Enter to activate this console.
    [ 10.770000] NET: Registered protocol family 10
    [ 10.790000] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [ 10.810000] Loading modules backported from Linux version master-2014-11-04-0-gf3660a2
    [ 10.820000] Backport generated by backports.git backports-20141023-2-g4ff890b
    [ 10.830000] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 10.840000] nf_conntrack version 0.5.0 (1968 buckets, 7872 max)
    [ 10.890000] xt_time: kernel timezone is -0000
    [ 10.910000] cfg80211: Calling CRDA to update world regulatory domain
    [ 10.940000] cfg80211: World regulatory domain updated:
    [ 10.940000] cfg80211: DFS Master region: unset
    [ 10.950000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 10.960000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 10.960000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
    [ 10.970000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
    [ 10.980000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [ 10.990000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
    [ 11.000000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
    [ 11.010000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
    [ 11.010000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
    [ 11.080000] PPP generic driver version 2.4.2
    [ 11.090000] NET: Registered protocol family 24
    [ 11.150000] ieee80211 phy0: Atheros AR9340 Rev:2 mem=0xb8100000, irq=47
    [ 11.160000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
    [ 11.180000] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=40
    [ 11.190000] cfg80211: Calling CRDA for country: US
    [ 11.200000] cfg80211: Regulatory domain changed to country: US
    [ 11.210000] cfg80211: DFS Master region: FCC
    [ 11.210000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
    [ 11.220000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
    [ 11.230000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
    [ 11.240000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
    [ 11.250000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
    [ 11.260000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
    [ 18.670000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 18.690000] device eth0.1 entered promiscuous mode
    [ 18.690000] device eth0 entered promiscuous mode
    [ 18.710000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
    [ 18.730000] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
    [ 20.380000] eth0: link up (1000Mbps/Full duplex)
    [ 20.380000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    [ 20.420000] br-lan: port 1(eth0.1) entered forwarding state
    [ 20.420000] br-lan: port 1(eth0.1) entered forwarding state
    [ 20.430000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
    [ 20.430000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
    [ 22.380000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 2 is up
    [ 22.420000] br-lan: port 1(eth0.1) entered forwarding state

    BusyBox v1.22.1 (2015-03-07 04:22:13 UTC) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    _______ ________ __
    | |.-----.-----.-----.| | | |.----.| |_
    | - || _ | -__| || | | || _|| _|
    |_______|| __|_____|__|__||________||__| |____|
    |__| W I R E L E S S F R E E D O M
    -----------------------------------------------------
    CHAOS CALMER (Bleeding Edge, r44620)
    -----------------------------------------------------
    * 1 1/2 oz Gin Shake with a glassful
    * 1/4 oz Triple Sec of broken ice and pour
    * 3/4 oz Lime Juice unstrained into a goblet.
    * 1 1/2 oz Orange Juice
    * 1 tsp. Grenadine Syrup
    -----------------------------------------------------
    root@Router_Tochter:/# help
    help
    Built-in commands:
    ------------------
    . : [ [[ alias bg break cd chdir command continue echo eval exec
    exit export false fg getopts hash help history jobs kill let
    local printf pwd read readonly return set shift source test times
    trap true type ulimit umask unalias unset wait

    root@Router_Tochter:/# [ 69.960000] random: nonblocking pool is initialized

  • vargalex

    félisten

    válasz albinolynx #16786 üzenetére

    Ez jó lehet. Csak a tx, rx, gnd lábakra van szükséged és kererszbe kell kötni (elvileg). Azaz az usb-s eszköz tx lába a router rx lábára és fordítva.
    Raspbian alatt is jó természetesen. De windows-on is megoldható, van tftp szerver arra is.

  • vargalex

    félisten

    válasz albinolynx #16780 üzenetére

    Hát, így nehéz lesz. Mert alternatív firmware esetén nem is feltételnül van reset funkció (legalábbis nem úgy, mint a gyáriban). Gyári esetén, ha jól tudom, működés alatt kell 10 másodpercig nyomni a reset gombot. Elengedés után a router újraindul.
    Ha oszt IP címet, akkor azon a tartományon a saját (azaz a gép számára átjáró) IP címén a webes felülete elérhető? Ha igen, akkor hogy néz ki?

  • vargalex

    félisten

    válasz albinolynx #16778 üzenetére

    Most jól értem, hogy te kikapcsolt állapotban nyomod a reset gombot?
    Egyébként azt lehet tudni, hogy milyen firmware van rajta?

Új hozzászólás Aktív témák

Hirdetés