1

(1 odpowiedzi, napisanych Oprogramowanie / Software)

Witam config działa ale nie wiem dlaczego

opierając się na przykładzie ze strony eko.one.pl option ifname powinno być wan jednak jeżeli tak ustawię to nie nawiązuje połączenia z siecią, jeżeli zmienię wan na eth0 to wszystko działa

czy tak ma być czy to jest błąd, zastanawiam się czy zamiast option ifname nie powinno być option device

router to L-50 najnowsze wydanie z Luci  z eko.one.pl

to jest przykładowa konfiguracja z eko

 config interface 'wan'
        option proto 'dhcp'
        option device 'wan.35'

    config device
        option type '8021q'
        option ifname 'wan'
        option vid '35'
        option name 'wan.35'

to jest fragment mojego konfigu jaki teraz mam ustawiony i on działa

config device
        option name 'wan'
        option mtu '1508'

config device
    option name 'wan.35'    
    option type '8021q'
  #option ifname 'wan'
    option ifname 'eth0'
    option vid '35'
    option mtu '1508'



config interface 'wan'
    option device 'wan.35'
    option proto 'pppoe'
    option username 'xxxxxxxx@neostrada.pl'
    option password 'xxxxxxxx'
    option ipv6 '0'
    option mtu '1500'
    option peerdns '0'
    option pppd_options 'noipv6'
        list dns '1.1.1.1'
        list dns '1.0.0.1'

poniżej pełny config sekcji network


config interface 'loopback'
    option device 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option ula_prefix 'fd0f:8f82:f772::/48'
    option packet_steering '1'

config device
    option name 'br-lan'
    option type 'bridge'
    list ports 'lan1'
    list ports 'lan2'
    list ports 'lan3'
    list ports 'lan4'
    list ports 'lan5'
    list ports 'lan6'
    list ports 'lan7'
    list ports 'lan8'
    list ports 'dmz'

config device
        option name 'wan'
        option mtu '1508'

config device
    option name 'wan.35'    
    option type '8021q'
   #option ifname 'wan'
    option ifname 'eth0'
    option vid '35'
    option mtu '1508'

config interface 'lan'
    option device 'br-lan'
    option proto 'static'
    option ipaddr '192.168.5.1'
    option netmask '255.255.255.0'
    option ip6assign '60'

config interface 'wan'
    option device 'wan.35'
    option proto 'pppoe'
    option username 'xxxxxxxx@neostrada.pl'
    option password 'xxxxxxxx'
    option ipv6 '0'
    option mtu '1500'
    option peerdns '0'
    option pppd_options 'noipv6'
        list dns '1.1.1.1'
        list dns '1.0.0.1'

config interface 'wan6'
        option device 'wan.35'
        option proto 'pppoe'
        option username 'xxxxxxxx@neostrada.pl/ipv6'
        option password 'xxxxxxxx'
        option ipv6 '1'
        option mtu '1500'
        option pppd_options 'noip'
        option peerdns '0'

config interface 'wan6_6'
        option proto 'dhcpv6'
        option device '@wan6'
        option reqaddress 'try'
        option reqprefix 'auto'
        option norelease '1'
        option peerdns '0'
        list dns '2606:4700:4700::1111'
        list dns '2606:4700:4700::1001'

config interface 'tethering'
    option proto 'dhcp'
    option device 'usb0'

config interface 'HiLink'
    option proto 'dhcp'
    option device 'eth2'

2

(1 odpowiedzi, napisanych Inne)

Witam

na stornie w poradniku dotyczącym roamingu
https://eko.one.pl/?p=openwrt-konfiguracja

sekcja
Włączenie fast roaming (IEEE802.11r)

jest błąd – literówka za dużo eeee

jest obecnie

# uci set wireless.@wifi-iface[0].ieeee80211r=1

powinno być

# uci set wireless.@wifi-iface[0].ieee80211r=1

pozdrawiam

Wstępnie jest ale jeszcze muszę dodać sortowanie po godzinach i będzie dobrze


