1

(9 odpowiedzi, napisanych Oprogramowanie / Software)

A więc tak, na wersji 0.10 nie działa, na 0.9 działa.
Mieszanie zawsze szkodzi.

2

(9 odpowiedzi, napisanych Oprogramowanie / Software)

No to jak widać, wszystko co mam zainstalowane do luci jest w wersji 0.10
Na czym polega ta niezgodność, o której pisałeś?

root@OpenWrt:~$ opkg list-installed             
base-files - 43.17-r26962
block-extroot - 0.0.1-2
block-hotplug - 0.1.0-2cj
block-mount - 0.1.0-2cj
busybox - 1.15.3-2
chat - 2.4.4-16
comgt - 0.32-9
crda - 1.1.1-1
dnsmasq - 2.55-6
dropbear - 0.52-4
firewall - 2-25
hotplug2 - 1.0-beta-3
iptables - 1.4.6-2cj
iptables-mod-conntrack - 1.4.6-2cj
iptables-mod-nat - 1.4.6-2cj
iw - 0.9.22-1
kernel - 2.6.32.27-1cj
kmod-ath - 2.6.32.27+2011-04-19-3
kmod-ath9k - 2.6.32.27+2011-04-19-3
kmod-ath9k-common - 2.6.32.27+2011-04-19-3
kmod-button-hotplug - 2.6.32.27-1
kmod-cfg80211 - 2.6.32.27+2011-04-19-3
kmod-crc-ccitt - 2.6.32.27-1cj
kmod-crc16 - 2.6.32.27-1cj
kmod-crypto-aes - 2.6.32.27-1cj
kmod-crypto-arc4 - 2.6.32.27-1cj
kmod-crypto-core - 2.6.32.27-1cj
kmod-fs-ext2 - 2.6.32.27-1cj
kmod-fs-mbcache - 2.6.32.27-1cj
kmod-fs-vfat - 2.6.32.27-1cj
kmod-input-core - 2.6.32.27-1cj
kmod-input-gpio-buttons - 2.6.32.27-1cj
kmod-input-polldev - 2.6.32.27-1cj
kmod-ipt-conntrack - 2.6.32.27-1cj
kmod-ipt-core - 2.6.32.27-1cj
kmod-ipt-nat - 2.6.32.27-1cj
kmod-ipt-nathelper - 2.6.32.27-1cj
kmod-leds-gpio - 2.6.32.27-1cj
kmod-ledtrig-usbdev - 2.6.32.27-1cj
kmod-mac80211 - 2.6.32.27+2011-04-19-3
kmod-nls-base - 2.6.32.27-1cj
kmod-nls-cp437 - 2.6.32.27-1cj
kmod-nls-iso8859-1 - 2.6.32.27-1cj
kmod-ppp - 2.6.32.27-1cj
kmod-pppoe - 2.6.32.27-1cj
kmod-scsi-core - 2.6.32.27-1cj
kmod-tun - 2.6.32.27-1cj
kmod-usb-core - 2.6.32.27-1cj
kmod-usb-serial - 2.6.32.27-1cj
kmod-usb-serial-option - 2.6.32.27-1cj
kmod-usb-storage - 2.6.32.27-1cj
kmod-usb2 - 2.6.32.27-1cj
libc - 0.9.30.1-43.17
libgcc - 4.3.3+cs-43.17
libip4tc - 1.4.6-2cj
libip6tc - 1.4.6-2cj
libiptc - 1.4.6-2cj
liblua - 5.1.4-7
liblzo - 2.04-1
libnl-tiny - 0.1-1
libopenssl - 0.9.8p-1
libpopt - 1.7-5
librt - 0.9.30.1-43.17
libuci - 12012009.6-3
libuci-lua - 12012009.6-3
libusb - 0.1.12-2
libxtables - 1.4.6-2cj
lua - 5.1.4-7
luci-i18n-english - 0.10+svn7079-1
luci-lib-core - 0.10+svn7079-1
luci-lib-ipkg - 0.10+svn7079-1
luci-lib-lmo - 0.10+svn7079-1
luci-lib-nixio - 0.10+svn7079-1
luci-lib-sys - 0.10+svn7079-1
luci-lib-web - 0.10+svn7079-1
luci-mod-admin-core - 0.10+svn7079-1
luci-mod-admin-full - 0.10+svn7079-1
luci-sgi-cgi - 0.10+svn7079-1
luci-theme-base - 0.10+svn7079-1
luci-theme-openwrt - 0.10+svn7079-1
mtd - 13
ntpclient - 2007_365-4
openvpn - 2.1.4-3
opkg - 576-1
ppp - 2.4.4-16
ppp-mod-pppoe - 2.4.4-16
px5g - 1
swconfig - 7
uci - 12012009.6-3
udevtrigger - 106-1
uhttpd - 22
usb-modeswitch - 1.1.7-1
usb-modeswitch-data - 20110227-1
vsftpd - 2.3.4-1cj
wireless-tools - 29-4
wpad-mini - 20110402-1
wput - 0.6.2-1
zlib - 1.2.3-5

3

(9 odpowiedzi, napisanych Oprogramowanie / Software)

Przeinstalowałem luci z repo, które mi podałeś (tam wszystko do luci jest 0.10)

root@OpenWrt:~$ opkg list-installed | grep luci
luci-i18n-english - 0.10+svn7079-1
luci-lib-core - 0.10+svn7079-1
luci-lib-ipkg - 0.10+svn7079-1
luci-lib-lmo - 0.10+svn7079-1
luci-lib-nixio - 0.10+svn7079-1
luci-lib-sys - 0.10+svn7079-1
luci-lib-web - 0.10+svn7079-1
luci-mod-admin-core - 0.10+svn7079-1
luci-mod-admin-full - 0.10+svn7079-1
luci-sgi-cgi - 0.10+svn7079-1
luci-theme-base - 0.10+svn7079-1
luci-theme-openwrt - 0.10+svn7079-1

