I'm having a really frustrating issue whereby TVHeadend will not connect to Oscam. I have tried now on both XBMCbuntu (14.04) which is the install I'd really like to get it to work on, and have also tried an install of Ubuntu 12.04. Both were fresh installs.
My oscam.user file looks like this:
[account]
user = user1
pwd = password1
group = 1
ident = 0100:000000
caid = 0100
The cccam section of the oscam.conf looks like this:
[cccam]
port = 40000
version = 1.2.3
build = 1234
reshare = 2
And oscam.server:
[reader]
label = myserver
protocol = cccam
device = zzzzz.zzzzz.zzz,18002
user = yyyyyyy
password = xxxxxxx
group = 1
caid = 0100
cccversion = 2.1.4
I create a user on the Code Word Client tab in TVHeadend with hostname=127.0.0.1 port=40000 username=user1 password=password1 DESKey=01:02:03:04:05:06:07:08:09:10:11:12:13:14 and updatecard=yes. When I check the enable box, the text turns red rather than green. When I click save changes to enable it, I get the following in the System Log:
Jul 03 17:51:02.669 cwc: Attemping to connect to 127.0.0.1:40000
Jul 03 17:51:02.670 cwc: Connected to 127.0.0.1:40000
Jul 03 17:51:02.670 cwc: 127.0.0.1:40000: Wait login response: Invalid message size: 58058
Jul 03 17:51:02.670 cwc: Disconnected from 127.0.0.1:40000
And in the Live Log on Oscam I get the following:
2014/07/03 17:51:02 9F59D40 c illegal username received
2014/07/03 17:51:02 9F59D40 c anonymous disconnected from 127.0.0.1
Or sometimes this:
2014/07/03 17:42:06 9F59D40 c illegal username received
2014/07/03 17:42:06 9F59D40 c anonymous disconnected from 127.0.0.1
2014/07/03 17:42:09 9F5BB68 c encrypted cccam-client 127.0.0.1 rejected (invalid access)
2014/07/03 17:42:09 9F5BB68 c account 'cGĹ0iB¬vx#39;' not found!
2014/07/03 17:42:09 9F5BB68 c anonymous disconnected from 127.0.0.1
Is there maybe some dependency that I need to install? Any ideas why Oscam appears to be receiving trash as the username i.e. 'cGĹ0iB¬vx#39;' (incidentally, it's never the same jumble of characters for each error in the log even though the username is not changing.
Anyone seen this before or have an idea what the problem might be? Thanks in advance.