OK przy kolejnym updacie AA
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Posty przez Nimloth
OK przy kolejnym updacie AA
Rozwiazane - ravdv juz nie dziala w nowej wersji i trzeba przejsc na natywna obsluge.
Role ravdv spelnia teraz 6relayd.
Pozdrawiam
root@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-beta2/ar71xx/generic/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
Downloading http://ecco.selfip.net/attitude_adjustment/ar71xx/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/eko1.
root@OpenWrt:~# opkg install ipv6-support
Unknown package 'ipv6-support'.
Collected errors:
* opkg_install_cmd: Cannot install package ipv6-support.
root@OpenWrt:~#Czy ten ostatni release korzysta z dobrego repo ?
Albo zrezygnowac z ravdv i przejsc na native IPv6-stack
http://wiki.openwrt.org/doc/uci/network … tic.tunnel
Jak rozumiec:
ption 'ip6prefix' '2001:DB8:1234:ABCD::/64' # Your routed prefix (required!)?
Wedlug mnie problemem jest radvd ... jak najlepiej dojsc co i jak ?
Jak najbardziej dziala i prawidlowo przydziela adres ipv6 dla komputera
Log z tcpdump (na interfejcie br-lan):
18:48:47.614501 IP6 (hlim 128, next-header ICMPv6 (58) payload length: 40) 2001:470:71:182:21f:c6ff:fe11:862 > 2001:470:70:1fb::abcd:abcd: [icmp6 sum ok] ICMP6, echo request, seq 34
18:48:47.614696 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 88) 2001:470:71:182:: > 2001:470:71:182:21f:c6ff:fe11:862: [icmp6 sum ok] ICMP6, destination unreachable, unknown unreach code (5)Problemem jest ze PING nawet nie wychodzi na interfejs 6in4-henet !!
Cezary,
wczoraj po dluzszej przerwie zrobilem upgrade do najnowszej wersji AA.
Niestety mam problem z IPv6 - dziala z routera, a nie dziala z podlaczonych komputerow w LAN
Router:
root@OpenWrt:~# ping6 google.com
PING google.com (2a00:1450:400d:803::1006): 56 data bytes
64 bytes from 2a00:1450:400d:803::1006: seq=0 ttl=55 time=43.026 ms
64 bytes from 2a00:1450:400d:803::1006: seq=1 ttl=55 time=43.223 ms
64 bytes from 2a00:1450:400d:803::1006: seq=2 ttl=55 time=44.149 ms
64 bytes from 2a00:1450:400d:803::1006: seq=3 ttl=55 time=43.639 ms
^C
--- google.com ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 43.026/43.509/44.149 msZ komputera:
C:\>ping -6 google.com
Pinging google.com [2a00:1450:400d:803::1006] with 32 bytes of data:
Destination net unreachable.
Destination net unreachable.
Destination net unreachable.
Destination net unreachable.
Ping statistics for 2a00:1450:400d:803::1006:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),Sprawdzilem wszystkie ustawienia z Twojego guide ... jest dokladnie tak samo.
Forward pakietow wlaczony:
root@OpenWrt:~# cat /proc/sys/net/ipv6/conf/all/forwarding
1
root@OpenWrt:~#Any idea co przegapilem?
EDIT: Jednak dzialalo przez chwile (kilka pakietow przeszlo) ... i teraz znowu nie dziala.
Polaczenie z routerem po WiFI bez zadnych strat.
Ping z routera 100%
Czytalem ze byly ostatnio zmiany w IPv6 w trunk ... mogli cos zepsuc? Gdzie dalej szukac ?
Nimloth napisał/a:Nie zainstalowal:
minidlna, 6in4Nie wystartowal:
samba36-server1. Czy pobrał libexif libjpeg libsqlite3 libffmpeg libid3tag libflac libvorbis libuuid to pakiety do minidlna?
2. Czy pobrał kmod-ipv6 kmod-iptunnel4 kmod-sit do 6in4?
3. Pakiet samba36-server obsługuje się poprzez /etc/init.d/samba [komenda], a ja zakładam że od nazwy pakietu pakietu pochodzi nazwa skryptu, czyli /etc/init.d/samba36-server. Coś trzeba będzie z tym zrobić.
1 - tak
2 - tak
Moj config:
config sysupgrade
option localinstall '/mnt/hdd1/Backup/openwrt-install'
option backupconfig '/mnt/hdd1/Backup/openwrt-backup'
option imagesource 'http://ecco.selfip.net/attitude_adjustment/ar71xx'
option imageprefix 'openwrt-ar71xx-generic-'
option imagesuffix '-squashfs-sysupgrade.bin'
list opkg openvpn
list opkg minidlna
list opkg kmod-ipv6
list opkg kmod-ip6tables
list opkg ip6tables
list opkg 6in4
list opkg iputils-ping6
list opkg radvd
list opkg openssh-sftp-server
list opkg samba36-server
list opkg unrar
list opkg unzip
list opkg hd-idleNie zainstalowal:
minidlna, 6in4
Nie wystartowal:
samba36-server
Of course wszystkie pakiety sciagnal offline do podanego katalogu
Ok przetestowalem ... ogolnie dziala, ale niestety nie zainstlaowalo mi wszyskich paczek, ktore mu wskazalem (a nawet jak zainstalowal to ich nie wystartowal).
Jest tworzony jakis log, gdzie mozna sprawdzic co poszlo nie tak?
Torrent wymaga paczki transmission 2.42 ... a w repo np. 2.77
Paczke 2.42 mam na dysku do zainstalowania recznie
A i maly blad w -h:
/sbin/install.sh [install|download|sysupgrade] [-h|--help] [-o|--online] [-b|--backup-off] [-i|--exclude-installed]
-e Exclude installed packages. Only packages from configuration can be processed.
To w koncu -i czy -e ?
Dziala -i
Moj config:
config sysupgrade
option localinstall '/mnt/hdd1/Backup/openwrt-install'
option backupconfig '/mnt/hdd1/Backup/openwrt-backup'
option imagesource 'http://ecco.selfip.net/attitude_adjustment/ar71xx'
option imageprefix 'openwrt-ar71xx-generic-'
option imagesuffix '-squashfs-sysupgrade.bin'
list opkg openvpn
list opkg minidlna
list opkg kmod-ipv6
list opkg kmod-ip6tables
list opkg ip6tables
list opkg 6in4
list opkg iputils-ping6
list opkg radvdPrzy opcji download sciagnal mi wiecej paczek niz te co wyzej, tzn. np tranmission (mam to zainstalowany w obecnym image)
Jak to rozumiec ?
Jest opcja aby pare paczek zainstalowal z hdd ?
Mozesz online np:
http://www.md5online.pl/
Do mnie przyszedl technik ok. rok temu w Thompsonem ... juz wszystko podlaczyl i jak wyjal to cos z podelka to szybko wyszedl odemnie bez podpisanej umowy. Nastepnego dnia dzwonia co sie stalo, itd. Tego samego dnia przyszedl znowu z jedyna prawidlowa opcja - modemem Cisco ![]()
Przylaczam sie do prosby o pakiet transmission pod AA ver 2.42
Super dzieki - chodzilo o to 2gie ![]()
Pozdrawiam
Cezary,
w opisie napisales:
UWAGA: Domyślna konfiguracja samby uniemożliwia zalogowanie się jako użytkownik root więc nie będzie działać udostępnianie zasobów logując się jako ten użytkownik. Trzeba zrobić nowego.
Jak zmienic to "domyslnie" aby logowal sie jako root ?
Problem, ktory probuje rozwiazac:
Jak stworze jakis plik bezposrednio na routerze (recznie czy transmission) to nie mozna go pozniej wykasowac przez sambe gdyz nie ma uprawnien (za niski poziom). Jak nadam 777 to idzie wsio ... ale musial bym to robic za kazdym razem.
Pozdrawiam
OK chyba widze czemu nie dziala defaultowo
/etc/hotplug.d/iface/90-6in4
local url="http://ipv4.tunnelbroker.net/ipv4_end.php?ipv4b=AUTO&user_id=$username&pass=$password&tunnel_id=$tunnelid"Prawidlowy wpis
https://ipv4.tunnelbroker.net/ipv4_end.php?ip=IPV4ADDR&pass=MD5PASS&apikey=USERID&tid=TUNNELIDi najwazniejsze
IPV4ADDR: Your IPv4 endpoint. Set to AUTO to determine your IP based on the IP you requested this page from. Previously passed as ipv4b.Innymi slowy HEnet przerobil troche parametry ktory przyjmuje ... a defaultowy skrypt uzywa starych.
Zgadzasz sie z tym ?
EDIT: Chociaz jest tez info
The legacy parameter names will continue to work for the forseable future. Naming of them changed to be more in line with industry convention and their roles.No coz moze tylko mi nie dziala ![]()
Hmm nie wiedzialem ... ale juz kilka razy zmienilo mi sie IP i niestety zmiany musialem dokonac recznie ... tak wiec moze nie do konca dziala ?
OK jezeli jest tak to pusc temat w kosmos ![]()
Moi drodzy,
Cezary napisal bardzo fajny guide odnosnie IPv6 poprzez Tunnel Broker.
http://eko.one.pl/?p=openwrt-ipv6
Ale co jezeli mamy dynamiczne IPv4 ?
Przy kazdej zmienie trzeba wpisac aktualny adres IP na stronie HE co moze byc wyjatkowo upierdliwe.
Ponizej skrypt, ktory robi to automatycznie za Was (skrypt nie napisany przezemnie ... zmodyfikowalem go na potrzeby OpenWRT)
Instalalcja:
1) Doinstalowujemy potrzebne pakiety
opkg update
opkg install bash curl2) Sciagamy skrypt zmodyfikowany na potrzemy OpenWRT (wybierz jedno zrodlo):
a) IPv4:
wget -q -P /usr/sbin http://nimloth.pl/he-ipv4b) IPv6:
wget -q -P /usr/sbin http://ipv6.nimloth.pl/he-ipv4oraz nadajemy mu odpowiednie atrybuty
chmod 755 /usr/sbin/he-ipv43) Uzupelanimy w pliku /usr/sbin/he-ipv4 nasze dane
a) userID - z glownej strony http://tunnelbroker.net/
b) userPass - musi byc podane zahaszowane.
Uzyskac je mozemy poprzez wykonianie komendy:
echo -n YourPassword | md5sumgdzie YourPassword to twoje haslo do HE.
c) tunnelID - Tunnel ID ze strony informacyjnej o tunelu
d) tunnelName - nazwa tunelu nadana w OpenWRT. Jezeli korzystales z opisu Cezarego to jest to 'henet'
5) Mozna dodac wykonanie skryptu do cron'a http://eko.one.pl/?p=openwrt-cron:
echo "*/15 * * * * /usr/sbin/he-ipv4 >/dev/null 2>&1" >> /etc/crontabs/rootbadz/i do autostartu http://eko.one.pl/?p=openwrt-skrypty#sk … ciesystemu
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
/usr/sbin/he-ipv4 >/dev/null 2>&1
exit 0Informacje o wykonaniu skryptu znajdziemy w logread.
Przykladowy wpis:
a) IP nie uleglo zmianie
Sep 22 20:15:01 OpenWrt cron.info crond[5079]: crond: USER root pid 5108 cmd /usr/sbin/he-ipv4 >/dev/null 2>&1
Sep 22 20:15:01 OpenWrt user.notice root: (he-ipv4.sh) [Info] The external IPv4 address (x.x.x.x) has not changed. Exitingb) IP uleglo zmianie
Sep 22 19:28:55 OpenWrt user.notice root: (he-ipv4) [Warning] "/tmp/he-ipv4.ip" does not exist, attempting to create file
Sep 22 19:28:55 OpenWrt user.notice root: (he-ipv4) [Info] "/tmp/he-ipv4.ip" has successfully been created
Sep 22 19:28:55 OpenWrt user.notice root: (he-ipv4) [Warning] "/tmp/he-ipv4.url" does not exist, attempting to create file
Sep 22 19:28:55 OpenWrt user.notice root: (he-ipv4) [Info] "/tmp/he-ipv4.url" has successfully been created
Sep 22 19:29:05 OpenWrt user.notice root: (he-ipv4) [Info] The IPv4 endpoint address has been updated to x.x.x.x as well as saved to "/tmp/he-ipv4.ip"
Sep 22 19:29:05 OpenWrt user.notice root: (he-ipv4) [Warning] Killing interface for ten seconds
Sep 22 19:29:05 OpenWrt daemon.debug radvd[4555]: attempting to reread config file
Sep 22 19:29:05 OpenWrt daemon.debug radvd[4555]: resuming normal operation
Sep 22 19:29:05 OpenWrt daemon.debug radvd[4555]: attempting to reread config file
Sep 22 19:29:05 OpenWrt daemon.debug radvd[4555]: resuming normal operation
Sep 22 19:29:05 OpenWrt user.info firewall: removing henet (6in4-henet) from zone wan
Sep 22 19:29:15 OpenWrt user.info kernel: 6in4-henet: Disabled Privacy Extensions
Sep 22 19:29:15 OpenWrt daemon.debug radvd[4555]: attempting to reread config file
Sep 22 19:29:15 OpenWrt daemon.debug radvd[4555]: resuming normal operation
Sep 22 19:29:15 OpenWrt daemon.debug radvd[4555]: attempting to reread config file
Sep 22 19:29:15 OpenWrt daemon.debug radvd[4555]: resuming normal operation
Sep 22 19:29:15 OpenWrt daemon.debug radvd[4555]: attempting to reread config file
Sep 22 19:29:15 OpenWrt daemon.debug radvd[4555]: resuming normal operation
Sep 22 19:29:15 OpenWrt daemon.debug radvd[4555]: attempting to reread config file
Sep 22 19:29:15 OpenWrt daemon.debug radvd[4555]: resuming normal operation
Sep 22 19:29:16 OpenWrt daemon.err radvd[4555]: poll error: Interrupted system call
Sep 22 19:29:16 OpenWrt daemon.warn radvd[4555]: Exiting, sigterm or sigint received.
Sep 22 19:29:16 OpenWrt user.notice ifup: Enabling Router Solicitations on henet (6in4-henet)
Sep 22 19:29:16 OpenWrt daemon.info radvd[4936]: version 1.8.3 started
Sep 22 19:29:16 OpenWrt user.notice root: (he-ipv4) [Info] henet and RAdvD have been restarted!
Sep 22 19:29:16 OpenWrt user.info firewall: adding henet (6in4-henet) to zone wanPozdrawiam
PS3 nie obsluguje mkv
Mam pytanko bo moze czegos nie rozumiem - po instalacji radvd klienci juz dostana prawidlowy adres IPv6 na podstawie mac addresu.
To do czego jeszcze dhcpv6 ? Czy on ma za zadanie zastapic dhcp ipv4 i przydzielac tylko adresy v6 ?
CVS czy zwykly ?
Do tych wersji moge doinstalowac libffmpeg od Ciebie i bedzie wsio ok ?
Poki co mam wgrane zwykle + libffmpeg:
root@OpenWrt:/tmp$ opkg install minidlna
Package minidlna (1.0.24-1.1cj) installed in root is up to date.
EDIT: Mozna kilka razy podac parametr:
list media_dir '/mnt/hdd1/Video'
list media_dir '/mnt/hdd1/Photos'
list media_dir '/mnt/hdd1/Music'
Czy nadal do minidlna mozna doinstalowac libffmpeg-0.10_0.10.4-1cj_ar71xx.ipk z Twojego repo aby obslugiwal wiecej formwatow (kiedys miales to opisane na stronie) ?
I jeszcze - czy moze byc wiecej opcji "list media_dir" aby wskazac Video i Zdjecia osobno jako katalogi (w poprzedniej wersji sie dalo) ?
eko.one.pl → Posty przez Nimloth
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc