← Back to team overview

opensand team mailing list archive

Re: OpanSAND test bed - compilation with sources

 

Hi Didier,

My reply is in the text


> You probably missed the lines below in section "Build and install
> module opensand-daemon":
>
>   Copy the servers on every HOST (files can be copied with other tools,
>   using scp is an example):
>     $ scp init/opensand-daemon init/opensand-network root@HOST
> :/etc/init.d/
>     $ ssh root@HOST chmod a+x /etc/init.d/init/opensand-daemon
> /etc/init.d/init/opensand-network
>
> If the system on which you build the sources is one of the platform
> hosts, you have to perform these actions. You may of course use 'cp'
> instead of 'scp', and skip the 'ssh root@HOST' part.
>
> Please check other commands you may have missed because of this
> misunderstanding.
>

Thanks for a tip :) I checked once again all 'scp' and 'ssl' commands and
you were right. I skipped all lines mentioned in your reply.
However once again I found out that one of the commands above might have
small error.

When I checked the content of /etc/init.d folder I haven't found*
/init *folder,
only files and among them *opensand-daemon* and *opensand-network*.
This leads me to conclusion that proper command looks as follows:

$ ssh root@HOST chmod a+x /etc/init.d/opensand-daemon
/etc/init.d/opensand-network

This solution works fine for me, however I encounter another error when i
tried to run network service:

andyg@andyg-laptop:~/opensand-trunk/opensand-daemon$ sudo service
opensand-network start
 * Configuring the OpenSAND
network

Configure OpenSAND Daemon:
    Get user configuration
 * failed to configure the OpenSAND network
[fail]

andyg@andyg-laptop:~/opensand-trunk/opensand-daemon$ sudo service
opensand-daemon start
 * Please configure the OpenSAND network before starting the daemon
   ...fail!

As you can see you where right when in my first post I forget to use
'sudo'.
This time I tried to start network with predefine settings for SAT which I
edit in *daemon.conf*

Copy of this file which I gt from */etc/opensand* folder is attached to
this post as well as present network configuration of this VM.

I will be grateful for suggestions what might be wrong with my approach.

Regards,
Andy
andyg@andyg-laptop:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:97:41:ba  
          inet addr:192.168.18.1  Bcast:192.168.18.255  Mask:255.255.255.0
          inet6 addr: 2001:660:6602:101::1/64 Scope:Global
          inet6 addr: fe80::a00:27ff:fe97:41ba/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2168 (2.1 KB)  TX bytes:5016 (5.0 KB)

eth1      Link encap:Ethernet  HWaddr 08:00:27:b2:5b:1b  
          inet addr:192.168.19.1  Bcast:192.168.19.255  Mask:255.255.255.0
          inet6 addr: 2001:660:6602:102::1/64 Scope:Global
          inet6 addr: fe80::a00:27ff:feb2:5b1b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4220 (4.2 KB)  TX bytes:4741 (4.7 KB)

eth2      Link encap:Ethernet  HWaddr 08:00:27:de:4d:aa  
          inet addr:10.0.4.15  Bcast:10.0.4.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fede:4daa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4303 (4.3 KB)  TX bytes:6040 (6.0 KB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:480 (480.0 B)  TX bytes:480 (480.0 B)

Attachment: daemon.conf
Description: Binary data


Follow ups

References