Luci ma być 0.9 czy 0.10? Jeśli 0.9, to z jakiego repo?

4

(9 odpowiedzi, napisanych Oprogramowanie / Software)

W tym repozytorium nie było luci-admin-full, więc wziąłem luci-mod-admin-full.
GUI wyglądało dobrze do czasu - po zalogowaniu:

/usr/lib/lua/luci/template.lua:81: No such file or directory
stack traceback:
    [C]: in function 'error'
    /usr/lib/lua/luci/template.lua:81: in function '__init__'
    /usr/lib/lua/luci/util.lua:71: in function 'Template'
    /usr/lib/lua/luci/template.lua:50: in function 'render'
    /usr/lib/lua/luci/dispatcher.lua:668: in function 'target'
    /usr/lib/lua/luci/dispatcher.lua:384: in function 'dispatch'
    /usr/lib/lua/luci/dispatcher.lua:622: in function 'target'
    /usr/lib/lua/luci/dispatcher.lua:386: in function 'dispatch'
    /usr/lib/lua/luci/dispatcher.lua:622: in function 'target'
    /usr/lib/lua/luci/dispatcher.lua:386: in function 'dispatch'
    /usr/lib/lua/luci/dispatcher.lua:146: in function </usr/lib/lua/luci/dispatcher.lua:145>

W template.lua w 81 linii jest tak:
                -- If we have no valid template throw error, otherwise cache the template
                if not self.template then                                               
                        error(err)                                                       
                else                                                                     
                        self.cache[name] = self.template                                 
                end
Wygląda na to że nie ma template.
Jaki jeszcze można doinstalować, zamiast luci-theme-openwrt?

5

(9 odpowiedzi, napisanych Oprogramowanie / Software)

Mam zainstalowany najnowszy obraz BF i chciałem doinstalować LuCI:
opkg install uhttpd luci-admin-full luci-theme-openwrt px5g
w czasie instalacji luci-theme-openwrt były komunikaty, że nie może nadpisać obrazów, bo inna paczka z zależności ich wymaga (jakoś tak, nie pamiętam dokładnie).
Potem zainstalowałem wszystko oddzielnie i jakoś poszło, każda paczka jest up-to-date.
Efekt jest taki, że coś się posypało z template:
http://imageshack.us/photo/my-images/42/luciny.jpg/

tekstowo:
This page contains the following errors:
error on line 53 at column 55: expected '>'
Below is a rendering of the page up to the first error.

Jak się tego pozbyć?

6

(5 odpowiedzi, napisanych Oprogramowanie / Software)

Zagadnienie ciekawe, ale już rozwiązane: client-config-dir ccd.
Co prawda jeszcze nie wszystko działa, tak jakbym chciał, ale mam już punkt zaczepienia.

Może ktoś będzie potrzebował i nie będzie miał czasu na szukanie:
http://openvpn.net/index.php/open-sourc … html#scope
"Expanding the scope of the VPN to include additional machines on either the client or server subnet"

7

(5 odpowiedzi, napisanych Oprogramowanie / Software)

Wyłączyłem po obu stronach wf i nadal źle:
ping z klienta do servera i sieci za nim - OK.
ping z servera do klinta i sieci za nim - nie przechodzi.

iptables -I FORWARD -j ACCEPT
iptables -I INPUT -j ACCEPT

Co muszę skonfigurować jeszcze na kliencie oprócz openvpn.conf i cert?
A może jeszcze coś trzeba nagrzebać w po stornie serwera, żeby szło w drugą stronę?

8

(5 odpowiedzi, napisanych Oprogramowanie / Software)

Po zainstalowaniu BF to samo, co na GargoylePL.
Skrajne wyczerpanie mnie dopadło, dlatego proszę o konkretne instrukcje (iptables, route, i inne wymagane),
jakie powinienem zrobić na czystej instalacji, żeby kilent openvpn połączył się do serwera.
Może coś przeoczyłem i kręcę się w koło...

Ja komentowałem, głośno i wyraźnie wink

Brakowało chat, comgt - łączy się.
Nadal w grze...

Tak, wpisałem:
sleep 10
/usr/bin/usb_modeswitch -c "/etc/usb_modeswitch.d/12d1:1446"
jako pierwsze linie.

Nic to nie zmieniło.
Jaka jest różnica, wpisać to z palca po restarcie, a umieścić w rc.local?

To co w tej sytuacji? Na GargoylePL nie mogę uruchomić poprawnie działającego klienta openvpn, a na BF nie działa modem.
(Miała to być przysługa dla kolegi, nie dość, że jestem 6 dni po czasie, to jeszcze może się okazać niedźwiedzia :])

Możesz dać mi link do tego, tak żeby to zrobić z sysupgrade?

Owszem, ale na GargoylePL teraz na BF nie chce.

Zainstalowałem najnowszy Backfire na MR3420, doinstalowałem paczki do obsługi modemu usb.

