Mam problem - dwie fonery, ten sam soft. NIestety na jednej mam problem...
Internet jest:
root@OpenWrt:/# ping onet.pl
PING onet.pl (213.180.146.27): 56 data bytes
64 bytes from 213.180.146.27: seq=0 ttl=49 time=22.375 ms
64 bytes from 213.180.146.27: seq=1 ttl=49 time=23.257 ms
64 bytes from 213.180.146.27: seq=2 ttl=49 time=22.199 ms
^C
--- onet.pl ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
DNSy działają, jeszcze potwierdzenie:
root@OpenWrt:/# nslookup tvn.pl
Server: 127.0.0.1
Address 1: 127.0.0.1 localhost.
Name: tvn.pl
Address 1: 213.180.131.149 gfx.tvn.pl
Próba instalacji softu, tak się kończy:
root@OpenWrt:/# opkg install mtr
An error ocurred, return value: 716563936.
Ale nie poddaję się, znam ten problem, robie: opkg update i co... d...
root@OpenWrt:/# opkg update
Downloading http://downloads.openwrt.org/kamikaze/8 … ackages.gz
Connecting to downloads.openwrt.org (78.24.191.177:80)
^Cfile_move: ERROR: failed to rename /tmp/opkg-5n3Wsa/Packages.gz to /tmp/opkg.ZtsfPI/snapshots.gz: No such file or directory
An error ocurred, return value: 1.
(cokolwiek próbuję pobrać wget'em, to nie bangla... co zrobić? Kolega pisał coś o lock'u, usunąłem locki z /usr/lib/opkg bo w /tmp nie było, dalej to samo)
firewall:
root@OpenWrt:/# cat /etc/config/firewall
config defaults
option syn_flood 1
option input ACCEPT
option output ACCEPT
option forward REJECT
config zone
option name lan
option input ACCEPT
option output ACCEPT
option forward REJECT
config zone
option name wan
option input ACCEPT
option output ACCEPT
option forward REJECT
option masq 1
config forwarding
option src lan
option dest wan
option mtu_fix 1
# include a file with users custom iptables rules
config include
option path /etc/firewall.user
Network:
root@OpenWrt:/# cat /etc/config/network
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'type' 'bridge'
option 'proto' 'static'
option 'ipaddr' '192.168.10.1'
option 'netmask' '255.255.255.0'
option 'ifname' 'wifi0'
option 'defaultroute' '0'
option 'peerdns' '0'
config 'interface' 'wan'
option 'proto' 'dhcp'
option 'ifname' 'eth0'
option 'defaultroute' '0'
option 'peerdns' '0'