News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

solved: after Computer-Change - no VOMP

Started by goldfisch, December 07, 2008, 22:23:57

Previous topic - Next topic

goldfisch

german: http://www.vdr-portal.de/board/thread.php?threadid=82462

Hello Forum,

I changed my VDR-Computer. After that my MVP-Client doesn´t run. If I start my MVP, I get the blue start screen. But I think the dongle.bin wasn´t load. VOMP for Windows runs with the new VDR-Computer.

In my VDR-Server I see in /var/log/syslog:

Dec  7 23:15:50 gustav dhcpd: DHCPDISCOVER from 00:0d:fe:00:23:89 via eth2
Dec  7 23:15:50 gustav dhcpd: DHCPOFFER on 192.168.1.6 to 00:0d:fe:00:23:89 via

On my old VDR-Computer I had a network-device that runs as "eth0". In my new Computer the network-device runs as "eth2".

/etc/dhcp3/dhcpd.conf

...
host mvp {
  hardware ethernet 00:0D:FE:00:23:89;
  fixed-address 192.168.1.6;
  server-name "gustav.duck";
  filename "dongle.bin";
  next-server 192.168.1.200;
  option subnet-mask 255.255.255.0;
  option broadcast-address 192.168.1.0;
}
...

/etc/inet.conf
...
tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /tftpboot
...


gustav:/tftpboot# ls /tftpboot/
dongle.bin  print1  pxelinux.0  pxelinux.cfg  router1  vdr2


/etc/vdr/plugins/vomp.conf
[General]

## Specify a log file here to enable logging

Log file = /tmp/vompserver.log

## If you have more than one vompserver running you
## can enter a name here that will appear on the
## server select list on the MVP

# Server name = My-Server


## Enable this to start the built in Bootp server enabled = no
## Required to boot the MVP if you have not got a
## DHCP server that can tell the MVP its boot file
## name and server

Bootp server enabled = no

## Enable this to start the built in TFTP server
## Required to boot the MVP if you have not got a
## TFTP server running elsewhere

TFTP server enabled = no

## Base directory for TFTP server
## If you leave this blank the plugin config
## path will be used - i.e. where this file is

TFTP directory = /usr/share/vdr-plugin-vompserver

[Media]
Dir.1=/home/userpictures
Dir.2=/home/usermusic
Dir.3=/home/uservideo
#you can add up to Dir.10...

/tmp/vomp.log

00:09:38.636727 [info]   Main - Logging started
00:09:38.707354 [debug]  Config - Config error: Key Server name not found
00:09:38.707474 [debug]  UDPReplier - UDP replier started
00:09:38.707660 [debug]  Config - Config error: Key MVPRelay enabled not found
00:09:38.707680 [info]   Main - Not starting Bootpd
00:09:38.707696 [info]   Main - Not starting TFTPd
00:09:38.707748 [debug]  MVPRelay - MVPRelay replier started
00:09:38.707772 [info]   Main - MVPRelay started
00:09:38.707806 [debug]  Main - MVPServer run success



What´s wrong in my configuration?

I think the change from eth0 to eth2 is the problem. How can I change the device name?

Thank you!


goldfisch

Harry

Quote from: goldfisch on December 07, 2008, 22:23:57
[...]
I think the change from eth0 to eth2 is the problem. How can I change the device name?
[...]

if you're using udev, you should be able to set the dev name somewhere underneath
/etc/udev/rules.d.
udev uses its own rule syntax. it's explained here: http://www.reactivated.net/udevrules.php

cheers
Harry

Chris

Hi..

It looks like the MVP is being given an IP from your DHCP server, but then it isn't asking for a dongle from the TFTP server.

Is you server "gustav" still on IP 192.168.1.200 ?

As root, run the command

lsof | grep UDP

and look for a line like this:

inetd      2923        root    4u     IPv4               6960                   UDP *:tftp

.. to prove that your tftp server is working.

Post back your results.

davep

Quote from: goldfisch on December 07, 2008, 22:23:57

I think the change from eth0 to eth2 is the problem. How can I change the device name?


Did you change the hardware but keep the same operating system?

In my distro (Mandriva) there is a file /etc/iftab which has the MAC address of each ethernet card in the system. If you change network cards the OS sees the different MAC address and allocates a new ethx device to it. Simply deleting this file allows the system to 'forget' the old network card and start again from eth0.

