{"action":"created","issue":{"url":"https://api.github.com/repos/sarxos/secure-tokens/issues/2","labels_url":"https://api.github.com/repos/sarxos/secure-tokens/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/sarxos/secure-tokens/issues/2/comments","events_url":"https://api.github.com/repos/sarxos/secure-tokens/issues/2/events","html_url":"https://github.com/sarxos/secure-tokens/issues/2","id":65386715,"number":2,"title":"get Hardware Serial Number in Linux is not Work","user":{"login":"olaLH","id":7123716,"avatar_url":"https://avatars.githubusercontent.com/u/7123716?v=3","gravatar_id":"","url":"https://api.github.com/users/olaLH","html_url":"https://github.com/olaLH","followers_url":"https://api.github.com/users/olaLH/followers","following_url":"https://api.github.com/users/olaLH/following{/other_user}","gists_url":"https://api.github.com/users/olaLH/gists{/gist_id}","starred_url":"https://api.github.com/users/olaLH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olaLH/subscriptions","organizations_url":"https://api.github.com/users/olaLH/orgs","repos_url":"https://api.github.com/users/olaLH/repos","events_url":"https://api.github.com/users/olaLH/events{/privacy}","received_events_url":"https://api.github.com/users/olaLH/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-31T07:29:50Z","updated_at":"2015-03-31T14:43:40Z","closed_at":null,"body":"Hi \r\ni try to get the Hardware serial number in linux, i try your code but not work , can you help me to solve it. \r\n java.io.IOException: Cannot run program \"lshal\": error=2, No such file or directory.\r\nthanks \r\n"},"comment":{"url":"https://api.github.com/repos/sarxos/secure-tokens/issues/comments/88115809","html_url":"https://github.com/sarxos/secure-tokens/issues/2#issuecomment-88115809","issue_url":"https://api.github.com/repos/sarxos/secure-tokens/issues/2","id":88115809,"user":{"login":"sarxos","id":472658,"avatar_url":"https://avatars.githubusercontent.com/u/472658?v=3","gravatar_id":"","url":"https://api.github.com/users/sarxos","html_url":"https://github.com/sarxos","followers_url":"https://api.github.com/users/sarxos/followers","following_url":"https://api.github.com/users/sarxos/following{/other_user}","gists_url":"https://api.github.com/users/sarxos/gists{/gist_id}","starred_url":"https://api.github.com/users/sarxos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarxos/subscriptions","organizations_url":"https://api.github.com/users/sarxos/orgs","repos_url":"https://api.github.com/users/sarxos/repos","events_url":"https://api.github.com/users/sarxos/events{/privacy}","received_events_url":"https://api.github.com/users/sarxos/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T14:43:39Z","updated_at":"2015-03-31T14:43:39Z","body":"I supposed that ```lshal``` is available in most of the Linux distros if ```dmidecode``` is missing, but I was wrong. I just verified on Arch Linux that neither ```dmidecode``` nor ```lshal``` nor ```lshw``` is available.\r\n\r\nThe w/a in your case is to install either ```dmidecode``` or ```lshal```.\r\n\r\nin the meantime I will be looking for a way to read HW ID with some other tool."}}