root@OpenWrt:/etc$ opkg list-installed
base-files - 43.17-r26962
block-extroot - 0.0.1-2
block-hotplug - 0.1.0-2cj
block-mount - 0.1.0-2cj
busybox - 1.15.3-2
crda - 1.1.1-1
dnsmasq - 2.55-6
dropbear - 0.52-4
firewall - 2-25
hotplug2 - 1.0-beta-3
iptables - 1.4.6-2cj
iptables-mod-conntrack - 1.4.6-2cj
iptables-mod-nat - 1.4.6-2cj
iw - 0.9.22-1
kernel - 2.6.32.27-1cj
kmod-ath - 2.6.32.27+2011-04-19-3
kmod-ath9k - 2.6.32.27+2011-04-19-3
kmod-ath9k-common - 2.6.32.27+2011-04-19-3
kmod-button-hotplug - 2.6.32.27-1
kmod-cfg80211 - 2.6.32.27+2011-04-19-3
kmod-crc-ccitt - 2.6.32.27-1cj
kmod-crc16 - 2.6.32.27-1cj
kmod-crypto-aes - 2.6.32.27-1cj
kmod-crypto-arc4 - 2.6.32.27-1cj
kmod-crypto-core - 2.6.32.27-1cj
kmod-fs-ext2 - 2.6.32.27-1cj
kmod-fs-mbcache - 2.6.32.27-1cj
kmod-fs-vfat - 2.6.32.27-1cj
kmod-input-core - 2.6.32.27-1cj
kmod-input-gpio-buttons - 2.6.32.27-1cj
kmod-input-polldev - 2.6.32.27-1cj
kmod-ipt-conntrack - 2.6.32.27-1cj
kmod-ipt-core - 2.6.32.27-1cj
kmod-ipt-nat - 2.6.32.27-1cj
kmod-ipt-nathelper - 2.6.32.27-1cj
kmod-leds-gpio - 2.6.32.27-1cj
kmod-ledtrig-usbdev - 2.6.32.27-1cj
kmod-mac80211 - 2.6.32.27+2011-04-19-3
kmod-nls-base - 2.6.32.27-1cj
kmod-nls-cp437 - 2.6.32.27-1cj
kmod-nls-iso8859-1 - 2.6.32.27-1cj
kmod-ppp - 2.6.32.27-1cj
kmod-pppoe - 2.6.32.27-1cj
kmod-scsi-core - 2.6.32.27-1cj
kmod-usb-core - 2.6.32.27-1cj
kmod-usb-serial - 2.6.32.27-1cj
kmod-usb-serial-option - 2.6.32.27-1cj
kmod-usb-storage - 2.6.32.27-1cj
kmod-usb2 - 2.6.32.27-1cj
libc - 0.9.30.1-43.17
libgcc - 4.3.3+cs-43.17
libip4tc - 1.4.6-2cj
libip6tc - 1.4.6-2cj
libiptc - 1.4.6-2cj
libnl-tiny - 0.1-1
libpopt - 1.7-5
libuci - 12012009.6-3
libusb - 0.1.12-2
libxtables - 1.4.6-2cj
mtd - 13
opkg - 576-1
ppp - 2.4.4-16
ppp-mod-pppoe - 2.4.4-16
swconfig - 7
uci - 12012009.6-3
udevtrigger - 106-1
usb-modeswitch - 1.1.7-1
usb-modeswitch-data - 20110227-1
vsftpd - 2.3.4-1cj
wireless-tools - 29-4
wpad-mini - 20110402-1
wput - 0.6.2-1

Modem w logu pojawia się:
Jan  1 01:00:38 OpenWrt user.notice usb-modeswitch: 1-1.2:1.0: Manufacturer=Action Product=Mint Serial=0EE0556150235AC2
Jan  1 01:00:39 OpenWrt user.notice usb-modeswitch: 1-1.3:1.0: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jan  1 01:00:39 OpenWrt user.notice usb-modeswitch: 1-1.3:1.0: Selecting /etc/usb_modeswitch.d/12d1:1446 for mode switching
Jan  1 01:00:39 OpenWrt user.notice usb-modeswitch: 1-1.3:1.1: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Jan  1 01:00:39 OpenWrt user.notice usb-modeswitch: 1-1.3:1.1: Selecting /etc/usb_modeswitch.d/12d1:1446 for mode switching
Jan  1 01:00:39 OpenWrt user.notice usb-modeswitch: 1-1:1.0: Manufacturer=? Product=USB2.0_Hub Serial=?

root@OpenWrt:/etc$ cat /proc/bus/usb/devices
T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#=  4 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=1446 Rev= 0.00
S:  Manufacturer=HUAWEI Technology
S:  Product=HUAWEI Mobile
C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

Konfiguracja wg HOWTO:

network.wan=interface
network.wan.proto=3g
network.wan.service=umts
network.wan.device=/dev/ttyUSB0
network.wan.pincode=2222
network.wan.apn=erainternet
network.wan.username=erainternet
network.wan.password=erainternet

Przy próbie przełączenia na modem:
root@OpenWrt:~$ /usr/bin/usb_modeswitch -c "/etc/usb_modeswitch.d/12d1:1446"   
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found devices in default mode, class or configuration (1)
Accessing device 004 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using endpoints 0x01 (out) and 0x81 (in)
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
OK, driver found ("usb-storage")
OK, driver "usb-storage" detached

SCSI inquiry data (for identification)
-------------------------
  Vendor String: HUAWEI 
   Model String: Mass Storage   
Revision String: 2.31
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
     Product: HUAWEI Mobile
  Serial No.: not provided
-------------------------
Setting up communication with interface 0 ...
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Resetting response endpoint 0x81
Error resetting endpoint: -71
Resetting message endpoint 0x01
Error resetting endpoint: -71

Checking for mode switch (max. 20 times, once per second) ...
Waiting for original device to vanish ...
Original device can't be accessed anymore. Good.
Searching for target devices ...
...
Searching for target devices ...
No new devices in target mode or class found
Mode switch has failed. Bye.

W tym czasie led dwa razy zmieni kolor z niebieskiego na zielony.
Po próbie przełączenia cat /proc/bus/usb/devices pokazuje coś innego, zmienia się ProdID 1446 -> 1436:

T:  Bus=01 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#=  5 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=1436 Rev= 0.00
S:  Manufacturer=HUAWEI Technology
S:  Product=HUAWEI Mobile
C:* #Ifs= 7 Cfg#= 1 Atr=e0 MxPwr=500mA
A:  FirstIf#= 1 IfCount= 2 Cls=02(comm.) Sub=00 Prot=00
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=ff Driver=(none)
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 5 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 6 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=88(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

Połączenie nie zostaje zestawione. Jak temu zaradzić?
Dodam, że na GargoylePL komunikat był podobny, ale połączenie się nawiązywało.

17

(5 odpowiedzi, napisanych Oprogramowanie / Software)

Dla uproszczenia sytuacji po obu stronach zrobiłem iptables -F i dodałem route:

root@gate01:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.12.1       *               255.255.255.255 UH    0      0        0 vlan2
192.168.66.2    *               255.255.255.255 UH    0      0        0 tun0
192.168.7.0     *               255.255.255.0   U     0      0        0 br0
192.168.66.0    192.168.66.2    255.255.255.0   UG    0      0        0 tun0
10.0.12.0       *               255.255.255.0   U     0      0        0 vlan2
192.168.11.0    192.168.66.2    255.255.255.0   UG    0      0        0 tun0
169.254.0.0     *               255.255.0.0     U     0      0        0 br0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         10.0.12.1       0.0.0.0         UG    0      0        0 vlan2


root@Gargoyle:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.64.64.64     *               255.255.255.255 UH    0      0        0 3g-wan
192.168.66.5    *               255.255.255.255 UH    0      0        0 tun0
192.168.7.0     192.168.66.5    255.255.255.0   UG    0      0        0 tun0
192.168.66.0    192.168.66.5    255.255.255.0   UG    0      0        0 tun0
192.168.11.0    *               255.255.255.0   U     0      0        0 br-lan
default         10.64.64.64     0.0.0.0         UG    0      0        0 3g-wan

ping Gargoyle -> gate01 OK
ping Gargoyle <- gate01 nie przechodzi

Konfiguracja serwera:
push "route 192.168.7.0 255.255.255.0"
server 192.168.66.0 255.255.255.0
port 443
dev tun0
proto tcp
keepalive 10 120
dh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
management localhost 5001
client-to-client

konfiguracja klienta:
config openvpn sample_client
        option enable 1
        option client 1
        option dev tun
        option proto tcp
        list remote "xxx.xxx.xxx.xxx 443"
        option resolv_retry infinite
        option nobind 1
        option persist_key 1
        option persist_tun 1
        option ca /etc/openvpn/ca.crt
        option cert /etc/openvpn/client2.crt
        option key /etc/openvpn/client2.key
        option verb 4

Może ktoś pomóc?

18

(5 odpowiedzi, napisanych Oprogramowanie / Software)

Mam dwa routery:
1) N16 ddwrt, server openvpn, hostname: gate01, 192.168.7.1 (serwer działa dobrze, korzystam z niego łącząc się Tunnelbick'em)
2) MR3420 openwrt, client openvpn, hostname: Gargoyle, 192.168.11.1

Nie potrafię poradzić sobie (chyba) z przekazywaniem pakietów. Proszę o pomoc.

Objawy:
root@gate01:~# ping 192.168.11.1
PING 192.168.11.1 (192.168.11.1): 56 data bytes
--- 192.168.11.1 ping statistics ---
11 packets transmitted, 0 packets received, 100% packet loss

ale

root@Gargoyle:~$ ping 192.168.7.1
PING 192.168.7.1 (192.168.7.1): 56 data bytes
64 bytes from 192.168.7.1: seq=0 ttl=64 time=95.104 ms
mimo że mogę pingować, nie mogę połączyć się z GUI

Załączam konfigurację obu routerów:
--------------------------------------------
root@Gargoyle:~$ iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
bw_ingress  all  --  anywhere             anywhere           
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere           
syn_flood  tcp  --  anywhere             anywhere            tcp flags:FIN,SYN,RST,ACK/SYN
input_rule  all  --  anywhere             anywhere           
input      all  --  anywhere             anywhere           

Chain FORWARD (policy DROP)
target     prot opt source               destination         
bw_ingress  all  --  anywhere             anywhere           
ingress_restrictions  all  --  anywhere             anywhere           
egress_restrictions  all  --  anywhere             anywhere           
zone_wan_MSSFIX  all  --  anywhere             anywhere           
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
forwarding_rule  all  --  anywhere             anywhere           
forward    all  --  anywhere             anywhere           
reject     all  --  anywhere             anywhere           

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere           
output_rule  all  --  anywhere             anywhere           
output     all  --  anywhere             anywhere           

root@Gargoyle:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.64.64.64     *               255.255.255.255 UH    0      0        0 3g-wan
192.168.66.1    192.168.66.5    255.255.255.255 UGH   0      0        0 tun0
192.168.66.5    *               255.255.255.255 UH    0      0        0 tun0
192.168.7.0     192.168.66.5    255.255.255.0   UG    0      0        0 tun0
192.168.11.0    *               255.255.255.0   U     0      0        0 br-lan
default         10.64.64.64     0.0.0.0         UG    0      0        0 3g-wan

--------------------------------------------

