Odp: [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040
Nadal twierdze że nie starasz się zrozumieć tego co czytasz. Do katalogu /tmp masz to skopiować. Nie do /root tak jak teraz robisz. Wyraźnie jest to napisane - do /tmp.
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040
Strony Poprzednia 1 … 8 9 10 11 12 … 38 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
Nadal twierdze że nie starasz się zrozumieć tego co czytasz. Do katalogu /tmp masz to skopiować. Nie do /root tak jak teraz robisz. Wyraźnie jest to napisane - do /tmp.
już skopiowałem nie do tego folderu ładowałem
tak kontaktuje to chyba z niewyspania ale się uwiozłem na to
zepsuć jest nie sztuka ale naprawić ho ho trzeba zachodu no to teraz utknąłem na poleceniu z putty jak wpisuje sysupgrade -n /tmp/a.bin to mi pisze coś że nie może otworzyć ![]()
Wykonaj przez putty
ls -al /tmpi pokaż wynik.
root@OpenWrt:~$ ls -al /tmp
drwxrwxrwt 8 root root 300 Jan 1 02:20 .
drwxr-xr-x 6 root root 0 Jan 1 02:09 ..
-rw-r--r-- 1 root root 814 Jan 1 02:31 .ash_history
drwx------ 2 root root 40 Jan 1 01:00 .uci
-rw-r--r-- 1 root root 27 Jan 1 01:00 TZ
-rw-r--r-- 1 root root 75 Jan 1 02:31 dhcp.leases
-rw-r--r-- 1 root root 85 Jan 1 01:00 fstab
drwxr-xr-x 2 root root 60 Jan 1 01:00 lock
drwxr-xr-x 2 root root 80 Jan 1 01:00 log
-rw-r--r-- 1 root root 3743748 Mar 16 2012 openwrt-ar71xx-tl-mr3420-v1-squashfs-sysupgrade.bin
drwxr-xr-x 2 root root 40 Jan 1 01:00 overlay
-rw-r--r-- 1 root root 32 Jan 1 01:00 resolv.conf
-rw-r--r-- 1 root root 0 Jan 1 01:00 resolv.conf.auto
drwxr-xr-x 3 root root 160 Jan 1 01:00 run
drwxr-xr-x 2 root root 80 Jan 1 01:00 state
proszę
i dzięki że ci się chce w ogóle mi z tym pomagać
NADAL nie czytasz
. Miałeś go nazwać a.bin. Skoro nie zmieniłeś nazwy to polecenie wygląda tak:
sysupgrade -n /tmp/openwrt-ar71xx-tl-mr3420-v1-squashfs-sysupgrade.bin
WIELKIE WIELKIE DZIĘKI bez ciebie to bym sobie nie poradził już 2 dni mi ten router nie trybił myślałem że lipa już
i przepraszam za to że jakoś nie mogłem połapać siew tekście
pozdrawiam ![]()
@johnny3912: przełączyłeś modem na stałe?
Chyba przełączyłem?!
Polecenie:
AT^SETPORT?
Odpowiedź:
AT^SETPORT?
^SETPORT:A1,A2;1,3,2
OK
Informacja:
Linie w których znajduje się znak "^" mogą nie być odpowiedzią na wysłaną komendę AT a dodatkową informacją wysłaną przez modem.Oryginalnie było tak:
Polecenie:
AT^SETPORT?
Odpowiedź:
AT^SETPORT?
^SETPORT:A1,A2;1,16,3,2,A1,A2
OK
Informacja:
Linie w których znajduje się znak "^" mogą nie być odpowiedzią na wysłaną komendę AT a dodatkową informacją wysłaną przez modem.Polecenie:
AT^SETPORT=?
Odpowiedź:
AT^SETPORT=?
^SETPORT:A1: CDROM
^SETPORT:A2: SD
^SETPORT:A: BLUE TOOTH
^SETPORT:B: FINGER PRINT
^SETPORT:D: MMS
^SETPORT:E: PC VOICE
^SETPORT:1: MODEM
^SETPORT:2: PCUI
^SETPORT:3: DIAG
^SETPORT:4: PCSC
^SETPORT:5: GPS
^SETPORT:6: GPS CONTROL
^SETPORT:16: NCM
OK
Informacja:
Linie w których znajduje się znak "^" mogą nie być odpowiedzią na wysłaną komendę AT a dodatkową informacją wysłaną przez modem.Aktualny logread po restarcie:
root@Gargoyle:~$ logread
Jan 1 01:00:40 Gargoyle user.debug kernel: ath: EEPROM indicates default country code should be used
Jan 1 01:00:40 Gargoyle user.debug kernel: ath: doing EEPROM country->regdmn map search
Jan 1 01:00:40 Gargoyle user.debug kernel: ath: country maps to regdmn code: 0x3a
Jan 1 01:00:40 Gargoyle user.debug kernel: ath: Country alpha2 being used: US
Jan 1 01:00:40 Gargoyle user.debug kernel: ath: Regpair used: 0x3a
Jan 1 01:00:40 Gargoyle user.debug kernel: ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Jan 1 01:00:40 Gargoyle user.info kernel: Registered led device: ath9k-phy0
Jan 1 01:00:40 Gargoyle user.info kernel: ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xb0000000, irq=48
Jan 1 01:00:40 Gargoyle user.info kernel: cfg80211: Calling CRDA for country: US
Jan 1 01:00:40 Gargoyle user.info kernel: cfg80211: Regulatory domain changed to country: US
Jan 1 01:00:40 Gargoyle user.info kernel: cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan 1 01:00:40 Gargoyle user.info kernel: cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
Jan 1 01:00:40 Gargoyle user.info kernel: cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
Jan 1 01:00:40 Gargoyle user.info kernel: cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan 1 01:00:40 Gargoyle user.info kernel: cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan 1 01:00:40 Gargoyle user.info kernel: cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan 1 01:00:40 Gargoyle user.info kernel: cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Jan 1 01:00:41 Gargoyle user.info kernel: PPP generic driver version 2.4.2
Jan 1 01:00:41 Gargoyle user.info kernel: tun: Universal TUN/TAP device driver, 1.6
Jan 1 01:00:41 Gargoyle user.info kernel: tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Jan 1 01:00:42 Gargoyle user.info kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Jan 1 01:00:42 Gargoyle user.info kernel: NET: Registered protocol family 24
Jan 1 01:00:42 Gargoyle user.warn kernel: nf_conntrack version 0.5.0 (462 buckets, 1848 max)
Jan 1 01:00:42 Gargoyle user.warn kernel: CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
Jan 1 01:00:42 Gargoyle user.warn kernel: nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
Jan 1 01:00:42 Gargoyle user.warn kernel: sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
Jan 1 01:00:43 Gargoyle user.info kernel: xt_time: kernel timezone is -0000
Jan 1 01:00:43 Gargoyle user.info kernel: Hooked IMQ after mangle on PREROUTING
Jan 1 01:00:43 Gargoyle user.info kernel: Hooked IMQ after nat on POSTROUTING
Jan 1 01:00:43 Gargoyle user.info kernel: IMQ driver loaded successfully.
Jan 1 01:00:43 Gargoyle user.warn kernel: ip_set version 4 loaded
Jan 1 01:00:44 Gargoyle user.info kernel: usbcore: registered new interface driver cdc_acm
Jan 1 01:00:44 Gargoyle user.info kernel: cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
Jan 1 01:00:44 Gargoyle user.info kernel: usbcore: registered new interface driver usbserial
Jan 1 01:00:44 Gargoyle user.info kernel: USB Serial support registered for generic
Jan 1 01:00:44 Gargoyle user.info kernel: usbcore: registered new interface driver usbserial_generic
Jan 1 01:00:44 Gargoyle user.info kernel: usbserial: USB Serial Driver core
Jan 1 01:00:44 Gargoyle user.info kernel: USB Serial support registered for GSM modem (1-port)
Jan 1 01:00:44 Gargoyle user.info kernel: usbcore: registered new interface driver option
Jan 1 01:00:44 Gargoyle user.info kernel: option: v0.7.2:USB Driver for GSM modems
Jan 1 01:00:45 Gargoyle user.info kernel: USB Serial support registered for Sierra USB modem
Jan 1 01:00:45 Gargoyle user.info kernel: usbcore: registered new interface driver sierra
Jan 1 01:00:45 Gargoyle user.info kernel: sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems
Jan 1 01:00:45 Gargoyle user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_2.6.32.27_ehci_hcd Product=Atheros_AR91xx_built-in_EHCI_controller Serial=ar71xx-ehci
Jan 1 01:00:45 Gargoyle user.info sysinit: WARNING: /lib/functions/fsck not found
Jan 1 01:00:45 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Jan 1 01:00:45 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Selecting /etc/usb_modeswitch.d/12d1:14fe for mode switching
Jan 1 01:00:46 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Jan 1 01:00:46 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Jan 1 01:00:46 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Jan 1 01:00:46 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Jan 1 01:00:46 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Jan 1 01:00:46 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Jan 1 01:00:46 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Jan 1 01:00:46 Gargoyle user.notice usb-modeswitch: 1-1:1.1: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Jan 1 01:00:46 Gargoyle user.notice usb-modeswitch: 1-1:1.1: Selecting /etc/usb_modeswitch.d/12d1:14fe for mode switching
Jan 1 01:00:46 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Jan 1 01:00:46 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Jan 1 01:00:46 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Jan 1 01:00:46 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Jan 1 01:00:47 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Jan 1 01:00:47 Gargoyle user.notice usb-modeswitch: switching seemingly failed
Jan 1 01:00:47 Gargoyle user.notice usb-modeswitch: switching seemingly failed
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:56 Gargoyle user.info kernel: device wlan0 left promiscuous mode
Jan 1 01:00:56 Gargoyle user.info kernel: br-lan: port 2(wlan0) entering disabled state
Jan 1 01:00:56 Gargoyle user.info kernel: device wlan0 entered promiscuous mode
Jan 1 01:00:56 Gargoyle user.info kernel: br-lan: port 2(wlan0) entering forwarding state
Mar 16 18:14:29 Gargoyle user.info sysinit: Error 1 looking up hostname 0.pl.pool.ntp.org
Mar 16 18:14:29 Gargoyle user.info sysinit: Error 1 looking up hostname 1.pl.pool.ntp.org
Mar 16 18:14:29 Gargoyle user.info sysinit: Error 1 looking up hostname 2.pl.pool.ntp.org
Mar 16 18:14:29 Gargoyle user.info sysinit: Loading defaults
Mar 16 18:14:30 Gargoyle user.info sysinit: Loading synflood protection
Mar 16 18:14:30 Gargoyle user.info sysinit: Adding custom chains
Mar 16 18:14:30 Gargoyle user.info sysinit: Loading zones
Mar 16 18:14:31 Gargoyle user.info sysinit: Loading forwardings
Mar 16 18:14:31 Gargoyle user.info sysinit: Loading redirects
Mar 16 18:14:31 Gargoyle user.info sysinit: Loading rules
Mar 16 18:14:32 Gargoyle user.info sysinit: Loading includes
Mar 16 18:14:33 Gargoyle user.info sysinit: Optimizing conntrack
Mar 16 18:14:33 Gargoyle user.info sysinit: Loading interfaces
Mar 16 18:14:33 Gargoyle user.info firewall: adding lan (br-lan) to zone lan
Mar 16 18:14:33 Gargoyle cron.err crond[1364]: crond (busybox 1.15.3) started, log level 9
Mar 16 18:14:34 Gargoyle authpriv.info dropbear[1385]: Running in background
Mar 16 18:14:34 Gargoyle daemon.warn httpd_gargoyle[1395]: started as root without requesting chroot(), warning only
Mar 16 18:14:34 Gargoyle daemon.notice httpd_gargoyle[1395]: httpd_gargoyle/1.0 14mar2008 starting on Gargoyle, port 80
Mar 16 18:14:35 Gargoyle user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Mar 16 18:14:35 Gargoyle user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Mar 16 18:14:38 Gargoyle daemon.info dnsmasq[1505]: started, version 2.55 cachesize 150
Mar 16 18:14:38 Gargoyle daemon.info dnsmasq[1505]: compile time options: IPv6 GNU-getopt no-DBus no-I18N DHCP TFTP
Mar 16 18:14:38 Gargoyle daemon.info dnsmasq-dhcp[1505]: DHCP, IP range 192.168.2.100 -- 192.168.2.250, lease time 12h
Mar 16 18:14:38 Gargoyle daemon.info dnsmasq[1505]: using local addresses only for domain lan
Mar 16 18:14:38 Gargoyle daemon.info dnsmasq[1505]: reading /tmp/resolv.conf.auto
Mar 16 18:14:38 Gargoyle daemon.warn dnsmasq[1505]: ignoring nameserver 192.168.2.1 - local interface
Mar 16 18:14:38 Gargoyle daemon.info dnsmasq[1505]: using local addresses only for domain lan
Mar 16 18:14:38 Gargoyle daemon.info dnsmasq[1505]: read /etc/hosts - 2 addresses
Mar 16 18:14:38 Gargoyle daemon.info dnsmasq-dhcp[1505]: read /etc/ethers - 0 addresses
Mar 16 18:14:39 Gargoyle user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Mar 16 18:14:39 Gargoyle user.info sysinit: (Did you specify correct configuration file path?)
Mar 16 18:14:39 Gargoyle user.warn kernel: usb 1-1: usbfs: process 1526 (usb_modeswitch) did not claim interface 0 before use
Mar 16 18:14:39 Gargoyle user.info sysinit: Looking for target devices ...
Mar 16 18:14:39 Gargoyle user.info sysinit: No devices in target mode or class found
Mar 16 18:14:39 Gargoyle user.info sysinit: Looking for default devices ...
Mar 16 18:14:39 Gargoyle user.info sysinit: found matching product ID
Mar 16 18:14:39 Gargoyle user.info sysinit: adding device
Mar 16 18:14:39 Gargoyle user.info sysinit: Found device in default mode, class or configuration (1)
Mar 16 18:14:39 Gargoyle user.info sysinit: Accessing device 002 on bus 001 ...
Mar 16 18:14:39 Gargoyle user.info sysinit: Getting the current device configuration ...
Mar 16 18:14:39 Gargoyle user.info sysinit: OK, got current device configuration (1)
Mar 16 18:14:39 Gargoyle user.info sysinit: Using first interface: 0x00
Mar 16 18:14:39 Gargoyle user.info sysinit: Using endpoints 0x01 (out) and 0x81 (in)
Mar 16 18:14:39 Gargoyle user.info kernel: usb 1-1: USB disconnect, address 2
Mar 16 18:14:39 Gargoyle user.info sysinit: OK, message successfully sent
Mar 16 18:14:39 Gargoyle user.info sysinit: Resetting response endpoint 0x81
Mar 16 18:14:39 Gargoyle user.info sysinit: Could not reset endpoint (probably harmless): -71
Mar 16 18:14:39 Gargoyle user.info sysinit: Resetting message endpoint 0x01
Mar 16 18:14:39 Gargoyle user.info sysinit: Could not reset endpoint (probably harmless): -19
Mar 16 18:14:39 Gargoyle user.info sysinit: Device is gone, skipping any further commands
Mar 16 18:14:39 Gargoyle user.info sysinit: -> Run lsusb to note any changes. Bye.
Mar 16 18:14:42 Gargoyle user.info sysinit: setting up led USB
Mar 16 18:14:43 Gargoyle user.debug kernel: ar71xx-wdt: enabling watchdog timer
Mar 16 18:14:45 Gargoyle user.info kernel: usb 1-1: new high speed USB device using ar71xx-ehci and address 3
Mar 16 18:14:45 Gargoyle user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Mar 16 18:14:45 Gargoyle user.info kernel: option 1-1:1.0: GSM modem (1-port) converter detected
Mar 16 18:14:45 Gargoyle user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Mar 16 18:14:45 Gargoyle user.info kernel: option 1-1:1.1: GSM modem (1-port) converter detected
Mar 16 18:14:45 Gargoyle user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Mar 16 18:14:45 Gargoyle user.info kernel: option 1-1:1.2: GSM modem (1-port) converter detected
Mar 16 18:14:45 Gargoyle user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Mar 16 18:14:45 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Mar 16 18:14:46 Gargoyle user.notice 3g-hotplug: Starting interface wan for device ttyUSB0
Mar 16 18:14:46 Gargoyle user.notice usb-modeswitch: 1-1:1.1: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Mar 16 18:14:46 Gargoyle user.notice usb-modeswitch: 1-1:1.2: Manufacturer=HUAWEI Product=HUAWEI_Mobile Serial=?
Mar 16 18:14:49 Gargoyle daemon.notice pppd[1778]: pppd 2.4.5 started by root, uid 0
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: abort on (BUSY)
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: abort on (NO CARRIER)
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: abort on (ERROR)
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: report (CONNECT)
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: timeout set to 10 seconds
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: send (AT&F^M)
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: expect (OK)
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: AT&F^M^M
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: OK
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: -- got it
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: send (ATE1^M)
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: expect (OK)
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: ^M
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: ATE1^M^M
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: OK
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: -- got it
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: send (AT+CGDCONT=1,"IP","internet"^M)
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: timeout set to 30 seconds
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: expect (OK)
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: ^M
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: AT+CGDCONT=1,"IP","internet"^M^M
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: OK
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: -- got it
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: send (ATD*99***1#^M)
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: expect (CONNECT)
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: ^M
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: ATD*99***1#^M^M
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: CONNECT
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: -- got it
Mar 16 18:14:51 Gargoyle local2.info chat[1841]: send ( ^M)
Mar 16 18:14:51 Gargoyle daemon.info pppd[1778]: Serial connection established.
Mar 16 18:14:51 Gargoyle daemon.info pppd[1778]: Using interface 3g-wan
Mar 16 18:14:51 Gargoyle daemon.notice pppd[1778]: Connect: 3g-wan <--> /dev/ttyUSB0
Mar 16 18:14:52 Gargoyle daemon.info pppd[1778]: CHAP authentication succeeded: Welcome!!
Mar 16 18:14:52 Gargoyle daemon.notice pppd[1778]: CHAP authentication succeeded
Mar 16 18:14:56 Gargoyle daemon.warn pppd[1778]: Could not determine remote IP address: defaulting to 10.64.64.64
Mar 16 18:14:56 Gargoyle daemon.notice pppd[1778]: local IP address 37.47.209.199
Mar 16 18:14:56 Gargoyle daemon.notice pppd[1778]: remote IP address 10.64.64.64
Mar 16 18:14:56 Gargoyle daemon.notice pppd[1778]: primary DNS address 79.163.127.70
Mar 16 18:14:56 Gargoyle daemon.notice pppd[1778]: secondary DNS address 217.116.100.65
Mar 16 18:14:57 Gargoyle user.notice ifup: Enabling Router Solicitations on wan (3g-wan)
Mar 16 18:14:57 Gargoyle user.info firewall: adding wan (3g-wan) to zone wan
Mar 16 18:14:59 Gargoyle cron.err crond[2135]: crond (busybox 1.15.3) started, log level 9
Mar 16 18:15:01 Gargoyle user.warn kernel: ipt_bandwidth: timezone shift of 60 minutes detected, adjusting
Mar 16 18:15:01 Gargoyle user.warn kernel: old minutes west=0, new minutes west=-60
Mar 16 18:15:02 Gargoyle cron.err crond[2469]: crond (busybox 1.15.3) started, log level 9
Mar 16 18:15:04 Gargoyle daemon.info dnsmasq[1505]: reading /tmp/resolv.conf.auto
Mar 16 18:15:04 Gargoyle daemon.info dnsmasq[1505]: using nameserver 217.116.100.65#53
Mar 16 18:15:04 Gargoyle daemon.info dnsmasq[1505]: using nameserver 79.163.127.70#53
Mar 16 18:15:04 Gargoyle daemon.warn dnsmasq[1505]: ignoring nameserver 192.168.2.1 - local interface
Mar 16 18:15:04 Gargoyle daemon.info dnsmasq[1505]: using local addresses only for domain lan
Mar 16 18:15:15 Gargoyle authpriv.info dropbear[2595]: Child connection from 192.168.2.244:2534
Mar 16 18:15:25 Gargoyle authpriv.notice dropbear[2595]: Password auth succeeded for 'root' from 192.168.2.244:2534Próbowałem odinstalować usb-modeswitch:
root@Gargoyle:~$ opkg remove usb-modeswitch
No packages removed.
Collected errors:
* print_dependents_warning: Package usb-modeswitch is depended upon by packages:
* print_dependents_warning: usb-modeswitch-data
* print_dependents_warning: These might cease to work if package usb-modeswitch is removed.
* print_dependents_warning: Force removal of this package with --force-depends.
* print_dependents_warning: Force removal of this package and its dependents
* print_dependents_warning: with --force-removal-of-dependent-packages.opkg remove usb-modeswitch-data
Udało się odinstalować usb-modeswitch poleceniem --force-removal-of-dependent-packages, Extroot działa ale router nie wykrywa modemu
. Może router nie wyrabia z zasilaniem? Przed chwilą nowa instalka Gargoyle, aktywacja Extroot, modem przestawiony na AT^SETPORT="A1;A2,1,2,3" i ...
root@Gargoyle:~$ mount | grep /dev/sd
/dev/sda1 on /mnt/sda99 type ext2 (rw,noatime,errors=continue)
root@Gargoyle:~$ df -h | grep /dev/sd
/dev/sda1 57.9M 1.3M 56.7M 2% /mnt/sda99Może brakować mu energii, wszak to od modemu zależy.
Witam
Po kilku dniach "zabawy" z uruchomieniem Extroot, stwierdzam, że z modemem Huawei E353s-2 taka konfiguracja nie zadziała (problem z przełączaniem karty sd) - a szkoda, bo to naprawdę fajny sprzęt.
Pozdrawiam
Po przełączeniu modemu na stałe nie działa? Byłbyś pierwszą osobą której to nie chce działać.
Witam. Ja za to mam inny problem z uruchomieniem ExtRoota w TL-MR3420 Ver. 1.2 na sofcie z 2 marca do tego routera "backfire". Na starszym sofcie było to samo. Wpisując komendę "uci set fstab.@mount[0].enabled=1"
wyświetla mi się "uci: Invalid Argument". Jest na to jakaś rada?
Tak, najpierw zrobić sekcję fstab: uci add fstab mount
Tak, najpierw zrobić sekcję fstab: uci add fstab mount
Dziękuję, wszystko już działa.
Po przełączeniu modemu na stałe nie działa? Byłbyś pierwszą osobą której to nie chce działać.
Przeczytałem kilka postów na temat modemów serii E3xx i nie znalazłem informacji o poprawnym działaniu extroot. Problem jest taki, że tego modemu nie można przełączyć na stałe w tryb modem+sd. Działa jedno albo drugie, bez przełączenia wysypuje się system plików na karcie sd. Chciałbym pomóc w rozwiązaniu tego problemu, ale potrzebuje więcej informacji ( jakie logi wykonać, itp).
Pozdrawiam
Więc dodaj sobie przełączenie do /lib/preinit/50_determine_usb_root polecenie do przełączenia i problem z głowy.
Więc dodaj sobie przełączenie do /lib/preinit/50_determine_usb_root polecenie do przełączenia i problem z głowy.
Podpowiesz jak? Kilku osobom zaoszczedzi to kilku godzin szperania, albo i poddania sie
... Dopisuje sie do johnny3912: E353, MR3220, w ciagu dwoch tygodni przeszedlem droge przez meke z Backfire i Twoimi obrazami - dzis poddalem sie definitywnie; extroot-a montuje sie bez najmniejszych problemow, takze z partycja swap-owa, 3g dziala swietnie i niezawodnie, ale wystarczy ze polaczy sie oba te ficzery i jest po zabawie. picocom przy wyslaniu kodu AT^U2DIAG=256 zwraca ERROR, a moje szukanie po sieci nie zwraca niczego ponad tego ze gdzies ktos stwierdza iz e353-u2 obsluguje te same komendy co e220...
Najsmieszniejsze jest to ze dzis doszedlem do wniosku ze na bazie golego backfire jestem w stanie skonfigurowac juz sobie taki ruter jaki jest mi potrzebny, a ta cala meka to tylko dlatego ze "szkoda nie skorzystac z mozliwosci" ![]()
Dzieki za pomoc i szacun za te setki odpowiedzi na te same pytania albo powtarzanie po 10-kroc tego co jest w pierwszym poscie ![]()
W /lib/preinit/50_determine_usb_root masz linię er_load_modules. Po niej dodaj sobie
/usr/bin/usb_modeswitch -v 12d1 -p XXXX -c /etc/usb_modeswitch.d/12d1:XXXX
Tylko zmień identyfikatory na takie jak masz faktycznie PRZED PRZEŁĄCZENIEM
W /lib/preinit/50_determine_usb_root masz linię er_load_modules. Po niej dodaj sobie
/usr/bin/usb_modeswitch -v 12d1 -p XXXX -c /etc/usb_modeswitch.d/12d1:XXXX
Tylko zmień identyfikatory na takie jak masz faktycznie PRZED PRZEŁĄCZENIEM
Kürde, nie wiem jak u kolegi wyzej, ale staram sie teraz niczego nie dotykac i radowac sie obecnym stanem - wyglada na to ze po polowie dnia pracy wszystko pracuje jak nalezy: swap, extroot, 3g - alles zusammen. Az teraz nie wiem co zrobic z taka iloscia miejsca ![]()
[Edit] - nie chce tworzyc nowego watku, zeby nie zasmiecac tego watku prosze o odp na priv. Wczesniej nie mialem takiego zachowania sie rutera - po komendzie ifdown wan modem sie wylacza, ale po minucie, moze dwoch - sam sie podnosi... Co mi go wlacza? (musze miec mozliwosc pewnego wylaczenia modemu gsm)
Mój 3gtester z crona zapewne. Ustaw option auto 0 i nie będzie tego robił.
Mariusz, napisz proszę instrukcję krok po kroku jak dodać ten wpis do /lib/preinit/50_determine_usb_root i jak ustawić option auto 0. Kolegi Cezarego nie chce już męczyć jednym i tym samym
. P.S. Extroot uruchomiłeś na czytniku sd wbudowanym w modem i jaka to wersja E353 (s-2/u-2)? Pozdrawiam
Mariusz, napisz proszę instrukcję krok po kroku jak dodać ten wpis do /lib/preinit/50_determine_usb_root i jak ustawić option auto 0. Kolegi Cezarego nie chce już męczyć jednym i tym samym
. P.S. Extroot uruchomiłeś na czytniku sd wbudowanym w modem i jaka to wersja E353 (s-2/u-2)? Pozdrawiam
Chyba tak jak w powyzszym opisie mam
, Ty chyba nawet doszedles dalej, fakty teraz mam takie:
- karta 2GB, sformatowana fdiskiem na dwie partycje ext2 (mialem wczesniej backfire i meczylo mnie doinstalowywanie ext3,ext4, wiec mam ext2) - pierwsza partycja zwykla linuxowa, druga swap-owa (82).
- obraz gargoyle do updgrade, z pierwszej strony tego how-to, nic nie doinstalowywane, bo i nie mialem potrzeby
- ustawilem sobie wszystko jak nalezy z wifi i 3g, karta wlozona, wiec widzialem ze sda1 i sda2 pojawiaja sie w logread
- potem pieknie robie kopie overlay do sda1 tak jak napisal to Cezary w how-to, super to dziala
- edytuje plik 50_determine_usb_root, u mnie linia 35, dodalem:
/usr/bin/usb_modeswitch -v 12d1 -p 1506 -c /etc/usb_modeswitch.d/12d1:1505
u Ciebie chyba jest inaczej! U mnie jest takie dziwadlo ze logread jest jakby "za krotki" a nie chcialo mi sie juz grzebac zeby to zwalczyc. W kazdym razie ja nie widze tych wpisow ktore u Ciebie widac - ze wyraznie widac jaki on plik wybiera z /etc/usb_modeswitch.d/12d1:XXXX. Po prostu szukalem mojego i kliknalem w 12d1:1505 gdzie jest napisane ze jest on takze wazny dla 1506.
aha - oczywiscie dane wzialem z cat /proc/bus/usb/devices, u mnie jest to akurat:
P: Vendor=12d1 ProdID=1506 Rev= 1.02
S: Manufacturer=HUAWEI
S: Product=HUAWEI Mobile
- edycja fstab-a, ja akurat siekam to recznie wiec dam tylko zrzut mojego:
config 'swap'
option 'device' '/dev/sda2'
option 'enabled' '1'
config 'mount'
option 'enabled' '1'
option 'uuid' 'c87cdf9c-1a1a-4594-a019-4fa77a301f92'
option 'target' '/overlay'
option 'is_rootfs' '1'
option 'fstype' 'ext2'
option 'options' 'rw,noatime'
uuid oczywiscie sobie odczytalem blkid-em. Juz widze ze zapomnialem jeszcze to samo w swap-ie zrobic, zeby bylo juz naprawde profi.
- pozniej tylko mkswap /dev/sda2 i swapon /dev/sda2 i wszystko gra
root@Gargoyle:~$ df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 2.5M 2.5M 0 100% /rom
tmpfs 14.4M 144.0K 14.3M 1% /tmp
tmpfs 512.0K 0 512.0K 0% /dev
/dev/mtdblock3 893.9M 4.5M 889.3M 1% /overlay
mini_fo:/overlay 2.5M 2.5M 0 100% /
/dev/sda1 893.9M 4.5M 889.3M 1% /overlay
root@Gargoyle:~$ free
total used free shared buffers
Mem: 29588 23024 6564 0 2832
Swap: 970912 0 970912
Total: 1000500 23024 977476
root@Gargoyle:~$ arp -n
IP address HW type Flags HW address Mask Device
192.168.1.2 0x1 0x2 00:1c:22:b6:5f:a5 * br-lan
root@Gargoyle:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=49 time=764.500 ms
64 bytes from 8.8.8.8: seq=1 ttl=49 time=313.678 ms
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 313.678/539.089/764.500 ms
root@Gargoyle:~$
Pracuje na nim juz drugi dzien - wszystko gra, wywalilem tylko z crontab ten 3gtester bo faktycznie to on podnosil mi polaczenie 3g po jego wylaczeniu (nic nie ustawialem, po prostu go wywalilem).
Aha - ja wlasnie nie wiem jaki to "rodzaj", na moim modemie jest po prostu e353 , potem juz jakies HSPA+ cos tam. Modem z tmobile.
[Edit] - jako powiedziane przez Cezarego - s2 pod klapka.
Jak otworzysz klapkę (nie na naklejce na modemie) to pod nią masz napisany model. s-1 lub s-2 masz zapewne.
Jak otworzysz klapkę (nie na naklejce na modemie) to pod nią masz napisany model. s-1 lub s-2 masz zapewne.
A propos 3g - w sekcji network jest parametr DEMAND - czy jest mozliwosc zeby on zadzialal, czy zapomniec o tym? Probowalem w backfire i nic sie nie dzialo. Wiem ze mam inne "pragnienie" od wiekszosci na tym forum - ja wlasnie nie chce utrzymywac polaczenia 3g, ale jezeli wszystkie stacje sie odlaczyly a 3g dziala to chcialbym zeby mi po jakims czasie wylaczyl 3g. Zrobie to za pomoca skryptow, ale chyba ten DEMAND wlasnie to powinien mi zapewnic, prawda?
Strony Poprzednia 1 … 8 9 10 11 12 … 38 Następna
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → [howto] Extroot dla Gargoyle na TL-MR3420/MR3220/MR3020/MR3040
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc