Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

nslu2-linux · NSLU2-Linux (http://www.nslu2-linux.org)

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 9474
  • Category: Hardware
  • Founded: Jul 31, 2004
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 20096 - 20125 of 25151   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#20096 From: Marcel Nijenhof <nslu2@...>
Date: Sat Nov 3, 2007 4:28 pm
Subject: RE: nslu2 + big disks
marcelnijenhof
Send Email Send Email
 
On Fri, 2007-11-02 at 19:59 -0400, Olivier Drouin wrote:

> Sorry I didnt have any time to wait, so I bought a 250 go disk of the same
> model (Seagate baracude sata) and was able to make it work. I really like
> what this little thing can do so maybe I'll buy one for myself and provide
> you with the logs. But still, I have a theory, try this if it's not working
> for you:
>
> # mount -t ext3 /dev/sda1 /share/hdd/data
>
> Yes, I know, it's in the doc. This is not:
>
> # mount -t ext3 /dev/sda2 /share/hdd/conf
>
> That was a problem I encountered with the 250 gb. I think that was my problem
> with the 500 gb too. The  unsling script was complaining about the "data"
> partition not being clean but the "conf" partition was not even mounted,
> hence the error. The disk gets mounted at some point cause you see it in
> the web interface but it gets unmounted right after. I cant confirm but try
> it if it doesn’t work for you.

I am not sure what happens.

But maybe the fsck fails before mounting the data paratition.
After that the startup stops and the system hangs.

It's really a problem which we should solve sometime soon.

--
marceln

#20097 From: "diskcrasher" <diskcrasher@...>
Date: Sat Nov 3, 2007 4:32 pm
Subject: Troubles with Unison and/or rsync
diskcrasher
Send Email Send Email
 
I've got my NSLU2 up and running with Unslung 6.8 and have installed
the OpenSSH package.  I can successfully ssh into the device and have
ssh running on a port other than 22, which works fine. I want to
perform system backups over ssh to the NSLU2 and was hoping to be able
to use Unison for this, but every time I tried to specify a "to"
location for the NSLU2 it would come back saying "unison: No such file
or directory."  The location I specified in Unison was
"ssh://root@10.0.0.98:xx/root" where xx is the SSH port.  Also tried
"ssh://root@10.0.0.98:xx//root" with the same result.  I'm running the
Cygwin version of SSH on my PC.

So I gave up on Unison and decided to try rsync directly using ssh as
the tunnel.  But low and behold, I get the same stinking error message
"rsync: No such file or directory."

I read somewhere on the website that some people have problems using
the Cygwin version of SSH.  Is this the issue or am I doing something
wrong?

#20098 From: Marcel Nijenhof <nslu2@...>
Date: Sat Nov 3, 2007 6:06 pm
Subject: Re: RE: nslu2 + big disks
marcelnijenhof
Send Email Send Email
 
On Sat, 2007-11-03 at 17:28 +0100, Marcel Nijenhof wrote:
>
> It's really a problem which we should solve sometime soon.
>

I tested memory usage during a "fsck -fn /dev/sda1" on the
following filesystem:

# df -h /
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             287G   14G  259G   5% /
# df -i /
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda1            38158336  125663 38032673    1% /

This fsck took almost a half hour and caused a increase of swap
of 37 MB.

Does anyone know when and how the fsck is performed?

Is it done before or after adding the swap?

--
marceln

#20099 From: Hal Vaughan <hal@...>
Date: Sat Nov 3, 2007 6:39 pm
Subject: USB-IDE Drives
wanderinghermit
Send Email Send Email
 
I would think this would be on a FAQ, but I can't find the answer.  On
the NSLU2-Linux.org website I found a page telling me to come to here
for a list of USB-IDE drive enclosures that work with a SLUG.

I've searched for USB-IDE and most of the messages are about spinning
the drives down.  I tried searching for IDE, but it brought up any word
with those characters in it (like idea).  There's no file in the Files
section and most of the tables in the database section are lists of
users who are doing something specific.

Where's the list of enclosures for IDE drives that I can use with the
SLUG USB port?  I've read (on the site) of people using RAID6 with USB
drives on OpenSLUG.  I want to add a hub and create a RAID5 with 3
drives and a spare, so I want to find drive enclosures I can use.

Thanks for any help on this!

Hal

#20100 From: Rod Whitby <rod@...>
Date: Sat Nov 3, 2007 9:49 pm
Subject: Re: Troubles with Unison and/or rsync
rwhitby
Send Email Send Email
 
diskcrasher wrote:
> I've got my NSLU2 up and running with Unslung 6.8 and have installed
> the OpenSSH package.  I can successfully ssh into the device and have
> ssh running on a port other than 22, which works fine. I want to
> perform system backups over ssh to the NSLU2 and was hoping to be able
> to use Unison for this, but every time I tried to specify a "to"
> location for the NSLU2 it would come back saying "unison: No such file
> or directory."  The location I specified in Unison was
> "ssh://root@10.0.0.98:xx/root" where xx is the SSH port.  Also tried
> "ssh://root@10.0.0.98:xx//root" with the same result.  I'm running the
> Cygwin version of SSH on my PC.
>
> So I gave up on Unison and decided to try rsync directly using ssh as
> the tunnel.  But low and behold, I get the same stinking error message
> "rsync: No such file or directory."

Do you have rsync installed on the NSLU2 ?

-- Rod

#20101 From: "diskcrasher" <diskcrasher@...>
Date: Sun Nov 4, 2007 12:44 am
Subject: Re: Troubles with Unison and/or rsync
diskcrasher
Send Email Send Email
 
--- In nslu2-linux@yahoogroups.com, Rod Whitby <rod@...> wrote:
>
> diskcrasher wrote:
> > I've got my NSLU2 up and running with Unslung 6.8 and have installed
> > the OpenSSH package.  I can successfully ssh into the device and have
> > ssh running on a port other than 22, which works fine. I want to
> > perform system backups over ssh to the NSLU2 and was hoping to be able
> > to use Unison for this, but every time I tried to specify a "to"
> > location for the NSLU2 it would come back saying "unison: No such file
> > or directory."  The location I specified in Unison was
> > "ssh://root@...:xx/root" where xx is the SSH port.  Also tried
> > "ssh://root@...:xx//root" with the same result.  I'm running the
> > Cygwin version of SSH on my PC.
> >
> > So I gave up on Unison and decided to try rsync directly using ssh as
> > the tunnel.  But low and behold, I get the same stinking error message
> > "rsync: No such file or directory."
>
> Do you have rsync installed on the NSLU2 ?

No, I do not.  I was under the impression that I don't need to when
using SSH.  Am I incorrect?  (I'm new to rsync.)

#20102 From: Attila Csipa <plists@...>
Date: Sun Nov 4, 2007 1:24 am
Subject: Re: USB-IDE Drives
plists@...
Send Email Send Email
 
On Saturday 03 November 2007 19:39:05 Hal Vaughan wrote:
> SLUG USB port?  I've read (on the site) of people using RAID6 with USB
> drives on OpenSLUG.  I want to add a hub and create a RAID5 with 3
> drives and a spare, so I want to find drive enclosures I can use.

Before you embark on making RAID5 arrays with the slug, consider the speed you
will be getting - while technically possible to make it, the array speed
won't be stellar. If you're attaching 4 disks, RAID1+0 is also an option, but
in general, the slug's CPU and USB limitations make it less than ideal for
RAID NAS storage.

#20103 From: Rod Whitby <rod@...>
Date: Sun Nov 4, 2007 1:29 am
Subject: Re: Re: Troubles with Unison and/or rsync
rwhitby
Send Email Send Email
 
diskcrasher wrote:
> --- In nslu2-linux@yahoogroups.com, Rod Whitby <rod@...> wrote:
>> Do you have rsync installed on the NSLU2 ?
>
> No, I do not.  I was under the impression that I don't need to when
> using SSH.  Am I incorrect?  (I'm new to rsync.)

SSH is just the transport mechanism.  You need rsync at both ends to
actually perform the file transfer.

-- Rod

#20104 From: Hal Vaughan <hal@...>
Date: Sun Nov 4, 2007 1:44 am
Subject: Re: USB-IDE Drives
wanderinghermit
Send Email Send Email
 
On Saturday 03 November 2007, Attila Csipa wrote:
> On Saturday 03 November 2007 19:39:05 Hal Vaughan wrote:
> > SLUG USB port?  I've read (on the site) of people using RAID6 with
> > USB drives on OpenSLUG.  I want to add a hub and create a RAID5
> > with 3 drives and a spare, so I want to find drive enclosures I can
> > use.
>
> Before you embark on making RAID5 arrays with the slug, consider the
> speed you will be getting - while technically possible to make it,
> the array speed won't be stellar. If you're attaching 4 disks,
> RAID1+0 is also an option, but in general, the slug's CPU and USB
> limitations make it less than ideal for RAID NAS storage.

One reason I liked the idea of RAID5 is because I could lose one drive,
still have a spare, and even lose that one while waiting for the new
ones to come in and I'd be okay (I'd shut it down, though, once it got
down to 2 working drives).

I wasn't aware that there were any speed issues with RAID5, so thanks
for the heads up.

If I set up A&B as RAID1, then C&D as RAID1, then created a RAID1 on top
of that, would there still be speed issues?  I could lose one out of 4
drives, or possibly 2 (if it were the right 2) and I'd be okay.  Not as
much storage as RAID1 and RAID0, but it's 250GB drives, so 500GB is as
much as I'll need for a while.

Since I can't find the list of USB enclosures that work with the SLUG
(preferably OpenSLUG, since I know RAID has worked with it and, from
what I've read, more USB hubs work with it), what are the chances of
any particular enclosure working?

(I haven't checked on hubs yet, either.  I was hoping, for fun, I could
use the Tardis 4 port hub from Think Geek.)

Hal

#20105 From: Brian Wood <bwood@...>
Date: Sun Nov 4, 2007 2:04 am
Subject: Re: USB-IDE Drives
beww307
Send Email Send Email
 
Hal Vaughan wrote:
>
>
> On Saturday 03 November 2007, Attila Csipa wrote:
>> On Saturday 03 November 2007 19:39:05 Hal Vaughan wrote:
>> > SLUG USB port? I've read (on the site) of people using RAID6 with
>> > USB drives on OpenSLUG. I want to add a hub and create a RAID5
>> > with 3 drives and a spare, so I want to find drive enclosures I can
>> > use.
>>
>> Before you embark on making RAID5 arrays with the slug, consider the
>> speed you will be getting - while technically possible to make it,
>> the array speed won't be stellar. If you're attaching 4 disks,
>> RAID1+0 is also an option, but in general, the slug's CPU and USB
>> limitations make it less than ideal for RAID NAS storage.
>
> One reason I liked the idea of RAID5 is because I could lose one drive,
> still have a spare, and even lose that one while waiting for the new
> ones to come in and I'd be okay (I'd shut it down, though, once it got
> down to 2 working drives).
>
> I wasn't aware that there were any speed issues with RAID5, so thanks
> for the heads up.

There is a CPU overhead issue with software RAID5, but it's pretty moot
with modern CPUs. Even the 250Mhz. MIPS in the slug can handle that
pretty well.

The real problem with the SLUG is the slow USB interface, that would
kill you in a speed-sensitive application.

If you're doing something where speed is unimportant, than the slug
solution can save you some $$$.

beww

#20106 From: "diskcrasher" <diskcrasher@...>
Date: Sun Nov 4, 2007 2:28 am
Subject: Re: Troubles with Unison and/or rsync
diskcrasher
Send Email Send Email
 
--- In nslu2-linux@yahoogroups.com, Rod Whitby <rod@...> wrote:
>
> diskcrasher wrote:
> > --- In nslu2-linux@yahoogroups.com, Rod Whitby <rod@> wrote:
> >> Do you have rsync installed on the NSLU2 ?
> >
> > No, I do not.  I was under the impression that I don't need to when
> > using SSH.  Am I incorrect?  (I'm new to rsync.)
>
> SSH is just the transport mechanism.  You need rsync at both ends to
> actually perform the file transfer.

Thanks!  It appears to be working now, although I've seen a couple
quirks (files/folders magically vanishing after being sent?)  I'll
need to play with it more.

Unison still giving same error message though.

#20107 From: Hal Vaughan <hal@...>
Date: Sun Nov 4, 2007 2:33 am
Subject: Re: USB-IDE Drives
wanderinghermit
Send Email Send Email
 
On Saturday 03 November 2007, Brian Wood wrote:
> Hal Vaughan wrote:
> > On Saturday 03 November 2007, Attila Csipa wrote:
> >> On Saturday 03 November 2007 19:39:05 Hal Vaughan wrote:
> >> > SLUG USB port? I've read (on the site) of people using RAID6
> >> > with USB drives on OpenSLUG. I want to add a hub and create a
> >> > RAID5 with 3 drives and a spare, so I want to find drive
> >> > enclosures I can use.
> >>
> >> Before you embark on making RAID5 arrays with the slug, consider
> >> the speed you will be getting - while technically possible to make
> >> it, the array speed won't be stellar. If you're attaching 4 disks,
> >> RAID1+0 is also an option, but in general, the slug's CPU and USB
> >> limitations make it less than ideal for RAID NAS storage.
> >
> > One reason I liked the idea of RAID5 is because I could lose one
> > drive, still have a spare, and even lose that one while waiting for
> > the new ones to come in and I'd be okay (I'd shut it down, though,
> > once it got down to 2 working drives).
> >
> > I wasn't aware that there were any speed issues with RAID5, so
> > thanks for the heads up.
>
> There is a CPU overhead issue with software RAID5, but it's pretty
> moot with modern CPUs. Even the 250Mhz. MIPS in the slug can handle
> that pretty well.
>
> The real problem with the SLUG is the slow USB interface, that would
> kill you in a speed-sensitive application.
>
> If you're doing something where speed is unimportant, than the slug
> solution can save you some $$$.

I was thinking of using it as a file server, mainly for my ripped CDs.
I figure if people can run Slimserver on their SLUG and that works,
then it should work if Slimserver is running on another computer.
Basically, I want my music files and some others available across what
will eventually be 2 networks.

Hal

#20108 From: "Brendan Reid" <brenreid@...>
Date: Sun Nov 4, 2007 3:20 am
Subject: Re: Re: Troubles with Unison and/or rsync
brenreid@...
Send Email Send Email
 


On 04/11/2007, diskcrasher <diskcrasher@...> wrote:

>Thanks! It appears to be working now




then maybe you are ready to look into rsnapshot which uses rsync to maintain time snapshots of harddrives on your network (eg 4 snapshots from last day, 1 snapshot for each of last 7 days, 1 snapshot per each of the last 4 weeks, 1 snapshot per each of the last x months)

it uses symlinks heavily so unless files change their is no big storage overhead in the multiple snapshots

i use the slug to make copies of the network hd's in this way

takes a bit of setting up... start small check working as you want for a few days...make sure you exclude temp/cache type files when backing up /home

don't know unison but maybe this would work for you...

bren



 



 



#20109 From: Brian Wood <bwood@...>
Date: Sun Nov 4, 2007 10:28 am
Subject: Re: USB-IDE Drives
beww307
Send Email Send Email
 
Hal Vaughan wrote:

>
> I was thinking of using it as a file server, mainly for my ripped CDs.
> I figure if people can run Slimserver on their SLUG and that works,
> then it should work if Slimserver is running on another computer.
> Basically, I want my music files and some others available across what
> will eventually be 2 networks.

It can do music pretty well, I've used one as a DAAP server with no
problems, but you can get into trouble with video.

beww

#20110 From: Attila Csipa <plists@...>
Date: Sun Nov 4, 2007 1:37 pm
Subject: Re: USB-IDE Drives
plists@...
Send Email Send Email
 
On Sunday 04 November 2007 03:04:41 Brian Wood wrote:
> There is a CPU overhead issue with software RAID5, but it's pretty moot
> with modern CPUs. Even the 250Mhz. MIPS in the slug can handle that
> pretty well.

The OP did not say whether his slug was a 266MHz ARM CPU or not, but that's
not the point, I tried a RAID5 once on it it was really slow (as in <3MB/s
versus the 6-7 I was getting normally). Maybe it was just a local config
error, but it did seem CPU bound just as well as USB bound.

> The real problem with the SLUG is the slow USB interface, that would
> kill you in a speed-sensitive application.

That's why RAID1+0 is alternative for four disks, it's faster and not all that
much more error prone. Also, with 4 hard drives, it's really a big pile of
cables, enclosures, power adapters, etc, so you have to plug/unplug things
really carefully not to mess up your array. So it's a cheap solution, yes,
but in no way elegant or really that reliable.

#20111 From: Hal Vaughan <hal@...>
Date: Sun Nov 4, 2007 3:47 pm
Subject: Re: USB-IDE Drives
wanderinghermit
Send Email Send Email
 
On Sunday 04 November 2007, Attila Csipa wrote:
> On Sunday 04 November 2007 03:04:41 Brian Wood wrote:
> > There is a CPU overhead issue with software RAID5, but it's pretty
> > moot with modern CPUs. Even the 250Mhz. MIPS in the slug can handle
> > that pretty well.
>
> The OP did not say whether his slug was a 266MHz ARM CPU or not, but
> that's not the point, I tried a RAID5 once on it it was really slow
> (as in <3MB/s versus the 6-7 I was getting normally). Maybe it was
> just a local config error, but it did seem CPU bound just as well as
> USB bound.

I just bought it and haven't pulled it out of the box yet.  Can I tell
that by the serial number or model info?

> > The real problem with the SLUG is the slow USB interface, that
> > would kill you in a speed-sensitive application.
>
> That's why RAID1+0 is alternative for four disks, it's faster and not
> all that much more error prone. Also, with 4 hard drives, it's really
> a big pile of cables, enclosures, power adapters, etc, so you have to
> plug/unplug things really carefully not to mess up your array. So
> it's a cheap solution, yes, but in no way elegant or really that
> reliable.

I can go with 1+0 and use that instead.


I notice that nobody has mentioned anything about the list I asked
about -- a list of drive enclosures that work.  I need to order my
drive enclosures from Newegg, but I'm stuck on that until I know which
ones I can use.  Do most work with SlugOS or do I need to go for
certain ones and avoid others?  The list the website talked about does
not seem to appear anywhere in the files or db section of this group.

And here's a related question I came up with after reading about the
hardware mods people have used.  Am I better off using a hub or adding
the extra USB ports to my SLUG and using them?  For 4 drives I'd need 3
ports, but the info I saw only showed 2 new ports.

Hal

#20112 From: "crombeenhans" <muppets4@...>
Date: Sun Nov 4, 2007 6:44 pm
Subject: Re: USB-IDE Drives
crombeenhans
Send Email Send Email
 
--- In nslu2-linux@yahoogroups.com, Hal Vaughan <hal@...> wrote:

> I just bought it and haven't pulled it out of the box yet.  Can I
tell
> that by the serial number or model info?

If it is brand new, it's likely to be a 266 model. If its not, well
there is a guide somewhere overhere that lets you create one fairly
easy.

#20113 From: Rod Whitby <rod@...>
Date: Sun Nov 4, 2007 8:58 pm
Subject: Re: USB-IDE Drives
rwhitby
Send Email Send Email
 
Hal Vaughan wrote:
> I notice that nobody has mentioned anything about the list I asked
> about -- a list of drive enclosures that work.  I need to order my
> drive enclosures from Newegg, but I'm stuck on that until I know which
> ones I can use.  Do most work with SlugOS or do I need to go for
> certain ones and avoid others?  The list the website talked about does
> not seem to appear anywhere in the files or db section of this group.

We haven't heard of an enclosure that works on a desktop linux machine
but doesn't work on SlugOS.

The database of devices known to work with the vendor firmware or
Unslung is at:

http://tech.groups.yahoo.com/group/nslu2-general/database?method=reportRows&tbl=\
1

> And here's a related question I came up with after reading about the
> hardware mods people have used.  Am I better off using a hub or adding
> the extra USB ports to my SLUG and using them?  For 4 drives I'd need 3
> ports, but the info I saw only showed 2 new ports.

Unless you really want to hack into the hardware, just use a hub.

-- Rod

#20114 From: Hal Vaughan <hal@...>
Date: Sun Nov 4, 2007 9:46 pm
Subject: Re: USB-IDE Drives
wanderinghermit
Send Email Send Email
 
On Sunday 04 November 2007, Rod Whitby wrote:
> Hal Vaughan wrote:
> > I notice that nobody has mentioned anything about the list I asked
> > about -- a list of drive enclosures that work.  I need to order my
> > drive enclosures from Newegg, but I'm stuck on that until I know
> > which ones I can use.  Do most work with SlugOS or do I need to go
> > for certain ones and avoid others?  The list the website talked
> > about does not seem to appear anywhere in the files or db section
> > of this group.
>
> We haven't heard of an enclosure that works on a desktop linux
> machine but doesn't work on SlugOS.
>
> The database of devices known to work with the vendor firmware or
> Unslung is at:
>
> http://tech.groups.yahoo.com/group/nslu2-general/database?method=repo
>rtRows&tbl=1

Okay, I've done what I need to do to verify my email address and that's
all taken care of.  When I try the link above, I get this error from
Yahoo:

(!)Sorry. The table you requested does not exist in the Database

I notice the tables available are from 2 to 11, but when I pass my mouse
over each table, not one of them is table 1.

Either I am still new and not approved for some kind of access, or
there's a problem with the table not being accessible.

I'll go ahead with my order of enclosures from Newegg, though, since it
seems I should expect them all to work.  I'd think most would have the
same chip, anyway, like all the ethernet cards that use the tulip chip
and driver.

Hal

#20115 From: Hal Vaughan <hal@...>
Date: Sun Nov 4, 2007 9:27 pm
Subject: Re: USB-IDE Drives
wanderinghermit
Send Email Send Email
 
On Sunday 04 November 2007, Rod Whitby wrote:
> Hal Vaughan wrote:
> > I notice that nobody has mentioned anything about the list I asked
> > about -- a list of drive enclosures that work.  I need to order my
> > drive enclosures from Newegg, but I'm stuck on that until I know
> > which ones I can use.  Do most work with SlugOS or do I need to go
> > for certain ones and avoid others?  The list the website talked
> > about does not seem to appear anywhere in the files or db section
> > of this group.
>
> We haven't heard of an enclosure that works on a desktop linux
> machine but doesn't work on SlugOS.
>
> The database of devices known to work with the vendor firmware or
> Unslung is at:
>
> http://tech.groups.yahoo.com/group/nslu2-general/database?method=repo
>rtRows&tbl=1

This could be why I haven't seen it.  Apparently I need web access and
when Yahoo asks for my email address to set it up, I keep getting the
same page over and over again (I'm doing this in KDE in Konqueror with
Javascript enabled).  I'll have to figure out why this isn't working.

There are times I just hate Yahoo...

I'll get it working so I can access it.

Hal

#20116 From: "diskcrasher" <diskcrasher@...>
Date: Mon Nov 5, 2007 12:30 am
Subject: Re: Troubles with Unison and/or rsync
diskcrasher
Send Email Send Email
 
--- In nslu2-linux@yahoogroups.com, "Brendan Reid" <brenreid@...> wrote:
>
> On 04/11/2007, diskcrasher <diskcrasher@...> wrote:
> >
> >   >Thanks! It appears to be working now
> >
>
>
>
> then maybe you are ready to look into rsnapshot which uses rsync to
maintain
> time snapshots of harddrives on your network (eg 4 snapshots from
last day,
> 1 snapshot for each of last 7 days, 1 snapshot per each of the last
4 weeks,
> 1 snapshot per each of the last x months)
>
> it uses symlinks heavily so unless files change their is no big storage
> overhead in the multiple snapshots
>
> i use the slug to make copies of the network hd's in this way
>
> takes a bit of setting up... start small check working as you want
for a few
> days...make sure you exclude temp/cache type files when backing up /home
>
> don't know unison but maybe this would work for you...

I'll take a look at rsnapshot.  I finally got unison working (same
mistake as with rsync, doh) but it has a problem backing up in-use
files--it not only skips the file but skips all other files in that
directory tree!  Not good.

How does rsync handle in-use files on Windows?

#20117 From: "C N" <t4chacko@...>
Date: Mon Nov 5, 2007 4:14 am
Subject: Re: Re: Scponly packet not working under Openslug 3.10
ccndomains
Send Email Send Email
 
Hi,

I have a similar problem, and am using this 6-week old thread as a
background.  On my slugosbe, I am running openssh-sshd - 4.0p1-r10
(ipkg installed).  Everything appears to work fine, login is ok.  I
have been using it for many months now.  But everytime I do an ssh
login I get 3 error lines in the messages log:

Nov  4 14:53:32 sshd[19197]: Accepted publickey for xxx from
192.168.p.q port 3080 ssh2
Nov  4 14:53:32 sshd[19197]: subsystem request for sftp
Nov  4 14:53:32 sshd[19201]: error: setlogin failed: Function not implemented
Nov  4 14:53:32 sshd[19202]: error: setlogin failed: Function not implemented
Nov  4 14:53:32 sshd[19203]: error: setlogin failed: Function not implemented

It would be nice if I can do some fix to remove these errors from
happening in the log, since my system runs with practically no other
errors on a routine basis.  Any suggestions?

Cordially, Chacko

On Aug 25, 2007 1:10 PM, Marcel Nijenhof <nslu2@...> wrote:
> On Fri, 2007-08-24 at 00:16 +0200, Marcel Nijenhof wrote:
>
> > In that case we should try to port the mkscproot script for openslug
> > as well.
>
> I have changed the "mkscproot" script so that it will give a warning
> if the firmware or ssh type isn't supported.
>
> I made a test setup for the combination of openslug and dropbear which
> seems to work.
>
> At this moment i consider "unslung and openssh" as working and "openslug
> and dropbear" as testing. All other configurations are not tested at
> all.
>
>
> --
> marceln
>
>
>
>
> Yahoo! Groups Links
>
>
>
>

#20118 From: "Nguyen Manh Thang" <nmtdhbk@...>
Date: Mon Nov 5, 2007 2:47 am
Subject: How to deploy it to hardware device, I use IXP 425 processor base on Linux!
nmtdhbk
Send Email Send Email
 
I have to develop an security device with embedded system with linux
and IXP425 processor, for secure communication can I use openssl? I'm
a beginner in linux and Embedded system but I will try to do it. Can
you tell me what I have to do? I want to know what I have study? How
to develop and deploy do device with embedded system with linux. I
read somethings about tinyOS, Fedora. I have this steps but i'm not clear

(1) Installing Linux to host PC
(2) Installing Embedded Linux GUI Toolkit, development kit to host PC
(3) Compiling bootloader, kernel image, filesystem for target board
(4) Porting images compiled at the preceding step to target board
(5) Porting Embedded Linux GUI Toolkit to target board
(6) Developing software for target board in host PC
(7) Porting the developed software to target board

#20119 From: Attila Csipa <plists@...>
Date: Mon Nov 5, 2007 10:05 am
Subject: Re: USB-IDE Drives
plists@...
Send Email Send Email
 
On Sunday 04 November 2007 02:44:36 Hal Vaughan wrote:
> If I set up A&B as RAID1, then C&D as RAID1, then created a RAID1 on top
> of that, would there still be speed issues?  I could lose one out of 4
> drives, or possibly 2 (if it were the right 2) and I'd be okay.  Not as

One of the above RAID1-s should be a RAID0, right ? The idea is two have a two
stripes which are mirrored. You have two options there, mirror the stripes or
stripe the mirrors (RAID1 over RAID0 = RAID10, or RAID0 over RAID1 = RAID0+1,
respectively). The first is a bit faster, the latter is a bit more secure
(66% chance of survival on second failure vs 33% in the first case). RAID5
should be significantly slower on write, and especially on array
reconstruction, with comparable or academically better read performance. I
use 0+1 regularly as I sometimes need to shuffle around disks and
reconstruction speed is important to me. The CPU load question is tricky. You
don't have to have a 1.0 load to say the CPU is the bottleneck. When you do
copying over RAID5, the CPU needs to take care about the USB transfer, the
network transfer, and the XOR operation. Even though you might be spending
only 50% of CPU power XOR-ing, that might be impeding the other two
operations lowering overall throughput, at least those are my personal
conclusions (same thing happens upon de-underclocking, I did not have a 1.0
load even with 133MHz, but with 266MHz copying DOES get faster).

#20120 From: Marcel Nijenhof <nslu2@...>
Date: Mon Nov 5, 2007 11:19 am
Subject: Re: Re: Scponly packet not working under Openslug 3.10
marcelnijenhof
Send Email Send Email
 
On Sun, 2007-11-04 at 20:14 -0800, C N wrote:
>
> > At this moment i consider "unslung and openssh" as working and
> >  "openslug and dropbear" as testing. All other configurations are
> >  not tested at
>
> I have a similar problem, and am using this 6-week old thread as a
> background.  On my slugosbe, I am running openssh-sshd - 4.0p1-r10
> (ipkg installed).  Everything appears to work fine, login is ok.  I
> have been using it for many months now.  But everytime I do an ssh
> login I get 3 error lines in the messages log:
>
> Nov  4 14:53:32 sshd[19197]: Accepted publickey for xxx from
> 192.168.p.q port 3080 ssh2
> Nov  4 14:53:32 sshd[19197]: subsystem request for sftp
> Nov  4 14:53:32 sshd[19201]: error: setlogin failed: Function not implemented

The script "mkscproot" has a list of files that it copies to the
chrooted environment. But on openslug this list is based on dropbear
ssh.
So probably it doesn't copy all the files for openssh.

I will try to figure out how it works for openssh as well.

--
marceln

#20121 From: "Chacko N" <news4cn@...>
Date: Mon Nov 5, 2007 3:29 pm
Subject: Re: Re: Scponly packet not working under Openslug 3.10
cnygrp
Send Email Send Email
 
Marcel,

If I understand right, you are implying that the current mkscproot in my system which got installed thru some ipkg needs updating for slugosb.  I searched my whole system for the above script and did not find it there.  I have not done anything knowing to setup chroot for any ssh or related functions.

Cordially, Chacko


On 11/5/07, Marcel Nijenhof <nslu2@...> wrote:

On Sun, 2007-11-04 at 20:14 -0800, C N wrote:
>
> > At this moment i consider "unslung and openssh" as working and
> > "openslug and dropbear" as testing. All other configurations are
> > not tested at
>
> I have a similar problem, and am using this 6-week old thread as a
> background. On my slugosbe, I am running openssh-sshd - 4.0p1-r10
> (ipkg installed). Everything appears to work fine, login is ok. I
> have been using it for many months now. But everytime I do an ssh
> login I get 3 error lines in the messages log:
>
> Nov 4 14:53:32 sshd[19197]: Accepted publickey for xxx from
> 192.168.p.q port 3080 ssh2
> Nov 4 14:53:32 sshd[19197]: subsystem request for sftp
> Nov 4 14:53:32 sshd[19201]: error: setlogin failed: Function not implemented

The script "mkscproot" has a list of files that it copies to the
chrooted environment. But on openslug this list is based on dropbear
ssh.
So probably it doesn't copy all the files for openssh.

I will try to figure out how it works for openssh as well.

--
marceln



#20122 From: Marcel Nijenhof <nslu2@...>
Date: Mon Nov 5, 2007 7:12 pm
Subject: Re: Re: Scponly packet not working under Openslug 3.10
marcelnijenhof
Send Email Send Email
 
On Mon, 2007-11-05 at 07:29 -0800, Chacko N wrote:

>
> If I understand right, you are implying that the current mkscproot in
> my system which got installed thru some ipkg needs updating for
> slugosb.  I searched my whole system for the above script and did not
> find it there.  I have not done anything knowing to setup chroot for
> any ssh or related functions.

The optware scponly package contains that script. You where reacting
on a old thread of "scponly" so i thought that your messages where
about a scponly chrooted setup.

Otherwise your problem isn't related to this thread and my answer is
of course irrelevant.

--
marceln

#20123 From: "Chacko N" <news4cn@...>
Date: Mon Nov 5, 2007 9:01 pm
Subject: Re: Re: Scponly packet not working under Openslug 3.10
cnygrp
Send Email Send Email
 
Thanks, Marcel.

I assume others have seen this problem before on slugosbe and hopefully somebody will respond with a suggestion.

Cordially, Chacko

On 11/5/07, Marcel Nijenhof <nslu2@...> wrote:

On Mon, 2007-11-05 at 07:29 -0800, Chacko N wrote:

>
> If I understand right, you are implying that the current mkscproot in
> my system which got installed thru some ipkg needs updating for
> slugosb. I searched my whole system for the above script and did not
> find it there. I have not done anything knowing to setup chroot for
> any ssh or related functions.

The optware scponly package contains that script. You where reacting
on a old thread of "scponly" so i thought that your messages where
about a scponly chrooted setup.

Otherwise your problem isn't related to this thread and my answer is
of course irrelevant.

--
marceln




--

Cordially, Chacko

#20124 From: duy_pham <duy_pham1985@...>
Date: Tue Nov 6, 2007 8:24 am
Subject: Re: Logitech Quickcam 3/4000 USB WebCam on NSLU2 w/Unslung linux -- setup notes
duy_pham1985@...
Send Email Send Email
 
I have follow your instruction but the problem is I can´t access to the
nslu2-linux yahoo!groups pages. I think because the gateway from my country
has blocked Yahoo!groups. I can´t download the driver and utilities to make
the process. If anyone already downloaded this driver, please email me at
duy_pham1985@....

Thanks alot

Jack Kozik wrote:
>
>
> I needed to setup a webcam for my weather website. I choose to use an
> NSLU2 connected to a Logitech Quickcam 3000/4000, where the NSLU was
> loaded with the unslung linux software distribution. My weather software
> wants to get a webcam jpg image from an http-cgi URL.
>
> This document captures the steps I followed to get this to work,
> initially for my records, but also, on the chance that it could benefit
> others. Most of the work was involving setting up of the Linux on the
> nslu, thus I chose this forum for my writeup.
>
> Background:
>
> - I want to put the weather webcam in a window with a the best view of
> the weather.
> - None of my home PCs are close enough to practically run a USB cable
> - LAN connectivity mostly ok. My house has several rooms wired w/CAT5
> - I have had two Wifi webcams.
>    - They both failed after a couple of months of use (they run hot!)
>    - I have tried a couple of webcams
>      that have "web servers" running in them
>    - They want to have their own ActiveX controls running
>      on in a web browser
>    - Don't easily work with common webcam software
> - I have bought and returned a few different webcam solutions over the
> last 2 years.
> - I have experience with QC3000/QC4000 (basement sump pump monitors.)
> Very relabile. Image quality good enough.
> - I'll drop all of this if I can find a good solution under $300. The
> $600+ solutions are fantasic; just too expensive for me.
>
>
>
> Summary of steps I followed
>
> - Starting with a stock NSLU2
> - Load the Unslung firmware onto the NSLU2
> - Unsling the NSLU2, that is
>    - Run a procedure that copies the root file system of the NSLU2
>    - To an external thumb drive
>    - The NSLU2 still behaves like a stock NSLU2, but it now has room to
> download linux pakages
>
> - Install ssh and get PC<->NSLU file transfer working (WinSCP)
> - Install NTP client (NSLU2 clock drifts really bad, don't know why)
> - Copy the webcam drivers/utilities from yahoo nslu2-linux group
>    to NSLU2
> - Install image libraries
> - Create a couple scripts: quickcam.cgi and rc.local
> - Plug in the Quickcam into the USB socket not used
>    by the thumb drive
> - Verify that http://mynslu/quickcam.cgi <http://mynslu/quickcam.cgi>
> returns a webcam image
>
> It's actually simpler than it sounds and the existing references and
> HOWTOs were a big help. I was able to avoid doing kernal builds and
> retain the Unslung environment (my comfort zone).
>
>
>
> References:
>
> Unslung Firmware README file (use wordpad to read)
> - http://download.berlios.de/unslung/Unslung-6.8-beta-README.txt
> <http://download.berlios.de/unslung/Unslung-6.8-beta-README.txt>
>
> NSLU Wiki
> - http://www.nslu2-linux.org/wiki/HowTo/AddUsbWebcam
> <http://www.nslu2-linux.org/wiki/HowTo/AddUsbWebcam>
> - http://www.nslu2-linux.org/wiki/HowTo/UseALogitechQuickcamMessenger
> <http://www.nslu2-linux.org/wiki/HowTo/UseALogitechQuickcamMessenger>
>
> Yahoo NSLU2 Group
> - http://tech.groups.yahoo.com/group/nslu2-linux/
> <http://tech.groups.yahoo.com/group/nslu2-linux/>
>
> NSLU Message Forum
> - www.nslu2-info.de <http://www.nslu2-info.de>   (In German)
>
> Unslung addon packages (use the ipkg command)
> - http://www.nslu2-linux.org/wiki/Unslung/Packages
> <http://www.nslu2-linux.org/wiki/Unslung/Packages>
>
> Write Unslung scripts that execute on reboot.
> - http://www.nslu2-linux.org/wiki/Unslung/DiversionScripts
> <http://www.nslu2-linux.org/wiki/Unslung/DiversionScripts>
>
> Webcam PWC WIKI
> - http://www.lavrsen.dk/twiki/bin/view/PWC/FrequentlyAskedQuestionsPWC
> <http://www.lavrsen.dk/twiki/bin/view/PWC/FrequentlyAskedQuestionsPWC>
>
> Linux WEB cam Howto
> - http://www.linux.com/howtos/Webcam-HOWTO/hardware.shtml
> <http://www.linux.com/howtos/Webcam-HOWTO/hardware.shtml>
>
> Phillips Web Cam (pwc) drivers for QC 3000/4000
> - http://www.saillard.org/linux/pwc/1G
> <http://www.saillard.org/linux/pwc/1G>
>
> NTP Client Howto
> -
> http://www.nslu2-linux.org/wiki/Optware/Ntpclient?from=Unslung.Ntpclient
> <http://www.nslu2-linux.org/wiki/Optware/Ntpclient?from=Unslung.Ntpclien\
> t>
>
> SSH support - Dropbear
> - http://www.nslu2-linux.org/wiki/HowTo/UseDropBearForRemoteAccess
> <http://www.nslu2-linux.org/wiki/HowTo/UseDropBearForRemoteAccess>
>
>
>
> With thanks to the experts on this message board.
>
> Respectfully submitted,
> JK
>
>
>
>
>
> * * DETAILED SETUP NOTES * *
>
> Load the Unslung firmware onto the NSLU2
>
> I used the Unslung 6.8 beta download located at
> - http://www.slug-firmware.net/u-dls.php
> <http://www.slug-firmware.net/u-dls.php>
>
> Unsling the NSLU2
>
> I followed the README. Lots of steps. Some steps I had to try more than
> once. Besure to test the back-out procedure and test that everything
> cycles sanely after a reboot. I probably rebooted 3 or 4 times through
> out the process... not bad, just part of the process.
>
>
>
> --------------------------
> Install ssh and get PC<->NSLU file transfer working (WinSCP)
>
> You want to get sshd running as soon as possible. The telnet access is
> not as convenient, and PC software like WinSCP make it really easy to
> copy files to/from the NSLU2. I ran the following two commands on the
> NSLU (over telnet):
>
> # ipkg update
> # ipkg install dropbear
>
> There's lot of fancy updating and tailoring you can do, but the default
> settings worked just fine for me. I use both putty and WinSCP to talk to
> the NSLU. From now on, I can get an NSLU linux prompt ("#" in the
> following text) by running putty.
>
>
>
> ------------------
> Install NTP client (typing commands into a putty window running on my
> PC)
>
> # ipkg install ntpclient
>
> Create the file diversion script
> file - /unslung/rc.rstimezone
> #!/bin/sh
> /usr/sbin/Set_TimeZone >/dev/null
> if [ -x /opt/bin/ntpclient ]; then
>    /opt/bin/ntpclient -h pool.ntp.org -s >/dev/null
>    /usr/sbin/hwclock --systohc >/dev/null
> fi
> return
>
> Update the Crontab file - /etc/crontab
> 0 0 * * * root /usr/sbin/WatchDog &>/dev/null
> #1 * * * * root /usr/sbin/hwclock -s &>/dev/null
> 11 * * * * root /opt/bin/ntpclient -h pool.ntp.org -s &>/dev/null
> 12 * * * * root /usr/sbin/hwclock --systohc &>/dev/null
>
>
>
> ----------------------
> Copy the webcam drivers/utilities from yahoo nslu2-linux group to NSLU2
> -
> http://tech.groups.yahoo.com/group/nslu2-linux/files/Custom%20Executable\
> s/
> <http://tech.groups.yahoo.com/group/nslu2-linux/files/Custom%20Executabl\
> es/>
>
> setpwc -> /opt/bin
> vidcat -> /opt/bin
> pwc.o -> /opt/lib/modules
> videodev.o -> /opt/lib/modules
>
> I used WinSCP to copy the files from my PC to the NSLU. I set setpwc and
> vidcat to executable.
>
> Make the video device and set permissions (copied from the HOWTO
> verbatium, thanks Geert)
>
> # mknod /dev/video0 c 81 0
> # mkdir /dev.state
> # mknod /dev.state/video0 c 81 0
> # chown admin.everyone /dev/video0
> # chown admin.everyone /dev.state/video0
> # chmod g+w /dev/video0
> # chmod g+w /dev.state/video0
>
> Install the drivers
> # cd /opt/lib/modules (mkdirs)
> # /sbin/insmod videodev.o
> # /sbin/insmod pwc.o
>
>
>
> ----------------------
> Install image libraries
>
> At the NSLU ssh/putty Linux prompt:
> # ipkg install libjpeg
> # ipkg install libpng
> # ln -s /opt/lib/libjpeg.so.62.0.0 /lib/libjpeg.so.62
> # ln -s /opt/lib/libpng.so.3.12.0 /lib/libpng.so.3
> # ln -s /opt/lib/libz.so.1.2.3 /lib/libz.so
> # /opt/bin/vidcat -m -d /dev/video0 -s 160x120 -p y -o
> /share/hdd/test.jpg
>
> at your PC verify the webcam image displays in windows explorer at the
> following network share:
>
> \\nslu2\ADMIN 2\share\hdd
>
> The command setpwc -x is useful for debugging. The above "ln" commands
> are an interesting compromise; I found this in the www.nslu2-info.de
> message board. I suppose there might be a better way of fixing library
> locations for the image packages, but this was easy, works, and helped
> me avoid having to learn more about the image package architectures.
>
>
>
> ---------------------
> Create a couple of scripts
>
> Create a diversion script that re-installs the video modules on reboot
> file - /share/flash/data/unslung/rc.local
> #!/bin/sh
> cd /opt/lib/modules
> /sbin/insmod videodev.o
> /sbin/insmod pwc.o
>
> Create a cgi shell script to return a jpg. Note this takes advantage of
> the NSLU's existing httpd.
> file - /home/httpd/html/quickcam.cgi
> #!/bin/sh
> /opt/bin/qc quickcam.jpg > /dev/null
> echo -e "Content-type: image/jpeg\r"
> echo ""
> cat quickcam.jpg
>
> Create a script that shortens the vidcat command line (helpful for
> debugging)
> file - /opt/bin/qc
> #! /bin/sh
> /opt/bin/vidcat -m -d /dev/video0 -s 160x120 -p y -o $1
>
>
> chmod 755 /opt/bin/qc
>    /home/httpd/html/quickcam.cgi
>    /share/flash/data/unslung/rc.local
>
> -------------------------
> Verify that http://mynslu/quickcam.cgi <http://mynslu/quickcam.cgi>
> returns a webcam image in your PC's browser. I have tested this cgi
> within Image Salsa. It should also be verified inside of wdisplay's
> webcam infrastructure.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

--
View this message in context:
http://www.nabble.com/Logitech-Quickcam-3-4000-USB-WebCam-on-NSLU2-w-Unslung-lin\
ux----setup-notes-tf2727147.html#a13602419
Sent from the Nslu2 - Linux mailing list archive at Nabble.com.

#20125 From: "Jacques" <jacques_brunswick@...>
Date: Tue Nov 6, 2007 5:16 pm
Subject: Re: Re: Scponly packet not working under Openslug 3.10
jacquesbruns...
Send Email Send Email
 
Chacko,
 
You would probably want to install openssh-sftp, which is a separate
package. ipkg install openssh-sftp should do the trick.

-Jacques
----- Original Message -----
From: C N
Sent: Monday, November 05, 2007 5:14 AM
Subject: Re: [nslu2-linux] Re: Scponly packet not working under Openslug 3.10

Hi,

I have a similar problem, and am using this 6-week old thread as a
background. On my slugosbe, I am running openssh-sshd - 4.0p1-r10
(ipkg installed). Everything appears to work fine, login is ok. I
have been using it for many months now. But everytime I do an ssh
login I get 3 error lines in the messages log:

Nov 4 14:53:32 sshd[19197]: Accepted publickey for xxx from
192.168.p.q port 3080 ssh2
Nov 4 14:53:32 sshd[19197]: subsystem request for sftp
Nov 4 14:53:32 sshd[19201]: error: setlogin failed: Function not implemented
Nov 4 14:53:32 sshd[19202]: error: setlogin failed: Function not implemented
Nov 4 14:53:32 sshd[19203]: error: setlogin failed: Function not implemented

It would be nice if I can do some fix to remove these errors from
happening in the log, since my system runs with practically no other
errors on a routine basis. Any suggestions?

Cordially, Chacko

On Aug 25, 2007 1:10 PM, Marcel Nijenhof <nslu2@....nl> wrote:
> On Fri, 2007-08-24 at 00:16 +0200, Marcel Nijenhof wrote:
>
> > In that case we should try to port the mkscproot script for openslug
> > as well.
>
> I have changed the "mkscproot" script so that it will give a warning
> if the firmware or ssh type isn't supported.
>
> I made a test setup for the combination of openslug and dropbear which
> seems to work.
>
> At this moment i consider "unslung and openssh" as working and "openslug
> and dropbear" as testing. All other configurations are not tested at
> all.
>
>
> --
> marceln
>
>
>
>
> Yahoo! Groups Links
>
>
>
>


Messages 20096 - 20125 of 25151   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help