Godfather Posted November 18, 2003 Share Posted November 18, 2003 Ami taka e kato polzvate Slack Maitap de, dobre si e Slacka, ama za jalost kernelcheto ne e multicast enabled by default Zatova koito e sas Slack ili drugo distro s podoben kernel shte triabva da si kopilira - nai vajna e opciata CONFIG_IP_MULTICAST - tova e core poddrajkata na multicast i e absolutno neobhodima. Drugoto e kakto veche go opisah. Toku-shto si kompilirah edin kernel pod Slack (sluchaino otkrih edna mashinka v mrejata ) - raboti perfektno Link to comment Share on other sites More sharing options...
BrowseMan Posted November 19, 2003 Share Posted November 19, 2003 Интересното е че съм го прекомпилнал и пак не работи Идеи? Гледам ги вече пакети идват от време на време. Но само до рутера-а до локалната мрежа нещо не ебават да достигне. Зинф-а е пуснат Link to comment Share on other sites More sharing options...
Godfather Posted November 19, 2003 Share Posted November 19, 2003 Интересното е че съм го прекомпилнал и пак не работи Идеи?Гледам ги вече пакети идват от време на време. Но само до рутера-а до локалната мрежа нещо не ебават да достигне. Зинф-а е пуснат Koe ne raboti, dai po-tochna informacia... Link to comment Share on other sites More sharing options...
BrowseMan Posted November 19, 2003 Share Posted November 19, 2003 Ами пускам си Зинф-а и седи на 0% Buffering. Кернела съм го прекомпилнал отдавна с подръжка на всичко описано в по-горните постове. Link to comment Share on other sites More sharing options...
Godfather Posted November 19, 2003 Share Posted November 19, 2003 Ами пускам си Зинф-а и седи на 0% Buffering.Кернела съм го прекомпилнал отдавна с подръжка на всичко описано в по-горните постове. A pusna li mrouted? Link to comment Share on other sites More sharing options...
ZGAN Posted November 19, 2003 Author Share Posted November 19, 2003 Godfather vlez v mirc ve Link to comment Share on other sites More sharing options...
BrowseMan Posted November 19, 2003 Share Posted November 19, 2003 Мда и него пуснах естествено. Благодарени на него започнаха да се получават пакети от мултикаста. Рядко но идват от 224.0.0.1 224.0.0.2 и 224.0.0.4 до 192.168.0.1 но не и до 192.168.0.3(моя комп) баш кадето трябва да идат. Link to comment Share on other sites More sharing options...
lamby Posted November 19, 2003 Share Posted November 19, 2003 firewall script tova e na slack 9.0 i online radioto bachka Link to comment Share on other sites More sharing options...
BrowseMan Posted November 19, 2003 Share Posted November 19, 2003 firewall scripttova e na slack 9.0 i online radioto bachka RTP ли работи или ползваш http://radio.bratcheda.org:10000 ??? Link to comment Share on other sites More sharing options...
Godfather Posted November 20, 2003 Share Posted November 20, 2003 Basi routerite , poneje demonite za multicast routing neshto ne mogat da se opraviat s cisco routerite na evrocom , zatova vi predlagam edno reshenie na problema s izpolzvaneto na static multicast routing - smcroute V arhiva v bin ima kompiliran demon smcroute. Kopirate demoncheto da rechem v /usr/sbin Slagade slednite redove niakade (napr. v /etc/rc.local): smcroute -d smcroute -a eth0 217.10.240.68 233.80.205.10 eth1 Parvia red startira demona, a vtoria zapisva static route v tablicata za routirane Dotuk vsichko e ok, no za da tekne multicasta triabva da se startira komandata: smcroute -j eth0 233.80.205.10 Napomniam, che v sluchia eth0 e interface-a kam kabelnia modem, a eth1 e vatreshnia. Ako triabva - razmeniate gi. Sled prikluchvane na slushaneto na muzikata, za da se spre multicast potoka se izpalniava komandata smcroute -l eth0 233.80.205.10 Ta tova e nomera zasega - bachka bezproblemno, shoto v momenta si slushkam musikata Link to comment Share on other sites More sharing options...
Dreamer Posted November 20, 2003 Share Posted November 20, 2003 Така, всичко до първата точка ОК. (chmod 777 primerno) Второто се слага в router:/etc/rc.d/rc.local (slack-a e taka) и... router:/usr/sbin# smcroute -j eth0 233.80.205.10 ERRO: daemon not running ?; Errno(2): No such file or directory разни други: router:/usr/sbin# /etc/rc.d/rc.local ERRO: MRT_INIT failed; Errno(92): Protocol not available ERRO: daemon not running ?; Errno(2): No such file or directory EDIT: Трябвало multicast enable kernel... демек пак useless. Link to comment Share on other sites More sharing options...
Godfather Posted November 20, 2003 Share Posted November 20, 2003 Така, всичко до първата точка ОК. (chmod 777 primerno) Второто се слага в router:/etc/rc.d/rc.local (slack-a e taka) и... router:/usr/sbin# smcroute -j eth0 233.80.205.10 ERRO: daemon not running ?; Errno(2): No such file or directory разни други: router:/usr/sbin# /etc/rc.d/rc.local ERRO: MRT_INIT failed; Errno(92): Protocol not available ERRO: daemon not running ?; Errno(2): No such file or directory EDIT: Трябвало multicast enable kernel... демек пак useless. Zashto useless be Dreamer - chetete po-podrobno kvo pisha. Kak ishkash niakakav multicast da ti raboti bez da e enable v kernela - ne stava. Zatova ili si kompiliraite multicast enabled kernel s opciata CONFIG_IP_MULTICAST ili izpolzvaite distro s takav kernel kato Redhat ili Trustix da rechem. BTW, poslednia e idealen za router Inache tazi shema vehce RABOTI, shtoto specialno za celta si domaknah edna mashina s Trustix i veche dva chasa slusham radioto na multicast bez nikakvi problemi Link to comment Share on other sites More sharing options...
Dreamer Posted November 20, 2003 Share Posted November 20, 2003 Zashtoto ne si napisal, che trqbva v gorniq post Link to comment Share on other sites More sharing options...
ZGAN Posted November 20, 2003 Author Share Posted November 20, 2003 stava ! az slsham prosto: [09:07:21] <_Godfather_> SGAN, na miastoto na eth0 - slagash eth1 i obratno [09:07:27] <_Godfather_> sorry ZGAN Link to comment Share on other sites More sharing options...
netrootbg Posted November 20, 2003 Share Posted November 20, 2003 Ai sq vsi4ki edno golqmo 10x na Godfather Link to comment Share on other sites More sharing options...
Godfather Posted November 20, 2003 Share Posted November 20, 2003 Ai sq vsi4ki edno golqmo 10x na Godfather you're welcome Edno malko utochnenie - v sluchai, che se smeni source IP adresa na stream servera (v sluchaia - 217.10.240.68). Poneje e static - triabva i rachno da se promenia Ta taka, ako adresa se smeni, kak moje da se razbere novia adres - ako e izpalnena komandata smcroute -j eth0 233.80.205.10, to na vanshnia interface triabva da pristigat paketite na radioto. Togava s tcpdump -i eth0 ip multicast and host 233.80.205.10 vednaga se vijda koi e source IP adresa Tuk pak povtariam, che eth0 e kam kabelnia modem, ako e drug - smenia se (naprimer eth1, kakto beshe pri ZGAN ) Tolkova za tazi hvatka, no samo ako niakoi (demek admin ) reshi da smenia source adresa na multicasr radioto Link to comment Share on other sites More sharing options...
BrowseMan Posted November 20, 2003 Share Posted November 20, 2003 This time work fine!!!! Special tenks to Godfather Link to comment Share on other sites More sharing options...
johan Posted November 20, 2003 Share Posted November 20, 2003 pri mene za sajaleni ne stava ....izobshto ne mi dava da izpalnq nishto dori kato root qvno ste smenqm http://www.ipcop.org/ Link to comment Share on other sites More sharing options...
Godfather Posted November 20, 2003 Share Posted November 20, 2003 pri mene za sajaleni ne stava ....izobshto ne mi dava da izpalnq nishto dori kato root qvno ste smenqm http://www.ipcop.org/ Ipcop-a e dosta specifichno napraven i mai ne poddarja multicast - abe za router/firewall nai dobre e Trustix - probvaite go, jelezen e Link to comment Share on other sites More sharing options...
BrowseMan Posted November 21, 2003 Share Posted November 21, 2003 За хората които ги мързи да пишат тези два реда: smcroute -j eth1 233.80.205.10 smcroute -l eth1 233.80.205.10 за да пускат и спират потока от пакети (мързеливи като мен ), направих това елементарно скриптче. mcast Надявам се да влезне в употреба. ПС - Godfather ако ти се занимава сложи го в директорията на smcroute, на Warez.ru Link to comment Share on other sites More sharing options...
Godfather Posted November 21, 2003 Share Posted November 21, 2003 ПС - Godfather ако ти се занимава сложи го в директорията на smcroute, на Warez.ru Done! P.S. Pak iskam da napomnia na merakliite - vnimavaite za oznachenieto na interface-ite (koga eth0, koga eth1 i t.n.) i ne zabraviaite, che kernela triabva da e multicast enabled Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.