26

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

root@Gargoyle:~$ uci show gargoyle
Segmentation fault

wiem ze zapełniłem cały flash
bede musiał odinstalowac jakies moduły i wgrać ponownie firmware - tym razem przez konsole ssh
tylko jak ?
Czy byłby ktoś w stanie mi pomóc ?

27

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

Wyczyść flash: napisz teraz firstboot, jak się wykona to reset.

Jeżeli nie - wejdź w tryb failsafe (opisany na eko.one.pl), tak samo firstboot i reset.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

28

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

Ok udało się doprowadzic gargoylca do stanu poprzedniego (moge wejsć w panel)
czy przed kolejną probą upgrade firmware mam wyczyścic jakoś pamięć lub odinstalowac moduły ?


Pozdrawiam

29

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

Nie, nic nie musisz robić.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

30

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

Wgrało poprawnie firmware te same co wcześniej

komenda df- h pokazuje
root@Gargoyle:~$ df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.4M      2.4M         0 100% /rom
tmpfs                    14.5M      2.4M     12.1M  17% /tmp
tmpfs                   512.0K      4.0K    508.0K   1% /dev
root                      2.4M      2.4M         0 100% /tmp/root
mini_fo:/tmp/root         2.4M      2.4M         0 100% /tmp/root
/dev/mtdblock3          328.0K     64.0K    264.0K  20% /overlay
mini_fo:/overlay          2.4M      2.4M         0 100% /




przechodze poprawnie przez wszystkie kroki w tutorialu i problem mam z tym:

2d. Formatowanie nośnika


root@Gargoyle:~$ /tmp/usr/sbin/mke2fs -m 0 /dev/sda1
mke2fs 1.41.11 (14-Mar-2010)
Could not stat /dev/sda1 --- No such file or directory

The device apparently does not exist; did you specify it correctly?



Podpięty mam router wraz z kartą microsd internet na nim działa

31

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

Ale karty nie widzi. Logread zrób i zobaczysz, nie będzie informacji o sda1

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

32 (edytowany przez bartek24m 2011-10-14 18:24:58)

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

zgadza się, nie ma nic o sda1

pod windowsem widać karte (prosi o sformatowanie)
pod gargulcem nie widać
Co zrobić aby widać było ?

33

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

Założyłeś w ogóle partycję na tej karcie?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

34 (edytowany przez nargoriel 2011-10-15 02:40:33)

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

witam, nie mam polskich znakow poniewaz pisze z androida uk. mam tp linka mr3420 + e173 I podczas robienia exroota mam problemy, 1. po sformatowaniu karty SD, znika z systemu, poradzilem sobie sformarowaniem gpartedem, dalej po wklepaniu uuid i rebootem aby exroot stal sie aktywny zapala sie dioda pwr a dioda sys miga nawet cala noc.. bez modemu router wlacza sie normalnie...

zrobilem firstboota, system nie montuje karty na poczatku, ale w logach ja widac i mozna ja sformatowac, jednakze przy komendzie blkid glucho, nic nie widac.. tak samo df -h nie pokazuje tej karty..

wydaje mi sie ze karta jest winna - 4 GB SD HC

35

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

e173 - przełączyłeś go na stałe? Jak nie to nie zrobisz na nim extroota.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

36

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

hmm co masz na mysli? Wydalem mu komende AT 256 aby dzialal modem i SD.

37

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

Więc teoretycznie to zrobiłeś. Odinstaluj jeszcze usb-modeswitch

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

38 (edytowany przez nargoriel 2011-10-15 16:02:37)

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