# #!/bin/sh
#
# sms_tool -d /dev/ttyUSB2 recv > /tmp/sms.txt
#
# grep -wh -B 1 696 /tmp/sms.txt | grep -wh -i msg > /tmp/smstodel.txt
#
#
#
# vardeltop=$( head -n1 /tmp/smstodel.txt | cut -d' ' -f 2-) 
# vardeldown=$( tail -n1 /tmp/smstodel.txt | cut -d' ' -f 2-)
#
#
# sms_tool -d /dev/ttyUSB2 delete $vardeltop > /dev/null
#
# sleep 5
#
# sms_tool -d /dev/ttyUSB2 delete $vardeldown > /dev/null

czy komenda delete kasuje zawsze jeden naraz, czy można zaznacza zakresy np. od 1 do 3


sms_tool -d /dev/ttyUSB1 delete 6


delete 4-5 lub 4,5 ?? tak próbowałem ale nie działa

albo grep po numerze 696 + jedna linia powyżej i tak wyciągac msg

Mogę konkretny ale najpierw muszę znać jego numer

ja myślałem o skrypcie, który wyciągał by nażywszy nurem z MSG: XX i następnie automatem go kasował.

Poniżej przykład o co chodzi

MSG: 13
From: 696
Date/Time: 07/22/23 21:05:19
Reference number: 118
SMS segment 1 of 2
Rozmowy i SMSy do wszystkich oraz pakiet xxxx GB sa wazne do 15.08.2023. W tym dniu nastapi automatyczna proba odnowienia uslugi za 25zl na 31 dni.

MSG: 14
From: 696
Date/Time: 07/22/23 21:05:19
Reference number: 118
SMS segment 2 of 2
otrzebujesz wiecej internetu? Juz teraz dodaj 5GB do pakietu danych. Odpisz PAKIET na ten SMS (koszt 5 zl + SMS w Orange). Wiecej na orange.pl

takie rozwiązanie po to zęby kasować te sms’y z automatu bez mojej ingerencji a jednocześnie zostawić sms’y od innych nadawców.

Zrobiłem 3  nowe skrypty dla orange sprawdzone działają

problem jest tylko z kasowaniem smsów na koniec operacji.

sms_tool może skasować wszystkie ale czy jest opcja skasowania ostatniego ??

dodatkowo orange wysyła długie smsy co dzieli je na 2 części, czyli trzeba kasować nie tylko ostatniego ale i jednego wcześniej.

Tak taka konfiguracja dotyczy operatora Play

*101*01# taki kod jest w orange i podaje stan bonusu za doładowanie w orange, który schodzi pierwszy przed kontem głównym.

Orange jednak zwrot podaje za pomocą smsa a nie kodu ussd dlatego należy przerobić powyższy kod.

Prawdopodobnie to zrobię żeby działało również z orange i będę testował Tmobile.

Na razie jest dla Playa bo to mój główny net i działa w mojej lokalizacji dużo szybciej niż orange.

edit:
Z orange jest trudniej bo są różne kody w zależności od pakietu jaki masz wykupiony

dla orange free na karte
pakiet :
1. za 30 zł z mms to kod *101*1# (nie ma jak sprawdzić osobiście bo nie mam tego pakietu )
2. za 25 zł bez mms to kod *115*1#
3. środki bonusowe za doładowanie to kod *101*01#

Bardzo dziękuję za cenną uwagę – poprawione

Poniżej skrypt do sprawdzenia wielkości pakietu internetowego  w routerze  za pomocą kodu ussd.
Zwrotny kod ussd zostanie wysłany za pomocą sms’a na numer telefonu

