Installing with Mac OS X /Unix?

Moderator: Mattk

Post Reply
skogvaktare
Junior Boarder
Junior Boarder
Posts: 39
Joined: Thu Jan 08, 2009 9:26 am

Installing with Mac OS X /Unix?

Post by skogvaktare »

Hi!

Because the Qnap NAS won´t be supported, I ordered a sheevaplug and hoped to run meteohub with this device.

I´m trying to install meteoplug with mac OS X by folllowing the linux instruction given here in the forum.

But unfurtunatly I´m not very used to linux/Unix, so it will not run.

Is there anybody who already did this an may help me?

I can´t cpoy the meteohub-installer.tgz in the /home directory, because there is no THE /home directory. I cpoied it to ./users/Myaccount/home. But the follwing step didn´t work.
FE-iMac:/ CK$ cd $HOME
FE-iMac:~ CK$ ls -la
total 4408
drwxr-xr-x@ 38 CK staff 1292 4 Sep 18:25 .
drwxr-xr-x 8 root admin 272 4 Sep 18:02 ..
-rw-------@ 1 CK staff 3 15 Nov 2007 .CFUserTextEncoding
-rw-r--r--@ 1 CK staff 15364 6 Sep 17:39 .DS_Store
drwx------ 3 CK staff 102 1 Sep 20:45 .Trash
-rw------- 1 CK staff 0 17 Jul 22:44 .Xauthority
-rw-r--r--@ 1 CK staff 28 28 Feb 2008 .ano
-rw-------@ 1 CK staff 2271 4 Sep 18:26 .bash_history
drwx------ 4 CK staff 136 5 Aug 21:55 .config
drwx------@ 3 CK staff 102 17 Nov 2007 .cups
drwxr-xr-x 4 CK staff 136 5 Aug 23:55 .designer
drwxr-xr-x@ 3 CK staff 102 28 Feb 2008 .dvdcss
drwxr-xr-x 3 CK staff 102 4 Sep 18:25 .emacs.d
drwxr-xr-x 46 CK staff 1564 14 Jul 19:02 .fontconfig
drwxr-xr-x 27 CK staff 918 20 Mai 16:20 .gimp-2.6
-rwxrwxrwx@ 1 CK staff 15 28 Aug 2008 .hkzgthfrc
-rw------- 1 CK staff 35 4 Sep 18:58 .lesshst
drwx------ 2 CK staff 68 5 Aug 18:00 .macports
drwxr-xr-x 3 CK staff 102 17 Jul 11:04 .nexuiz
-rw-r--r-- 1 CK staff 484 5 Aug 18:00 .profile
-rw------- 1 CK staff 851 14 Jul 19:04 .recently-used.xbel
drwx------@ 3 CK staff 102 13 Dez 2008 .ssh
drwx------ 3 CK staff 102 17 Mai 18:47 .thumbnails
-rw-r--r--@ 1 CK staff 96 17 Nov 2007 .vuescanrc
-rw-r--r-- 1 CK staff 2000 2 Aug 18:49 Data Rescue II Report.txt
drwx------@ 26 CK staff 884 4 Sep 17:20 Desktop
drwx------@ 48 CK staff 1632 6 Aug 00:32 Documents
drwx------@ 139 CK staff 4726 4 Sep 18:54 Downloads
drwxr-xr-x@ 6 CK staff 204 12 Jul 10:49 FE-iMac_00254ba79b12.sparsebundle
-rw-r--r--@ 1 CK staff 0 16 Nov 2007 Icon?
drwx------@ 54 CK staff 1836 2 Aug 19:57 Library
drwx------@ 30 CK staff 1020 22 Jul 19:23 Movies
drwx------@ 9 CK staff 306 4 Sep 16:56 Music
drwx------@ 48 CK staff 1632 29 Aug 12:45 Pictures
drwxr-xr-x@ 14 CK staff 476 25 Aug 13:24 Public
drwxr-xr-x@ 15 CK staff 510 1 Aug 10:27 Sites
drwxr-xr-x@ 7 CK staff 238 27 Aug 20:30 meteoplug-installer
-rw-r--r--@ 1 CK staff 2143558 4 Sep 15:49 meteoplug-installer.tgz
FE-iMac:~ CK$ cd meteoplug-installer
FE-iMac:meteoplug-installer CK$ ./meteoflash.sh mac 00:50:43:01:D5:D1
Eror: You must be root to run this
FE-iMac:meteoplug-installer CK$
I do not know, what to do.

Christian
skogvaktare
Junior Boarder
Junior Boarder
Posts: 39
Joined: Thu Jan 08, 2009 9:26 am

Re:Installing with Mac OS X /Unix?

Post by skogvaktare »

