Difference between revisions of "Chumby tricks"

From Chumby Wiki
Jump to: navigation, search
(added clues, snipped inaccurate browser)
Line 51: Line 51:
 
* This is not a feature you can count on - it may be removed or changed at any time.
 
* This is not a feature you can count on - it may be removed or changed at any time.
  
* ssh to the IP address found in the bonjour browser (see above under HTTPD).  [[Image:Example.jpg]]
+
* You probably want to try connecting with the root account. Use the IP address from browsing Bonjour, or just look around your IP range until you find the machine (as far as I can see, Chumbies don't advertise ssh on Bonjour/Zeroconf, even when running sshd)
  
* You probably want to try connecting with the root account.
 
 
* To See if sshd is running, from a terminal window on another computer (at least, under OSX):
 
<pre>
 
dns-sd -B _ssh._tcp
 
</pre>
 
 
* from linux you can do:
 
* from linux you can do:
 
<pre>
 
<pre>
Line 66: Line 60:
 
'''this has been tested and verified on a foo camp chumby '''
 
'''this has been tested and verified on a foo camp chumby '''
  
 +
There's also an easter-egg method to open ssh on the Foo Camp chumbies. Your clues are: fibonacci code, and "Settings -> Info". Don't forget to create and add your [[Max Chumbroom]] pictures.
  
 
=Chumby via Serial=
 
=Chumby via Serial=

Revision as of 01:36, 6 September 2006

Finding your Chumby

Browsing bonjour services from the command line

I downloaded the Bonjour Browser (under OSX) and run it.

[Screen shot of bonjour browser]


You can see the Chumby listed here in the Bonjour Browser, along with the IP Address.

Browsing

Hints: Browseatwork but no textentry unless you use the nifty little spot made for when you wanted to browse with your psp via the Wipeout hack... Or point it to a place where it has your bookmarks in html form

Just my two cents.

HTTPD/Built in Web Server

The Chumby advertises itself via Bonjour, Apple's system for advertising services.

You can use the Bonjour bookmark that supposedly exists in Safari, but I am unable to find that. So used the tools under Finding Your Chumby to get an IP address to use.

(Bonjour bookmarks in Safari can be enabled or disabled in the Safari preferences. From the Safari menu choose Preferences. Choose Bookmarks and check the Bonjour checkboxes.)

Use the IP address you got from above, for example: http://10.0.1.11

There are limited options on the web server right now, but you get a pretty picture and you can see wireless stats.

[Screen shot of output of Chumby's built in web server] The web page in the chumby as of 2006-08-28


SSH

The Chumby comes with sshd, but it is not running by default (can you imagine chumby's running all over, usually behind NAT, but sometimes exposed, with sshd enabled and a default password? It would be chaos I say as people rooted my alarm clock! Enough fear mongering!)

You need to run sshd.

  • The USB thumbdrive should be formatted with fat, vfat, or fat32 (this is the default for any thumbdrive you purchase I believe)
  • Put a file on a USB thumbdrive called "debugchumby"
  • It must be at the root level of the file system on the USB device
  • It must be marked executable
  • If it is a script (mostly likely), it should have the typical bang header:
#!/bin/sh
/sbin/sshd
  • This is not a feature you can count on - it may be removed or changed at any time.
  • You probably want to try connecting with the root account. Use the IP address from browsing Bonjour, or just look around your IP range until you find the machine (as far as I can see, Chumbies don't advertise ssh on Bonjour/Zeroconf, even when running sshd)
  • from linux you can do:
nmap ip-address

this has been tested and verified on a foo camp chumby

There's also an easter-egg method to open ssh on the Foo Camp chumbies. Your clues are: fibonacci code, and "Settings -> Info". Don't forget to create and add your Max Chumbroom pictures.

Chumby via Serial

There is a serial port somewhere. Getting to it involves a special cable and 'shims' and getting voltages right-if you attach a straight serial cable you will, apparantly, blow it up.

I believe you need a RS-32 to TTL voltage converter to use the serial port. Google it.

There is also a USB port