edit: Na przykładzie operatora Play działa również dla operatora, u którego można sprawdzić pakiet internetu kodem ussd jednak należy podmienić kod ussd [*108#] na właściwy dla twojego operatora.

uwagi: przy takiej konfiguracji mogą zostać naliczone opłaty za sms, który wysyłasz na swój numer telefony
w moim przypadku mam włączony stan darmowy (darmowe smsy w sieci operatora Play) dlatego nie ma opłat.

utworzenie pliku w /etc

 # touch /etc/wysylkasmsa.sh 

zmiana pliku na wykonywalny

# chmod +x /etc/wysylkasmsa.sh

edycja pliku za pomocą vi

# vi /etc/wysylkasmsa.sh

[Play] wklejamy ponizszy kod

# #!/bin/sh 
# 
# sms_tool -d /dev/ttyUSB1 -R ussd "*108#" > /tmp/output.txt
# 
# myvar=$( cat /tmp/output.txt ) 
# 
# sms_tool -d /dev/ttyUSB1 send 48570xxxXXX "$myvar"

[Orange] wysyłka kodu ussd u operatora Orange skutkuje zwrotem w postaci smsa, dlatego kod musi być nieco inny, dostosowany do przekazania zwrotnego sms'a od operatora nowym sms'em na telefon komórkowy.

Kody ussd dla taryfy Orange free na kartę, jeżeli masz inną taryfę to musisz sprawdzić odpowiednie kody ussd samodzielnie.

Pierwszy skrypt jest do uzyskania informacji jaki mamy bonus za doładowanie

# #!/bin/sh 
# 
# sms_tool -d /dev/ttyUSB1 -R ussd "*101*01#" > /dev/null
# 
# sleep 20
# 
# sms_tool -d /dev/ttyUSB2 recv > /tmp/sms.txt
# 
# grep -wh 'Pozostalo Ci jeszcze' /tmp/sms.txt | cut -d' ' -f 1-10 > /tmp/output.txt
# 
# myvar=$( cat /tmp/output.txt ) 
# 
# sms_tool -d /dev/ttyUSB1 send 48570xxxXXX "$myvar"

w grep zdanie ‘Pozostalo Ci jeszcze’ słuzy do szukania interesującej nas terści z listy wszystkich sms’ow jaki są na routerze

sleep 20 w celu spokojnego przyjścia sms’a od operatora na router


kolejny sktryp do sprawdzenia pakietu internetu konta głównego

# #!/bin/sh 
# 
# sms_tool -d /dev/ttyUSB1 -R ussd "*115*1#" > /dev/null
# 
# sleep 20
# 
# sms_tool -d /dev/ttyUSB2 recv > /tmp/sms.txt
# 
# grep -wh  'do wszystkich oraz pakiet' /tmp/sms.txt | cut -d' ' -f 1-13 > /tmp/output.txt
# 
# myvar=$( cat /tmp/output.txt ) 
# 
# sms_tool -d /dev/ttyUSB1 send 48570xxxXXX "$myvar"

ostatni skrypt sprawdza stan konta złotówkowego

# #!/bin/sh 
# 
# sms_tool -d /dev/ttyUSB1 -R ussd "*103*#" > /dev/null
# 
# sleep 20
# 
# sms_tool -d /dev/ttyUSB2 recv > /tmp/sms.txt
# 
# grep -wh  'Kwota z doladowan' /tmp/sms.txt | cut -d' ' -f 1-10 > /tmp/output.txt
# 
# myvar=$( cat /tmp/output.txt ) 
# 
# sms_tool -d /dev/ttyUSB1 send 48570xxxXXX "$myvar"

dodajemy do pliku /etc/rc.local

# `(sleep 300; /etc/wysylkasmsa.sh) &`

# exit 0 # to ma być na końcu i jest dostępne w oryginalnym pliku rc.local

edit: sleep 5 min w sekundach = 300
ten parametr powoduje ze skrypt odpala się 5 min po uruchomieniu routera
w celu spokojnego połączenia się z siecią

skrypt odpala się za każdym razem jak jest uruchomiony router, jeżeli router działa w trybie 24/7 to należy użyć cron

jeżeli coś jest do poprawy to czekam na komentarze.

11

(141 odpowiedzi, napisanych Sprzęt / Hardware)

Witam serdecznie
mam pytanie: w celu zrobienia kompletnego backupu, które partycje należy zrzucić (dump) na USB

#cat /proc/mtd

dev:    size   erasesize  name
mtd0: 000a0000 00020000 "u-boot"
mtd1: 00060000 00020000 "bootldr-env"
mtd2: 00800000 00020000 "kernel-1"
mtd3: 07100000 00020000 "rootfs-1"
mtd4: 00800000 00020000 "kernel-2"
mtd5: 07100000 00020000 "rootfs-2"
mtd6: 07900000 00020000 "default_sw"
mtd7: 01800000 00020000 "logs"
mtd8: 00100000 00020000 "preset_cfg"
mtd9: 00100000 00020000 "adsl"
mtd10: 07a00000 00020000 "storage"

wszystkie z pominięciem storage czy również ostatnią patrycję mtd10 "storage" ??


Potrzebuję pomocy przy komendzie nanddump


Czy należy użyć argumentu -nf czy tylko -f

> Usage: nanddump [OPTIONS] MTD-device
> Dumps the contents of a nand mtd partition.
> 
> --help            display this help and exit
> --version            output version information and exit
> -f file    --file=file          dump to file
> -i         --ignoreerrors       ignore errors
> -l length  --length=length      length
> -n         --noecc              read without error correction
> -o         --omitoob            omit oob data
> -b         --omitbad            omit bad blocks from the dump
> -p         --prettyprint        print nice (hexdump)
> -s addr    --startaddress=addr  start address

Obecnie wykonuje zrzut na USB w sposób poniżej przedstawiony :

#nanddump -nf /tmp/usb/backup/u-boot.bin /dev/mtd0

Czy jest może lepszy na to sposób ??

@Zuzia dzięki udało się, wszystko działa

problem wystąpił po instalacji z poziomu bootloadera nie wiem dlaczego.
rozwiązaniem było wrzucenie przez SCP obrazu do tmp i wykonanie

sysupgrade -n /tmp/a.bin

Obecnie testuję LEDE >> i na razie bardzo stabilnie.

Czy u ciebie też jest problem z downgrade z 18.06.1 (wersja polecana)na lede treba force update wykonać ??

Mam problem z easybox 803A HW versja R02

zrobiłem wszystko jak powyżej w poście #29 oraz #30

bootloader wgrany z chomika Zuzi , firmware testowany LEDE, Openwrt 18.06.1

początkowo wgrałem doklejania tak jak w poście #30 stary obraz BB, ale była taka sama sytuacja 

Problem : zatrzymuje się podczas lądowania a objawem jest świecąca się czerwona dioda power (podczas ładowania początkowego jest niebieska dioda i czerwona mruga)

ledy od sieci się nie świecą również.  (podczas ładowania początkowo pali się jedyni 4port lan/tv potem również gaśnie )

routera nie wykrywa po wifi oraz po lan

wrzucam log z konsoli

ROM VER: 1.0.3
CFG 01
Read EEPROMX
 X


U-Boot 2013.10-openwrt4 (May 28 2014 - 21:46:54) ARV752DPW22

Board: Arcadyan ARV752DPW22
SoC:   Lantiq Danube-S v1.5
CPU:   333.333 MHz
IO:    166.667 MHz
BUS:   83.333 MHz
BOOT:  NOR
DRAM:  64 MiB
Flash: 8 MiB
In:    serial
Out:   serial
Err:   serial
Net:   ltq-eth
Hit any key to stop autoboot:  2  1  0 
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.68
   Created:      2018-09-15  13:49:43 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1830355 Bytes = 1.7 MiB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 4.14.68 (renia@komp1) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r8064-03c7c8c853)) #0 Sat Sep 15 13:49:43 2018

