176

(81 odpowiedzi, napisanych Oprogramowanie / Software)

A jak inaczej niż w Twoim poradniku? dla x86 nie ma tych pakietów...

177

(81 odpowiedzi, napisanych Oprogramowanie / Software)

Podjąłem kolejną próbę zwiększenia ilości "ficzerów" w tytuowym terminalu i kolejne schody. Co prawda udało mi się dostać do szyny SMBus, która to niby jest tożsama z i2c, podłączałem doń BMP180 lub GY-30, lecz skutek moich działań jest taki:

root@OpenWrt:~# insmod i2c-dev
root@OpenWrt:~# i2cdetect 0
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-0.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- 77
root@OpenWrt:~# i2cget 0 0x50 0 w
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will read from device file /dev/i2c-0, chip address 0x50, data address
0x00, using read word data.
Continue? [Y/n] y
0x0880
root@OpenWrt:~# i2cget 0 0x77 0 w
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will read from device file /dev/i2c-0, chip address 0x77, data address
0x00, using read word data.
Continue? [Y/n] y
0x0000

Nie wiem co się kryje pod adresem 50, ale zawsze zwraca taką wartość, natomiast podłączone urządzenia zawsze zwracają 0x0000. Niekiedy wyświetlając do tego takie blędy:

[   54.134690] i2c i2c-0: bus error in state write (addr=0x8a, len=0, status=0x20)
[   54.175048] i2c i2c-0: bus error in state write (addr=0xd4, len=0, status=0x20)
[  129.874906] i2c i2c-0: bus error in state quick (addr=0x06, len=0, status=0x20)

Trzeba nadmienić, że w przeciwieństwie do innych linii GPIO w tym sprzęcie, 14 i 15 (SDA i SCL w SMBus) mają mizerną wydajność prądową. O ile inne potrafią wyciągnąć kilkadziesiąt mA, to te dwie pewnie <1mA. Nie wiem dokładnie, bo mi miliamperomierz przestał działać. W każdym razie trzeba zgasić światło, by stwierdzić, że dioda się świeci.
A teraz pytanie: czy da radę w sterowniku scx_200acb w prosty sposób zmienić linie GPIO na których działa? Albo może jest jakiś inny sposób uruchomienia i2c?

178

(46 odpowiedzi, napisanych Oprogramowanie / Software)

Poszło. Zrobiłem to samo na czystym systemie (na poprzednim kombinowałem z serwerem PostgreSQL) i wystarczyło zainstalować comgt-hso i to wszystko.
To by było chyba na tyle w temacie tego, że Linux będzie działał tak samo nawet po kilku latach używania tongue.

179

(46 odpowiedzi, napisanych Oprogramowanie / Software)

root@OpenWrt:~# lsmod
8139too                13060  0
button_hotplug          2544  0
crc_ccitt                959  1 ppp_async
evdev                   6376  0
fat                    39279  1 vfat
hid_generic              580  0
hso                    21856  0
ip6_tables              8601  3 ip6table_raw
ip6t_REJECT             1956  2
ip6table_filter          580  1
ip6table_mangle          868  1
ip6table_raw             548  1
ip_tables               8481  4 iptable_nat
ipt_MASQUERADE          1060  1
ipt_REJECT              1636  2
iptable_filter           644  1
iptable_mangle           772  1
iptable_nat             1668  1
iptable_raw              580  1
ipv6                  210876 24 ip6t_REJECT
nf_conntrack           39458 13 iptable_nat
nf_conntrack_ftp        4708  1 nf_nat_ftp
nf_conntrack_ipv4       4680  8
nf_conntrack_ipv6       4932  3
nf_conntrack_irc        2644  1 nf_nat_irc
nf_defrag_ipv4           714  1 nf_conntrack_ipv4
nf_defrag_ipv6          8007  1 nf_conntrack_ipv6
nf_nat                  9100  7 iptable_nat
nf_nat_ftp              1188  0
nf_nat_ipv4             2198  1 iptable_nat
nf_nat_irc               900  0
nls_cp437               4356  0
nls_iso8859_1           2820  0
option                 26404  0
ppp_async               4996  0
ppp_generic            16658  3 pppoe
pppoe                   5988  0
pppox                   1086  1 pppoe
rfkill                  9738  1 hso
slhc                    3951  1 ppp_generic
usb_wwan                3360  1 option
usbhid                 18609  0
usbnet                 13483  0
usbserial              16055  2 option
vfat                    7236  0
x_tables                8829 26 ipt_MASQUERADE
xt_CT                   1988  0
xt_LOG                  9392  0
xt_REDIRECT             1028  0
xt_TCPMSS               2372  2
xt_comment               484 57
xt_conntrack            2212 10
xt_id                    484  0
xt_limit                 964 20
xt_mac                   580  0
xt_mark                  644  0
xt_multiport            1060  0
xt_nat                  1060  0
xt_state                 676  0
xt_tcpudp               1508 12
xt_time                 1508  0

Jest.

180

(46 odpowiedzi, napisanych Oprogramowanie / Software)

root@OpenWrt:~# ifconfig -a
br-lan    Link encap:Ethernet  HWaddr 00:80:64:78:81:D9
          inet addr:192.168.1.33  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fd2b:2897:e7bc::1/60 Scope:Global
          inet6 addr: fe80::280:64ff:fe78:81d9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:729 errors:0 dropped:0 overruns:0 frame:0
          TX packets:346 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:51314 (50.1 KiB)  TX bytes:37592 (36.7 KiB)