Dave

goldfisch

#4
Quote from: Harry on December 08, 2008, 09:12:43

if you're using udev, you should be able to set the dev name somewhere underneath
/etc/udev/rules.d.
udev uses its own rule syntax. it's explained here: http://www.reactivated.net/udevrules.php

Thank you for that tip. Now my network device runs as "eth0".

But the MVP doesn´t run. I get only two white balks.

Any Idea?

goldfisch

goldfisch

#5
Quote from: Chris on December 08, 2008, 14:33:02
Is you server "gustav" still on IP 192.168.1.200 ?

Yes.

QuoteAs root, run the command

lsof | grep UDP

Post back your results.

gustav:/var/lib/vdr/plugins/vompserver# lsof | grep UDP
dnsmasq    5699     dnsmasq    4u     IPv4       8339                  UDP *:domain
dnsmasq    5699     dnsmasq    6u     IPv6       8341                  UDP *:domain
cupsd      6213        root    4u     IPv4       9059                  UDP *:ipp
inetd      8668        root    6u     IPv4      12872                  UDP *:discard
inetd      8668        root   11u     IPv4      12882                  UDP *:tftp
nmbd       8683        root    9u     IPv4      12953                  UDP *:netbios-ns
nmbd       8683        root   10u     IPv4      12954                  UDP *:netbios-dgm
nmbd       8683        root   11u     IPv4      12956                  UDP gustav.duck:netbios-ns
nmbd       8683        root   12u     IPv4      12957                  UDP gustav.duck:netbios-dgm
portmap    9064      daemon    4u     IPv4      13650                  UDP *:sunrpc
rpc.mount  9281        root    6u     IPv4      14246                  UDP *:973
rpc.statd  9306       statd    3u     IPv4      14355                  UDP *:32775
rpc.statd  9306       statd    6u     IPv4      14310                  UDP *:1002
dhcpd3     9350        root    5u     IPv4      14618                  UDP *:bootps
vdr       18161         vdr  130u     IPv4     148586                  UDP *:3024
vdr       18161         vdr  134u     IPv4     148589                  UDP *:16881


So I think the tftp-Server is running.

From the same server I boot a diskless Print-Server. If the print-Server starts I get a messega in /var/log/syslog

...
Dec  8 23:17:56 gustav mountd[9281]: authenticated mount request from print1:1023 for /tftpboot/print1 (/tftpboot/print1)
...

But form the MVP I get in /var/log/syslog only:

...
Dec  8 23:42:28 gustav dhcpd: DHCPDISCOVER from 00:0d:fe:00:23:89 via eth0
Dec  8 23:42:28 gustav dhcpd: DHCPOFFER on 192.168.1.6 to 00:0d:fe:00:23:89 via eth0
...

The dongle.bin is in /tftpboot

gustav:/var/lib/vdr/plugins/vompserver# ls /tftpboot/ -la
insgesamt 1840
drwxr-xr-x  6 root    root     4096 2008-08-01 22:34 .
drwxr-xr-x 27 root    root     4096 2008-12-08 23:41 ..
-rw-r--r--  1 gerhard users 1841184 2008-08-01 22:00 dongle.bin
drwxr-xr-x 22 root    root     4096 2008-12-02 21:07 print1
-rw-r--r--  1 root    root    11830 2007-03-09 14:39 pxelinux.0
drwxr-xr-x  2 root    root     4096 2007-04-09 20:55 pxelinux.cfg
drwxr-xr-x 22 root    root     4096 2006-01-27 14:42 router1
drwxr-xr-x 22 root    root     4096 2008-12-02 21:07 vdr2


goldfisch

Quote from: davep on December 08, 2008, 16:57:45

In my distro (Mandriva) there is a file /etc/iftab which has the MAC address of each ethernet card in the system. If you change network cards the OS sees the different MAC address and allocates a new ethx device to it. Simply deleting this file allows the system to 'forget' the old network card and start again from eth0.


I use debian. There I have no /etc/iftab. With the Posting from Harry I changed the name of the device to "eth0". But the MVP doesn´t run.

Any idea?

Thank you!


goldfisch

goldfisch

Hello Portal,

in /tmp/vompserver.log I get the error-messages:

