View Single Post
Old 06-17-2013, 12:49 PM   #6
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by knick View Post
Ah. I guess I've only been logging into the diags system. I'm not entirely sure how to SSH into the main system. Something with USBNetworking and searching for ";Debug" perhaps? Maybe someone can lead me in the right direction?

Anyway, when I noticed /etc/crontab was missing, I created it, and then created /etc/crontab/root with the line I wanted. The following at least confirms that was successful. But again, I guess I only did that in the diags system, so it didn't help me any.

Code:
login as: root
root@192.168.15.244's password:
#################################################
#  N O T I C E  *  N O T I C E  *  N O T I C E  #
#################################################
Rootfs is mounted read-only. Invoke mntroot rw to
switch back to a writable rootfs.
#################################################
[root@[192_168_15_244] root]# cat /etc/crontab/root
*/5 * * * * /mnt/us/weather/display-weather.sh
[root@[192_168_15_244] root]#
Take a big breath, hold it, exhale slowly, start over.

Kubrick it back to a known state.
Kubrick will take about 10 minutes to replace the firmware with factory stock (plus usbnetworking, jailbreak, etc).
(It will probably take longer to download and burn the CD/DVD than to re-flash the K4)

Install the KUAL launcher.
Install the helper button(s) that includes USBnetworking enable/disable.

BIG NOTE: have the USB cable disconnected when changing into and outof USB networking mode.

Once you have enabled USBnetworking mode, attached the cable, and killed off any host PC automation that event triggered . . . .

Putting up the connection (on a *nix machine) looks like this:
Code:
sudo ip address add 192.168.2.1 peer 192.168.2.2 dev usb0
sudo ip link set up dev usb0
telnet 192.168.2.2
All of which you can find in the documentation included with the USBnetworking add-in that Kubrick installed.

And yes, the "main" system image expects to use the IP addresses shown above, not the ones you have been using for the "diags" system.
knc1 is offline   Reply With Quote