root@gate01:~# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:https
ACCEPT     0    --  anywhere             anywhere            state RELATED,ESTABLISHED
invalid    0    --  anywhere             anywhere            state INVALID
ACCEPT     0    --  anywhere             anywhere           
DROP       udp  --  anywhere             anywhere            udp dpt:route
ACCEPT     0    --  anywhere             anywhere           
ACCEPT     udp  --  anywhere             anywhere            udp dpt:1194
ACCEPT     0    --  anywhere             anywhere           
DROP       udp  --  anywhere             anywhere            udp dpt:route
ACCEPT     udp  --  anywhere             anywhere            udp dpt:route
logdrop    icmp --  anywhere             anywhere           
logdrop    igmp --  anywhere             anywhere           
ACCEPT     udp  --  anywhere             anywhere            udp dpt:5060
DROP       udp  --  anywhere             239.255.255.0/24    udp dpt:upnp
logdrop    0    --  anywhere             anywhere           

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU
ACCEPT     0    --  anywhere             anywhere            state RELATED,ESTABLISHED
invalid    0    --  anywhere             anywhere            state INVALID
ACCEPT     0    --  anywhere             anywhere           
ACCEPT     0    --  anywhere             anywhere           
ACCEPT     0    --  anywhere             anywhere           
ACCEPT     0    --  anywhere             anywhere           
ACCEPT     0    --  192.168.66.0/24      anywhere           
ACCEPT     gre  --  192.168.7.0/24       anywhere           
ACCEPT     tcp  --  192.168.7.0/24       anywhere            tcp dpt:1723
ACCEPT     0    --  anywhere             anywhere           
ACCEPT     0    --  anywhere             anywhere           
logaccept  tcp  --  anywhere             192.168.7.42        tcp dpt:tproxy
logaccept  udp  --  anywhere             192.168.7.42        udp dpt:tproxy
logaccept  tcp  --  anywhere             192.168.7.44        tcp dpt:8082
logaccept  udp  --  anywhere             192.168.7.44        udp dpt:8082
logaccept  tcp  --  anywhere             192.168.7.46        tcp dpt:8083
logaccept  udp  --  anywhere             192.168.7.46        udp dpt:8083
logaccept  0    --  anywhere             anywhere            state NEW
logdrop    0    --  anywhere             anywhere           

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

root@gate01:~# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.0.12.1       *               255.255.255.255 UH    0      0        0 vlan2
192.168.66.2    *               255.255.255.255 UH    0      0        0 tun0
192.168.7.0     *               255.255.255.0   U     0      0        0 br0
192.168.66.0    192.168.66.2    255.255.255.0   UG    0      0        0 tun0
10.0.12.0       *               255.255.255.0   U     0      0        0 vlan2
169.254.0.0     *               255.255.0.0     U     0      0        0 br0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         10.0.12.1       0.0.0.0         UG    0      0        0 vlan2

Log po stronie klienta:
May 25 21:09:30 Gargoyle daemon.notice openvpn(sample_client)[2309]: OpenVPN 2.1.4 mips-openwrt-linux [SSL] [LZO2] [EPOLL] built on May 14 2011
May 25 21:09:30 Gargoyle daemon.warn openvpn(sample_client)[2309]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
May 25 21:09:30 Gargoyle daemon.warn openvpn(sample_client)[2309]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
May 25 21:09:30 Gargoyle daemon.warn openvpn(sample_client)[2309]: WARNING: file '/etc/openvpn/client2.key' is group or others accessible
May 25 21:09:30 Gargoyle daemon.notice openvpn(sample_client)[2309]: Control Channel MTU parms [ L:1543 D:140 EF:40 EB:0 ET:0 EL:0 ]
May 25 21:09:30 Gargoyle daemon.notice openvpn(sample_client)[2309]: Socket Buffers: R=[87380->131072] S=[16384->131072]
May 25 21:09:30 Gargoyle daemon.notice openvpn(sample_client)[2309]: Data Channel MTU parms [ L:1543 D:1450 EF:43 EB:4 ET:0 EL:0 ]
May 25 21:09:30 Gargoyle daemon.notice openvpn(sample_client)[2309]: Attempting to establish TCP connection with xxx.xxx.xxx.xxx:443 [nonblock]
May 25 21:09:31 Gargoyle daemon.notice openvpn(sample_client)[2309]: TCP connection established with xxx.xxx.xxx.xxx:443
May 25 21:09:31 Gargoyle daemon.notice openvpn(sample_client)[2309]: TCPv4_CLIENT link local: [undef]
May 25 21:09:31 Gargoyle daemon.notice openvpn(sample_client)[2309]: TCPv4_CLIENT link remote: xxx.xxx.xxx.xxx:443
May 25 21:09:31 Gargoyle daemon.notice openvpn(sample_client)[2309]: TLS: Initial packet from xxx.xxx.xxx.xxx:443, sid=ba3b16a4 40ff7ac2
May 25 21:09:37 Gargoyle daemon.notice openvpn(sample_client)[2309]: VERIFY OK: depth=1, xxxxxxxx
May 25 21:09:37 Gargoyle daemon.notice openvpn(sample_client)[2309]: VERIFY OK: depth=0, xxxxxxxx
May 25 21:09:42 Gargoyle daemon.notice openvpn(sample_client)[2309]: Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:09:42 Gargoyle daemon.notice openvpn(sample_client)[2309]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:09:42 Gargoyle daemon.notice openvpn(sample_client)[2309]: Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
May 25 21:09:42 Gargoyle daemon.notice openvpn(sample_client)[2309]: Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
May 25 21:09:42 Gargoyle daemon.notice openvpn(sample_client)[2309]: Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
May 25 21:09:42 Gargoyle daemon.notice openvpn(sample_client)[2309]: [server] Peer Connection Initiated with xxx.xxx.xxx.xxx:443
May 25 21:09:44 Gargoyle daemon.notice openvpn(sample_client)[2309]: SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
May 25 21:09:44 Gargoyle daemon.notice openvpn(sample_client)[2309]: PUSH: Received control message: 'PUSH_REPLY,route 192.168.7.0 255.255.255.0,route 192.168.66.1,topology net30,ping 10,ping-restart 120,ifconfig 192.168.66.6 192.168.66.5'
May 25 21:09:44 Gargoyle daemon.notice openvpn(sample_client)[2309]: OPTIONS IMPORT: timers and/or timeouts modified
May 25 21:09:44 Gargoyle daemon.notice openvpn(sample_client)[2309]: OPTIONS IMPORT: --ifconfig/up options modified
May 25 21:09:44 Gargoyle daemon.notice openvpn(sample_client)[2309]: OPTIONS IMPORT: route options modified
May 25 21:09:44 Gargoyle daemon.notice openvpn(sample_client)[2309]: TUN/TAP device tun0 opened
May 25 21:09:44 Gargoyle daemon.notice openvpn(sample_client)[2309]: TUN/TAP TX queue length set to 100
May 25 21:09:44 Gargoyle daemon.notice openvpn(sample_client)[2309]: /sbin/ifconfig tun0 192.168.66.6 pointopoint 192.168.66.5 mtu 1500
May 25 21:09:44 Gargoyle daemon.notice openvpn(sample_client)[2309]: /sbin/route add -net 192.168.7.0 netmask 255.255.255.0 gw 192.168.66.5
May 25 21:09:44 Gargoyle daemon.notice openvpn(sample_client)[2309]: /sbin/route add -net 192.168.66.1 netmask 255.255.255.255 gw 192.168.66.5
May 25 21:09:44 Gargoyle daemon.notice openvpn(sample_client)[2309]: Initialization Sequence Completed