23:54:25.564739 [debug]  Config - Config error: Section Boot not found
23:54:49.206987 [debug]  Config - Config error: Key Server name not found

Can someone explain me this messages?

Thank you!

goldfisch



Here is the full log:

23:54:25.564554 [debug]  BOOTPD - Got request
23:54:25.564608 [debug]  Config - Opened config file: /var/lib/vdr/plugins/vompserver/vomp-00-0D-FE-00-23-89.conf
23:54:25.564624 [debug]  BOOTPD - Opened config file: /var/lib/vdr/plugins/vompserver/vomp-00-0D-FE-00-23-89.conf
23:54:25.564739 [debug]  Config - Config error: Section Boot not found
23:54:25.564760 [WARN]   BOOTPD - No IP found for MVP. Hopefully it has one already...
23:54:25.564832 [debug]  Config - Config error: Section Boot not found
23:54:25.564851 [debug]  BOOTPD - Will not change MVP IP if it already has one
23:54:25.564866 [debug]  BOOTPD - No IP found to give to MVP
23:54:25.564884 [debug]  BOOTPD - Starting wait
23:54:41.995731 [info]   Main - Stopped main server thread
23:54:49.206899 [info]   Main - Logging started
23:54:49.206987 [debug]  Config - Config error: Key Server name not found
23:54:49.207055 [debug]  UDPReplier - UDP replier started
23:54:49.207219 [debug]  Config - Config error: Key MVPRelay enabled not found
23:54:49.207239 [info]   Main - Not starting Bootpd
23:54:49.207278 [info]   Main - Not starting TFTPd
23:54:49.407761 [debug]  MVPRelay - MVPRelay replier started
23:54:49.407821 [info]   Main - MVPRelay started
23:54:49.407889 [debug]  Main - MVPServer run success
00:03:12.241975 [info]   Main - Logging started
00:03:12.242065 [debug]  Config - Config error: Key Server name not found
00:03:12.442773 [debug]  UDPReplier - UDP replier started
00:03:12.443014 [debug]  Config - Config error: Key MVPRelay enabled not found
00:03:12.443036 [info]   Main - Not starting Bootpd
00:03:12.443054 [info]   Main - Not starting TFTPd
00:03:12.443128 [debug]  MVPRelay - MVPRelay replier started
00:03:12.443152 [info]   Main - MVPRelay started
00:03:12.443185 [debug]  Main - MVPServer run success
00:14:14.616677 [info]   Main - Logging started
00:14:14.616768 [debug]  Config - Config error: Key Server name not found
00:14:14.616837 [debug]  UDPReplier - UDP replier started
00:14:14.617008 [debug]  Config - Config error: Key MVPRelay enabled not found
00:14:14.617027 [info]   Main - Not starting Bootpd
00:14:14.617042 [info]   Main - Not starting TFTPd
00:14:14.617088 [debug]  MVPRelay - MVPRelay replier started
00:14:14.617108 [info]   Main - MVPRelay started
00:14:14.617144 [debug]  Main - MVPServer run success
00:25:15.806712 [info]   Main - Logging started
00:25:15.806812 [debug]  Config - Config error: Key Server name not found
00:25:16.006611 [debug]  UDPReplier - UDP replier started
00:25:16.006881 [debug]  Config - Config error: Key MVPRelay enabled not found
00:25:16.006902 [info]   Main - Not starting Bootpd
00:25:16.006921 [info]   Main - Not starting TFTPd
00:25:16.007005 [debug]  MVPRelay - MVPRelay replier started
00:25:16.007026 [info]   Main - MVPRelay started
00:25:16.007064 [debug]  Main - MVPServer run success


Harry

Quote from: goldfisch on December 08, 2008, 23:03:56
Quote from: Harry on December 08, 2008, 09:12:43

if you're using udev, you should be able to set the dev name somewhere underneath
/etc/udev/rules.d.
udev uses its own rule syntax. it's explained here: http://www.reactivated.net/udevrules.php

Thank you for that tip. Now my network device runs as "eth0".

But the MVP doesn´t run. I get only two white balks.

Any Idea?

goldfisch

glad i could help.

