Re: multicast problem in vls on freebsd 4.10

From: Yong Chu Eu (杨子佑) (ceyong_at_yahoo.com)
Date: 10/20/04

  • Next message: Garrett Wollman: "Re: aio_connect ?"
    Date: Wed, 20 Oct 2004 07:53:28 -0700 (PDT)
    To: Mark Tinguely <tinguely@casselton.net>, freebsd-net@freebsd.org
    
    

    i am try to stream from freeBSD multicast router(without kame but with
    pim6sd,route6d)to MN throught Access Point which are redhat. There is a
    bridge between eth0 and wlan0 at software Access Point. There problem is i
    cannot even start streaming from vls, the error message i paste as below .
    I can do streaming on IPV4/IPv6 unicast.

                                             |
                                         192.168.1.1
                                     3ffe:80f0:ff03:1::1
                                            fxp0
                                FreeBSD 4.10 Router(Vls Server 0.5.6)
                                vr0 rl0
                           192.168.2.1 192.168.3.1
                         3ffe:80f0:ff03:2::1 3ffe:80f0:ff03:3::1
                                 | |
                                 | |
                                 | |
                               eth0 eth0
                       3ffe:80f0:ff03:2::2 3ffe:80f0:ff03:3::2
                           192.168.2.2 192.168.3.2
                       Linux PC Access Point Linux PC Access Point
                          (HOSTAP 0.13) (HOSTAP 0.13)
                                 | |
                                 | |
                                br0 br0
                            192.168.2.3 192.168.3.3
                       3ffe:80f0:ff03:2::3 3ffe:80f0:ff03:3::3
                                 | |
        
                                 | |
                              wlan0 wlan0
                            192.168.2.4 192.168.3.4
                           essid:mipv6a essid:mipv6b

                              ----
                             | MN |
                              ----
                    Roaming notebook (VLC player 0.7.2)
                  Linux Kernel 2.4.22 with MIPL 1.0
                (Dlink Wireless Card with acx100 driver)
               192.168.4.1(Home address 3ffe:80d0:ff03:4::1)

    mipv6 at vls> start matrix multicast local1 --loop
    Provider: Manager
    Error: -1

      Provider: local1
      Error: -1
      Info: Unable to start program matrix
      Info: Error: unable to start streaming of program matrix
                                                              Error: Unable to
    create thread
                                                                              
                 Error: Unable to init streamer
                                                                              
                                               Error: Net6Output
    initialisation failed
                                  Error: Unable to change value for option 12:
    Can't assign requested address

    mipv6 at vls> Connection closed by foreign host.

    2004-10-05 19:48:10 [ERROR/local1] Unable to start program matrix
    2004-10-05 19:48:10 [ERROR/local1] Error: unable to start streaming of
    program matrix
    Error: Unable to create thread
    Error: Unable to init streamer
    Error: Net6Output initialisation failed
    Error: Unable to change value for option 12: Can't assign requested
    address
    pure virtual method called
    Abort (core dumped)

    # Application wide settings
    BEGIN "Vls"
      LogFile = "vls.log" # log file
      ScreenLog = "enable" # log to the console
      SystemLog = "disable" # log to the systemlog
    END

    # Security informations :
    #
    # The section "Groups" describes which group is allowed to use which
    command.
    # Each user who belongs to the 'master" group has all the power on the
    server.
    # Each one who belongs to the "monitor" group is a "read-only" user.
    BEGIN "Groups"
    # --- Format:
    # groupname = "cmd1|cmd2|..."
    # --- Example:
      monitor = "help|browse|logout"
      master =
    "help|browse|start|resume|suspend|stop|shutdown|logout|config|program|input|channel|show"
    END

    # The section "Users" describes each user
    # Use "mkpasswd" to generate the encrypted password.
    BEGIN "Users"
    # --- Format:
    # username = "encryptedpassword:group"
    # --- Example:
      ceyong = "3BcKWoiQn0vi6:monitor" # password is 'monitor'
      mipv6 = "JKg2TpPerilnw:master" # password is 'bozo'
    END

    # Telnet Administration
    BEGIN "Telnet"
    # Domain = "Inet6" # Inet4 or Inet6
      LocalPort = "9999" # Port to use for that purpose
      Use = "true"
    END

    # Streams sources declaration
    BEGIN "Inputs"
    # --- Format:
    # InputName = "Type"
    # --- Example:
      local1 = "local" # Local input example
    # kfir = "video" # Video input example (mpeg
    encoder)
    # dvb = "dvb" # Video input example (DVB card)
    END

    #BEGIN "local1"
    # ConfigPath = "/usr/local/etc/videolan/vls"
    #END

    # --- Format:
    # BEGIN "program_number"
    # Name = "program_name"
    # Type = "type" # can be Mpeg1-PS, Mpeg2-PS, Mpeg2-TS, or
    Dvd
    # FileName = "path" # use this variable if Type is not "Dvd"
    # Device = "device" # use this variable with type "Dvd"
    # END

    # --- Example:

    #BEGIN "1" # DVD
    # Name = "film"
    # Device = "/dev/cdrom"
    # Type = "dvd"
    # DvdTitle = "2" # Start title
    # DvdChapter = "1" # Start chapter
    #END

    BEGIN "Input"
       FilesPath = "/usr/src"
       ProgramCount = "1"
    END

    BEGIN "1" # DVD stored on a hard disk
      Name = "matrix"
      FileName = "/usr/src/true.mpeg"
      Type = "Mpeg1-PS"
    # DvdTitle = "1" # Start title
    # DvdChapter = "1" # Start chapter
    END

    # Video input configuration
    BEGIN "kfir"
    # --- Example:
    # Device = "/dev/video" # Video4linux device (default is
    /dev/video)
    # Type = "Mpeg2-PS" # Stream type (default is "Mpeg2-PS")
    END

    # Video input (DVB) configuration
    BEGIN "dvb"
    # --- Example:
    # DeviceNumber = "0" # /dev/dvb/adapter<i>
    # SendMethod = "0" # 0 - Send All Pids
                                            # 1 - Send only MPEG2 datas
    END

    # Channel (outputs) declaration
    BEGIN "Channels"
    # --- Format:
    # ChannelName = "Type"
    # --- Example:
      localhost = "network"
      client1 = "network"
      unicast = "network"
      multicast = "network"
    # localfile = "file"
    END

    # Channels configuration
    BEGIN "localhost" # The client is on the same host as the server
      DstHost = "127.0.0.1"
      DstPort = "1234"
    END

    BEGIN "client1" # unicast example
      DstHost = "192.168.3.4" # destination host
      DstPort = "1234" # destination port
    END

    #BEGIN "client2" # unicast with IPv6 example
    # Domain = "inet6"
    # DstHost = "3ffe:ffff::2:12:42" # destination host
    # DstPort = "1234" # destination port
    #END

    BEGIN "unicast" # unicast with IPv6 example
      Domain = "inet6"
      DstHost = "3ffe:80d0:ff03:4::1" # destination host
      DstPort = "1234" # destination port
    END

    BEGIN "multicast"
      Domain ="inet6" # multicast example
      Type = "multicast"
      TTL = "128" # Time To Live
      DstHost = "ff6e:1:1:1::2222" # multicast address
      DstPort = "1234" # destination port
    END

    #BEGIN "localfile" # file output example
    # FileName = "stream.ts"
    # Append = "no" # rewrite the file if it exists
    #END

    # Commands automatically lanched on Startup
    # Commands shall be like they would be typed in a telnet console.
    BEGIN "LaunchOnStartUp"
    # command1 = "start dolby localhost local1 --loop"
    # command2 = "start 28009 client1 dvb"
    END

    --- Mark Tinguely <tinguely@casselton.net> wrote:

    >
    > on Tue, 19 Oct 2004 03:41:08 -0700 (PDT), Yong Chu Eu <ceyong@yahoo.com>
    > asked:
    >
    > > When i install freeBSD 4.10 without kame code, my multicast function
    > on
    > > router fail. i try to stream multicast video(vls) from router to vlc
    > > player at client?
    >
    > You may need to provide more information:
    >
    > How is your network configured?
    > Is there a router or switch between the FreeBSD machine and the
    > client?
    > multicast packets are not passed by routers.
    > some smart switches require enabling of multicast/IGMP on the ports.
    >
    > What Ethernet card are you using?
    >
    > Have you used tcpdump on the FreeBSD machine and/or a Windows Ethernet
    > snooper to verify multicast/IGMP traffic?
    >
    > --Mark Tinguely tinguely@casselton.net
    >

    =====
    愿您永远幸福,快乐和安详 Happy & Healthy Always ! ^_^ !
    个人网页 Homepage:http://planet.time.net.my/sunwaycity/ceyong
    个人佛学网页 Buddhist Page: http://planet.time.net.my/SunwayCity/ceyong/artikel.htm
    ICQ:16994867/ Yahoo Messenger ID:ceyong /MSN Messenger:ceyong at hotmail.com

                    
    __________________________________
    Do you Yahoo!?
    Yahoo! Mail Address AutoComplete - You start. We finish.
    http://promotions.yahoo.com/new_mail
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Garrett Wollman: "Re: aio_connect ?"

    Relevant Pages

    • Re: Live video streaming on FreeBSD?
      ... I have previously used Windows Media Server and Encoder quite a lot, ... try to run as much as possible on FreeBSD. ... It should cover all the (streaming) ...
      (freebsd-questions)
    • Re: my brother is making me learn FreeBSD...
      ... And could FreeBSD be used to become a streaming internet radio ... I run and icecast server on my box at home ... there are other streaming audio services that are just as neat too. ...
      (freebsd-questions)
    • Re: Internet Access
      ... officially supported and none of the yahoo gimicks will work like video ... streaming as they only support windows IE. (i'm also a mac user so it ... > I am switiching my OS over to FreeBSD. ...
      (freebsd-questions)
    • Re: Help with IGMP
      ... the layer 2 protocol to allow switch interfaces to join multcast streams. ... If the multicast source is on a different subnet/VLAN you must also have PIM ... more VOD or other streaming video server. ... crossconnect from that switch to one of the streaming networks. ...
      (comp.dcom.sys.cisco)
    • Re: HD Radio thoughts, speculation and technical info
      ... The HD channels are low- ... Streaming does not make money for radio stations. ... The HD signal is as good in usability as the analog signal. ...
      (rec.radio.shortwave)