MASiK Posted April 30, 2009 Posted April 30, 2009 (edited) В общем всем уде ясно что я хочу, хочу через неё вещать на телек фильмы с домашнего компа (точнее freeBSD7.1 с эмуляцией linux) кароче сразу к делу, сама приставка осталась от провайдера qwerty по telnet зайти не реально, по dhcp свой IP получает и даже пингуеться! на свитче видно что идут мультикасты, свитч с поддержкой мультикастов. конфиги\настройки dhcp.conf ############################################################################### # Amino Communications Sample dhcpd.conf file # # # # Note, this is not a complete dhcpd.conf file. It just covers the various # # settings required for Amino AmiNet STB multicast bootstraping # # it may require some changes for deployment on your network. # # # # 29.01.04 - Created Paul Rae # # 20.08.04 - Aminet500 and Aminet110H added by Richard Warren # # ############################################################################### ############################################################################### # Misc dhcp options # ############################################################################### allow bootp; ddns-update-style ad-hoc; filename="AMINET.txt"; ############################################################################### # Extra Options for AMINO option space (used for multicast) # ############################################################################### option space AMINO; option AMINO.address code 1 = ip-address; option AMINO.port code 2 = integer 16; option AMINO.product code 3 = text; option AMINO.option code 4 = text; option AMINO.version code 5 = text; option AMINO.middleware code 6 = ip-address; option AMINO.mw_port code 7 = integer 16; option AMINO.mw_port code 8 = integer 16; option AMINO.mw_port code 9 = text; ############################################################################### # AmiNET103 Configuration Section # ############################################################################### # # # class "AmiNET103 mboot" - boot state when requesting bootstrap image # # class "AmiNET103 upgrd" - boot state when requesting main upgrade image # # class "AmiNET103 fisys" - boot state when in normal state # # # # The only items that may need changing are as follows: # # # # option AMINO.address 225.50.50.50; - the multicast address you are # # streaming on # # option AMINO.port 11111; - the port you are streaming on # # # # If you change any of these options you must also make sure you make the # # appropriate changes to /etc/mcastbootd.conf # # # ############################################################################### ############################################################################### # Class "AmiNET103 mboot" # # AmiNET103 - response to bootrom request for a bootstrap image # ############################################################################### class "AmiNET103 mboot" { match if (option vendor-class-identifier="aminoAMINET103mboot") or ((substring( option vendor-encapsulated-options, 2, 9)="AMINET103") and (substring(option vendor-encapsulated-options, 13, 5)="mboot")); vendor-option-space AMINO; option AMINO.address 225.50.50.52; option AMINO.port 11111; } ############################################################################### ############################################################################### # Class "AmiNET103 upgrd" # # AmiNET103 - response to bootstrap request for a main upgrade image # ############################################################################### class "AmiNET103 upgrd" { match if (option vendor-class-identifier="Aminoaminet103upgrd") or ((substring( option vendor-encapsulated-options,2,9)="aminet103") and (substring( option vendor-encapsulated-options,13,5)="upgrd")); vendor-option-space AMINO; option AMINO.address 225.50.50.53; option AMINO.port 11111; } ############################################################################### ############################################################################### # Class "AmiNET103 fisys" # # AmiNET103 - response when booting in normal boot state # ############################################################################### #class "AmiNET103 fisys" #{ # match if (option vendor-class-identifier="Aminoaminet103fisys") or # ((substring( option vendor-encapsulated-options, 2, 9)="aminet103") # and (substring(option vendor-encapsulated-options, 13, 5)="fisys")); # vendor-option-space AMINO; # option AMINO.middleware <mcast address>; # option AMINO.mw_port <port>; #} ############################################################################### # AmiNET110 Configuration Section # ############################################################################### # # # class "AmiNET110 mboot" - boot state when requesting bootstrap image # # class "AmiNET110 upgrd" - boot state when requesting main upgrade image # # class "AmiNET110 fisys" - boot state when in normal state # # # # The only items that may need changing are as follows: # # # # option AMINO.address 225.50.50.50; - the multicast address you are # # streaming on # # option AMINO.port 11111; - the port you are streaming on # # # # If you change any of these options you must also make sure you make the # # appropriate changes to /etc/mcastbootd.conf # # # ############################################################################### ############################################################################### # Class "AmiNET110 mboot" # # AmiNET110 - response to bootrom request for a bootstrap image # ############################################################################### class "AmiNET110 mboot" { match if (option vendor-class-identifier="aminoAMINET11xmboot") or ((substring(option vendor-encapsulated-options, 2, 9)="AMINET11x") and (substring(option vendor-encapsulated-options, 13, 5)="mboot")); vendor-option-space AMINO; option AMINO.address 225.50.50.52; option AMINO.port 54321; } ############################################################################### # Class "AmiNET110 upgrd" # # AmiNET110 - response to bootstrap request for a main upgrade image # ############################################################################### class "AmiNET110 upgrd" { match if (option vendor-class-identifier="Aminoaminet110upgrd") or ((substring( option vendor-encapsulated-options,2,9)="aminet110") and (substring( option vendor-encapsulated-options,13,5)="upgrd")); vendor-option-space AMINO; option AMINO.address 225.50.50.53; option AMINO.port 54321; } ############################################################################### # Class "AmiNET110 fisys" # # AmiNET110 - response when booting in normal boot state # ############################################################################### class "AmiNET110 fisys" { match if (option vendor-class-identifier="Aminoaminet110fisys") or ((substring( option vendor-encapsulated-options, 2, 9)="aminet110") and (substring(option vendor-encapsulated-options, 13, 5)="fisys")); vendor-option-space AMINO; option AMINO.middleware 225.50.50.54; # option AMINO.mw_port 11111; } ############################################################################### # AmiNET110H Configuration Section # ############################################################################### # # # class "AmiNET110H mboot" - boot state when requesting bootstrap image # # class "AmiNET110H upgrd" - boot state when requesting main upgrade image # # class "AmiNET110H fisys" - boot state when in normal state # # # # The only items that may need changing are as follows: # # # # option AMINO.address 225.50.50.50; - the multicast address you are # # streaming on # # option AMINO.port 11111; - the port you are streaming on # # # # If you change any of these options you must also make sure you make the # # appropriate changes to /etc/mcastbootd.conf # # # ############################################################################### ############################################################################### # Class "AmiNET110H mboot" # # AmiNET110H - response to bootrom request for a bootstrap image # ############################################################################### class "AmiNET110H mboot" { match if (option vendor-class-identifier="aminoAMINET110Hmboot") or ((substring(option vendor-encapsulated-options, 2, 10)="AMINET110H") and (substring(option vendor-encapsulated-options, 14, 5)="mboot")); vendor-option-space AMINO; option AMINO.address 225.50.50.52; option AMINO.port 54321; } ############################################################################### # Class "AmiNET110H upgrd" # # AmiNET110H - response to bootstrap request for a main upgrade image # ############################################################################### class "AmiNET110H upgrd" { match if (option vendor-class-identifier="Aminoaminet110hupgrd") or ((substring( option vendor-encapsulated-options,2,10)="aminet110h") and (substring( option vendor-encapsulated-options,14,5)="upgrd")); vendor-option-space AMINO; option AMINO.address 225.50.50.53; option AMINO.port 54321; } ############################################################################### # Class "AmiNET110h fisys" # # AmiNET110 - response when booting in normal boot state # ############################################################################### class "AmiNET110H fisys" { match if (option vendor-class-identifier="Aminoaminet110hfisys") or ((substring( option vendor-encapsulated-options, 2, 10)="aminet110h") and (substring(option vendor-encapsulated-options, 14, 5)="fisys")); vendor-option-space AMINO; option AMINO.middleware 225.50.50.54; # option AMINO.mw_port 11111; } ############################################################################### # AmiNET500 Configuration Section # ############################################################################### # # # class "AmiNET500 mboot" - boot state when requesting bootstrap image # # class "AmiNET500 upgrd" - boot state when requesting main upgrade image # # class "AmiNET500 fisys" - boot state when in normal state # # # # The only items that may need changing are as follows: # # # # option AMINO.address 225.50.50.50; - the multicast address you are # # streaming on # # option AMINO.port 11111; - the port you are streaming on # # # # If you change any of these options you must also make sure you make the # # appropriate changes to /etc/mcastbootd.conf # # # ############################################################################### ############################################################################### # Class "AmiNET500 mboot" # # AmiNET500 - response to bootrom request for a bootstrap image # ############################################################################### class "AmiNET500 mboot" { match if (option vendor-class-identifier="aminoAMINET5xxmboot") or ((substring(option vendor-encapsulated-options, 2, 9)="AMINET5xx") and (substring(option vendor-encapsulated-options, 13, 5)="mboot")); vendor-option-space AMINO; option AMINO.address 225.50.50.52; option AMINO.port 11111; } ############################################################################### # Class "AmiNET500 upgrd" # # AmiNET500 - response to bootstrap request for a main upgrade image # ############################################################################### class "AmiNET500 upgrd" { match if (option vendor-class-identifier="Aminoaminet500upgrd") or ((substring( option vendor-encapsulated-options,2,9)="aminet500") and (substring( option vendor-encapsulated-options,13,5)="upgrd")); vendor-option-space AMINO; option AMINO.address 225.50.50.53; option AMINO.port 11111; } ############################################################################### # Class "AmiNET500 fisys" # # AmiNET500 - response when booting in normal boot state # ############################################################################### #class "AmiNET500 fisys" #{ # match if (option vendor-class-identifier="Aminoaminet500fisys") or # ((substring( option vendor-encapsulated-options, 2, 9)="aminet500") # and (substring(option vendor-encapsulated-options, 13, 5)="fisys")); # vendor-option-space AMINO; # option AMINO.middleware <mcast address>; # option AMINO.mw_port <port>; #} ############################################################################### # Subnet Declaration # ############################################################################### subnet 192.168.8.0 netmask 255.255.255.0 { ############################################################################### # Default Gateway - This MUST be set!! # ############################################################################### option routers 192.168.8.1; ############################################################################### # Subnet Mask - This MUST be set!! # ############################################################################### option subnet-mask 255.255.255.0; ############################################################################### # Domain Name - Optional # ############################################################################### #option domain-name "bcc.ru"; ############################################################################### # DNS Servers - Optional # ############################################################################### option domain-name-servers 213.234.192.8, 85.21.192.3; ############################################################################### # Time Offset - Optional # ############################################################################### #option time-offset -5; # Eastern Standard Time ############################################################################### # Address Pool - This MUST be set!! # # # # In this address pool we list the classes which we wish to give addresses to,# # unless a device is in this list it will not be given a address! # # # ############################################################################### pool { range dynamic-bootp 192.168.8.50 192.168.8.90; range 192.168.8.110 192.168.8.190; # AmiNET103 Member Classes #allow members of "AmiNET103 mboot"; #allow members of "AmiNET103 upgrd"; #allow members of "AmiNET103 fisys"; # AmiNET110 Member Classes allow members of "AmiNET110 mboot"; allow members of "AmiNET110 upgrd"; allow members of "AmiNET110 fisys"; # AmiNET110H Member Classes allow members of "AmiNET110H mboot"; allow members of "AmiNET110H upgrd"; allow members of "AmiNET110H fisys"; } } subnet 192.168.8.0 netmask 255.255.255.0 { option routers 192.168.8.1; option subnet-mask 255.255.255.0; #option domain-name "blahblah.com"; option domain-name-servers 213.234.192.8; option time-offset 0; # Eastern Standard Time pool { #range dynamic-bootp 172.31.208.1 172.31.215.254; range dynamic-bootp 192.168.8.101 192.168.8.109; # AmiNET103 Member Classes allow members of "AmiNET103 mboot"; allow members of "AmiNET103 upgrd"; # allow members of "AmiNET103 fisys"; # AmiNET110 Member Classes allow members of "AmiNET110 mboot"; allow members of "AmiNET110 upgrd"; allow members of "AmiNET110 fisys"; # AmiNET110H Member Classes allow members of "AmiNET110H mboot"; allow members of "AmiNET110H upgrd"; allow members of "AmiNET110H fisys"; allow unknown-clients; } } ############################################################################### # End dhcpd.conf # ############################################################################### mcastboot.conf # Configuration file: Mon May 14 16:26:32 2007 [Server] LogLevel=4 [Image bootstrap.signed] MulticastIPAddress=225.50.50.52 MulticastUDPPort=54321 FileName=/etc/bootstrap.signed Description=Linux bootstrap image ImageType=1 SerialNumber=1 PacketSize=1456 CycleTime=0 [Filesystem mc2] MulticastIPAddress=225.50.50.53 MulticastUDPPort=54321 ImageName=/etc/mc2 Description=upgrade filesystem SerialNumber=149 DirsPerCycle=128 DataRate=256 Призапуске mcastbootd пишет он мне $ /etc/mcastbootd.dat -d 21:09:56.341292 /etc/mcastbootd.dat: Multicast boot/FS server daemon version 0.01.00 21:09:56.342048 /etc/mcastbootd.dat version 0.01.00 started 21:09:56.342899 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' enabled 21:09:56.343331 225.50.50.53:54321 transmission of '/etc/mc2' enabled 21:09:56.343596 225.50.50.53:54321 transmission of filesystem '/etc/mc2' commenced 21:09:56.364620 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' commenced 21:10:05.241523 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' completed 21:10:05.263261 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' commenced 21:10:14.150999 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' completed 21:10:14.172922 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' commenced 21:10:15.655790 225.50.50.53:54321 transmission of filesystem '/etc/mc2' completed 21:10:15.656125 225.50.50.53:54321 transmission of filesystem '/etc/mc2' commenced 21:10:23.060660 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' completed 21:10:23.082559 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' commenced 21:10:31.959536 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' completed 21:10:31.981205 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' commenced 21:10:34.968886 225.50.50.53:54321 transmission of filesystem '/etc/mc2' completed 21:10:34.969190 225.50.50.53:54321 transmission of filesystem '/etc/mc2' commenced 21:10:40.868928 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' completed 21:10:40.890844 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' commenced 21:10:49.767674 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' completed 21:10:49.789484 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' commenced 21:10:54.281918 225.50.50.53:54321 transmission of filesystem '/etc/mc2' completed 21:10:54.282024 225.50.50.53:54321 transmission of filesystem '/etc/mc2' commenced 21:10:58.666431 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' completed 21:10:58.688126 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' commenced ^C21:11:02.956817 select interrupted by signal 2 21:11:02.957046 Killed by signal 2, starting shutdown 21:11:02.957342 225.50.50.53:54321 transmission of filesystem '/etc/mc2' disabled 21:11:02.957938 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' disabled 21:11:02.958234 mcastbootd.dat stopped И так до бесконечности... Помогите пожалсто, хочу футураму посмотреть всю и разом на большом экране, а потом покрыть это всё Цельным Металичиским алхимиком... Да и племянник заепал со своими мультами, так хоть ему поставишь он отвалит... Спасибо Edited April 30, 2009 by MASiK Вставить ник Quote
MASiK Posted May 1, 2009 Author Posted May 1, 2009 Не ну что не кто не знает что ли?... Вставить ник Quote
Krsvchg Posted May 4, 2009 Posted May 4, 2009 А зачем ты в нее постоянно прошивку льешь ? :) В приставку то ? Мксатд для этого - зачем тебе такой dhcp ? 21:10:54.281918 225.50.50.53:54321 transmission of filesystem '/etc/mc2' completed 21:10:54.282024 225.50.50.53:54321 transmission of filesystem '/etc/mc2' commenced 21:10:58.666431 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' completed 21:10:58.688126 225.50.50.52:54321 transmission of boot image '/etc/bootstrap.signed' commenced ^C21:11:02.956817 select interrupted by signal 2 21:11:02.957046 Killed by signal 2, starting shutdown Вот он заливает-заливает и чето отваливается :) почем отваливается - хз... у меня не отваливается... да, он нужен только для того когда при частых падениях амина теряет прошивку... Ну когда у тебя сеть большая - и ты не хочешь простоев приставки - то и запускаешь демон... в случае чего он переливает прошивку... в домашних то условиях зачем ? Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.