Cezary napisał/a:@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:2534
Pró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.