...hmm.
looks like you're missing a couple of settings from the vomp(.*)?.conf
i suggest two things:
1.
complete the vomp(.*)?.conf files adequately
have a look at the examples in the server source
http://www.loggytronic.com/dl/vomp-dongle-0.3.0
there you'll find a sample for MVP specific settings (vomp-00-00-00-00-00-00.conf.sample)
and global settings (vomp.conf.sample)

and/or 2.
for testing, please deactivate the tftp server in inetd.conf
and use the vomp-built-in server stuff to determine what's wrong.
(this way, you also get all log data from one file)

cheers

goldfisch

Quote

1.
complete the vomp(.*)?.conf files adequately
have a look at the examples in the server source
http://www.loggytronic.com/dl/vomp-dongle-0.3.0
there you'll find a sample for MVP specific settings (vomp-00-00-00-00-00-00.conf.sample)
and global settings (vomp.conf.sample)

and/or 2.
for testing, please deactivate the tftp server in inetd.conf
and use the vomp-built-in server stuff to determine what's wrong.
(this way, you also get all log data from one file)

cheers

Hello,

I reconfigured the vompserver copletly new. Tftp in inetd.conf is disabled.

But it doesn´t runs. I get only two white balks on the TV. But I don´t understand why.

In the /tmp/vompserver.log I get:

22:08:55.947995 [info]   Main - Logging started
22:08:55.948137 [debug]  UDPReplier - UDP replier started
22:08:55.948317 [debug]  BOOTPD - Starting bootpd
22:08:55.948361 [debug]  BOOTPD - Bootp replier started
22:08:55.948448 [info]   Main - TFTP path '/usr/share/vdr-plugin-vompserver/'
22:08:55.948468 [debug]  Tftpd - Starting TFTPd
22:08:55.948510 [debug]  Tftpd - TFTP server started with base path '/usr/share/vdr-plugin-vompserver/'
22:08:55.948765 [debug]  MVPRelay - MVPRelay replier started
22:08:55.948791 [info]   Main - MVPRelay started
22:08:55.948830 [debug]  Main - MVPServer run success
22:08:56.150091 [debug]  BOOTPD - Starting wait
22:08:56.150135 [debug]  Tftpd - Starting wait
22:09:07.588259 [debug]  BOOTPD - Wait finished
22:09:07.588328 [debug]  BOOTPD - Got request
22:09:07.588382 [debug]  Config - Opened config file: /var/lib/vdr/plugins/vompserver/vomp-00-0D-FE-00-23-89.conf
22:09:07.588400 [debug]  BOOTPD - Opened config file: /var/lib/vdr/plugins/vompserver/vomp-00-0D-FE-00-23-89.conf
22:09:07.588484 [debug]  BOOTPD - Found IP 192.168.1.6 for MVP
22:09:07.588546 [debug]  BOOTPD - Will enforce IP 192.168.1.6 on MVP even if it already has another
22:09:07.588565 [debug]  BOOTPD - Giving MVP IP from config
22:09:07.588674 [debug]  BOOTPD - Starting wait
22:09:16.608339 [debug]  BOOTPD - Wait finished
22:09:16.608433 [debug]  BOOTPD - Got request
22:09:16.608502 [debug]  Config - Opened config file: /var/lib/vdr/plugins/vompserver/vomp-00-0D-FE-00-23-89.conf
22:09:16.608520 [debug]  BOOTPD - Opened config file: /var/lib/vdr/plugins/vompserver/vomp-00-0D-FE-00-23-89.conf
22:09:16.608615 [debug]  BOOTPD - Found IP 192.168.1.6 for MVP
22:09:16.608674 [debug]  BOOTPD - Will enforce IP 192.168.1.6 on MVP even if it already has another
22:09:16.608693 [debug]  BOOTPD - Giving MVP IP from config
22:09:16.608813 [debug]  BOOTPD - Starting wait
...


/etc/vdr/plugins/vomp.conf
[General]

## Specify a log file here to enable logging

Log file = /tmp/vompserver.log

## If you have more than one vompserver running you
## can enter a name here that will appear on the
## server select list on the MVP

Server name = gustav.duck

## Enable this to start the built in Bootp server enabled = yes
## Required to boot the MVP if you have not got a
## DHCP server that can tell the MVP its boot file
## name and server

Bootp server enabled = yes

## Enable this to start the built in TFTP server
## Required to boot the MVP if you have not got a
## TFTP server running elsewhere

TFTP server enabled = yes