eth0      Link encap:Ethernet  HWaddr 00:80:64:78:81:D9
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3488 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1681 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:359685 (351.2 KiB)  TX bytes:392881 (383.6 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:233 errors:0 dropped:0 overruns:0 frame:0
          TX packets:233 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13429 (13.1 KiB)  TX bytes:13429 (13.1 KiB)

181

(46 odpowiedzi, napisanych Oprogramowanie / Software)

route add -net default netmask 0.0.0.0 dev hso0?
Wypluwa route: SIOCADDRT: No such device.

182

(46 odpowiedzi, napisanych Oprogramowanie / Software)

Dodałem log. Zaraz zrestartuję jeszcze raz.

root@OpenWrt:~# logread
Sun May 10 19:24:42 2015 kern.info kernel: [    1.562454] io scheduler noop registered
Sun May 10 19:24:42 2015 kern.info kernel: [    1.574755] io scheduler deadline registered (default)
Sun May 10 19:24:42 2015 kern.info kernel: [    1.595292] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input0
Sun May 10 19:24:42 2015 kern.info kernel: [    1.620406] ACPI: Power Button [PWRB]
Sun May 10 19:24:42 2015 kern.info kernel: [    1.634804] isapnp: Scanning for PnP cards...
Sun May 10 19:24:42 2015 kern.info kernel: [    2.006741] isapnp: No Plug & Play device found
Sun May 10 19:24:42 2015 kern.info kernel: [    2.022192] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Sun May 10 19:24:42 2015 kern.info kernel: [    2.067873] 00:05: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Sun May 10 19:24:42 2015 kern.info kernel: [    2.099629] Non-volatile memory driver v1.3
Sun May 10 19:24:42 2015 kern.info kernel: [    2.112742] Linux agpgart interface v0.103
Sun May 10 19:24:42 2015 kern.info kernel: [    2.126641] [drm] Initialized drm 1.1.0 20060810
Sun May 10 19:24:42 2015 kern.err kernel: [    2.144954] pata_cs5536: Using MSR regs instead of PCI
Sun May 10 19:24:42 2015 kern.info kernel: [    2.165792] scsi0 : pata_cs5536
Sun May 10 19:24:42 2015 kern.info kernel: [    2.177150] scsi1 : pata_cs5536
Sun May 10 19:24:42 2015 kern.info kernel: [    2.188262] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xeef0 irq 14
Sun May 10 19:24:42 2015 kern.info kernel: [    2.209670] ata2: DUMMY
Sun May 10 19:24:42 2015 kern.info kernel: [    2.224736] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Sun May 10 19:24:42 2015 kern.info kernel: [    2.244848] ehci-pci: EHCI PCI platform driver
Sun May 10 19:24:42 2015 kern.debug kernel: [    2.259359] ehci-pci 0000:00:0f.5: setting latency timer to 64
Sun May 10 19:24:42 2015 kern.info kernel: [    2.259465] ehci-pci 0000:00:0f.5: EHCI Host Controller
Sun May 10 19:24:42 2015 kern.info kernel: [    2.275722] ehci-pci 0000:00:0f.5: new USB bus registered, assigned bus number 1
Sun May 10 19:24:42 2015 kern.info kernel: [    2.298895] ehci-pci 0000:00:0f.5: irq 10, io mem 0xefb00000
Sun May 10 19:24:42 2015 kern.info kernel: [    2.330119] ehci-pci 0000:00:0f.5: USB 2.0 started, EHCI 1.00
Sun May 10 19:24:42 2015 kern.info kernel: [    2.349612] hub 1-0:1.0: USB hub found
Sun May 10 19:24:42 2015 kern.info kernel: [    2.361451] hub 1-0:1.0: 4 ports detected
Sun May 10 19:24:42 2015 kern.info kernel: [    2.375587] ehci-platform: EHCI generic platform driver
Sun May 10 19:24:42 2015 kern.info kernel: [    2.392514] ata1.00: CFA:    64MB  ATA Flash Disk, ADAA408J, max MWDMA2
Sun May 10 19:24:42 2015 kern.info kernel: [    2.412927] ata1.00: 125056 sectors, multi 0: LBA
Sun May 10 19:24:42 2015 kern.info kernel: [    2.428023] tsc: Refined TSC clocksource calibration: 365.237 MHz
Sun May 10 19:24:42 2015 kern.info kernel: [    2.446828] Switching to clocksource tsc
Sun May 10 19:24:42 2015 kern.info kernel: [    2.459965] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Sun May 10 19:24:42 2015 kern.debug kernel: [    2.480302] ohci_hcd 0000:00:0f.4: setting latency timer to 64
Sun May 10 19:24:42 2015 kern.info kernel: [    2.480380] ohci_hcd 0000:00:0f.4: OHCI Host Controller
Sun May 10 19:24:42 2015 kern.info kernel: [    2.496626] ohci_hcd 0000:00:0f.4: new USB bus registered, assigned bus number 2
Sun May 10 19:24:42 2015 kern.info kernel: [    2.519431] ohci_hcd 0000:00:0f.4: irq 10, io mem 0xefc00000
Sun May 10 19:24:42 2015 kern.info kernel: [    2.550430] ata1.00: configured for MWDMA2
Sun May 10 19:24:42 2015 kern.notice kernel: [    2.564040] scsi 0:0:0:0: Direct-Access     ATA         64MB  ATA Fla ADAA PQ: 0 ANSI: 5
Sun May 10 19:24:42 2015 kern.notice kernel: [    2.591623] sd 0:0:0:0: [sda] 125056 512-byte logical blocks: (64.0 MB/61.0 MiB)
Sun May 10 19:24:42 2015 kern.info kernel: [    2.623529] hub 2-0:1.0: USB hub found
Sun May 10 19:24:42 2015 kern.info kernel: [    2.635380] hub 2-0:1.0: 4 ports detected
Sun May 10 19:24:42 2015 kern.notice kernel: [    2.649670] sd 0:0:0:0: [sda] Write Protect is off
Sun May 10 19:24:42 2015 kern.debug kernel: [    2.664603] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
Sun May 10 19:24:42 2015 kern.info kernel: [    2.665032] uhci_hcd: USB Universal Host Controller Interface driver
Sun May 10 19:24:42 2015 kern.notice kernel: [    2.685469] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Sun May 10 19:24:42 2015 kern.info kernel: [    2.714613] usbcore: registered new interface driver usb-storage
Sun May 10 19:24:42 2015 kern.info kernel: [    2.737702]  sda: sda1 sda2
Sun May 10 19:24:42 2015 kern.info kernel: [    2.747211] i8042: PNP: No PS/2 controller found. Probing ports directly.
Sun May 10 19:24:42 2015 kern.info kernel: [    2.770217] usb 1-3: new high-speed USB device number 2 using ehci-pci
Sun May 10 19:24:42 2015 kern.notice kernel: [    2.792612] sd 0:0:0:0: [sda] Attached SCSI disk
Sun May 10 19:24:42 2015 kern.warn kernel: [    2.807447] i8042: Warning: Keylock active
Sun May 10 19:24:42 2015 kern.info kernel: [    3.337393] serio: i8042 KBD port at 0x60,0x64 irq 1
Sun May 10 19:24:42 2015 kern.info kernel: [    3.352818] serio: i8042 AUX port at 0x60,0x64 irq 12
Sun May 10 19:24:42 2015 kern.info kernel: [    3.371282] mousedev: PS/2 mouse device common for all mice
Sun May 10 19:24:42 2015 kern.info kernel: [    3.391357] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
Sun May 10 19:24:42 2015 kern.info kernel: [    3.420926] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
Sun May 10 19:24:42 2015 kern.info kernel: [    3.439815] rtc_cmos 00:00: alarms up to one day, 242 bytes nvram
Sun May 10 19:24:42 2015 kern.info kernel: [    3.459668] cpuidle: using governor ladder
Sun May 10 19:24:42 2015 kern.info kernel: [    3.472526] cpuidle: using governor menu
Sun May 10 19:24:42 2015 kern.info kernel: [    3.486045] hidraw: raw HID events driver (C) Jiri Kosina
Sun May 10 19:24:42 2015 kern.info kernel: [    3.503615] TCP: cubic registered
Sun May 10 19:24:42 2015 kern.info kernel: [    3.514099] NET: Registered protocol family 17
Sun May 10 19:24:42 2015 kern.notice kernel: [    3.528134] Bridge firewalling registered
Sun May 10 19:24:42 2015 kern.info kernel: [    3.540697] 8021q: 802.1Q VLAN Support v1.8
Sun May 10 19:24:42 2015 kern.info kernel: [    3.554294] Using IPI Shortcut mode
Sun May 10 19:24:42 2015 kern.info kernel: [    3.568603] rtc_cmos 00:00: setting system clock to 2015-05-10 17:24:31 UTC (1431278671)
Sun May 10 19:24:42 2015 kern.info kernel: [    3.597851] EXT4-fs (sda2): mounting ext2 file system using the ext4 subsystem
Sun May 10 19:24:42 2015 kern.info kernel: [    3.635052] EXT4-fs (sda2): mounted filesystem without journal. Opts: (null)
Sun May 10 19:24:42 2015 kern.info kernel: [    3.663481] VFS: Mounted root (ext2 filesystem) readonly on device 8:2.
Sun May 10 19:24:42 2015 kern.info kernel: [    3.690337] Freeing unused kernel memory: 348k freed
Sun May 10 19:24:42 2015 kern.info kernel: [    3.722426] usb-storage 1-3:1.0: USB Mass Storage device detected
Sun May 10 19:24:42 2015 kern.info kernel: [    3.747752] scsi2 : usb-storage 1-3:1.0
Sun May 10 19:24:42 2015 kern.info kernel: [    4.116934] Button Hotplug driver version 0.4.1
Sun May 10 19:24:42 2015 kern.info kernel: [    4.370131] usb 2-4: new full-speed USB device number 2 using ohci_hcd
Sun May 10 19:24:42 2015 kern.info kernel: [    4.620279] usb-storage 2-4:1.0: USB Mass Storage device detected
Sun May 10 19:24:42 2015 kern.info kernel: [    4.645124] usb-storage 2-4:1.1: USB Mass Storage device detected
Sun May 10 19:24:42 2015 kern.info kernel: [    4.670229] usb-storage 2-4:1.2: USB Mass Storage device detected
Sun May 10 19:24:42 2015 kern.notice kernel: [    4.762497] scsi 2:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4
Sun May 10 19:24:42 2015 kern.notice kernel: [    4.801781] sd 2:0:0:0: [sdb] 15597568 512-byte logical blocks: (7.98 GB/7.43 GiB)
Sun May 10 19:24:42 2015 kern.notice kernel: [    4.833254] sd 2:0:0:0: [sdb] Write Protect is off
Sun May 10 19:24:42 2015 kern.debug kernel: [    4.852632] sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
Sun May 10 19:24:42 2015 kern.notice kernel: [    4.854010] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Sun May 10 19:24:42 2015 kern.info kernel: [    4.901226]  sdb: sdb1
Sun May 10 19:24:42 2015 kern.notice kernel: [    4.917140] sd 2:0:0:0: [sdb] Attached SCSI removable disk
Sun May 10 19:24:42 2015 kern.warn kernel: [    7.345805] EXT4-fs (sda2): warning: mounting unchecked fs, running e2fsck is recommended
Sun May 10 19:24:42 2015 kern.info kernel: [    7.386607] EXT4-fs (sda2): re-mounted. Opts: (null)
Sun May 10 19:24:42 2015 user.info kernel: [    7.508734] block: attempting to load /etc/config/fstab
Sun May 10 19:24:42 2015 user.info kernel: [    7.532731] block: extroot: not configured
Sun May 10 19:24:42 2015 kern.info kernel: [   10.655696] NET: Registered protocol family 10
Sun May 10 19:24:42 2015 kern.info kernel: [   10.766066] nf_conntrack version 0.5.0 (3901 buckets, 15604 max)
Sun May 10 19:24:42 2015 kern.info kernel: [   10.825850] ip6_tables: (C) 2000-2006 Netfilter Core Team
Sun May 10 19:24:42 2015 kern.info kernel: [   10.910376] 8139too: 8139too Fast Ethernet driver 0.9.28
Sun May 10 19:24:42 2015 kern.warn kernel: [   10.937257] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
Sun May 10 19:24:42 2015 kern.debug kernel: [   10.958593] PCI: setting IRQ 11 as level-triggered
Sun May 10 19:24:42 2015 kern.info kernel: [   11.011103] 8139too 0000:00:0e.0 eth0: RealTek RTL8139 at 0x0001ef00, 00:80:64:78:81:d9, IRQ 11
Sun May 10 19:24:42 2015 kern.info kernel: [   11.107275] hso: drivers/net/usb/hso.c: Option Wireless
Sun May 10 19:24:42 2015 kern.info kernel: [   11.170184] usbcore: registered new interface driver hso
Sun May 10 19:24:42 2015 kern.info kernel: [   11.215452] ip_tables: (C) 2000-2006 Netfilter Core Team
Sun May 10 19:24:42 2015 kern.info kernel: [   11.320387] usbcore: registered new interface driver usbhid
Sun May 10 19:24:42 2015 kern.info kernel: [   11.341110] usbhid: USB HID core driver
Sun May 10 19:24:42 2015 kern.info kernel: [   11.410379] usbcore: registered new interface driver usbserial
Sun May 10 19:24:42 2015 kern.info kernel: [   11.450139] usbcore: registered new interface driver usbserial_generic
Sun May 10 19:24:42 2015 kern.info kernel: [   11.500171] usbserial: USB Serial support registered for generic
Sun May 10 19:24:42 2015 kern.info kernel: [   11.598479] xt_time: kernel timezone is -0000
Sun May 10 19:24:42 2015 kern.info kernel: [   11.660349] PPP generic driver version 2.4.2
Sun May 10 19:24:42 2015 kern.info kernel: [   11.702302] NET: Registered protocol family 24
Sun May 10 19:24:42 2015 kern.info kernel: [   11.738891] usbcore: registered new interface driver option
Sun May 10 19:24:42 2015 kern.info kernel: [   11.780134] usbserial: USB Serial support registered for GSM modem (1-port)
Sun May 10 19:24:45 2015 user.emerg syslog: this file has been obseleted. please call "/sbin/block mount" directly
Sun May 10 19:24:45 2015 kern.info kernel: [   17.369381] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem
Sun May 10 19:24:45 2015 kern.warn kernel: [   17.407371] EXT4-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
Sun May 10 19:24:45 2015 kern.info kernel: [   17.508016] EXT4-fs (sda1): mounted filesystem without journal. Opts:
Sun May 10 19:24:45 2015 kern.info kernel: [   17.540415] EXT4-fs (sdb1): mounting ext2 file system using the ext4 subsystem
Sun May 10 19:24:45 2015 kern.warn kernel: [   17.624707] EXT4-fs (sdb1): warning: mounting unchecked fs, running e2fsck is recommended
Sun May 10 19:24:45 2015 kern.info kernel: [   17.680796] EXT4-fs (sdb1): mounted filesystem without journal. Opts:
Sun May 10 19:24:46 2015 authpriv.info dropbear[1403]: Not backgrounding
Sun May 10 19:24:47 2015 kern.info kernel: [   19.813456] 8139too 0000:00:0e.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Sun May 10 19:24:47 2015 kern.info kernel: [   19.870597] device eth0 entered promiscuous mode
Sun May 10 19:24:47 2015 kern.info kernel: [   19.941108] br-lan: port 1(eth0) entered forwarding state
Sun May 10 19:24:47 2015 kern.info kernel: [   19.961233] br-lan: port 1(eth0) entered forwarding state
Sun May 10 19:24:48 2015 daemon.notice netifd: Interface 'lan' is enabled
Sun May 10 19:24:48 2015 daemon.notice netifd: Interface 'lan' is setting up now
Sun May 10 19:24:48 2015 daemon.notice netifd: Interface 'lan' is now up
Sun May 10 19:24:48 2015 daemon.notice netifd: Interface 'loopback' is enabled
Sun May 10 19:24:48 2015 daemon.notice netifd: Interface 'loopback' is setting up now
Sun May 10 19:24:48 2015 daemon.notice netifd: Interface 'loopback' is now up
Sun May 10 19:24:48 2015 daemon.notice netifd: Interface 'wan' is setting up now
Sun May 10 19:24:48 2015 daemon.notice netifd: Network device 'eth0' link is up
Sun May 10 19:24:48 2015 daemon.notice netifd: Bridge 'br-lan' link is up
Sun May 10 19:24:48 2015 daemon.notice netifd: Interface 'lan' has link connectivity
Sun May 10 19:24:48 2015 daemon.notice netifd: Network device 'lo' link is up
Sun May 10 19:24:48 2015 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Sun May 10 19:24:49 2015 authpriv.info su[1526]: Successful su for postgres by root
Sun May 10 19:24:49 2015 authpriv.info su[1526]: + /dev/pts/0 root:postgres
Sun May 10 19:24:49 2015 kern.info kernel: [   21.960110] br-lan: port 1(eth0) entered forwarding state
Sun May 10 19:24:50 2015 local2.info chat[1591]: abort on (BUSY)
Sun May 10 19:24:50 2015 local2.info chat[1591]: abort on (NO CARRIER)
Sun May 10 19:24:50 2015 local2.info chat[1591]: abort on (ERROR)
Sun May 10 19:24:50 2015 local2.info chat[1591]: report (CONNECT)
Sun May 10 19:24:50 2015 local2.info chat[1591]: timeout set to 10 seconds
Sun May 10 19:24:50 2015 local2.info chat[1591]: send (ATZ^M)
Sun May 10 19:24:50 2015 local2.info chat[1591]: expect (OK)
Sun May 10 19:24:50 2015 local2.info chat[1591]: ATZ^M^M
Sun May 10 19:24:50 2015 local2.info chat[1591]: OK
Sun May 10 19:24:50 2015 local2.info chat[1591]:  -- got it
Sun May 10 19:24:50 2015 local2.info chat[1591]: send (AT+CGDCONT=2,"IP","internet"^M)
Sun May 10 19:24:50 2015 local2.info chat[1591]: timeout set to 30 seconds
Sun May 10 19:24:50 2015 local2.info chat[1591]: expect (OK)
Sun May 10 19:24:50 2015 local2.info chat[1591]: ^M
Sun May 10 19:24:50 2015 local2.info chat[1591]: AT+CGDCONT=2,"IP","internet"^M^M
Sun May 10 19:24:50 2015 local2.info chat[1591]: OK
Sun May 10 19:24:50 2015 local2.info chat[1591]:  -- got it
Sun May 10 19:24:50 2015 local2.info chat[1591]: send (AT_OPSYS=3,2^M)
Sun May 10 19:24:50 2015 daemon.info dnsmasq[1605]: started, version 2.71 cachesize 150
Sun May 10 19:24:50 2015 daemon.info dnsmasq[1605]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC
Sun May 10 19:24:50 2015 daemon.info dnsmasq[1605]: using local addresses only for domain lan
Sun May 10 19:24:50 2015 daemon.info dnsmasq[1605]: reading /tmp/resolv.conf.auto
Sun May 10 19:24:50 2015 daemon.info dnsmasq[1605]: using local addresses only for domain lan
Sun May 10 19:24:50 2015 daemon.info dnsmasq[1605]: using nameserver 8.8.8.8#53
Sun May 10 19:24:50 2015 daemon.info dnsmasq[1605]: read /etc/hosts - 1 addresses
Sun May 10 19:24:50 2015 daemon.info dnsmasq[1605]: read /tmp/hosts/dhcp - 1 addresses
Sun May 10 19:24:50 2015 local2.info chat[1591]: expect (OK)
Sun May 10 19:24:50 2015 local2.info chat[1591]: ^M
Sun May 10 19:24:50 2015 local2.info chat[1591]: AT_OPSYS=3,2^M^M
Sun May 10 19:24:50 2015 local2.info chat[1591]: OK
Sun May 10 19:24:50 2015 local2.info chat[1591]:  -- got it
Sun May 10 19:24:50 2015 local2.info chat[1591]: send (AT_OWANCALL=2,1,0^M)
Sun May 10 19:24:50 2015 local2.info chat[1591]: expect (OK)
Sun May 10 19:24:50 2015 local2.info chat[1591]: ^M
Sun May 10 19:24:50 2015 local2.info chat[1591]: AT_OWANCALL=2,1,0^M^M
Sun May 10 19:24:50 2015 local2.info chat[1591]: OK
Sun May 10 19:24:50 2015 local2.info chat[1591]:  -- got it
Sun May 10 19:24:50 2015 local2.info chat[1591]: send (\d\d\d\d\d\dAT_OWANDATA=2^M)
Sun May 10 19:24:51 2015 user.err syslog: /dev/sda1 is already mounted
Sun May 10 19:24:51 2015 user.err syslog: /dev/sda2 is already mounted
Sun May 10 19:24:51 2015 user.err syslog: /dev/sdb1 is already mounted
Sun May 10 19:24:57 2015 local2.info chat[1591]: expect (OK)
Sun May 10 19:24:57 2015 local2.info chat[1591]: ^M
Sun May 10 19:24:57 2015 local2.info chat[1591]: AT_OWANDATA=2^M^M
Sun May 10 19:24:57 2015 local2.info chat[1591]: _OWANDATA: 2, 109.243.157.141, 0.0.0.0, 89.108.195.21, 89.108.202.21, 0.0.0.0, 0
Sun May 10 19:24:57 2015 local2.info chat[1591]: .0.0.0, 72000^M^M
Sun May 10 19:24:57 2015 local2.info chat[1591]: ^M
Sun May 10 19:24:57 2015 local2.info chat[1591]: ^M
Sun May 10 19:24:57 2015 local2.info chat[1591]: OK
Sun May 10 19:24:57 2015 local2.info chat[1591]:  -- got it
Sun May 10 19:24:57 2015 local2.info chat[1591]: send (^M)
Sun May 10 19:24:57 2015 daemon.notice netifd: Interface 'wan6' is enabled
Sun May 10 19:24:57 2015 daemon.notice netifd: Interface 'wan' is now up
Sun May 10 19:24:57 2015 user.notice firewall: Reloading firewall due to ifup of wan (hso0)
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1605]: reading /tmp/resolv.conf.auto
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1605]: using local addresses only for domain lan
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1605]: using nameserver 8.8.8.8#53
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1605]: using nameserver 89.108.195.21#53
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1605]: using nameserver 89.108.202.21#53
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1605]: exiting on receipt of SIGTERM
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1833]: started, version 2.71 cachesize 150
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1833]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1833]: using local addresses only for domain lan
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1833]: reading /tmp/resolv.conf.auto
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1833]: using local addresses only for domain lan
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1833]: using nameserver 8.8.8.8#53
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1833]: using nameserver 89.108.195.21#53
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1833]: using nameserver 89.108.202.21#53
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1833]: read /etc/hosts - 1 addresses
Sun May 10 19:24:59 2015 daemon.info dnsmasq[1833]: read /tmp/hosts/dhcp - 1 addresses
Sun May 10 19:26:22 2015 authpriv.info dropbear[1840]: Child connection from 192.168.1.3:61876
Sun May 10 19:26:32 2015 authpriv.notice dropbear[1840]: Password auth succeeded for 'root' from 192.168.1.3:61876
root@OpenWrt:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Network is unreachable
root@OpenWrt:~# gcom -d /dev/ttyHS3
SIM ready
Waiting for Registration..(120 sec max)
Registered on Home network: "Virgin mobile",2
Signal Quality: 13,99