I tried to install from my home dir.
FE-iMac:~ CK$ cd meteoplug-installer
FE-iMac:meteoplug-installer CK$ ./meteoflash.sh mac 00:50:43:01:D5:D1
Eror: You must be root to run this
FE-iMac:meteoplug-installer CK$ sudo ./meteoflash.sh mac 00:50:43:01:D5:D1
Password:
./meteoflash.sh: line 17: lsusb: command not found
./meteoflash.sh: line 19: lsusb: command not found
No SheevaPlug connected or connection not valid/stable.
FE-iMac:meteoplug-installer CK$
But the system profiler says, that the SheevaPlug is connected.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:Installing with Mac OS X /Unix?

Post by admin »

Meteoflash utility tries to find out which kind of SheevaPlug (regarding USB ) you have. Therefore, it calls "lsusb" which is the common way in Linux to get vendor and product ids of connected USB devices.

Please install usbutils package, it should provide you with "lsusb".
skogvaktare
Junior Boarder
Junior Boarder
Posts: 39
Joined: Thu Jan 08, 2009 9:26 am

Re:Installing with Mac OS X /Unix?

Post by skogvaktare »

OK.

What is the usbuitls package and where do I find this?

Is it a mac os package?
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:Installing with Mac OS X /Unix?

Post by admin »

sorry, I don't have a MAC. Please give google a try...

If all fails, you might grab a standard PC and start this with a Linux live CD. Adding the files there should work from scratch.
skogvaktare
Junior Boarder
Junior Boarder
Posts: 39
Joined: Thu Jan 08, 2009 9:26 am

Re:Installing with Mac OS X /Unix?

Post by skogvaktare »

Hi!

The first step from your tutorial was succesful. The SheevaPlug is flashed with ubuntu live CD running on my mac.

But the setup of the sd card will not work till now. The problem seems to be that the live cd boot process doesn´t mount the sd card under /dev/sde. It appears at /media/disk

When entering the command "dd if=mhplug.vx.x.img of=/media/disk bs=1M" the promt said:

dd: /media/disk is a directory

Any ideas how to solve this?

Greetings,

Christian
skogvaktare
Junior Boarder
Junior Boarder
Posts: 39
Joined: Thu Jan 08, 2009 9:26 am

Re:Installing with Mac OS X /Unix?

Post by skogvaktare »

Copying the image with the macintosh disk utility will not work, because the OS can´t read the image.
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:Installing with Mac OS X /Unix?

Post by admin »

Please insert sd card and check with "dmesg" what "/dev/sd__" it has been assigned to. Lets assume it is "/dev/sda"

It looks like ubuntu does automatically mount the sd card. So umount it via "umount /dev/sda" (according to assumptions above).

Now you can use "dd if=mhplug.vx.x.img of=/dev/sda bs=1M" (according to assumptions above). Please look out not to erase your harddsik, if it is also /dev/sda!
skogvaktare
Junior Boarder
Junior Boarder
Posts: 39
Joined: Thu Jan 08, 2009 9:26 am

Re:Installing with Mac OS X /Unix?

Post by skogvaktare »

Hi!

Thank you for the hints, agein.

The sd card was founded under /dev/sdc. It was not mounted. So the command dd worked.

Fine.

Now, in the next step, I had to find out the IP adress.

Greetings,

Christian
skogvaktare
Junior Boarder
Junior Boarder
Posts: 39
Joined: Thu Jan 08, 2009 9:26 am

Re:Installing with Mac OS X /Unix?

Post by skogvaktare »

The Meteoplug is now reachable at the default IP 192.168.1.77


But it won´t accept the password "admin"

What is the login?

--Sorry for questioning so much.....
skogvaktare
Junior Boarder
Junior Boarder
Posts: 39
Joined: Thu Jan 08, 2009 9:26 am

Re:Installing with Mac OS X /Unix?

Post by skogvaktare »

Once again:

It runs! Login AND Password were "meteohub". It´s really helpful to read the manual. ;)


Very fine! :silly: :silly: :silly: :cheer: :cheer: :cheer:


But unfortunatly the demo mode has expired. That´s not a really long demo time! :(


Is there something like a further demo code?

Christian Image
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:Installing with Mac OS X /Unix?

Post by admin »

update to 4.5 on maintenance page. This has demo period set to end of October.

Or use 4.5 sd card image which already has this software loaded.
skogvaktare
Junior Boarder
Junior Boarder
Posts: 39
Joined: Thu Jan 08, 2009 9:26 am

Re:Installing with Mac OS X /Unix?

Post by skogvaktare »

It is already the 4.5 version. Image
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:Installing with Mac OS X /Unix?

Post by admin »

Oops, that puzzles me.

Could you please give me access to login myself?
This would require to forward ports 77 and 2222 at your router to Meteohub's LAN IP. Having done that please send your WAN IP via email to "info(at)meteohub.de".
Post Reply