• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2
1  General Category / Success stories / Re: Seedbox on: February 18, 2010, 09:06:03 PM
awesome idea.  i often need to restart ushare (its a bit crappy) and dont necessarily feel like puttying in... but i am always on gchat

can you share the code / better instructions on how you did it?

as for other commands.. maybe messing with an external drive (unmount / mount)
i'd probably expand it so that i can control Direct Connect stuff with it too... although the hash problem i've been having makes it more useless...

anyways can i see what you have?
2  Linux Stuff / General Linux questions / Re: Lost Root Pass on: November 21, 2009, 08:50:55 AM
Well I had everything set up fine, and I created a second user account (so I could use it instead of root) and it kept bugging on me when I would set the password (authentication token manipulation error) and then It seemed I had it down, so I logged out, and tried logging into it, didnt work, so i logged back in root then tried to change the pass from the default, to something else (was curious if any password changing worked) so I did.  I even wrote it down on paper, and double checked to make sure I typed it exactly right. Now, none of the passwords work, for either account.

So, I wanted to do recovery mode, but I have no idea how to get into grub recovery mode, beacause I never see the screen.

I am using putty over the usb cable to connect to it.

Any suggestions? Thanks!

edit: i tried loading a linux live cd in via the usb port and an external dvd drive, but it kept saying no boot device whenever i tried "usbboot" from the marvell menu. ahh!

oddd.. i just lost control of my plug too.  it always says incorrect username/password.  however... i'm pretty sure i'm using the right password.  actually the only way i can see it getting messed up is from someone else changing the password?  i don't think this is very likely. 

anyways, i also lost my root password somehow.  i had it changed to something else a while ago, and it stopped working a week or two ago.

ill try fixing it this way or maybe will just reformat everythign... we will see.
3  General Category / General Discussion / Re: TTH calculation (tth inconsistency) on: October 20, 2009, 07:33:28 PM
anyone? could the CPU/ubuntu have a sort of problem calculating TTH or would this just be a problem in the implementation in the client softwares?
4  General Category / General Discussion / TTH calculation (tth inconsistency) on: October 13, 2009, 08:10:37 AM
okay so i've been having this problem with DC++ but it might span to other stuff int he plug.. is there any reason that the plugcomp would calculate TTH values differently than other systems?

in direct connect your files are hashed and when someone downloads a file the TTH values are checked at the end.  whenever people download stuff from the plug (almost/all the time) they get TTH inconsistencies.

i'm using one client (microdc2) but i have a friend who has tried some others and has similar issues with valknut...

Anyone know of anything that could be relevent for this?  I have a hunch it is with how the plug is calculating TTHes...
5  General Category / General Discussion / Re: Sheevaplug installer - version 1.0 on: September 22, 2009, 10:51:10 AM
i'm currently running everything alpha6

so is there any way i could just upgrade it without wiping everything out?  maybe a way to backup my programs and files or something?  i don't have to go through all of the same configuration stuff again...  right now i have eveyrthing booting from my SD card and have lots of stuff setup properly
6  General Category / Success stories / Direct Connect (DC++) Hub and Client on: September 10, 2009, 09:39:41 PM
I wanted to setup a network with a few friends so I wanted a DC hub.  I also wanted to always share my files on my external with my friends on that hub, so i also needed a DC client software.

The hub software was easy, the client software was much harder (most of them only use GUIs...)

I got it all working with opendchub and microdc2.

Full instructions on the wiki at http://plugcomputer.org/plugwiki/index.php/Direct_Connect

Hope that might be able to help someone else!  DC is a great way to share files with a small group  of people.
7  General Category / General Discussion / Re: dc++ server on: September 10, 2009, 09:37:27 PM
if anyone cares... figured it out using microdc2

full tutorial client and server at