Tutaj jakby czegoś brakowało...

root@OpenWrt:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 br-lan

183

(46 odpowiedzi, napisanych Oprogramowanie / Software)

{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "uptime": 3111,
        "l3_device": "hso0",
        "proto": "hso",
        "updated": [
                "addresses",
                "routes",
                "data"
        ],
        "metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "109.243.157.141",
                        "mask": 32
                }
        ],
        "ipv6-address": [

        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "0.0.0.0",
                        "source": "0.0.0.0\/0"
                }
        ],
        "dns-server": [
                "89.108.195.21",
                "89.108.202.21"
        ],
        "dns-search": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ]
        },
        "data": {
                "ppp-type": "hso"
        }
}
Sun May 10 18:22:09 2015 local2.info chat[1589]: expect (OK)
Sun May 10 18:22:09 2015 local2.info chat[1589]: ^M
Sun May 10 18:22:09 2015 local2.info chat[1589]: AT_OWANCALL=2,1,0^M^M
Sun May 10 18:22:09 2015 local2.info chat[1589]: OK
Sun May 10 18:22:09 2015 local2.info chat[1589]:  -- got it
Sun May 10 18:22:09 2015 local2.info chat[1589]: send (\d\d\d\d\d\dAT_OWANDATA=2^M)
Sun May 10 18:22:10 2015 user.err syslog: /dev/sda1 is already mounted
Sun May 10 18:22:10 2015 user.err syslog: /dev/sda2 is already mounted
Sun May 10 18:22:11 2015 user.err syslog: /dev/sdb1 is already mounted
Sun May 10 18:22:16 2015 local2.info chat[1589]: expect (OK)
Sun May 10 18:22:16 2015 local2.info chat[1589]: ^M
Sun May 10 18:22:16 2015 local2.info chat[1589]: AT_OWANDATA=2^M^M
Sun May 10 18:22:16 2015 local2.info chat[1589]: _OWANDATA: 2, 109.243.157.141, 0.0.0.0, 89.108.195.21, 89.108.202.21, 0.0.0.0, 0
Sun May 10 18:22:16 2015 local2.info chat[1589]: .0.0.0, 72000^M^M
Sun May 10 18:22:16 2015 local2.info chat[1589]: ^M
Sun May 10 18:22:16 2015 local2.info chat[1589]: ^M
Sun May 10 18:22:16 2015 local2.info chat[1589]: OK
Sun May 10 18:22:16 2015 local2.info chat[1589]:  -- got it
Sun May 10 18:22:16 2015 local2.info chat[1589]: send (^M)
Sun May 10 18:22:16 2015 daemon.notice netifd: Interface 'wan6' is enabled
Sun May 10 18:22:16 2015 daemon.notice netifd: Interface 'wan' is now up
Sun May 10 18:22:16 2015 user.notice firewall: Reloading firewall due to ifup of wan (hso0)
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1601]: reading /tmp/resolv.conf.auto
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1601]: using local addresses only for domain lan
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1601]: using nameserver 8.8.8.8#53
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1601]: using nameserver 89.108.195.21#53
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1601]: using nameserver 89.108.202.21#53
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1601]: exiting on receipt of SIGTERM
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1833]: started, version 2.71 cachesize 150
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1833]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1833]: using local addresses only for domain lan
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1833]: reading /tmp/resolv.conf.auto
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1833]: using local addresses only for domain lan
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1833]: using nameserver 8.8.8.8#53
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1833]: using nameserver 89.108.195.21#53
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1833]: using nameserver 89.108.202.21#53
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1833]: read /etc/hosts - 1 addresses
Sun May 10 18:22:18 2015 daemon.info dnsmasq[1833]: read /tmp/hosts/dhcp - 1 addresses
Sun May 10 18:28:59 2015 authpriv.info dropbear[1840]: Child connection from 192.168.1.3:60934
Sun May 10 18:29:08 2015 authpriv.notice dropbear[1840]: Password auth succeeded for 'root' from 192.168.1.3:60934
Sun May 10 18:42:05 2015 authpriv.info dropbear[1840]: Exit (root): Exited normally
Sun May 10 19:13:55 2015 authpriv.info dropbear[2027]: Child connection from 192.168.1.3:61660
Sun May 10 19:14:05 2015 authpriv.notice dropbear[2027]: Password auth succeeded for 'root' from 192.168.1.3:61660
Sun May 10 19:16:42 2015 authpriv.info dropbear[2081]: Child connection from 192.168.1.3:61706
Sun May 10 19:16:47 2015 authpriv.notice dropbear[2081]: Password auth succeeded for 'root' from 192.168.1.3:61706
Sun May 10 19:17:25 2015 authpriv.info dropbear[2137]: Child connection from 192.168.1.3:61718
Sun May 10 19:17:29 2015 authpriv.notice dropbear[2137]: Password auth succeeded for 'root' from 192.168.1.3:61718
Sun May 10 19:18:29 2015 daemon.notice netifd: Interface 'lan' is now down
Sun May 10 19:18:29 2015 kern.info kernel: [ 3402.876994] br-lan: port 1(eth0) entered disabled state
Sun May 10 19:18:29 2015 kern.info kernel: [ 3402.902582] device eth0 left promiscuous mode
Sun May 10 19:18:29 2015 kern.info kernel: [ 3402.918967] br-lan: port 1(eth0) entered disabled state
Sun May 10 19:18:29 2015 kern.info kernel: [ 3402.967099] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Sun May 10 19:18:29 2015 daemon.notice netifd: Interface 'lan' is disabled
Sun May 10 19:18:29 2015 daemon.notice netifd: Bridge 'br-lan' link is down
Sun May 10 19:18:29 2015 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sun May 10 19:18:29 2015 daemon.notice netifd: Network device 'eth0' link is down
Sun May 10 19:18:29 2015 daemon.notice netifd: Interface 'loopback' is now down
Sun May 10 19:18:30 2015 daemon.notice netifd: Interface 'loopback' is disabled
Sun May 10 19:18:30 2015 daemon.notice netifd: Network device 'lo' link is down
Sun May 10 19:18:30 2015 daemon.notice netifd: Interface 'loopback' has link connectivity loss
Sun May 10 19:18:30 2015 daemon.notice netifd: Interface 'wan6' is disabled
Sun May 10 19:18:30 2015 local2.info chat[2228]: abort on (BUSY)
Sun May 10 19:18:30 2015 local2.info chat[2228]: abort on (NO CARRIER)
Sun May 10 19:18:30 2015 local2.info chat[2228]: abort on (ERROR)
Sun May 10 19:18:30 2015 local2.info chat[2228]: report (CONNECT)
Sun May 10 19:18:30 2015 local2.info chat[2228]: timeout set to 30 seconds
Sun May 10 19:18:30 2015 local2.info chat[2228]: send (AT_OWANCALL=2,0^M)
Sun May 10 19:18:30 2015 local2.info chat[2228]: expect (OK)
Sun May 10 19:18:30 2015 local2.info chat[2228]: AT_OWANCALL=2,0^M^M
Sun May 10 19:18:30 2015 local2.info chat[2228]: OK
Sun May 10 19:18:30 2015 local2.info chat[2228]:  -- got it
Sun May 10 19:18:30 2015 local2.info chat[2228]: send (^M)
Sun May 10 19:18:30 2015 daemon.notice netifd: Interface 'wan' is now down
Sun May 10 19:18:32 2015 daemon.warn dnsmasq[1833]: no servers found in /tmp/resolv.conf.auto, will retry
Sun May 10 19:18:32 2015 kern.info kernel: [ 3405.872944] 8139too 0000:00:0e.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Sun May 10 19:18:32 2015 kern.info kernel: [ 3405.906117] device eth0 entered promiscuous mode
Sun May 10 19:18:32 2015 kern.info kernel: [ 3405.939999] br-lan: port 1(eth0) entered forwarding state
Sun May 10 19:18:32 2015 kern.info kernel: [ 3405.960137] br-lan: port 1(eth0) entered forwarding state
Sun May 10 19:18:32 2015 daemon.notice netifd: Interface 'lan' is enabled
Sun May 10 19:18:32 2015 daemon.notice netifd: Interface 'lan' is setting up now
Sun May 10 19:18:32 2015 daemon.notice netifd: Interface 'lan' is now up
Sun May 10 19:18:32 2015 daemon.notice netifd: Interface 'loopback' is enabled
Sun May 10 19:18:32 2015 daemon.notice netifd: Interface 'loopback' is setting up now
Sun May 10 19:18:32 2015 daemon.notice netifd: Interface 'loopback' is now up
Sun May 10 19:18:32 2015 daemon.notice netifd: Interface 'wan' is setting up now
Sun May 10 19:18:32 2015 daemon.notice netifd: Network device 'eth0' link is up
Sun May 10 19:18:32 2015 daemon.notice netifd: Bridge 'br-lan' link is up
Sun May 10 19:18:32 2015 daemon.notice netifd: Interface 'lan' has link connectivity
Sun May 10 19:18:32 2015 daemon.notice netifd: Network device 'lo' link is up
Sun May 10 19:18:32 2015 daemon.notice netifd: Interface 'loopback' has link connectivity
Sun May 10 19:18:33 2015 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Sun May 10 19:18:33 2015 daemon.info dnsmasq[1833]: exiting on receipt of SIGTERM
Sun May 10 19:18:33 2015 daemon.info dnsmasq[2364]: started, version 2.71 cachesize 150
Sun May 10 19:18:33 2015 daemon.info dnsmasq[2364]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC
Sun May 10 19:18:33 2015 daemon.info dnsmasq[2364]: using local addresses only for domain lan
Sun May 10 19:18:33 2015 daemon.info dnsmasq[2364]: reading /tmp/resolv.conf.auto
Sun May 10 19:18:33 2015 daemon.info dnsmasq[2364]: using local addresses only for domain lan
Sun May 10 19:18:33 2015 daemon.info dnsmasq[2364]: using nameserver 8.8.8.8#53
Sun May 10 19:18:33 2015 daemon.info dnsmasq[2364]: read /etc/hosts - 1 addresses
Sun May 10 19:18:33 2015 daemon.info dnsmasq[2364]: read /tmp/hosts/dhcp - 1 addresses
Sun May 10 19:18:34 2015 kern.info kernel: [ 3407.960078] br-lan: port 1(eth0) entered forwarding state
Sun May 10 19:18:35 2015 local2.info chat[2412]: abort on (BUSY)
Sun May 10 19:18:35 2015 local2.info chat[2412]: abort on (NO CARRIER)
Sun May 10 19:18:35 2015 local2.info chat[2412]: abort on (ERROR)
Sun May 10 19:18:35 2015 local2.info chat[2412]: report (CONNECT)
Sun May 10 19:18:35 2015 local2.info chat[2412]: timeout set to 10 seconds
Sun May 10 19:18:35 2015 local2.info chat[2412]: send (ATZ^M)
Sun May 10 19:18:35 2015 local2.info chat[2412]: expect (OK)
Sun May 10 19:18:35 2015 local2.info chat[2412]: ATZ^M^M
Sun May 10 19:18:35 2015 local2.info chat[2412]: OK
Sun May 10 19:18:35 2015 local2.info chat[2412]:  -- got it
Sun May 10 19:18:35 2015 local2.info chat[2412]: send (AT+CGDCONT=2,"IP","internet"^M)
Sun May 10 19:18:35 2015 local2.info chat[2412]: timeout set to 30 seconds
Sun May 10 19:18:35 2015 local2.info chat[2412]: expect (OK)
Sun May 10 19:18:35 2015 local2.info chat[2412]: ^M
Sun May 10 19:18:35 2015 local2.info chat[2412]: AT+CGDCONT=2,"IP","internet"^M^M
Sun May 10 19:18:35 2015 local2.info chat[2412]: OK
Sun May 10 19:18:35 2015 local2.info chat[2412]:  -- got it
Sun May 10 19:18:35 2015 local2.info chat[2412]: send (AT_OPSYS=3,2^M)
Sun May 10 19:18:35 2015 local2.info chat[2412]: expect (OK)
Sun May 10 19:18:35 2015 local2.info chat[2412]: ^M
Sun May 10 19:18:35 2015 local2.info chat[2412]: AT_OPSYS=3,2^M^M
Sun May 10 19:18:35 2015 local2.info chat[2412]: OK
Sun May 10 19:18:35 2015 local2.info chat[2412]:  -- got it
Sun May 10 19:18:35 2015 local2.info chat[2412]: send (AT_OWANCALL=2,1,0^M)
Sun May 10 19:18:35 2015 local2.info chat[2412]: expect (OK)
Sun May 10 19:18:35 2015 local2.info chat[2412]: ^M
Sun May 10 19:18:35 2015 local2.info chat[2412]: AT_OWANCALL=2,1,0^M^M
Sun May 10 19:18:35 2015 local2.info chat[2412]: OK
Sun May 10 19:18:35 2015 local2.info chat[2412]:  -- got it
Sun May 10 19:18:35 2015 local2.info chat[2412]: send (\d\d\d\d\d\dAT_OWANDATA=2^M)
Sun May 10 19:18:41 2015 local2.info chat[2412]: expect (OK)
Sun May 10 19:18:41 2015 local2.info chat[2412]: ^M
Sun May 10 19:18:41 2015 local2.info chat[2412]: AT_OWANDATA=2^M^M
Sun May 10 19:18:41 2015 local2.info chat[2412]: ERROR
Sun May 10 19:18:41 2015 local2.info chat[2412]:  -- failed
Sun May 10 19:18:41 2015 local2.info chat[2412]: Failed (ERROR)
Sun May 10 19:18:43 2015 local2.info chat[2417]: abort on (BUSY)
Sun May 10 19:18:43 2015 local2.info chat[2417]: abort on (NO CARRIER)
Sun May 10 19:18:43 2015 local2.info chat[2417]: abort on (ERROR)
Sun May 10 19:18:43 2015 local2.info chat[2417]: report (CONNECT)
Sun May 10 19:18:43 2015 local2.info chat[2417]: timeout set to 10 seconds
Sun May 10 19:18:43 2015 local2.info chat[2417]: send (ATZ^M)
Sun May 10 19:18:44 2015 local2.info chat[2417]: expect (OK)
Sun May 10 19:18:44 2015 local2.info chat[2417]: ATZ^M^M
Sun May 10 19:18:44 2015 local2.info chat[2417]: OK
Sun May 10 19:18:44 2015 local2.info chat[2417]:  -- got it
Sun May 10 19:18:44 2015 local2.info chat[2417]: send (AT+CGDCONT=2,"IP","internet"^M)
Sun May 10 19:18:44 2015 local2.info chat[2417]: timeout set to 30 seconds
Sun May 10 19:18:44 2015 local2.info chat[2417]: expect (OK)
Sun May 10 19:18:44 2015 local2.info chat[2417]: ^M
Sun May 10 19:18:44 2015 local2.info chat[2417]: AT+CGDCONT=2,"IP","internet"^M^M
Sun May 10 19:18:44 2015 local2.info chat[2417]: OK
Sun May 10 19:18:44 2015 local2.info chat[2417]:  -- got it
Sun May 10 19:18:44 2015 local2.info chat[2417]: send (AT_OPSYS=3,2^M)
Sun May 10 19:18:44 2015 local2.info chat[2417]: expect (OK)
Sun May 10 19:18:44 2015 local2.info chat[2417]: ^M
Sun May 10 19:18:44 2015 local2.info chat[2417]: AT_OPSYS=3,2^M^M
Sun May 10 19:18:44 2015 local2.info chat[2417]: OK
Sun May 10 19:18:44 2015 local2.info chat[2417]:  -- got it
Sun May 10 19:18:44 2015 local2.info chat[2417]: send (AT_OWANCALL=2,1,0^M)
Sun May 10 19:18:44 2015 local2.info chat[2417]: expect (OK)
Sun May 10 19:18:44 2015 local2.info chat[2417]: ^M
Sun May 10 19:18:44 2015 local2.info chat[2417]: AT_OWANCALL=2,1,0^M^M
Sun May 10 19:18:44 2015 local2.info chat[2417]: OK
Sun May 10 19:18:44 2015 local2.info chat[2417]:  -- got it
Sun May 10 19:18:44 2015 local2.info chat[2417]: send (\d\d\d\d\d\dAT_OWANDATA=2^M)
Sun May 10 19:18:50 2015 local2.info chat[2417]: expect (OK)
Sun May 10 19:18:50 2015 local2.info chat[2417]: ^M
Sun May 10 19:18:50 2015 local2.info chat[2417]: AT_OWANDATA=2^M^M
Sun May 10 19:18:50 2015 local2.info chat[2417]: _OWANDATA: 2, 109.243.157.141, 0.0.0.0, 89.108.195.21, 89.108.202.21, 0.0.0.0, 0
Sun May 10 19:18:50 2015 local2.info chat[2417]: .0.0.0, 72000^M^M
Sun May 10 19:18:50 2015 local2.info chat[2417]: ^M
Sun May 10 19:18:50 2015 local2.info chat[2417]: ^M
Sun May 10 19:18:50 2015 local2.info chat[2417]: OK
Sun May 10 19:18:50 2015 local2.info chat[2417]:  -- got it
Sun May 10 19:18:50 2015 local2.info chat[2417]: send (^M)
Sun May 10 19:18:51 2015 daemon.notice netifd: Interface 'wan6' is enabled
Sun May 10 19:18:51 2015 daemon.notice netifd: Interface 'wan' is now up
Sun May 10 19:18:51 2015 user.notice firewall: Reloading firewall due to ifup of wan (hso0)
Sun May 10 19:18:51 2015 daemon.info dnsmasq[2364]: reading /tmp/resolv.conf.auto
Sun May 10 19:18:51 2015 daemon.info dnsmasq[2364]: using local addresses only for domain lan
Sun May 10 19:18:51 2015 daemon.info dnsmasq[2364]: using nameserver 8.8.8.8#53
Sun May 10 19:18:51 2015 daemon.info dnsmasq[2364]: using nameserver 89.108.195.21#53
Sun May 10 19:18:51 2015 daemon.info dnsmasq[2364]: using nameserver 89.108.202.21#53
Sun May 10 19:18:51 2015 daemon.info dnsmasq[2364]: exiting on receipt of SIGTERM
Sun May 10 19:18:52 2015 daemon.info dnsmasq[2525]: started, version 2.71 cachesize 150
Sun May 10 19:18:52 2015 daemon.info dnsmasq[2525]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC
Sun May 10 19:18:52 2015 daemon.info dnsmasq[2525]: using local addresses only for domain lan
Sun May 10 19:18:52 2015 daemon.info dnsmasq[2525]: reading /tmp/resolv.conf.auto
Sun May 10 19:18:52 2015 daemon.info dnsmasq[2525]: using local addresses only for domain lan
Sun May 10 19:18:52 2015 daemon.info dnsmasq[2525]: using nameserver 8.8.8.8#53
Sun May 10 19:18:52 2015 daemon.info dnsmasq[2525]: using nameserver 89.108.195.21#53
Sun May 10 19:18:52 2015 daemon.info dnsmasq[2525]: using nameserver 89.108.202.21#53
Sun May 10 19:18:52 2015 daemon.info dnsmasq[2525]: read /etc/hosts - 1 addresses
Sun May 10 19:18:52 2015 daemon.info dnsmasq[2525]: read /tmp/hosts/dhcp - 1 addresses
Sun May 10 19:19:56 2015 daemon.notice netifd: Interface 'wan6' is disabled
Sun May 10 19:19:56 2015 local2.info chat[2540]: abort on (BUSY)
Sun May 10 19:19:56 2015 local2.info chat[2540]: abort on (NO CARRIER)
Sun May 10 19:19:56 2015 local2.info chat[2540]: abort on (ERROR)
Sun May 10 19:19:56 2015 local2.info chat[2540]: report (CONNECT)
Sun May 10 19:19:56 2015 local2.info chat[2540]: timeout set to 30 seconds
Sun May 10 19:19:56 2015 local2.info chat[2540]: send (AT_OWANCALL=2,0^M)
Sun May 10 19:19:56 2015 local2.info chat[2540]: expect (OK)
Sun May 10 19:19:56 2015 local2.info chat[2540]: AT_OWANCALL=2,0^M^M
Sun May 10 19:19:56 2015 local2.info chat[2540]: OK
Sun May 10 19:19:56 2015 local2.info chat[2540]:  -- got it
Sun May 10 19:19:56 2015 local2.info chat[2540]: send (^M)
Sun May 10 19:19:56 2015 daemon.notice netifd: Interface 'wan' is now down
Sun May 10 19:19:56 2015 daemon.notice netifd: Interface 'wan' is setting up now
Sun May 10 19:19:58 2015 local2.info chat[2555]: abort on (BUSY)
Sun May 10 19:19:58 2015 local2.info chat[2555]: abort on (NO CARRIER)
Sun May 10 19:19:58 2015 local2.info chat[2555]: abort on (ERROR)
Sun May 10 19:19:58 2015 local2.info chat[2555]: report (CONNECT)
Sun May 10 19:19:58 2015 local2.info chat[2555]: timeout set to 10 seconds
Sun May 10 19:19:58 2015 local2.info chat[2555]: send (ATZ^M)
Sun May 10 19:19:58 2015 local2.info chat[2555]: expect (OK)
Sun May 10 19:19:58 2015 local2.info chat[2555]: ATZ^M^M
Sun May 10 19:19:58 2015 local2.info chat[2555]: OK
Sun May 10 19:19:58 2015 local2.info chat[2555]:  -- got it
Sun May 10 19:19:58 2015 local2.info chat[2555]: send (AT+CGDCONT=2,"IP","internet"^M)
Sun May 10 19:19:58 2015 local2.info chat[2555]: timeout set to 30 seconds
Sun May 10 19:19:58 2015 local2.info chat[2555]: expect (OK)
Sun May 10 19:19:58 2015 local2.info chat[2555]: ^M
Sun May 10 19:19:58 2015 local2.info chat[2555]: AT+CGDCONT=2,"IP","internet"^M^M
Sun May 10 19:19:58 2015 local2.info chat[2555]: OK
Sun May 10 19:19:58 2015 local2.info chat[2555]:  -- got it
Sun May 10 19:19:58 2015 local2.info chat[2555]: send (AT_OPSYS=3,2^M)
Sun May 10 19:19:59 2015 local2.info chat[2555]: expect (OK)
Sun May 10 19:19:59 2015 local2.info chat[2555]: ^M
Sun May 10 19:19:59 2015 local2.info chat[2555]: AT_OPSYS=3,2^M^M
Sun May 10 19:19:59 2015 local2.info chat[2555]: OK
Sun May 10 19:19:59 2015 local2.info chat[2555]:  -- got it
Sun May 10 19:19:59 2015 local2.info chat[2555]: send (AT_OWANCALL=2,1,0^M)
Sun May 10 19:19:59 2015 local2.info chat[2555]: expect (OK)
Sun May 10 19:19:59 2015 local2.info chat[2555]: ^M
Sun May 10 19:19:59 2015 local2.info chat[2555]: AT_OWANCALL=2,1,0^M^M
Sun May 10 19:19:59 2015 local2.info chat[2555]: OK
Sun May 10 19:19:59 2015 local2.info chat[2555]:  -- got it
Sun May 10 19:19:59 2015 local2.info chat[2555]: send (\d\d\d\d\d\dAT_OWANDATA=2^M)
Sun May 10 19:20:05 2015 local2.info chat[2555]: expect (OK)
Sun May 10 19:20:05 2015 local2.info chat[2555]: ^M
Sun May 10 19:20:05 2015 local2.info chat[2555]: AT_OWANDATA=2^M^M
Sun May 10 19:20:05 2015 local2.info chat[2555]: _OWANDATA: 2, 109.243.157.141, 0.0.0.0, 89.108.195.21, 89.108.202.21, 0.0.0.0, 0
Sun May 10 19:20:05 2015 local2.info chat[2555]: .0.0.0, 72000^M^M
Sun May 10 19:20:05 2015 local2.info chat[2555]: ^M
Sun May 10 19:20:05 2015 local2.info chat[2555]: ^M
Sun May 10 19:20:05 2015 local2.info chat[2555]: OK
Sun May 10 19:20:05 2015 local2.info chat[2555]:  -- got it
Sun May 10 19:20:05 2015 local2.info chat[2555]: send (^M)
Sun May 10 19:20:05 2015 daemon.notice netifd: Interface 'wan6' is enabled
Sun May 10 19:20:05 2015 daemon.notice netifd: Interface 'wan' is now up
Sun May 10 19:20:05 2015 user.notice firewall: Reloading firewall due to ifup of wan (hso0)
Sun May 10 19:21:09 2015 daemon.info dnsmasq[2525]: reading /tmp/resolv.conf.auto
Sun May 10 19:21:09 2015 daemon.info dnsmasq[2525]: using local addresses only for domain lan
Sun May 10 19:21:09 2015 daemon.info dnsmasq[2525]: using nameserver 8.8.8.8#53
Sun May 10 19:21:09 2015 daemon.info dnsmasq[2525]: using nameserver 89.108.195.21#53
Sun May 10 19:21:09 2015 daemon.info dnsmasq[2525]: using nameserver 89.108.202.21#53