## Base directory for TFTP server
## If you leave this blank the plugin config
## path will be used - i.e. where this file is

TFTP directory = /usr/share/vdr-plugin-vompserver

## Change the following to "no" to disable the
### built in mvprelay server

MVPRelay enabled = yes


/var/lib/vdr/plugins/vompserver/vomp-00-0D-FE-00-23-89.conf
[Boot]

## If you enable the bootp server in vomp.conf, you can specify
## an IP to give out to this MVP here.

IP = 192.168.1.6

## If you have a router that gives out addresses but you want
## the above address forced to the MVP, set this:

Override IP = 1

## A file name to send to the MVP. The MVP will then request
## this file from the TFTP server. Don't use a path here!

TFTP file name = vomp-dongle

[General]

## The client auto-detects whether to use PAL or NTSC. If you
## want to force the other one, set it here. Beware of popping
## your TV with this one!

# Override Video Format = NTSC

What is wrong?

Thanks


goldfisch

Harry

hmm.. odd.
do you have more than on ethernet interface on your server?

could you post the output of "netstat -r" and/or "lsdev" ?
please also tell us what's the hardware version of your MVP ?
find it on a sticker on the underside of your MVP.

cheers

goldfisch

Quotedo you have more than on ethernet interface on your server?

No, there is only one (onboard-)Ethernet interface on the server.

Quotecould you post the output of "netstat -r"

gustav:~# netstat -r
Kernel IP Routentabelle
Ziel            Router          Genmask         Flags   MSS Fenster irtt Iface
localhost       *               255.255.255.255 UH        0 0          0 ippp5
192.168.1.0     *               255.255.255.0   U         0 0          0 eth0
default         micky           0.0.0.0         UG        0 0          0 eth0


Quoteand/or "lsdev"

gustav:~# lsdev
Device            DMA   IRQ  I/O Ports
------------------------------------------------
(0)                     209
(1)                     169
(2)                     201
0000:00:02.0                 1000-1007
0000:00:1d.0                 1400-141f
0000:00:1d.1                 1800-181f
0000:00:1d.2                 1c00-1c1f
0000:00:1d.3                 2000-201f
0000:00:1f.0                 f000-f07f f180-f1bf
0000:00:1f.1                 3000-300f
0000:00:1f.2                 3010-301f 3020-3023 3024-3027 3028-302f 3030-3037
0000:00:1f.3                 2400-241f
0000:00:1f.5                 2800-283f 2c00-2cff
0000:02:01.0                   4000-401f
0000:03:0f.0                   5000-501f   5400-543f
acpi                      9
ACPI                             f000-f003     f004-f005     f008-f00b     f010-f015     f028-f02f
b1pci-5000              193      5000-501e
cascade             4
dma                          0080-008f
dma1                         0000-001f
dma2                         00c0-00df
e1000                            4000-401f
floppy              2     6  03f2-03f5 03f7-03f7
fpu                          00f0-00ff
i801_smbus                     2400-241f
i8042                     1
ide0                           3000-3007
ide1                     15  0170-0177 0376-0376   3008-300f
Intel                          2800-283f   2c00-2cff
keyboard                     0060-006f
libata                         3010-301f   3020-3023   3024-3027   3028-302f   3030-3037
motherboard                    f000-f07f f100-f10f   f180-f1bf f820-f82f fe00-fe00
parport0            3     7  0378-037a 0778-077a
PCI                          0cf8-0cff 4000-4fff 5000-5fff
pic1                         0020-0021
pic2                         00a0-00a1
rtc                       8  0070-0077
serial                       02e8-02ef 02f8-02ff 03f8-03ff
timer                     0
timer0                       0040-0043
timer1                       0050-0053
uhci_hcd                       1400-141f   1800-181f   1c00-1c1f   2000-201f
uhci_hcd:usb2           185
uhci_hcd:usb4           177
vga+                         03c0-03df

Quoteplease also tell us what's the hardware version of your MVP ?

Model 86002 Rev D3A Lot 4203

I am stumped.

Could someone help me?

Tanks

goldfisch

goldfisch

Hello Portal,

now the MVP runs with VOMP.

The problem was, that the MVP was connected to the network-switch at the uplink-port of the switch.

Tank you to all who supported me to find the solution!

God bless you!


goldfisch