http://plugcomputer.org/plugwiki/index.php/Direct_Connect
8  General Category / General Discussion / Re: Setting up sheevaplug with wlan on: August 18, 2009, 06:05:07 PM
while this may sound like a silly question.. why bother making it wifi?   i use wifi for all of my needs too, and the router is in my living room in a small cabinet... but yea the plugcomp fits fine back there and takes up practically no space.  its not like you need physical proximity to the device, and wired lan will be faster than wireless...

that said, you can always follow these other instructions to make it work with wifi
9  General Category / General Discussion / Re: dc++ server on: August 12, 2009, 07:02:37 PM
got the server setup with opendchub (http://plugcomputer.org/plugwiki/index.php/Direct_Connect_Server)

Having a bit of trouble finding a DC clinet software.  I am looking for DCTC but those files were hard to find.  the main website is at http://ac2i.homelinux.com/dctc/ .

Anyone know of anything newer that would work without a GUI?
10  General Category / Success stories / Plug as Streaming Video Server to Xbox 360 on: August 12, 2009, 05:53:05 PM
Updated it on the wiki

http://plugcomputer.org/plugwiki/index.php/Stream_to_Xbox360

Let me know if you have tried this and have improvements, and/or if you have suggestions.
11  General Category / Success stories / Re: Managing a USB hard drive on the Plug on: August 11, 2009, 09:02:44 PM
works great! my hd now mounts at startup!
12  General Category / Success stories / Re: Mount NTFS Formatted External Harddrive on: August 11, 2009, 07:12:36 PM
1)

i was just repeating the line here, i guess ill remove the reference to clear it up

2)

hmm ntfs-3g sounds better?  no real reason.  if they are functionally the same i guess i would use ntfs... some tutorial somewhere referenced -3g so i picked that

3)

i just couldnt mount the drive.  if i added it to /etc/fstab, or even just tried to mount it, i got an error.  the error was:

Code:
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory
fuse: device not found, try 'modprobe fuse' first

i've updated my first post to reflect these things
13  General Category / Success stories / Mount NTFS Formatted External Harddrive on: August 10, 2009, 09:34:01 PM
This was much more complicated than i had anticipated, but now that i have it all figured out it shouldn't be too hard for others.

First off, you can't use the kernal that comes wiht the plug.  If you try to mount a NTFS harddrive with that, you get the following error... dont try to fix it you cant (from what i undersatnd)
Code:
FATAL: Could not load /lib/modules/2.6.22.18/modules.dep: No such file or directory
fuse: device not found, try 'modprobe fuse' first

You need the new Alpha6 version.  You can find instructions on how to get it here: http://www.plugcomputer.org/plugwiki/index.php/SheevaPlug_Installer#How_to_install_alpha-6_.3F

Now you have Alpha-6, yay!