19

(13 odpowiedzi, napisanych Oprogramowanie / Software)

W /etc/rc.local wystarczy wpisać /usr/bin/usb_modeswitch -c "/etc/usb_modeswitch.d/12d1:1446"
Działa po hub'ie usb.

20

(13 odpowiedzi, napisanych Oprogramowanie / Software)

A jak jest od na "Jak uzyskać połączenie automatycznie po restarcie routera"? Po restarcie nie łączy się automatycznie do sieci.

21

(13 odpowiedzi, napisanych Oprogramowanie / Software)

oki, dotarło.
Jak uzyskać połączenie automatycznie po restarcie routera?

Urządzenie będzie daleko ode mnie i założenie jest takie, że jak nastąpi restart routera z dowolnego powody albo zerwanie łącza np chwilowy brak prądu, to połączenie zostanie wznowione, co więcej połączy się po openvpn.
Chciałem puścić crona, który sprawdzałby co 30min czy jest ping do serwera vpn, jak nie ma to robi restart albo routera albo samego modemu.
off/on usb wydał mi się idealny, ale to było wtedy jak jeszcze nie myślałem o extroot, potem byłem już tak zafiksowany tym podejściem, że nie przewidziałem wszystkich konsekwencji takiego działania.

22

(13 odpowiedzi, napisanych Oprogramowanie / Software)

Podłączyłem modem i pendrive przez hub'a do routera - efekt dokładnie taki sam jak poprzednio.
Jeśli szkodzi mu 'pojawiam się i znikam', to by wiele wyjaśniało, bo jak uruchamiam router po extroot'cie to żeby połączył się modem robię mu off/on na porcie USB:
echo 0 > /sys/devices/virtual/gpio/gpio6/value, potem echo 1 > /sys/devices/virtual/gpio/gpio6/value.
Jak zrobić autoconnect po restarcie bez tego zabiegu z usb, może to jest źródłem wszelkich nieszczęść?

23

(13 odpowiedzi, napisanych Oprogramowanie / Software)

No właśnie nie wiem, co się sypie. Zrobiłem ponownie wszystko wg howto Extroot dla G.
Po restarcie uSD jest ładnie zamontowana, ale już po uruchomieniu są błedy:

Jan  1 01:33:25 Gargoyle user.crit kernel: EXT2-fs error (device sda1): ext2_get_inode: unable to read inode block - inode=16052, block=65539
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo_lookup: ERR from storage dentry, lookup failed.
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo_d_delete: negative dentry passed.
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo_d_release: no private data.
Jan  1 01:33:25 Gargoyle user.crit kernel: EXT2-fs error (device sda1): ext2_get_inode: unable to read inode block - inode=16052, block=65539
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo_lookup: ERR from storage dentry, lookup failed.
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo_d_delete: negative dentry passed.
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo_d_release: no private data.
Jan  1 01:33:25 Gargoyle user.crit kernel: EXT2-fs error (device sda1): ext2_get_inode: unable to read inode block - inode=16052, block=65539
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo_lookup: ERR from storage dentry, lookup failed.
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo_d_delete: negative dentry passed.
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo_d_release: no private data.
Jan  1 01:33:25 Gargoyle user.crit kernel: EXT2-fs error (device sda1): ext2_get_inode: unable to read inode block - inode=16052, block=65539
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo_lookup: ERR from storage dentry, lookup failed.
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo_d_delete: negative dentry passed.
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo_d_release: no private data.
Jan  1 01:33:25 Gargoyle user.crit kernel: EXT2-fs error (device sda1): ext2_get_inode: unable to read inode block - inode=88213, block=360452
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo_lookup: ERR from storage dentry, lookup failed.
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo_d_delete: negative dentry passed.
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo_d_release: no private data.
Jan  1 01:33:25 Gargoyle user.crit kernel: EXT2-fs error (device sda1): ext2_get_inode: unable to read inode block - inode=88198, block=360451
Jan  1 01:33:25 Gargoyle user.crit kernel: EXT2-fs error (device sda1): read_block_bitmap: Cannot read block bitmap - block_group = 11, block_bitmap = 360448
Jan  1 01:33:25 Gargoyle user.crit kernel: EXT2-fs error (device sda1): read_inode_bitmap: Cannot read inode bitmap - block_group = 11, inode_bitmap = 360449
Jan  1 01:33:25 Gargoyle user.crit kernel: EXT2-fs error (device sda1): read_inode_bitmap: Cannot read inode bitmap - block_group = 11, inode_bitmap = 360449
Jan  1 01:33:25 Gargoyle user.crit kernel: mini_fo: create_sto_file: ERROR creating sto file.
Jan  1 01:33:33 Gargoyle user.warn kernel: ipt_bandwidth: timezone shift detected, adjusting

Jak się tego pozbyć? Jakaś niekompatybilność?

24