[    0.000000] SoC: Danube rev 1.5

[    0.000000] bootconsole [early0] enabled

[    0.000000] CPU0 revision is: 00019641 (MIPS 24KEc)

[    0.000000] MIPS: machine is Arcor 803

[    0.000000] Determined physical RAM map:

[    0.000000]  memory: 04000000 @ 00000000 (usable)

[    0.000000] Initrd not found or empty - disabling initrd

[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.

[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes

[    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] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0

[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256

[    0.000000] Kernel command line: console=ttyLTQ0,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] Writing ErrCtl register=00067e50

[    0.000000] Readback ErrCtl register=00067e50

[    0.000000] Memory: 57812K/65536K available (4408K kernel code, 183K rwdata, 1028K rodata, 1212K init, 219K bss, 7724K reserved, 0K cma-reserved)

[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

[    0.000000] NR_IRQS: 256

[    0.000000] CPU Clock: 333MHz

[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns

[    0.000018] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns

[    0.007982] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)

[    0.054272] pid_max: default: 32768 minimum: 301

[    0.059387] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)

[    0.065943] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

[    0.083301] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns

[    0.092990] futex hash table entries: 256 (order: -1, 3072 bytes)

[    0.099286] pinctrl core: initialized pinctrl subsystem

[    0.106286] NET: Registered protocol family 16

[    0.120165] pinctrl-xway 1e100b10.pinmux: Init done

[    0.126840] dma-xway 1e104100.dma: Init done - hw rev: 3, ports: 5, channels: 20

[    0.145699] PCI host bridge /fpi@10000000/pci@e105400 ranges:

[    0.151404]  MEM 0x0000000018000000..0x0000000019ffffff

[    0.156673]   IO 0x000000001ae00000..0x000000001affffff

[    0.221780] usbcore: registered new interface driver usbfs

[    0.227411] usbcore: registered new interface driver hub

[    0.232847] usbcore: registered new device driver usb

[    0.238373] PCI host bridge to bus 0000:00

[    0.242427] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]

[    0.249351] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]