184

(46 odpowiedzi, napisanych Oprogramowanie / Software)

Przeinstalowałem pakiety oraz kernel i jest postęp smile. Pojawiły się /dev/ttyHS2 i /dev/ttyHS3 a cat /sys/kernel/debug/usb/devices pokazuje

T:  Bus=02 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
P:  Vendor=0af0 ProdID=6971 Rev= 0.00
S:  Manufacturer=Option N.V.
S:  Product=Globetrotter HSDPA Modem
S:  SerialNumber=Serial Number
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=85(I) Atr=03(Int.) MxPS=  16 Ivl=128ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=hso
E:  Ad=84(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=hso
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=128ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

Dodałem

config interface 'wan'
    option proto 'hso'
    option device '/dev/ttyHS3'
    option ifname 'hso0'
    option apn 'internet'

do /etc/config/network, lecz niestety ifconfig nie pokazuje żadnego nowego interfejsu i siłą rzeczy modem nie działa. Próbowałem też z '/dev/ttyHS2', lecz efekt podobny.
Usbmode uruchamia się przy starcie.

185

(46 odpowiedzi, napisanych Oprogramowanie / Software)

Dziwne. Sprawdziłem w repozytoriach dla innych platform i jest wszędzie podobnej wielkości.

186

(46 odpowiedzi, napisanych Oprogramowanie / Software)

Aha. A jak sprawdzić czy pakiet jest pusty, żeby na przyszłość niepotrzebnie nie zawracać Ci głowy?

187

(46 odpowiedzi, napisanych Oprogramowanie / Software)

Wyse S30 smile

188

(46 odpowiedzi, napisanych Oprogramowanie / Software)

No to gdzie może być przyczyna tego stanu rzeczy?

189

(46 odpowiedzi, napisanych Oprogramowanie / Software)

root@OpenWrt:~# opkg list_installed
base-files - 156-r44952
block-mount - 2015-02-25.1-914b023e71559e033ec5a1f9840511eb1ccaf386
busybox - 1.22.1-3
chat - 2.4.7-2
comgt - 0.32-25
comgt-hso - 0.32-25
dnsmasq - 2.71-4
dropbear - 2014.63-2
e2fsprogs - 1.42.4-1
firewall - 2014-09-19
fstools - 2015-02-25.1-914b023e71559e033ec5a1f9840511eb1ccaf386
ip6tables - 1.4.21-1
iptables - 1.4.21-1
jshn - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
jsonfilter - 2014-06-19-cdc760c58077f44fc40adbbe41e1556a67c1b9a9
kernel - 3.10.49-1-d30db3180ff5a68da1bb7f35ed372881
kmod-8139too - 3.10.49-1
kmod-ac97 - 3.10.49-1
kmod-button-hotplug - 3.10.49-3
kmod-crypto-core - 3.10.49-1
kmod-crypto-hash - 3.10.49-1
kmod-fs-ext4 - 3.10.49-1
kmod-fs-vfat - 3.10.49-1
kmod-hid - 3.10.49-1
kmod-hid-generic - 3.10.49-1
kmod-input-core - 3.10.49-1
kmod-input-evdev - 3.10.49-1
kmod-ip6tables - 3.10.49-1
kmod-ipt-conntrack - 3.10.49-1
kmod-ipt-core - 3.10.49-1
kmod-ipt-nat - 3.10.49-1
kmod-ipt-nathelper - 3.10.49-1
kmod-ipv6 - 3.10.49-1
kmod-lib-crc-ccitt - 3.10.49-1
kmod-lib-crc16 - 3.10.49-1
kmod-mii - 3.10.49-1
kmod-nls-base - 3.10.49-1
kmod-nls-cp437 - 3.10.49-1
kmod-nls-iso8859-1 - 3.10.49-1
kmod-ppp - 3.10.49-1
kmod-pppoe - 3.10.49-1
kmod-pppox - 3.10.49-1
kmod-scsi-core - 3.10.49-1
kmod-slhc - 3.10.49-1
kmod-sound-core - 3.10.49-1
kmod-sound-cs5535audio - 3.10.49-1
kmod-usb-core - 3.10.49-1
kmod-usb-hid - 3.10.49-1
kmod-usb-net - 3.10.49-1
kmod-usb-net-hso - 3.10.49-1
kmod-usb-ohci - 3.10.49-1
kmod-usb-serial - 3.10.49-1
kmod-usb-serial-option - 3.10.49-1
kmod-usb-serial-wwan - 3.10.49-1
kmod-usb-storage - 3.10.49-1
kmod-usb2 - 3.10.49-1
kmod-usb2-pci - 3.10.49-1
libblobmsg-json - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
libc - 0.9.33.2-1
libext2fs - 1.42.4-1
libgcc - 4.8-linaro-1
libip4tc - 1.4.21-1
libip6tc - 1.4.21-1
libjson-c - 0.11-2
libjson-script - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
libncurses - 5.9-1
libnl-tiny - 0.1-3
libpq - 9.0.17-1
libpthread - 0.9.33.2-1
libreadline - 6.2-1
librt - 0.9.33.2-1
libubox - 2014-08-04-dffbc09baf71b294185a36048166d00066d433b5
libubus - 2014-09-17-4c4f35cf2230d70b9ddd87638ca911e8a563f2f3
libuci - 2014-04-11.1-1
libusb-1.0 - 1.0.9-1
libuuid - 2.24.1-1
libxtables - 1.4.21-1
mtd - 20
netifd - 2014-09-08.1-46c569989f984226916fec28dd8ef152a664043e
odhcp6c - 2014-12-10-722226c4f1d45c8bf4ac9189523738abcf7d648f
odhcpd - 2014-09-25-a6e2953843eaf6c93764f9feef10466e7a84ec85
opkg - 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-7
pgsql-server - 9.0.17-1
ppp - 2.4.7-2
ppp-mod-pppoe - 2.4.7-2
procd - 2014-09-15-c1a558f7d0c1e6c1ffa5a47d557a7b45205eef1d
screen - 4.2.1-2
shadow-common - 4.1.5.1-4
shadow-su - 4.1.5.1-4
terminfo - 5.9-1
ubox - 2015-02-25.1-31f0ff358b360ee461d845c1b3b5e5d38fa27925
ubus - 2014-09-17-4c4f35cf2230d70b9ddd87638ca911e8a563f2f3
ubusd - 2014-09-17-4c4f35cf2230d70b9ddd87638ca911e8a563f2f3
uci - 2014-04-11.1-1
usb-modeswitch - 2014-07-18-01ecc3b9764d1dd89cf36ede0a2d98f9adb0cd33
zlib - 1.2.8-1

No chyba tak. O ile comgt-hso to ten sterownik. W repozytorium nie znalazłem nic innego z hso w nazwie.

190

(46 odpowiedzi, napisanych Oprogramowanie / Software)

Tak, znalazłem to i wykonałem. Niestety - bez zmian. Może trzeba coś dopisać do /etc/modules.d/usb-serial ?
Niepokoi mnie Driver=(none) w /sys/kernel/debug/usb/devices. Tak ma być?

191

(46 odpowiedzi, napisanych Oprogramowanie / Software)

T:  Bus=02 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
P:  Vendor=0af0 ProdID=6971 Rev= 0.00
S:  Manufacturer=Option N.V.
S:  Product=Globetrotter HSDPA Modem
S:  SerialNumber=Serial Number
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=85(I) Atr=03(Int.) MxPS=  16 Ivl=128ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=84(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=128ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

Wygląda na to, że nie.
Tyle, że

root@OpenWrt:~# usb_modeswitch
-ash: usb_modeswitch: not found

Jakoś inaczej to się robi?

192

(46 odpowiedzi, napisanych Oprogramowanie / Software)

Ja też próbuję uruchomić ten modem z marnym skutkiem. Zainstalowałem co potrzebne i nie: kmod-usb-core kmod-usb2 usb-modeswitch libusb-1.0 kmod-usb-serial kmod-usb-serial-option comgt comgt-hso i niestety w logu pojawiło się jedynie coś takiego:

Sun May 10 12:41:26 2015 kern.info kernel: [309582.940131] usb 2-2: new full-speed USB device number 2 using ohci_hcd
Sun May 10 12:41:26 2015 kern.info kernel: [309583.200552] usb-storage 2-2:1.0: USB Mass Storage device detected
Sun May 10 12:41:26 2015 kern.warn kernel: [309583.253821] usb-storage: probe of 2-2:1.0 failed with error -5
Sun May 10 12:41:26 2015 kern.info kernel: [309583.276316] usb 2-2: USB disconnect, device number 2
Sun May 10 12:41:29 2015 kern.info kernel: [309586.180140] usb 2-2: new full-speed USB device number 3 using ohci_hcd
Sun May 10 12:41:30 2015 kern.info kernel: [309586.440539] usb-storage 2-2:1.0: USB Mass Storage device detected
Sun May 10 12:41:30 2015 kern.info kernel: [309586.475880] usb-storage 2-2:1.1: USB Mass Storage device detected
Sun May 10 12:41:30 2015 kern.info kernel: [309586.530541] usb-storage 2-2:1.2: USB Mass Storage device detected

Co to za przyczyna? Na Windowsie modem działa.

193

(39 odpowiedzi, napisanych Oprogramowanie / Software)

Nie zrozumiałem, że przez uruchamianie ręczne masz na myśli poprzez /etc/profile. My bad.

194

(39 odpowiedzi, napisanych Oprogramowanie / Software)

Mogę, tylko po co?
Wywala błąd przy logowaniu na roota, ale jakoś specjalnie mi to nie przeszkadza.
Dziękuję Ci kolejny raz za pomoc.

195

(39 odpowiedzi, napisanych Oprogramowanie / Software)

A czy jest jakiś sposób na wykonanie skryptu/komendy po zalogowaniu użytkownika? Chciałbym uruchomić screen su - postgres i później z automatu postgres -D /mnt/sdb1/baza, bo razem su - postgres -c "postgres -D /mnt/sdb1/baza" daje taki sam rezultat jak wyżej...

196

(39 odpowiedzi, napisanych Oprogramowanie / Software)

Mam problem z uruchomieniem serwera.

root@OpenWrt:~# /etc/init.d/postgresql start
starting postgres...
Postgres failed to start.  See /mnt/sdb1/baza/pgsql.log for details
ok

W logu od PostgreSQL mam:

su: Cannot drop the controlling terminal

Natomiast

root@OpenWrt:~# su - postgres


BusyBox v1.22.1 (2015-04-17 15:16:32 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.


        _______                     ________        __
       |       |.-----.-----.-----.|  |  |  |.----.|  |_
       |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
       |_______||   __|_____|__|__||________||__|  |____|
                |__| W I R E L E S S   F R E E D O M

 ----------------------------------------------------------------
 |                                                              |
 | OpenWrt Barrier Breaker (r44952)                             |
 | Build time: 2015-04-17 19:38 CEST                            |
 |                                                              |
 | Cezary Jackiewicz (obsy), http://eko.one.pl                  |
 |                                                              |
 ----------------------------------------------------------------
 | Machine:  Geode(TM) Integrated Processor by National Semi    |
 | Uptime: 0d, 00:25:54                                         |
 | Load: 0.00 0.02 0.07                                         |
 | Flash:                                                       |
 | Memory: total: 243.8MB, free: 233.0MB, used: 4%              |
 | WAN:                                                         |
 | LAN: 192.168.1.33                                            |
 ----------------------------------------------------------------
postgres@OpenWrt:~$ postgres -D /mnt/sdb1/baza
LOG:  database system was shut down at 2015-05-06 17:55:37 CEST
LOG:  database system is ready to accept connections
LOG:  autovacuum launcher started
^CLOG:  received fast shutdown request
LOG:  aborting any active transactions
LOG:  autovacuum launcher shutting down
LOG:  shutting down
LOG:  database system is shut down
postgres@OpenWrt:~$

Postępowałem kropka w kropkę z przepisem Cezarego (poza ścieżką do bazy). Ktoś pomoże?

197

(14 odpowiedzi, napisanych Oprogramowanie / Software)

Jeśli to jest wersja bez Luci odpowiednia do twojego sprzętu, to zalogujesz się przez telnet.

198

(14 odpowiedzi, napisanych Oprogramowanie / Software)

VPN to jest dobre rozwiązanie, ale istnieje lepsze: http://eko.one.pl/?p=openwrt-n2n. Sam mam taką konfigurację (4 kamery i NAS dodatkowo) i działa od kilku miesięcy bezproblemowo. Z tą różnicą, że mam inny ruter, OpenWRT BB i modem 3g w Orange. Dodatkowo pakiet zajmuje miejsca tyle co nic.

199

(8 odpowiedzi, napisanych Oprogramowanie / Software)

Mam problem z tym sprzętem. Udało mi się zainstalować u-boot zgodnie z tym i teraz nie wiem, jak przesłać do rutera obraz z openwrt. LAN nie działa i wydaje się, że port szeregowy to jedyna opcja.
Pytanie: jak to zrobić?
Oto co teraz gada:

U-Boot 2010.03 (Apr 09 2012 - 01:10:47)

Board: ARV752DPW
SoC: Danube/Twinpass/Vinax-VE V1.3, DDR Speed 166 MHz, CPU Speed 333 MHz
DRAM:  64 MB
Flash:  8 MB
*** Warning - bad CRC, using default environment

Net:
searching for rtl8306 switch ... found
Reset Hard
Done
Reset Soft
Success

lq_cpe_eth
Hit any key to stop autoboot:  0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Failed to execute bootcmd (maybe invalid u-boot environment?), starting httpd to update firmware...
starting httpd server from server 192.168.1.1
http start
............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Abort
ARV752DPW =>

AKTUALIZACJA:
Tftp zadziałał. Nie wiem jak i dlaczego, ale problem sam się rozwiązał smile.

200

(12 odpowiedzi, napisanych Oprogramowanie / Software)

A czy poprzedziłeś to komendą opkg update?