(13 odpowiedzi, napisanych Oprogramowanie / Software)

Po restarcie i formatowaniu 2GB uSD w E173:

root@Gargoyle:~$ opkg install openvpn
Installing openvpn (2.1.4-3) to root...
Downloading http://ecco.selfip.net/backfire/package … r71xx.ipk.
Multiple packages (kmod-tun and kmod-tun) providing same name marked HOLD or PREFER. Using latest.
Installing libopenssl (0.9.8p-1) to root...
Downloading http://downloads.openwrt.org/backfire/1 … r71xx.ipk.
Collected errors:
* wfopen: //usr/lib/opkg/info/libopenssl.control: Input/output error.
* wfopen: /usr/lib/libssl.so.0.9.8: Input/output error.
* wfopen: /usr/lib/libcrypto.so.0.9.8: Input/output error.
* set_flags_from_control: Failed to open No such file or directory: //usr/lib/opkg/info/libopenssl.control.
* pkg_write_filelist: Failed to open //usr/lib/opkg/info/libopenssl.list: Input/output error.
* opkg_install_pkg: Failed to extract data files for libopenssl. Package debris may remain!
* opkg_install_cmd: Cannot install package openvpn.
* opkg_conf_write_status_files: Couldn't close //usr/lib/opkg/status: Input/output error.

root@Gargoyle:~$ logread
Jan  1 01:04:03 Gargoyle user.crit kernel: EXT2-fs error (device sda1): read_block_bitmap: Cannot read block bitmap - block_group = 7, block_bitmap = 229495
......
Jan  1 01:04:04 Gargoyle user.crit kernel: EXT2-fs error (device sda1): read_block_bitmap: Cannot read block bitmap - block_group = 7, block_bitmap = 229495

Jeszcze raz formatować? Nowa karta...

25

(13 odpowiedzi, napisanych Oprogramowanie / Software)

Zainstalowałem http://eko.one.pl/forum/viewtopic.php?pid=21214#p21214,
potem http://eko.one.pl/?p=openwrt-openvpn
Jednak zatrzymuje się na instalacji openvpn:

root@Gargoyle:/tmp$ opkg install --verbosity=3 openvpn
opkg_conf_parse_file: Loading conf file /etc/opkg.conf.
pkg_hash_load_feeds:
pkg_hash_load_status_files:
pkg_info_preinstall_check: Updating file owner list.
pkg_hash_fetch_best_installation_candidate: Best installation candidate for openvpn:
pkg_hash_fetch_best_installation_candidate: apkg=openvpn nprovides=2.
pkg_hash_fetch_best_installation_candidate: Adding openvpn to providers.
pkg_hash_fetch_best_installation_candidate: Adding openvpn to providers.
pkg_hash_fetch_best_installation_candidate: openvpn arch=ar71xx arch_priority=10 version=2.1.4.
pkg_hash_fetch_best_installation_candidate: openvpn arch=ar71xx arch_priority=10 version=2.1.3.
pkg_hash_fetch_best_installation_candidate: openvpn arch=ar71xx arch_priority=10 version=2.1.4.
pkg_hash_fetch_best_installation_candidate: openvpn arch=ar71xx arch_priority=10 version=2.1.3.
pkg_hash_fetch_best_installation_candidate: Candidate: openvpn 2.1.3.
pkg_hash_fetch_best_installation_candidate: Candidate: openvpn 2.1.4.
pkg_hash_fetch_best_installation_candidate: 2 matching pkgs for apkg=openvpn:
pkg_hash_fetch_best_installation_candidate: openvpn 2.1.3 ar71xx
pkg_hash_fetch_best_installation_candidate: openvpn 2.1.4 ar71xx
pkg_arch_supported: Arch ar71xx (priority 10) supported for pkg openvpn.
Installing openvpn (2.1.4-3) to root...
Downloading http://ecco.selfip.net/backfire/package … r71xx.ipk.
pkg_hash_fetch_best_installation_candidate: Best installation candidate for kmod-tun:
pkg_hash_fetch_best_installation_candidate: apkg=kmod-tun nprovides=3.
pkg_hash_fetch_best_installation_candidate: Adding kmod-tun to providers.
pkg_hash_fetch_best_installation_candidate: Adding kmod-tun to providers.
pkg_hash_fetch_best_installation_candidate: Adding kmod-tun to providers.
pkg_hash_fetch_best_installation_candidate: kmod-tun arch=ar71xx arch_priority=10 version=2.6.32.27.
pkg_hash_fetch_best_installation_candidate: kmod-tun arch=ar71xx arch_priority=10 version=2.6.32.25.
pkg_hash_fetch_best_installation_candidate: kmod-tun arch=ar71xx arch_priority=10 version=2.6.32.27.
pkg_hash_fetch_best_installation_candidate: kmod-tun arch=ar71xx arch_priority=10 version=2.6.32.25.
pkg_hash_fetch_best_installation_candidate: kmod-tun arch=ar71xx arch_priority=10 version=2.6.32.27.
pkg_hash_fetch_best_installation_candidate: kmod-tun arch=ar71xx arch_priority=10 version=2.6.32.25.
pkg_hash_fetch_best_installation_candidate: Candidate: kmod-tun 2.6.32.27.
Multiple packages (kmod-tun and kmod-tun) providing same name marked HOLD or PREFER. Using latest.
pkg_hash_fetch_best_installation_candidate: 2 matching pkgs for apkg=kmod-tun:
pkg_hash_fetch_best_installation_candidate: kmod-tun 2.6.32.25 ar71xx
pkg_hash_fetch_best_installation_candidate: kmod-tun 2.6.32.27 ar71xx
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=0x445e30
pkg_hash_fetch_best_installation_candidate: Best installation candidate for libopenssl:
pkg_hash_fetch_best_installation_candidate: apkg=libopenssl nprovides=2.
pkg_hash_fetch_best_installation_candidate: Adding libopenssl to providers.
pkg_hash_fetch_best_installation_candidate: Adding libopenssl to providers.
pkg_hash_fetch_best_installation_candidate: libopenssl arch=ar71xx arch_priority=10 version=0.9.8p.
pkg_hash_fetch_best_installation_candidate: libopenssl arch=ar71xx arch_priority=10 version=0.9.8p.
pkg_hash_fetch_best_installation_candidate: Using latest matching libopenssl 0.9.8p ar71xx.
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=(nil)
pkg_hash_fetch_best_installation_candidate: Best installation candidate for libopenssl:
pkg_hash_fetch_best_installation_candidate: apkg=libopenssl nprovides=2.
pkg_hash_fetch_best_installation_candidate: Adding libopenssl to providers.
pkg_hash_fetch_best_installation_candidate: Adding libopenssl to providers.
pkg_hash_fetch_best_installation_candidate: libopenssl arch=ar71xx arch_priority=10 version=0.9.8p.
pkg_hash_fetch_best_installation_candidate: libopenssl arch=ar71xx arch_priority=10 version=0.9.8p.
pkg_hash_fetch_best_installation_candidate: Candidate: libopenssl 0.9.8p.
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=0x560d38
pkg_hash_fetch_best_installation_candidate: Best installation candidate for zlib:
pkg_hash_fetch_best_installation_candidate: apkg=zlib nprovides=2.
pkg_hash_fetch_best_installation_candidate: Adding zlib to providers.
pkg_hash_fetch_best_installation_candidate: Adding zlib to providers.
pkg_hash_fetch_best_installation_candidate: zlib arch=ar71xx arch_priority=10 version=1.2.3.
pkg_hash_fetch_best_installation_candidate: zlib arch=ar71xx arch_priority=10 version=1.2.3.
pkg_hash_fetch_best_installation_candidate: Using latest matching zlib 1.2.3 ar71xx.
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=(nil)
pkg_hash_fetch_best_installation_candidate: Best installation candidate for zlib:
pkg_hash_fetch_best_installation_candidate: apkg=zlib nprovides=2.
pkg_hash_fetch_best_installation_candidate: Adding zlib to providers.
pkg_hash_fetch_best_installation_candidate: Adding zlib to providers.
pkg_hash_fetch_best_installation_candidate: zlib arch=ar71xx arch_priority=10 version=1.2.3.
pkg_hash_fetch_best_installation_candidate: zlib arch=ar71xx arch_priority=10 version=1.2.3.
pkg_hash_fetch_best_installation_candidate: Candidate: zlib 1.2.3.
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=0x62af38
pkg_hash_fetch_best_installation_candidate: Best installation candidate for liblzo:
pkg_hash_fetch_best_installation_candidate: apkg=liblzo nprovides=2.
pkg_hash_fetch_best_installation_candidate: Adding liblzo to providers.
pkg_hash_fetch_best_installation_candidate: Adding liblzo to providers.
pkg_hash_fetch_best_installation_candidate: liblzo arch=ar71xx arch_priority=10 version=2.04.
pkg_hash_fetch_best_installation_candidate: liblzo arch=ar71xx arch_priority=10 version=2.03.
pkg_hash_fetch_best_installation_candidate: liblzo arch=ar71xx arch_priority=10 version=2.04.
pkg_hash_fetch_best_installation_candidate: liblzo arch=ar71xx arch_priority=10 version=2.03.
pkg_hash_fetch_best_installation_candidate: 2 matching pkgs for apkg=liblzo:
pkg_hash_fetch_best_installation_candidate: liblzo 2.03 ar71xx
pkg_hash_fetch_best_installation_candidate: liblzo 2.04 ar71xx
pkg_hash_fetch_best_installation_candidate: No matching pkg out of 2 matching_apkgs.
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=(nil)
pkg_hash_fetch_best_installation_candidate: Best installation candidate for liblzo:
pkg_hash_fetch_best_installation_candidate: apkg=liblzo nprovides=2.
pkg_hash_fetch_best_installation_candidate: Adding liblzo to providers.
pkg_hash_fetch_best_installation_candidate: Adding liblzo to providers.
pkg_hash_fetch_best_installation_candidate: liblzo arch=ar71xx arch_priority=10 version=2.04.
pkg_hash_fetch_best_installation_candidate: liblzo arch=ar71xx arch_priority=10 version=2.03.
pkg_hash_fetch_best_installation_candidate: liblzo arch=ar71xx arch_priority=10 version=2.04.
pkg_hash_fetch_best_installation_candidate: liblzo arch=ar71xx arch_priority=10 version=2.03.
pkg_hash_fetch_best_installation_candidate: Candidate: liblzo 2.03.
pkg_hash_fetch_best_installation_candidate: Candidate: liblzo 2.04.
pkg_hash_fetch_best_installation_candidate: 2 matching pkgs for apkg=liblzo:
pkg_hash_fetch_best_installation_candidate: liblzo 2.03 ar71xx
pkg_hash_fetch_best_installation_candidate: liblzo 2.04 ar71xx
pkg_hash_fetch_unsatisfied_dependencies: satisfying_pkg=0x468a78
pkg_arch_supported: Arch ar71xx (priority 10) supported for pkg libopenssl.
Installing libopenssl (0.9.8p-1) to root...
Downloading http://downloads.openwrt.org/backfire/1 … r71xx.ipk.
pkg_run_script: Running script /tmp/opkg-qPcDXt/libopenssl-8MuU7c/preinst.
opkg_install_pkg: Installing maintainer scripts.
opkg_install_pkg: Installing data files for libopenssl.
install_data_files: Extracting data files to /.

... i wisi, nawet reboot z innej sesji nie pomaga.
Co jest przyczyną?