[    0.256299] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]

[    0.263150] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]

[    0.273963] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]

[    0.280716] pci 0000:00:0f.2: BAR 0: assigned [mem 0x18010000-0x180100ff]

[    0.287563] pci 0000:00:0f.0: BAR 4: assigned [io  0x1ae00000-0x1ae0001f]

[    0.294419] pci 0000:00:0f.1: BAR 4: assigned [io  0x1ae00020-0x1ae0003f]

[    0.302460] clocksource: Switched to clocksource MIPS

[    0.310225] NET: Registered protocol family 2

[    0.316002] TCP established hash table entries: 1024 (order: 0, 4096 bytes)

[    0.322961] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

[    0.329348] TCP: Hash tables configured (established 1024 bind 1024)

[    0.336035] UDP hash table entries: 256 (order: 0, 4096 bytes)

[    0.341863] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

[    0.348587] NET: Registered protocol family 1

[    0.353032] PCI: Enabling device 0000:00:0f.0 (0000 -> 0001)

[    0.358696] PCI: Enabling device 0000:00:0f.1 (0000 -> 0001)

[    0.364414] PCI: Enabling device 0000:00:0f.2 (0000 -> 0002)

[    0.387969] gptu: totally 6 16-bit timers/counters

[    0.392901] gptu: misc_register on minor 63

[    0.397041] gptu: succeeded to request irq 126

[    0.401545] gptu: succeeded to request irq 127

[    0.406059] gptu: succeeded to request irq 128

[    0.410575] gptu: succeeded to request irq 129

[    0.415085] gptu: succeeded to request irq 130

[    0.419599] gptu: succeeded to request irq 131

[    0.430866] lantiq,vmmc 1f103000.vmmc: requested GPIO 465

[    0.436213] lantiq,vmmc 1f103000.vmmc: reserved 1MB at 0x03a00000

[    0.444070] Crashlog allocated RAM at address 0x3f00000

[    0.453764] workingset: timestamp_bits=30 max_order=14 bucket_order=0

[    0.472194] squashfs: version 4.0 (2009/01/31) Phillip Lougher

[    0.477969] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.

[    0.515437] io scheduler noop registered

[    0.519298] io scheduler deadline registered (default)

[    0.527270] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc

[    0.536240] console [ttyLTQ0] enabled
[    0.536240] console [ttyLTQ0] enabled

[    0.543342] bootconsole [early0] disabled
[    0.543342] bootconsole [early0] disabled