ok skasowalem, i nie widac karty dalej...

 
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.4M      2.4M         0 100% /rom
tmpfs                    14.5M    144.0K     14.3M   1% /tmp
tmpfs                   512.0K      4.0K    508.0K   1% /dev
/dev/mtdblock3          320.0K    264.0K     56.0K  83% /overlay
mini_fo:/overlay          2.4M      2.4M         0 100% /
p 16 22:30:49 CEST 2011
prom: fw_arg0=00000008, fw_arg1=a1f87fb0, fw_arg2=a1f88470, fw_arg3=00000004
MyLoader: sysp=f0f0f0f0, boardp=f0f0f0f0, parts=f0f0f0f0
bootconsole [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
Atheros AR7241 rev 1, CPU:400.000 MHz, AHB:200.000 MHz, DDR:400.000 MHz
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 802ad480, node_mem_map 81000000
  Normal zone: 64 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 8128 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,1152                                                                                        00 board=TL-MR3420
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
Memory: 29476k/32768k available (2001k kernel code, 3292k reserved, 358k data, 1                                                                                        48k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:56
Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
MIPS: machine is TP-LINK TL-MR3420
registering PCI controller with io_map_base unset
bio: create slab <bio-0> at 0
pci 0000:00:00.0: fixup device configuration
pci 0000:00:00.0: reg 10 64bit mmio: [0x000000-0x00ffff]
pci 0000:00:00.0: supports D1
pci 0000:00:00.0: PME# supported from D0 D1 D3hot
pci 0000:00:00.0: PME# disabled
PCI: mapping irq 48 to pin1@0000:00:00.0
Switching to clocksource MIPS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006                                                                                         Red Hat, Inc.
msgmni has been set to 57
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
console [ttyS0] enabled, bootconsole disabled
Atheros AR71xx SPI Controller driver version 0.2.4
m25p80 spi0.0: s25sl032a (4096 Kbytes)
spi0.0: searching for MyLoader partition table at offset 0x10000
spi0.0: searching for MyLoader partition table at offset 0x20000
spi0.0: searching for MyLoader partition table at offset 0x30000
spi0.0: searching for MyLoader partition table at offset 0x40000
spi0.0: no MyLoader partition table found
Searching for RedBoot partition table in spi0.0 at offset 0x3e0000
Searching for RedBoot partition table in spi0.0 at offset 0x3f0000
No RedBoot partition table detected in spi0.0
spi0.0: no WRT160NL signature found
Creating 5 MTD partitions on "spi0.0":
0x000000000000-0x000000020000 : "u-boot"
0x000000020000-0x000000140000 : "kernel"
0x000000140000-0x0000003f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=3A0000, len=50000
0x0000003a0000-0x0000003f0000 : "rootfs_data"
0x0000003f0000-0x000000400000 : "art"
0x000000020000-0x0000003f0000 : "firmware"
ag71xx_mdio: probed
eth0: Atheros AG71xx at 0xba000000, irq 5
eth0: Found an AR7240 built-in switch
eth1: Atheros AG71xx at 0xb9000000, irq 4
eth1: using fixed link parameters
Atheros AR71xx hardware watchdog driver version 0.1.0
ar71xx-wdt: timeout=15 secs (max=21)
TCP westwood registered
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing unused kernel memory: 148k freed
Please be patient, while OpenWrt loads ...
input: gpio-buttons as /devices/platform/gpio-buttons/input/input0
Button Hotplug driver version 0.3.1
eth0: link up (1000Mbps/Full duplex)
Registered led device: tl-mr3x20:green:system
Registered led device: tl-mr3x20:green:qss
Registered led device: tl-mr3x20:green:3g
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller
ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb 1-1: new high speed USB device using ar71xx-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
scsi 3:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
usb-storage: device scan complete
sd 3:0:0:0: [sda] Attached SCSI removable disk
sd 3:0:0:0: [sda] 8054784 512-byte logical blocks: (4.12 GB/3.84 GiB)
sd 3:0:0:0: [sda] Assuming drive cache: write through
sd 3:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1 sda2
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
eth0: link down
eth0: link up (1000Mbps/Full duplex)
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering forwarding state
Compat-wireless backport release: compat-wireless-2011-08-25
Backport based on wireless-testing.git master-2011-08-26
cfg80211: Calling CRDA to update world regulatory domain
cfg80211: World regulatory domain updated:
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
PCI: Setting latency timer of device 0000:00:00.0 to 64
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Registered led device: ath9k-phy0
ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xb0000000, irq=48
cfg80211: Calling CRDA for country: US
cfg80211: Regulatory domain changed to country: US
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
PPP generic driver version 2.4.2
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ip_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (462 buckets, 1848 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
xt_time: kernel timezone is -0000
        Hooked IMQ after mangle on PREROUTING
        Hooked IMQ after nat on POSTROUTING
IMQ driver loaded successfully.
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapter                                                                                        s
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
option 1-1:1.0: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
option 1-1:1.1: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
option 1-1:1.2: GSM modem (1-port) converter detected
usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
USB Serial support registered for Sierra USB modem
usbcore: registered new interface driver sierra
sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems
cfg80211: Calling CRDA for country: PL
cfg80211: Regulatory domain changed to country: PL
cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
device wlan0 left promiscuous mode
br-lan: port 2(wlan0) entering disabled state
device wlan0 entered promiscuous mode
br-lan: port 2(wlan0) entering forwarding state
ipt_bandwidth: timezone shift of 120 minutes detected, adjusting
               old minutes west=0, new minutes west=-120
ar71xx-wdt: enabling watchdog timer

39

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

Jak najbardziej masz dwie partycje dostępne.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

40 (edytowany przez nargoriel 2011-10-15 17:22:21)

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

no tak, ale jak to zrobic? aby ten routerek przelaczyl sie na uzywanie karty?

system ja widzi, ale jak juz wpisuje blkid to glucho, takze df -h nie wskazuje karty.. pokrecone..

41

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

blkid musi widzieć kartę. Coś mi się zdaje że złym poleceniem przełączyłeś ten modem. Na początku jest, więc powinno wszytko działać.

Masz plik /dev/sda1?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

42 (edytowany przez nargoriel 2011-10-15 17:42:43)

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

root@Gargoyle:~$ cd /dev/sda1
-ash: cd: can't cd to /dev/sda1
root@Gargoyle:~$ mkdir /dev/sda1
mkdir: cannot create directory '/dev/sda1': File exists
root@Gargoyle:~$

wiec chyba jest

43

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

Eh, dużo czytania przed Tobą. Żadne cd, ani tym bardziej mkdir

ls żeby zobaczyć.

Zrobiłeś tam system plików? Jeżeli tak to z palca zrób
mkdir -p /tmp/a
mount -t ext2 /dev/sda1 /tmp/a
mount

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

44

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

zrobilem system pilkow.

root@Gargoyle:~$ mkdir -p /tmp/a
root@Gargoyle:~$ mount -t ext2 /dev/sda1 /tmp/a
root@Gargoyle:~$ mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,relatime)
mini_fo:/overlay on / type mini_fo (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)

w df -h dalej nie widac karty, i blkid takze nie zwraca zadnych danych

45

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

Nie mountuje. W logread zobacz jeszcze czy czegoś nie ma.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

46

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

nic nie widac..

Jan  1 01:00:50 Gargoyle local2.info chat[953]: abort on (BUSY)
Jan  1 01:00:50 Gargoyle local2.info chat[953]: abort on (NO CARRIER)
Jan  1 01:00:50 Gargoyle local2.info chat[953]: abort on (ERROR)
Jan  1 01:00:50 Gargoyle local2.info chat[953]: report (CONNECT)
Jan  1 01:00:50 Gargoyle local2.info chat[953]: timeout set to 10 seconds
Jan  1 01:00:50 Gargoyle local2.info chat[953]: send (AT&F^M)
Jan  1 01:00:50 Gargoyle local2.info chat[953]: expect (OK)
Jan  1 01:00:50 Gargoyle local2.info chat[953]: AT&F^M^M
Jan  1 01:00:50 Gargoyle local2.info chat[953]: OK
Jan  1 01:00:50 Gargoyle local2.info chat[953]:  -- got it
Jan  1 01:00:50 Gargoyle local2.info chat[953]: send (ATE1^M)
Jan  1 01:00:50 Gargoyle local2.info chat[953]: expect (OK)
Jan  1 01:00:50 Gargoyle local2.info chat[953]: ^M
Jan  1 01:00:50 Gargoyle local2.info chat[953]: ATE1^M^M
Jan  1 01:00:50 Gargoyle local2.info chat[953]: OK
Jan  1 01:00:50 Gargoyle local2.info chat[953]:  -- got it
Jan  1 01:00:50 Gargoyle local2.info chat[953]: send (AT+CGDCONT=1,"IP","internet"^M)
Jan  1 01:00:50 Gargoyle local2.info chat[953]: timeout set to 30 seconds
Jan  1 01:00:50 Gargoyle local2.info chat[953]: expect (OK)
Jan  1 01:00:50 Gargoyle local2.info chat[953]: ^M
Jan  1 01:00:50 Gargoyle local2.info chat[953]: AT+CGDCONT=1,"IP","internet"^M^M
Jan  1 01:00:50 Gargoyle local2.info chat[953]: OK
Jan  1 01:00:50 Gargoyle local2.info chat[953]:  -- got it
Jan  1 01:00:50 Gargoyle local2.info chat[953]: send (ATD*99***1#^M)
Jan  1 01:00:50 Gargoyle local2.info chat[953]: expect (CONNECT)
Jan  1 01:00:50 Gargoyle local2.info chat[953]: ^M
Jan  1 01:00:50 Gargoyle local2.info chat[953]: ATD*99***1#^M^M
Jan  1 01:00:50 Gargoyle local2.info chat[953]: CONNECT
Jan  1 01:00:50 Gargoyle local2.info chat[953]:  -- got it
Jan  1 01:00:50 Gargoyle local2.info chat[953]: send ( ^M)
Jan  1 01:00:50 Gargoyle daemon.info pppd[924]: Serial connection established.
Jan  1 01:00:50 Gargoyle daemon.info pppd[924]: Using interface 3g-wan
Jan  1 01:00:50 Gargoyle daemon.notice pppd[924]: Connect: 3g-wan <--> /dev/ttyUSB0
Jan  1 01:00:50 Gargoyle user.info kernel: cfg80211: Calling CRDA for country: PL
Jan  1 01:00:51 Gargoyle user.info kernel: cfg80211: Regulatory domain changed to country: PL
Jan  1 01:00:51 Gargoyle user.info kernel: cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan  1 01:00:51 Gargoyle user.info kernel: cfg80211:     (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jan  1 01:00:51 Gargoyle user.info kernel: cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jan  1 01:00:51 Gargoyle user.info kernel: cfg80211:     (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Jan  1 01:00:51 Gargoyle user.info kernel: cfg80211:     (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
Jan  1 01:00:52 Gargoyle user.info kernel: device wlan0 entered promiscuous mode
Jan  1 01:00:52 Gargoyle user.info kernel: br-lan: port 2(wlan0) entering forwarding state
Jan  1 01:00:54 Gargoyle daemon.warn pppd[924]: Could not determine remote IP address: defaulting to 10.64.64.64
Jan  1 01:00:54 Gargoyle daemon.notice pppd[924]: local  IP address 188.33.18.64
Jan  1 01:00:54 Gargoyle daemon.notice pppd[924]: remote IP address 10.64.64.64
Jan  1 01:00:54 Gargoyle daemon.notice pppd[924]: primary   DNS address 89.108.195.20
Jan  1 01:00:54 Gargoyle daemon.notice pppd[924]: secondary DNS address 217.17.34.10
Jan  1 01:00:54 Gargoyle user.info kernel: device wlan0 left promiscuous mode
Jan  1 01:00:54 Gargoyle user.info kernel: br-lan: port 2(wlan0) entering disabled state
Jan  1 01:00:54 Gargoyle user.info kernel: device wlan0 entered promiscuous mode
Jan  1 01:00:54 Gargoyle user.info kernel: br-lan: port 2(wlan0) entering forwarding state
Jan  1 01:00:55 Gargoyle user.notice ifup: Enabling Router Solicitations on wan (3g-wan)
Oct 15 12:00:01 Gargoyle user.notice root: starting ntpclient
Oct 15 15:59:10 Gargoyle user.info sysinit: Loading defaults
Oct 15 15:59:11 Gargoyle user.info sysinit: Loading synflood protection
Oct 15 15:59:11 Gargoyle user.info sysinit: Adding custom chains
Oct 15 15:59:11 Gargoyle user.info sysinit: Loading zones
Oct 15 15:59:12 Gargoyle user.info sysinit: Loading forwardings
Oct 15 15:59:12 Gargoyle user.info sysinit: Loading redirects
Oct 15 15:59:13 Gargoyle user.info sysinit: Loading rules
Oct 15 15:59:13 Gargoyle user.info sysinit: Loading includes
Oct 15 15:59:13 Gargoyle user.info sysinit: Optimizing conntrack
Oct 15 15:59:14 Gargoyle user.info sysinit: Loading interfaces
Oct 15 15:59:14 Gargoyle user.info firewall: adding lan (br-lan) to zone lan
Oct 15 15:59:14 Gargoyle user.info firewall: adding wan (3g-wan) to zone wan
Oct 15 15:59:15 Gargoyle cron.err crond[1598]: crond (busybox 1.15.3) started, log level 5
Oct 15 15:59:16 Gargoyle authpriv.info dropbear[1611]: Running in background
Oct 15 15:59:16 Gargoyle daemon.crit httpd_gargoyle[1623]: socket :: - Address family not supported by protocol
Oct 15 15:59:16 Gargoyle daemon.err httpd_gargoyle[1623]: unknown sockaddr family on listen socket - 0
Oct 15 15:59:16 Gargoyle daemon.warn httpd_gargoyle[1645]: started as root without requesting chroot(), warning only
Oct 15 15:59:16 Gargoyle daemon.notice httpd_gargoyle[1645]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Oct 15 15:59:17 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Oct 15 15:59:17 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Oct 15 15:59:18 Gargoyle cron.err crond[1732]: crond (busybox 1.15.3) started, log level 5
Oct 15 15:59:21 Gargoyle daemon.info dnsmasq[1816]: started, version 2.55 cachesize 150
Oct 15 15:59:21 Gargoyle daemon.info dnsmasq[1816]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP
Oct 15 15:59:21 Gargoyle daemon.info dnsmasq-dhcp[1816]: DHCP, IP range 192.168.1.100 -- 192.168.1.250, lease time 12h
Oct 15 15:59:21 Gargoyle daemon.info dnsmasq[1816]: using local addresses only for domain lan
Oct 15 15:59:21 Gargoyle daemon.info dnsmasq[1816]: reading /tmp/resolv.conf.auto
Oct 15 15:59:21 Gargoyle daemon.info dnsmasq[1816]: using nameserver 217.17.34.10#53
Oct 15 15:59:21 Gargoyle daemon.info dnsmasq[1816]: using nameserver 89.108.195.20#53
Oct 15 15:59:21 Gargoyle daemon.warn dnsmasq[1816]: ignoring nameserver 192.168.1.1 - local interface
Oct 15 15:59:21 Gargoyle daemon.info dnsmasq[1816]: using local addresses only for domain lan
Oct 15 15:59:21 Gargoyle daemon.info dnsmasq[1816]: read /etc/hosts - 2 addresses
Oct 15 15:59:21 Gargoyle daemon.info dnsmasq-dhcp[1816]: read /etc/ethers - 0 addresses
Oct 15 15:59:22 Gargoyle user.warn kernel: ipt_bandwidth: timezone shift of 120 minutes detected, adjusting
Oct 15 15:59:22 Gargoyle user.warn kernel:                old minutes west=0, new minutes west=-120
Oct 15 15:59:22 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Oct 15 15:59:22 Gargoyle user.info sysinit: (Did you specify correct configuration file path?)
Oct 15 15:59:22 Gargoyle daemon.info dnsmasq-dhcp[1816]: DHCPINFORM(br-lan) 192.168.1.195 6c:f0:49:75:d4:e3
Oct 15 15:59:22 Gargoyle daemon.info dnsmasq-dhcp[1816]: DHCPACK(br-lan) 192.168.1.195 6c:f0:49:75:d4:e3 Pink-Komputer
Oct 15 15:59:22 Gargoyle user.info sysinit: /etc/rc.local: line 9: /usr/bin/usb_modeswitch: not found
Oct 15 15:59:25 Gargoyle authpriv.info dropbear[2115]: Child connection from 192.168.1.195:49665
Oct 15 15:59:27 Gargoyle cron.err crond[2158]: crond (busybox 1.15.3) started, log level 5
Oct 15 15:59:28 Gargoyle user.info sysinit: setting up led USB
Oct 15 15:59:28 Gargoyle user.debug kernel: ar71xx-wdt: enabling watchdog timer
Oct 15 15:59:33 Gargoyle authpriv.notice dropbear[2115]: Password auth succeeded for 'root' from 192.168.1.195:49665
Oct 15 16:00:01 Gargoyle cron.err crond[2158]: USER root pid 2193 cmd /bin/3gtester
Oct 15 16:00:01 Gargoyle cron.err crond[2158]: USER root pid 2194 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 16:00:01 Gargoyle cron.err crond[2158]: USER root pid 2195 cmd date -u  +"%Y.%m.%d-%H:%M:%S" >/usr/data/time_backup
Oct 15 16:00:01 Gargoyle cron.err crond[2158]: USER root pid 2196 cmd /tmp/do_bw_backup.sh
Oct 15 16:01:01 Gargoyle cron.err crond[2158]: USER root pid 2227 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 16:03:01 Gargoyle cron.err crond[2158]: USER root pid 2230 cmd /bin/3gtester
Oct 15 16:06:01 Gargoyle cron.err crond[2158]: USER root pid 2237 cmd /bin/3gtester
Oct 15 16:09:01 Gargoyle cron.err crond[2158]: USER root pid 2243 cmd /bin/3gtester
Oct 15 16:11:01 Gargoyle cron.err crond[2158]: USER root pid 2251 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 16:12:01 Gargoyle cron.err crond[2158]: USER root pid 2253 cmd /bin/3gtester
Oct 15 16:15:01 Gargoyle cron.err crond[2158]: USER root pid 2259 cmd /bin/3gtester
Oct 15 16:18:01 Gargoyle cron.err crond[2158]: USER root pid 2265 cmd /bin/3gtester
Oct 15 16:21:01 Gargoyle cron.err crond[2158]: USER root pid 2273 cmd /bin/3gtester
Oct 15 16:21:01 Gargoyle cron.err crond[2158]: USER root pid 2275 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 16:24:01 Gargoyle cron.err crond[2158]: USER root pid 2281 cmd /bin/3gtester
Oct 15 16:27:01 Gargoyle cron.err crond[2158]: USER root pid 2287 cmd /bin/3gtester
Oct 15 16:30:01 Gargoyle cron.err crond[2158]: USER root pid 2295 cmd /bin/3gtester
Oct 15 16:31:01 Gargoyle cron.err crond[2158]: USER root pid 2301 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 16:33:01 Gargoyle cron.err crond[2158]: USER root pid 2303 cmd /bin/3gtester
Oct 15 16:36:01 Gargoyle cron.err crond[2158]: USER root pid 2309 cmd /bin/3gtester
Oct 15 16:39:01 Gargoyle cron.err crond[2158]: USER root pid 2315 cmd /bin/3gtester
Oct 15 16:41:01 Gargoyle cron.err crond[2158]: USER root pid 2323 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 16:42:01 Gargoyle cron.err crond[2158]: USER root pid 2325 cmd /bin/3gtester
Oct 15 16:45:01 Gargoyle cron.err crond[2158]: USER root pid 2331 cmd /bin/3gtester
Oct 15 16:48:01 Gargoyle cron.err crond[2158]: USER root pid 2337 cmd /bin/3gtester
Oct 15 16:51:01 Gargoyle cron.err crond[2158]: USER root pid 2345 cmd /bin/3gtester
Oct 15 16:51:01 Gargoyle cron.err crond[2158]: USER root pid 2346 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 16:54:01 Gargoyle cron.err crond[2158]: USER root pid 2353 cmd /bin/3gtester
Oct 15 16:57:01 Gargoyle cron.err crond[2158]: USER root pid 2359 cmd /bin/3gtester
Oct 15 17:00:01 Gargoyle cron.err crond[2158]: USER root pid 2367 cmd /bin/3gtester
Oct 15 17:00:01 Gargoyle cron.err crond[2158]: USER root pid 2368 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 17:01:01 Gargoyle cron.err crond[2158]: USER root pid 2375 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 17:03:01 Gargoyle cron.err crond[2158]: USER root pid 2377 cmd /bin/3gtester
Oct 15 17:06:01 Gargoyle cron.err crond[2158]: USER root pid 2383 cmd /bin/3gtester
Oct 15 17:09:01 Gargoyle cron.err crond[2158]: USER root pid 2390 cmd /bin/3gtester
Oct 15 17:11:01 Gargoyle cron.err crond[2158]: USER root pid 2398 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 17:12:01 Gargoyle cron.err crond[2158]: USER root pid 2400 cmd /bin/3gtester
Oct 15 17:15:01 Gargoyle cron.err crond[2158]: USER root pid 2406 cmd /bin/3gtester
Oct 15 17:18:01 Gargoyle cron.err crond[2158]: USER root pid 2412 cmd /bin/3gtester
Oct 15 17:21:01 Gargoyle cron.err crond[2158]: USER root pid 2420 cmd /bin/3gtester
Oct 15 17:21:01 Gargoyle cron.err crond[2158]: USER root pid 2421 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 17:24:01 Gargoyle cron.err crond[2158]: USER root pid 2431 cmd /bin/3gtester
Oct 15 17:27:01 Gargoyle cron.err crond[2158]: USER root pid 2437 cmd /bin/3gtester
Oct 15 17:30:01 Gargoyle cron.err crond[2158]: USER root pid 2445 cmd /bin/3gtester
Oct 15 17:31:01 Gargoyle cron.err crond[2158]: USER root pid 2451 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 17:33:01 Gargoyle cron.err crond[2158]: USER root pid 2453 cmd /bin/3gtester
Oct 15 17:36:01 Gargoyle cron.err crond[2158]: USER root pid 2459 cmd /bin/3gtester
Oct 15 17:39:01 Gargoyle cron.err crond[2158]: USER root pid 2465 cmd /bin/3gtester
Oct 15 17:41:01 Gargoyle cron.err crond[2158]: USER root pid 2473 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 17:42:01 Gargoyle cron.err crond[2158]: USER root pid 2475 cmd /bin/3gtester
Oct 15 17:45:01 Gargoyle cron.err crond[2158]: USER root pid 2485 cmd /bin/3gtester
Oct 15 17:45:03 Gargoyle authpriv.info dropbear[2115]: Exit (root): Exited normally
Oct 15 17:45:09 Gargoyle authpriv.info dropbear[2491]: Child connection from 192.168.1.195:51062
Oct 15 17:45:16 Gargoyle authpriv.notice dropbear[2491]: Password auth succeeded for 'root' from 192.168.1.195:51062
Oct 15 17:48:01 Gargoyle cron.err crond[2158]: USER root pid 2498 cmd /bin/3gtester
Oct 15 17:51:01 Gargoyle cron.err crond[2158]: USER root pid 2506 cmd /bin/3gtester
Oct 15 17:51:01 Gargoyle cron.err crond[2158]: USER root pid 2507 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 17:54:01 Gargoyle cron.err crond[2158]: USER root pid 2514 cmd /bin/3gtester
Oct 15 17:57:01 Gargoyle cron.err crond[2158]: USER root pid 2520 cmd /bin/3gtester
Oct 15 18:00:01 Gargoyle cron.err crond[2158]: USER root pid 2528 cmd /bin/3gtester
Oct 15 18:00:01 Gargoyle cron.err crond[2158]: USER root pid 2529 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 18:01:01 Gargoyle cron.err crond[2158]: USER root pid 2536 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 18:03:01 Gargoyle cron.err crond[2158]: USER root pid 2538 cmd /bin/3gtester
Oct 15 18:06:01 Gargoyle cron.err crond[2158]: USER root pid 2544 cmd /bin/3gtester
Oct 15 18:09:01 Gargoyle cron.err crond[2158]: USER root pid 2550 cmd /bin/3gtester
Oct 15 18:11:01 Gargoyle cron.err crond[2158]: USER root pid 2558 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 18:12:01 Gargoyle cron.err crond[2158]: USER root pid 2560 cmd /bin/3gtester
Oct 15 18:15:01 Gargoyle cron.err crond[2158]: USER root pid 2566 cmd /bin/3gtester
Oct 15 18:18:01 Gargoyle cron.err crond[2158]: USER root pid 2572 cmd /bin/3gtester
Oct 15 18:21:01 Gargoyle cron.err crond[2158]: USER root pid 2580 cmd /bin/3gtester
Oct 15 18:21:01 Gargoyle cron.err crond[2158]: USER root pid 2581 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 18:24:01 Gargoyle cron.err crond[2158]: USER root pid 2588 cmd /bin/3gtester
Oct 15 18:27:01 Gargoyle cron.err crond[2158]: USER root pid 2594 cmd /bin/3gtester
Oct 15 18:30:01 Gargoyle cron.err crond[2158]: USER root pid 2602 cmd /bin/3gtester
Oct 15 18:31:01 Gargoyle cron.err crond[2158]: USER root pid 2608 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 18:33:01 Gargoyle cron.err crond[2158]: USER root pid 2610 cmd /bin/3gtester
Oct 15 18:36:01 Gargoyle cron.err crond[2158]: USER root pid 2616 cmd /bin/3gtester
Oct 15 18:39:01 Gargoyle cron.err crond[2158]: USER root pid 2622 cmd /bin/3gtester
Oct 15 18:41:01 Gargoyle cron.err crond[2158]: USER root pid 2630 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 18:42:01 Gargoyle cron.err crond[2158]: USER root pid 2632 cmd /bin/3gtester
Oct 15 18:45:01 Gargoyle cron.err crond[2158]: USER root pid 2645 cmd /bin/3gtester
Oct 15 18:48:01 Gargoyle cron.err crond[2158]: USER root pid 2654 cmd /bin/3gtester
Oct 15 18:51:01 Gargoyle cron.err crond[2158]: USER root pid 2662 cmd /bin/3gtester
Oct 15 18:51:01 Gargoyle cron.err crond[2158]: USER root pid 2663 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 18:54:01 Gargoyle cron.err crond[2158]: USER root pid 2670 cmd /bin/3gtester
Oct 15 18:57:01 Gargoyle cron.err crond[2158]: USER root pid 2676 cmd /bin/3gtester
Oct 15 19:00:01 Gargoyle cron.err crond[2158]: USER root pid 2684 cmd /bin/3gtester
Oct 15 19:00:01 Gargoyle cron.err crond[2158]: USER root pid 2685 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Oct 15 19:01:01 Gargoyle cron.err crond[2158]: USER root pid 2692 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1

47

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

Nic nie widać. Sprawdź jeszcze ją na normalnym komputerze, pod jakim ubuntu live.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

48 (edytowany przez nargoriel 2011-10-15 20:39:43)

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

uruchomilem fedore, pozniej uruchomilem ponownie router i widac karte. teraz sproboje zrobic exroota

zrobilem tak jak w poradniku - zrestartowalem router, zaladowal sie pomalu, ustawienia default, brak dostepu przez ssh i moglem jedynie sie zalogowac, inne podstrony nie ladowaly sie.. bylem zmuszony ponownie zrobic firstboota, zrobilem ponownie probe i ten sam problem. jednakze blkid widzi ta karte.

49

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

Witam

Na początku wielkie podziękowania dla twórcy.

Zainstalowałem obraz "openwrt-ar71xx-tl-mr3420-v1-squashfs-factory.bin" na tp-link 3420, do netu wykorzystuje huaweii e173

generalnie wszystko hula świetnie, ale chciałem odpalić "Projekt 3ginfo"

z wcześniejszych postów itp, wiem że ten router ma mało pamięci,
więc zacząłem stawiać "Extroot" z wykorzystaniem karty SD zainstalowanej w modemie.


Robiłem po koleji wszytko, ale zatrzymałem się na :

Cezary napisał/a:
ln -s /tmp/usr/lib/lib* /usr/lib/
ln -s /tmp/lib/lib* /lib/

z komunikatem że nie ma wystarczającej przestrzeni na dysku.

root@tp_l:~$ ln -s /tmp/usr/lib/lib* /usr/lib/
ln: /usr/lib/libblkid.so.1: No space left on device
ln: /usr/lib/libblkid.so.1.0: No space left on device
ln: /usr/lib/libcom_err.so.2: No space left on device
ln: /usr/lib/libcom_err.so.2.1: No space left on device
ln: /usr/lib/libe2p.so.2: No space left on device
ln: /usr/lib/libe2p.so.2.3: No space left on device
ln: /usr/lib/libext2fs.so.2: No space left on device
ln: /usr/lib/libext2fs.so.2.4: No space left on device
ln: /usr/lib/libuuid.so.1: No space left on device
ln: /usr/lib/libuuid.so.1.2: No space left on device

wynik df -h

root@tp_l:~$ df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.4M      2.4M         0 100% /rom
tmpfs                    14.5M      2.5M     12.0M  17% /tmp
tmpfs                   512.0K      4.0K    508.0K   1% /dev
/dev/mtdblock3          320.0K    256.0K     64.0K  80% /overlay
mini_fo:/overlay          2.4M      2.4M         0 100% /

I co dalej?

czy można zwolnić jakoś przestrzeń w pamięci?
czy można usunąć jakieś pakiety aby 3ginfo działalo z pamięci routera?

Moja wiedza linuxowa jest szczątkowa więc proszę o proste odpowiedzi.

Pozdrawiam

50

Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040

Ty w ogóle extroota nie zrobiłeś. Nie masz tak jak w poradniku, /overlay nadal masz we flashu a nie na karcie pamieci.

PS. Nie zrobisz extroota na karcie pamięci jeżeli nie przełączyłes na stałe Huawei w tryb modemu.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.