First install support for NTFS-3G (note that you don't need to create folders or anything.. apt-get works out of the box with the newer version)
Code:
sudo apt-get install ntfs-3g

once that is done, you can plug in your harddrive and check that it is connected using this command:
Code:
tail -f /var/log/messages

you should see something similar to the following
Code:
Aug 11 04:24:02 ubuntu kernel: usb 1-1: new high speed USB device using orion-ehci and address 2
Aug 11 04:24:02 ubuntu kernel: usb 1-1: configuration #1 chosen from 1 choice
Aug 11 04:24:02 ubuntu kernel: scsi0 : SCSI emulation for USB Mass Storage devices

Aug 11 04:24:07 ubuntu kernel: scsi 0:0:0:0: Direct-Access     MICRONET FANTOM DRIVE     2.10 PQ: 0 ANSI: 4
Aug 11 04:24:07 ubuntu kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Aug 11 04:24:07 ubuntu kernel: sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors: (1.00 TB/931 GiB)
Aug 11 04:24:07 ubuntu kernel: sd 0:0:0:0: [sda] Write Protect is off
[b]Aug 11 04:24:07 ubuntu kernel:  sda: sda1[/b]
Aug 11 04:24:07 ubuntu kernel: sd 0:0:0:0: [sda] Attached SCSI disk

as you can see from the message, the external harddrive is sda1

now create a place for the mount-
Code:
mkdir /mnt/external

and then mount the drive!
Code:
mount -t ntfs-3g /dev/sda1 /mnt/external/ -o force

if that works, add the following line to your /etc/fstab file:
Code:
/dev/sda1 /mnt/external/ ntfs-3g rw,defaults 0 0

actually this doesnt quite work: when i have this in the fstab file i dont see the drive and i see the following error when booting:
Code:
fs-3g: Failed to access volume '/dev/sda1': No such file or directory
Please type '/sbin/mount.ntfs-3g --help' for more information.

however as soon as i get a command prompt i can type
Code:
mount -a
and it mounts just fine.  odd..  btw ntfs provides the same error as ntfs-3g.  not a big deal i guess, but that means you have to type mount -a whenever you reboot

14  General Category / General Discussion / Re: Sheevaplug installer - alpha-6 release - Testers needed on: August 10, 2009, 09:17:48 PM
strange.  in order for me to boot off my SD card, i had to set my bootargs differently.  if i tried to use the aforementioned root=/dev/mmcblk0p1, the system would error and tell me that there are a few choices.

eventually, i had to use:
Code:
setenv bootargs_root root=b301

and now that i've rebooted, i'm not sure it actually worked.  (i wrote a file to the root directory and it's now showing up after rebooting -- i didn't saveenv but rather typed 'boot') anyone know how i can check to see if the FS is set for the SD card versus the internal flash?

thanks!

i found the exact same issue.  i've outlined it in more detail here: http://plugcomputer.org/plugforum/index.php?topic=591.0
15  General Category / Success stories / Boot from SDcard with Alpha 6 on: August 10, 2009, 09:17:10 PM
just wanted to post this here to point out how i got this working.

when stopping uboot i couldnt quite follow the procedure at http://plugcomputer.org/plugwiki/index.php/SD_Card_As_Root_File_System , it would say that it couldnt find the environment variable bootargs, however there was an argument which WAS promising:

Code:
printenv bootargs_root
bootargs_root=ubi.mtd=1 root=ubi0:rootfs rootfstype=ubifs

with this i tried
Code:
setenv bootargs_root root=/dev/mmcblk0p1
boot

unfortunately it did not work, and i got the error message:
Code:
FS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "mmcblk0p1=rw,relatime" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00            4096 mtdblock0 (driver?)
1f01          519168 mtdblock1 (driver?)
b300         7974912 mmcblk0 driver: mmcblk
  b301         7973824 mmcblk0p1

after messing around with it some, this does work:
Code:
setenv bootargs_root root=b301
boot

i tested it out and then did the setenv command followed by a saveenv command and it persisted through reboot.  here is a comparison of the file system before and after- it seems to be working properly. for the moment at least....

before:
Code:
df
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                   256904         0    256904   0% /lib/init/rw
varrun                  256904        36    256868   1% /var/run
varlock                 256904         0    256904   0% /var/lock
udev                    256904       112    256792   1% /dev
tmpfs                   256904         0    256904   0% /dev/shm
rootfs                  471428    184848    281744  40% /
mount
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
rootfs on / type rootfs (rw)

after:
Code:
df
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                   256904         0    256904   0% /lib/init/rw
varrun                  256904        36    256868   1% /var/run
varlock                 256904         0    256904   0% /var/lock
udev                    256904       112    256792   1% /dev
tmpfs                   256904         0    256904   0% /dev/shm
rootfs                 7848580    449400   7000492   7% /
mount
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
rootfs on / type rootfs (rw)

hope that is helpful if someone else is trying to do this... i updated the wiki with this information http://plugcomputer.org/plugwiki/index.php/SD_Card_As_Root_File_System#Write_u-boot_environment_to_flash_if_desired.
Pages: [1] 2