[    0.552062] cacheinfo: Failed to find cpu0 device node
[    0.555740] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.562344] lantiq nor flash device: 00800000 at 10000000
[    0.567209] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[    0.576198] Amd/Fujitsu Extended Query Table at 0x0040
[    0.581192]   Amd/Fujitsu Extended Query version 1.1.
[    0.586059] number of CFI chips: 1
[    0.589427] 4 fixed-partitions partitions found on MTD device ltq_nor
[    0.595610] Creating 4 MTD partitions on "ltq_nor":
[    0.600345] 0x000000000000-0x000000030000 : "uboot"
[    0.606926] 0x000000030000-0x000000040000 : "uboot_env"
[    0.612332] 0x000000040000-0x0000007f0000 : "firmware"
[    0.656401] 2 uimage-fw partitions found on MTD device firmware
[    0.660858] 0x000000040000-0x0000001fee13 : "kernel"
[    0.667462] 0x0000001fee13-0x0000007f0000 : "rootfs"
[    0.672583] mtd: device 4 (rootfs) set to be root filesystem
[    0.676866] 1 squashfs-split partitions found on MTD device rootfs
[    0.682782] 0x000000720000-0x0000007f0000 : "rootfs_data"
[    0.689708] 0x0000007f0000-0x000000800000 : "board_config"
[    0.699502] libphy: Fixed MDIO Bus: probed
[    0.722680] switch0: Atheros AR8216 rev. 1 switch registered on 1e180000.etop-ffffffff
[    0.762188] libphy: ltq_mii: probed
[    0.803893] Atheros AR8216/AR8236/AR8316 1e180000.etop-ffffffff:00: attached PHY driver [Atheros AR8216/AR8236/AR8316] (mii_bus:phy_addr=1e180000.etop-ffffffff:00, irq=POLL)
[    0.820192] wdt 1f8803f0.watchdog: Init done
[    0.831128] NET: Registered protocol family 10
[    0.852063] Segment Routing with IPv6
[    0.854403] NET: Registered protocol family 17
[    0.858746] 8021q: 802.1Q VLAN Support v1.8
[    0.872444] OF: fdt: not creating '/sys/firmware/fdt': CRC check failed
[    0.877586] USB_VBUS: disabling
[    0.896256] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.909471] Freeing unused kernel memory: 1212K
[    0.912573] This architecture does not have kernel memory protection.
[    1.154510] random: fast init done
[    2.528678] init: Console is alive
[    2.531199] init: - watchdog -
[    7.123224] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    7.480329] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.498733] SCSI subsystem initialized
[    7.509979] ehci-platform: EHCI generic platform driver
[    7.517941] ehci-pci: EHCI PCI platform driver
[    7.521278] ehci-pci 0000:00:0f.2: EHCI Host Controller
[    7.526120] ehci-pci 0000:00:0f.2: new USB bus registered, assigned bus number 1
[    7.533414] ehci-pci 0000:00:0f.2: irq 135, io mem 0x18010000
[    7.554537] ehci-pci 0000:00:0f.2: USB 2.0 started, EHCI 1.00
[    7.560839] hub 1-0:1.0: USB hub found
[    7.563976] hub 1-0:1.0: 4 ports detected
[    7.573884] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.581585] ohci-platform: OHCI generic platform driver
[    7.589989] uhci_hcd: USB Universal Host Controller Interface driver
[    7.595173] uhci_hcd 0000:00:0f.0: UHCI Host Controller
[    7.599997] uhci_hcd 0000:00:0f.0: new USB bus registered, assigned bus number 2
[    7.607182] uhci_hcd 0000:00:0f.0: irq 135, io base 0x1ae00000
[    7.615634] hub 2-0:1.0: USB hub found
[    7.618785] hub 2-0:1.0: 2 ports detected
[    7.623325] uhci_hcd 0000:00:0f.1: UHCI Host Controller
[    7.627221] uhci_hcd 0000:00:0f.1: new USB bus registered, assigned bus number 3
[    7.634399] uhci_hcd 0000:00:0f.1: irq 135, io base 0x1ae00020
[    7.643612] hub 3-0:1.0: USB hub found
[    7.646754] hub 3-0:1.0: 2 ports detected
[    7.660854] dwc2 1e101000.usb: 1e101000.usb supply vusb_d not found, using dummy regulator
[    7.667770] dwc2 1e101000.usb: 1e101000.usb supply vusb_a not found, using dummy regulator
[    7.675973] dwc2 1e101000.usb: dwc2_core_reset() HANG! Soft Reset GRSTCTL=80000001
[    7.683477] dwc2 1e101000.usb: DWC OTG Controller
[    7.687597] dwc2 1e101000.usb: new USB bus registered, assigned bus number 4
[    7.694415] dwc2 1e101000.usb: irq 62, io mem 0x1e101000
[    7.703471] hub 4-0:1.0: USB hub found
[    7.706619] hub 4-0:1.0: 1 port detected
[    7.720174] usbcore: registered new interface driver usb-storage
[    7.728827] usbcore: registered new interface driver uas
[    7.733995] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.750611] init: - preinit -
[    9.087059] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    9.117816] random: procd: uninitialized urandom read (4 bytes read)
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
[   10.094819] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   12.556038] mount_root: loading kmods from internal overlay
[   12.651090] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   12.664997] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   14.449008] jffs2: notice: (514) jffs2_build_xattr_subsystem: complete building xattr subsystem, 7 of xdatum (0 unchecked, 5 orphan) and 9 of xref (5 dead, 0 orphan) found.
[   14.463588] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   14.477031] block: extroot: not configured
[   14.577477] jffs2: notice: (512) jffs2_build_xattr_subsystem: complete building xattr subsystem, 7 of xdatum (0 unchecked, 5 orphan) and 9 of xref (5 dead, 0 orphan) found.
[   15.586911] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   15.598125] block: extroot: not configured
[   15.602882] mount_root: switching to jffs2 overlay
[   15.702759] overlayfs: upper fs does not support tmpfile.
[   15.718925] urandom-seed: Seeding with /etc/urandom.seed
[   15.939487] procd: - early -
[   15.941152] procd: - watchdog -
[   16.902815] procd: - watchdog -
[   16.905257] procd: - ubus -
[   17.330850] random: ubusd: uninitialized urandom read (4 bytes read)
[   17.893961] random: ubusd: uninitialized urandom read (4 bytes read)
[   17.899740] random: ubusd: uninitialized urandom read (4 bytes read)
[   17.908501] procd: - init -
Please press Enter to activate this console.
[   19.768620] kmodloader: loading kernel modules from /etc/modules.d/*
[   19.819117] IFXOS, Version 1.5.19 (c) Copyright 2009, Lantiq Deutschland GmbH
[   19.886268] Lantiq TAPI device driver, version 3.13.0.2, (c) 2001-2010 Lantiq Deutschland GmbH
[   19.983782] FS-Cache: Loaded
[   20.060165] ntfs: driver 2.1.32 [Flags: R/O MODULE].
[   20.150780] loop: module loaded
[   20.257067] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   20.394889] usbcore: registered new interface driver cdc_acm
[   20.399120] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   20.444814] usbcore: registered new interface driver cdc_wdm
[   20.467705] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   20.474194] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   20.539912] Lantiq MIPS24KEc MPS driver, version 2.2.2.5, (c) 2006-2010 Lantiq Deutschland GmbH
[   20.547133] request_timer(3, 0x000001AE, 1)...
[   20.547173] successful!
[   20.553992] Lantiq VMMC device driver, version 1.9.0.3, (c) 2006-2010 Lantiq Deutschland GmbH
[   20.598376] hso: drivers/net/usb/hso.c: Option Wireless
[   20.602640] usbcore: registered new interface driver hso
[   20.626819] ip_tables: (C) 2000-2006 Netfilter Core Team
[   20.673191] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   20.936580] nf_conntrack_rtsp v0.7 loading
[   21.452919] nf_nat_rtsp v0.7 loading
[   21.495823] Netfilter messages via NETLINK v0.30.
[   21.530683] usbcore: registered new interface driver ums-alauda
[   21.557368] usbcore: registered new interface driver ums-cypress
[   21.581509] usbcore: registered new interface driver ums-datafab
[   21.605149] usbcore: registered new interface driver ums-freecom
[   21.629527] usbcore: registered new interface driver ums-isd200
[   21.653633] usbcore: registered new interface driver ums-jumpshot
[   21.681253] usbcore: registered new interface driver ums-karma
[   21.702788] usbcore: registered new interface driver ums-sddr09
[   21.723606] usbcore: registered new interface driver ums-sddr55
[   21.740513] usbcore: registered new interface driver ums-usbat
[   21.756938] usbcore: registered new interface driver usblp
[   21.802091] usbcore: registered new interface driver usbserial
[   21.806767] usbcore: registered new interface driver usbserial_generic
[   21.813005] usbserial: USB Serial support registered for generic
[   21.938617] xt_time: kernel timezone is -0000
[   21.949865] usbcore: registered new interface driver cdc_ether
[   21.967839] usbcore: registered new interface driver cdc_ncm
[   22.085108] usbcore: registered new interface driver cp210x
[   22.089476] usbserial: USB Serial support registered for cp210x
[   22.140450] usbcore: registered new interface driver huawei_cdc_ncm
[   22.200468] usbcore: registered new interface driver kalmia
[   22.558613] ctnetlink v0.93: registering with nfnetlink.
[   22.625289] PPP generic driver version 2.4.2
[   22.644843] NET: Registered protocol family 24
[   22.666259] usbcore: registered new interface driver qmi_wwan
[   22.686438] usbcore: registered new interface driver rndis_host
[   22.744917] usbcore: registered new interface driver sierra
[   22.749324] usbserial: USB Serial support registered for Sierra USB modem
[   22.778134] usbcore: registered new interface driver sierra_net
[   22.817731] usbcore: registered new interface driver cdc_mbim
[   22.841569] usbcore: registered new interface driver option
[   22.845976] usbserial: USB Serial support registered for GSM modem (1-port)
[   22.945103] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   22.950261] rt2800pci 0000:00:0e.0: loaded eeprom from mtd device "board_config"
[   22.956497] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[   22.964095] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[   23.021068] kmodloader: done loading kernel modules from /etc/modules.d/*
[   52.126627] random: crng init done
[   52.128524] random: 6 urandom warning(s) missed due to ratelimiting
[   54.044980] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   54.095284] br-lan: port 1(eth0.1) entered blocking state
[   54.099261] br-lan: port 1(eth0.1) entered disabled state
[   54.105071] device eth0.1 entered promiscuous mode
[   54.109127] device eth0 entered promiscuous mode
[   55.055339] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   55.061222] br-lan: port 1(eth0.1) entered blocking state
[   55.065398] br-lan: port 1(eth0.1) entered forwarding state
[   55.083410] br-wan: port 1(eth0.2) entered blocking state
[   55.087401] br-wan: port 1(eth0.2) entered disabled state
[   55.093166] device eth0.2 entered promiscuous mode
[   55.182801] br-wan: port 1(eth0.2) entered blocking state
[   55.186762] br-wan: port 1(eth0.2) entered forwarding state
[   55.192533] IPv6: ADDRCONF(NETDEV_UP): br-wan: link is not ready
[   56.078605] IPv6: ADDRCONF(NETDEV_CHANGE): br-wan: link becomes ready

Na tym się kończy log

BusyBox v1.29.3 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r8064-03c7c8c853
 -----------------------------------------------------
root@OpenWrt:/# 

czy to jest problem ze źle wgranym obrazem czy może trzeba coś zmodyfikować w bootloaderze tak jak u Cezarego ??

14

(10 odpowiedzi, napisanych Oprogramowanie / Software)

Witam
Czy masz może wersję
Hardware Version    H-G5 
Software Version    2.0.04 
Build Time    Dec 5 2014
Ja mam taką samą i mam podobny problem czyli po wgraniu nowego firmware (mifi-17.01-snapshot-r3514-97ebdf9-a5-v11) jest dalej wersja oryginalna angielska
Poniżej jest możliwe rozwiązanie, ostatni post w wątku
       
https://forum.openwrt.org/viewtopic.php?id=63792
niestety linki nie działają ale znalazłem kopie na githubie link poniżej
https://github.com/probonopd/rt5350f-uboot
jeżeli możesz to przetestuj ten bootloader