Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

nslu2-general

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 6047
  • Category: Hardware
  • Founded: Aug 18, 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 8697 - 8726 of 8996   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#8697 From: Anthony Takata <htwiz2002@...>
Date: Fri Aug 31, 2012 10:20 pm
Subject: Re: Pogoplug Pro can't login via ssh
htwiz2005
Send Email Send Email
 
Well, it seems that the login is OK, but the shell is either broken or not
found right. If you can SCP into it you might be able to edit the
aforementioned profile scripts perhaps.

On Fri, Aug 31, 2012 at 2:32 AM, prosaicmark <mark.jones@...> wrote:

> **
>
>
> I was in the process of installing Samba via Optware on my Pogoplug Pro
> when the power flickered forcing a reboot. Now I can't login.
>
> Possibly Pertinent items
> - I was at the prompt when this happened. To my knowledge there were no
> non-normal operations.
> - Bash installed with the various recommended bashrc and profiles
> operating.
> - Bash was the root's default shell. I highly suspect this might be were
> the problem lays.
> - Pogoplug works normally via it's other standard interfaces.
> - I have attempted to login via putty from windows and ssh from linux.
>
> Possibly solution - hard reset but I don't know if this will reset the
> default shell.
>
> ssh -v output
> user@Murgen:~$ ssh -v root@...
> OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: /etc/ssh/ssh_config line 19: Applying options for *
> debug1: Connecting to 172.16.1.35 [172.16.1.35] port 22.
> debug1: Connection established.
> debug1: identity file /home/croaker/.ssh/id_rsa type -1
> debug1: identity file /home/croaker/.ssh/id_rsa-cert type -1
> debug1: identity file /home/croaker/.ssh/id_dsa type -1
> debug1: identity file /home/croaker/.ssh/id_dsa-cert type -1
> debug1: identity file /home/croaker/.ssh/id_ecdsa type -1
> debug1: identity file /home/croaker/.ssh/id_ecdsa-cert type -1
> debug1: Remote protocol version 2.0, remote software version dropbear_0.52
> debug1: no match: dropbear_0.52
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug1: kex: server->client aes128-ctr hmac-md5 none
> debug1: kex: client->server aes128-ctr hmac-md5 none
> debug1: sending SSH2_MSG_KEXDH_INIT
> debug1: expecting SSH2_MSG_KEXDH_REPLY
> debug1: Server host key: RSA
> bf:ca:f6:8d:16:2e:87:50:ea:52:3e:ef:11:5c:c5:45
> debug1: Host '172.16.1.35' is known and matches the RSA host key.
> debug1: Found key in /home/user/.ssh/known_hosts:2
> debug1: ssh_rsa_verify: signature correct
> debug1: SSH2_MSG_NEWKEYS sent
> debug1: expecting SSH2_MSG_NEWKEYS
> debug1: SSH2_MSG_NEWKEYS received
> debug1: Roaming not allowed by server
> debug1: SSH2_MSG_SERVICE_REQUEST sent
> debug1: SSH2_MSG_SERVICE_ACCEPT received
> debug1: Authentications that can continue: publickey,password
> debug1: Next authentication method: publickey
> debug1: Trying private key: /home/croaker/.ssh/id_rsa
> debug1: Trying private key: /home/croaker/.ssh/id_dsa
> debug1: Trying private key: /home/croaker/.ssh/id_ecdsa
> debug1: Next authentication method: password
> root@...'s password:
> debug1: Authentication succeeded (password).
> Authenticated to 172.16.1.35 ([172.16.1.35]:22).
> debug1: channel 0: new [client-session]
> debug1: Entering interactive session.
> debug1: Sending environment.
> debug1: Sending env LANG = en_US.UTF-8
> debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
> debug1: channel 0: free: client-session, nchannels 1
> Connection to 172.16.1.35 closed.
> Transferred: sent 2152, received 1168 bytes, in 0.0 seconds
> Bytes per second: sent 173758.4, received 94307.5
> debug1: Exit status 1
> user@Murgen:~$
>
>
>


[Non-text portions of this message have been removed]

#8698 From: "stigslims" <stigslim@...>
Date: Sat Sep 1, 2012 6:39 pm
Subject: Re: Trouble with Transmission.
stigslims
Send Email Send Email
 
scratch that last comment i was off in the wrong direction completely. I figured
the xinetd file (within reason) just a couple of questions. What would i put in
the only from field, A specific ip or default one to allow access from any
remote machine?. Do i need to change anything inside the xinetd.conf file?.

--- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@...> wrote:
>
> Took a step back to my Xinetd install and noticed two files missing from /etc
(services and protocols) tried to download them but got a wget error HTTPS
support not compiled in. seems weird i updated wget when i installed optware.
Reinstall?. this might explain xinetd not working.
>
> --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@> wrote:
> >
> > I think i get the config file part, each program has a set of values. But i
tried the pidof xinetd command and got no return so i figure its not running.
Tried starting it (/opt/etc/xinetd.d start) and i get permission denied.Any
ideas?
> >
> > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@> wrote:
> > >
> > > Nah, more likely you'll just need to make an Xinetd config file for the
> > > program.
> > > See http://www.xinetd.org/
> > >
> > > The file will probably go into /opt/etc/xinet.d/(programnamehere)
> > > And it will look like so:
> > > service bftpd
> > > {
> > >    only_from = 0.0.0.0/0
> > >    socket_type = stream
> > >    instances = 30
> > >    wait = no
> > >    user = root
> > >    server = /opt/bin/bftpd
> > >    port = 21
> > >    protocol = tcp
> > >    log_on_success = HOST PID
> > >    log_on_failure = HOST
> > > }
> > >
> > > Of course, you would modify the values to the correct ones.
> > >
> > > To determine if xinet.d is already running, just run a "pidof xinetd". If
> > > it is, the optware package for xinetd was configured successfully and you
> > > won't need an rc diversion script.
> > >
> > >
> > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims <stigslim@> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > I think I follow, xinetd monitors for requests and starts the daemon.
Just
> > > > not sure where to find rc.xinetd or If I have to create one do I just
open
> > > > an editor (nano) enter the line/lines and save it as rc.xinetd?. And if
so
> > > > does it just go in /opt/etc?.
> > > >
> > > >
> > > > --- In nslu2-general@yahoogroups.com, Dale Schultz <dschultzca@> wrote:
> > > > >
> > > > > I believe it should be the rc.xinetd script that starts Xinted.
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
>

#8699 From: Anthony Takata <htwiz2002@...>
Date: Sat Sep 1, 2012 7:17 pm
Subject: Re: Re: Trouble with Transmission.
htwiz2005
Send Email Send Email
 
Ideally the "Only from" line should contain the ip range of the computers
you're going to allow to connect to it. For example, if you only want to
allow local computers it would be something like 192.168.0.0/24 (Don't use
that, I don't think it's actually correct).
If you want to allow anyone, just put 0.0.0.0/0 and let the service take
care of logins etc.

On Sat, Sep 1, 2012 at 11:39 AM, stigslims <stigslim@...> wrote:

> **
>
>
> scratch that last comment i was off in the wrong direction completely. I
> figured the xinetd file (within reason) just a couple of questions. What
> would i put in the only from field, A specific ip or default one to allow
> access from any remote machine?. Do i need to change anything inside the
> xinetd.conf file?.
>
>
> --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@...> wrote:
> >
> > Took a step back to my Xinetd install and noticed two files missing from
> /etc (services and protocols) tried to download them but got a wget error
> HTTPS support not compiled in. seems weird i updated wget when i installed
> optware. Reinstall?. this might explain xinetd not working.
> >
> > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@> wrote:
> > >
> > > I think i get the config file part, each program has a set of values.
> But i tried the pidof xinetd command and got no return so i figure its not
> running. Tried starting it (/opt/etc/xinetd.d start) and i get permission
> denied.Any ideas?
> > >
> > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> wrote:
> > > >
> > > > Nah, more likely you'll just need to make an Xinetd config file for
> the
> > > > program.
> > > > See http://www.xinetd.org/
> > > >
> > > > The file will probably go into /opt/etc/xinet.d/(programnamehere)
> > > > And it will look like so:
> > > > service bftpd
> > > > {
> > > > only_from = 0.0.0.0/0
> > > > socket_type = stream
> > > > instances = 30
> > > > wait = no
> > > > user = root
> > > > server = /opt/bin/bftpd
> > > > port = 21
> > > > protocol = tcp
> > > > log_on_success = HOST PID
> > > > log_on_failure = HOST
> > > > }
> > > >
> > > > Of course, you would modify the values to the correct ones.
> > > >
> > > > To determine if xinet.d is already running, just run a "pidof
> xinetd". If
> > > > it is, the optware package for xinetd was configured successfully
> and you
> > > > won't need an rc diversion script.
> > > >
> > > >
> > > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims <stigslim@> wrote:
> > > >
> > > > > **
> > > > >
> > > > >
> > > > > I think I follow, xinetd monitors for requests and starts the
> daemon. Just
> > > > > not sure where to find rc.xinetd or If I have to create one do I
> just open
> > > > > an editor (nano) enter the line/lines and save it as rc.xinetd?.
> And if so
> > > > > does it just go in /opt/etc?.
> > > > >
> > > > >
> > > > > --- In nslu2-general@yahoogroups.com, Dale Schultz <dschultzca@>
> wrote:
> > > > > >
> > > > > > I believe it should be the rc.xinetd script that starts Xinted.
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> >
>
>
>


[Non-text portions of this message have been removed]

#8700 From: "stigslims" <stigslim@...>
Date: Sun Sep 2, 2012 9:44 am
Subject: Re: Trouble with Transmission.
stigslims
Send Email Send Email
 
Thanks for your reply.Is there any way of testing xinetd?, am i right thinking
that it only runs when request/connection is made?. If i can try it out and know
its working then i can go on to he next step (VSFTPD config file knowing if
theres a problem it can only be VSFTP?.

--- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...> wrote:
>
> Ideally the "Only from" line should contain the ip range of the computers
> you're going to allow to connect to it. For example, if you only want to
> allow local computers it would be something like 192.168.0.0/24 (Don't use
> that, I don't think it's actually correct).
> If you want to allow anyone, just put 0.0.0.0/0 and let the service take
> care of logins etc.
>
> On Sat, Sep 1, 2012 at 11:39 AM, stigslims <stigslim@...> wrote:
>
> > **
> >
> >
> > scratch that last comment i was off in the wrong direction completely. I
> > figured the xinetd file (within reason) just a couple of questions. What
> > would i put in the only from field, A specific ip or default one to allow
> > access from any remote machine?. Do i need to change anything inside the
> > xinetd.conf file?.
> >
> >
> > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@> wrote:
> > >
> > > Took a step back to my Xinetd install and noticed two files missing from
> > /etc (services and protocols) tried to download them but got a wget error
> > HTTPS support not compiled in. seems weird i updated wget when i installed
> > optware. Reinstall?. this might explain xinetd not working.
> > >
> > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@> wrote:
> > > >
> > > > I think i get the config file part, each program has a set of values.
> > But i tried the pidof xinetd command and got no return so i figure its not
> > running. Tried starting it (/opt/etc/xinetd.d start) and i get permission
> > denied.Any ideas?
> > > >
> > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > wrote:
> > > > >
> > > > > Nah, more likely you'll just need to make an Xinetd config file for
> > the
> > > > > program.
> > > > > See http://www.xinetd.org/
> > > > >
> > > > > The file will probably go into /opt/etc/xinet.d/(programnamehere)
> > > > > And it will look like so:
> > > > > service bftpd
> > > > > {
> > > > > only_from = 0.0.0.0/0
> > > > > socket_type = stream
> > > > > instances = 30
> > > > > wait = no
> > > > > user = root
> > > > > server = /opt/bin/bftpd
> > > > > port = 21
> > > > > protocol = tcp
> > > > > log_on_success = HOST PID
> > > > > log_on_failure = HOST
> > > > > }
> > > > >
> > > > > Of course, you would modify the values to the correct ones.
> > > > >
> > > > > To determine if xinet.d is already running, just run a "pidof
> > xinetd". If
> > > > > it is, the optware package for xinetd was configured successfully
> > and you
> > > > > won't need an rc diversion script.
> > > > >
> > > > >
> > > > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims <stigslim@> wrote:
> > > > >
> > > > > > **
> > > > > >
> > > > > >
> > > > > > I think I follow, xinetd monitors for requests and starts the
> > daemon. Just
> > > > > > not sure where to find rc.xinetd or If I have to create one do I
> > just open
> > > > > > an editor (nano) enter the line/lines and save it as rc.xinetd?.
> > And if so
> > > > > > does it just go in /opt/etc?.
> > > > > >
> > > > > >
> > > > > > --- In nslu2-general@yahoogroups.com, Dale Schultz <dschultzca@>
> > wrote:
> > > > > > >
> > > > > > > I believe it should be the rc.xinetd script that starts Xinted.
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > >
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>

#8701 From: Anthony Takata <htwiz2002@...>
Date: Sun Sep 2, 2012 5:37 pm
Subject: Re: Re: Trouble with Transmission.
htwiz2005
Send Email Send Email
 
No, the Xinetd deamon will be running if it's installed correctly, if you
do "pidof xinetd" it should list at least one number (the PID). If you can
get that far, then you can test if your configuration is correct by simply
attempting to connect to the service (i.e. open an ftp connection to the
host). If it's not working, you'll just receive a message stating that the
connection was rejected.
If you don't get a connection refused, then it's safe to assume that VSFTP
would have taken the call and everything else is handled by that program.

On Sun, Sep 2, 2012 at 9:44 AM, stigslims <stigslim@...> wrote:

> **
>
>
> Thanks for your reply.Is there any way of testing xinetd?, am i right
> thinking that it only runs when request/connection is made?. If i can try
> it out and know its working then i can go on to he next step (VSFTPD config
> file knowing if theres a problem it can only be VSFTP?.
>
>
> --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...>
> wrote:
> >
> > Ideally the "Only from" line should contain the ip range of the computers
> > you're going to allow to connect to it. For example, if you only want to
> > allow local computers it would be something like 192.168.0.0/24 (Don't
> use
> > that, I don't think it's actually correct).
> > If you want to allow anyone, just put 0.0.0.0/0 and let the service take
> > care of logins etc.
> >
> > On Sat, Sep 1, 2012 at 11:39 AM, stigslims <stigslim@...> wrote:
> >
> > > **
>
> > >
> > >
> > > scratch that last comment i was off in the wrong direction completely.
> I
> > > figured the xinetd file (within reason) just a couple of questions.
> What
> > > would i put in the only from field, A specific ip or default one to
> allow
> > > access from any remote machine?. Do i need to change anything inside
> the
> > > xinetd.conf file?.
> > >
> > >
> > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@> wrote:
> > > >
> > > > Took a step back to my Xinetd install and noticed two files missing
> from
> > > /etc (services and protocols) tried to download them but got a wget
> error
> > > HTTPS support not compiled in. seems weird i updated wget when i
> installed
> > > optware. Reinstall?. this might explain xinetd not working.
> > > >
> > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@> wrote:
> > > > >
> > > > > I think i get the config file part, each program has a set of
> values.
> > > But i tried the pidof xinetd command and got no return so i figure its
> not
> > > running. Tried starting it (/opt/etc/xinetd.d start) and i get
> permission
> > > denied.Any ideas?
> > > > >
> > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > wrote:
> > > > > >
> > > > > > Nah, more likely you'll just need to make an Xinetd config file
> for
> > > the
> > > > > > program.
> > > > > > See http://www.xinetd.org/
> > > > > >
> > > > > > The file will probably go into /opt/etc/xinet.d/(programnamehere)
> > > > > > And it will look like so:
> > > > > > service bftpd
> > > > > > {
> > > > > > only_from = 0.0.0.0/0
> > > > > > socket_type = stream
> > > > > > instances = 30
> > > > > > wait = no
> > > > > > user = root
> > > > > > server = /opt/bin/bftpd
> > > > > > port = 21
> > > > > > protocol = tcp
> > > > > > log_on_success = HOST PID
> > > > > > log_on_failure = HOST
> > > > > > }
> > > > > >
> > > > > > Of course, you would modify the values to the correct ones.
> > > > > >
> > > > > > To determine if xinet.d is already running, just run a "pidof
> > > xinetd". If
> > > > > > it is, the optware package for xinetd was configured successfully
> > > and you
> > > > > > won't need an rc diversion script.
> > > > > >
> > > > > >
> > > > > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims <stigslim@> wrote:
> > > > > >
> > > > > > > **
> > > > > > >
> > > > > > >
> > > > > > > I think I follow, xinetd monitors for requests and starts the
> > > daemon. Just
> > > > > > > not sure where to find rc.xinetd or If I have to create one do
> I
> > > just open
> > > > > > > an editor (nano) enter the line/lines and save it as
> rc.xinetd?.
> > > And if so
> > > > > > > does it just go in /opt/etc?.
> > > > > > >
> > > > > > >
> > > > > > > --- In nslu2-general@yahoogroups.com, Dale Schultz
> <dschultzca@>
> > > wrote:
> > > > > > > >
> > > > > > > > I believe it should be the rc.xinetd script that starts
> Xinted.
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > [Non-text portions of this message have been removed]
> > > > > >
> > > > >
> > > >
> > >
> > >
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>


[Non-text portions of this message have been removed]

#8702 From: "stigslims" <stigslim@...>
Date: Mon Sep 3, 2012 4:52 pm
Subject: Re: Trouble with Transmission.
stigslims
Send Email Send Email
 
Hi again, I tried the pidof command and got no return. But ps | grep xinetd gave
a return so I figure its on but not running. Tried starting it with
opt/sbin/xinetd start with no luck. Any ideas?.

--- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...> wrote:
>
> No, the Xinetd deamon will be running if it's installed correctly, if you
> do "pidof xinetd" it should list at least one number (the PID). If you can
> get that far, then you can test if your configuration is correct by simply
> attempting to connect to the service (i.e. open an ftp connection to the
> host). If it's not working, you'll just receive a message stating that the
> connection was rejected.
> If you don't get a connection refused, then it's safe to assume that VSFTP
> would have taken the call and everything else is handled by that program.
>
> On Sun, Sep 2, 2012 at 9:44 AM, stigslims <stigslim@...> wrote:
>
> > **
> >
> >
> > Thanks for your reply.Is there any way of testing xinetd?, am i right
> > thinking that it only runs when request/connection is made?. If i can try
> > it out and know its working then i can go on to he next step (VSFTPD config
> > file knowing if theres a problem it can only be VSFTP?.
> >
> >
> > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > wrote:
> > >
> > > Ideally the "Only from" line should contain the ip range of the computers
> > > you're going to allow to connect to it. For example, if you only want to
> > > allow local computers it would be something like 192.168.0.0/24 (Don't
> > use
> > > that, I don't think it's actually correct).
> > > If you want to allow anyone, just put 0.0.0.0/0 and let the service take
> > > care of logins etc.
> > >
> > > On Sat, Sep 1, 2012 at 11:39 AM, stigslims <stigslim@> wrote:
> > >
> > > > **
> >
> > > >
> > > >
> > > > scratch that last comment i was off in the wrong direction completely.
> > I
> > > > figured the xinetd file (within reason) just a couple of questions.
> > What
> > > > would i put in the only from field, A specific ip or default one to
> > allow
> > > > access from any remote machine?. Do i need to change anything inside
> > the
> > > > xinetd.conf file?.
> > > >
> > > >
> > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@> wrote:
> > > > >
> > > > > Took a step back to my Xinetd install and noticed two files missing
> > from
> > > > /etc (services and protocols) tried to download them but got a wget
> > error
> > > > HTTPS support not compiled in. seems weird i updated wget when i
> > installed
> > > > optware. Reinstall?. this might explain xinetd not working.
> > > > >
> > > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@> wrote:
> > > > > >
> > > > > > I think i get the config file part, each program has a set of
> > values.
> > > > But i tried the pidof xinetd command and got no return so i figure its
> > not
> > > > running. Tried starting it (/opt/etc/xinetd.d start) and i get
> > permission
> > > > denied.Any ideas?
> > > > > >
> > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > > wrote:
> > > > > > >
> > > > > > > Nah, more likely you'll just need to make an Xinetd config file
> > for
> > > > the
> > > > > > > program.
> > > > > > > See http://www.xinetd.org/
> > > > > > >
> > > > > > > The file will probably go into /opt/etc/xinet.d/(programnamehere)
> > > > > > > And it will look like so:
> > > > > > > service bftpd
> > > > > > > {
> > > > > > > only_from = 0.0.0.0/0
> > > > > > > socket_type = stream
> > > > > > > instances = 30
> > > > > > > wait = no
> > > > > > > user = root
> > > > > > > server = /opt/bin/bftpd
> > > > > > > port = 21
> > > > > > > protocol = tcp
> > > > > > > log_on_success = HOST PID
> > > > > > > log_on_failure = HOST
> > > > > > > }
> > > > > > >
> > > > > > > Of course, you would modify the values to the correct ones.
> > > > > > >
> > > > > > > To determine if xinet.d is already running, just run a "pidof
> > > > xinetd". If
> > > > > > > it is, the optware package for xinetd was configured successfully
> > > > and you
> > > > > > > won't need an rc diversion script.
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims <stigslim@> wrote:
> > > > > > >
> > > > > > > > **
> > > > > > > >
> > > > > > > >
> > > > > > > > I think I follow, xinetd monitors for requests and starts the
> > > > daemon. Just
> > > > > > > > not sure where to find rc.xinetd or If I have to create one do
> > I
> > > > just open
> > > > > > > > an editor (nano) enter the line/lines and save it as
> > rc.xinetd?.
> > > > And if so
> > > > > > > > does it just go in /opt/etc?.
> > > > > > > >
> > > > > > > >
> > > > > > > > --- In nslu2-general@yahoogroups.com, Dale Schultz
> > <dschultzca@>
> > > > wrote:
> > > > > > > > >
> > > > > > > > > I believe it should be the rc.xinetd script that starts
> > Xinted.
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > [Non-text portions of this message have been removed]
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>

#8703 From: "stigslims" <stigslim@...>
Date: Mon Sep 3, 2012 7:45 pm
Subject: Re: Trouble with Transmission.
stigslims
Send Email Send Email
 
Hi Anthony, i have tried the pidof command with no luck, i dont get any return
(tried with samba just to make sure, it was fine). So i can only assume its not
running. Had a root around, opt/sbin, which is where executable programs are, in
green? and noticed xinet.reload. Not sure if this is a problem but not sure
where to go from here, ides?.

--- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...> wrote:
>
> No, the Xinetd deamon will be running if it's installed correctly, if you
> do "pidof xinetd" it should list at least one number (the PID). If you can
> get that far, then you can test if your configuration is correct by simply
> attempting to connect to the service (i.e. open an ftp connection to the
> host). If it's not working, you'll just receive a message stating that the
> connection was rejected.
> If you don't get a connection refused, then it's safe to assume that VSFTP
> would have taken the call and everything else is handled by that program.
>
> On Sun, Sep 2, 2012 at 9:44 AM, stigslims <stigslim@...> wrote:
>
> > **
> >
> >
> > Thanks for your reply.Is there any way of testing xinetd?, am i right
> > thinking that it only runs when request/connection is made?. If i can try
> > it out and know its working then i can go on to he next step (VSFTPD config
> > file knowing if theres a problem it can only be VSFTP?.
> >
> >
> > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > wrote:
> > >
> > > Ideally the "Only from" line should contain the ip range of the computers
> > > you're going to allow to connect to it. For example, if you only want to
> > > allow local computers it would be something like 192.168.0.0/24 (Don't
> > use
> > > that, I don't think it's actually correct).
> > > If you want to allow anyone, just put 0.0.0.0/0 and let the service take
> > > care of logins etc.
> > >
> > > On Sat, Sep 1, 2012 at 11:39 AM, stigslims <stigslim@> wrote:
> > >
> > > > **
> >
> > > >
> > > >
> > > > scratch that last comment i was off in the wrong direction completely.
> > I
> > > > figured the xinetd file (within reason) just a couple of questions.
> > What
> > > > would i put in the only from field, A specific ip or default one to
> > allow
> > > > access from any remote machine?. Do i need to change anything inside
> > the
> > > > xinetd.conf file?.
> > > >
> > > >
> > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@> wrote:
> > > > >
> > > > > Took a step back to my Xinetd install and noticed two files missing
> > from
> > > > /etc (services and protocols) tried to download them but got a wget
> > error
> > > > HTTPS support not compiled in. seems weird i updated wget when i
> > installed
> > > > optware. Reinstall?. this might explain xinetd not working.
> > > > >
> > > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@> wrote:
> > > > > >
> > > > > > I think i get the config file part, each program has a set of
> > values.
> > > > But i tried the pidof xinetd command and got no return so i figure its
> > not
> > > > running. Tried starting it (/opt/etc/xinetd.d start) and i get
> > permission
> > > > denied.Any ideas?
> > > > > >
> > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > > wrote:
> > > > > > >
> > > > > > > Nah, more likely you'll just need to make an Xinetd config file
> > for
> > > > the
> > > > > > > program.
> > > > > > > See http://www.xinetd.org/
> > > > > > >
> > > > > > > The file will probably go into /opt/etc/xinet.d/(programnamehere)
> > > > > > > And it will look like so:
> > > > > > > service bftpd
> > > > > > > {
> > > > > > > only_from = 0.0.0.0/0
> > > > > > > socket_type = stream
> > > > > > > instances = 30
> > > > > > > wait = no
> > > > > > > user = root
> > > > > > > server = /opt/bin/bftpd
> > > > > > > port = 21
> > > > > > > protocol = tcp
> > > > > > > log_on_success = HOST PID
> > > > > > > log_on_failure = HOST
> > > > > > > }
> > > > > > >
> > > > > > > Of course, you would modify the values to the correct ones.
> > > > > > >
> > > > > > > To determine if xinet.d is already running, just run a "pidof
> > > > xinetd". If
> > > > > > > it is, the optware package for xinetd was configured successfully
> > > > and you
> > > > > > > won't need an rc diversion script.
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims <stigslim@> wrote:
> > > > > > >
> > > > > > > > **
> > > > > > > >
> > > > > > > >
> > > > > > > > I think I follow, xinetd monitors for requests and starts the
> > > > daemon. Just
> > > > > > > > not sure where to find rc.xinetd or If I have to create one do
> > I
> > > > just open
> > > > > > > > an editor (nano) enter the line/lines and save it as
> > rc.xinetd?.
> > > > And if so
> > > > > > > > does it just go in /opt/etc?.
> > > > > > > >
> > > > > > > >
> > > > > > > > --- In nslu2-general@yahoogroups.com, Dale Schultz
> > <dschultzca@>
> > > > wrote:
> > > > > > > > >
> > > > > > > > > I believe it should be the rc.xinetd script that starts
> > Xinted.
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > [Non-text portions of this message have been removed]
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>

#8704 From: "stigslims" <stigslim@...>
Date: Tue Sep 4, 2012 8:13 pm
Subject: Re: Trouble with Transmission.
stigslims
Send Email Send Email
 
After reading the manual page i notice vsftpd can be ran in standalone mode. So
switched the listen option to yes to allow it to monitor incoming connections
and forwarded the port on my router. The only thing im not sure on is how to
start it in standalone?.

--- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@...> wrote:
>
> Hi Anthony, i have tried the pidof command with no luck, i dont get any return
(tried with samba just to make sure, it was fine). So i can only assume its not
running. Had a root around, opt/sbin, which is where executable programs are, in
green? and noticed xinet.reload. Not sure if this is a problem but not sure
where to go from here, ides?.
>
> --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@> wrote:
> >
> > No, the Xinetd deamon will be running if it's installed correctly, if you
> > do "pidof xinetd" it should list at least one number (the PID). If you can
> > get that far, then you can test if your configuration is correct by simply
> > attempting to connect to the service (i.e. open an ftp connection to the
> > host). If it's not working, you'll just receive a message stating that the
> > connection was rejected.
> > If you don't get a connection refused, then it's safe to assume that VSFTP
> > would have taken the call and everything else is handled by that program.
> >
> > On Sun, Sep 2, 2012 at 9:44 AM, stigslims <stigslim@> wrote:
> >
> > > **
> > >
> > >
> > > Thanks for your reply.Is there any way of testing xinetd?, am i right
> > > thinking that it only runs when request/connection is made?. If i can try
> > > it out and know its working then i can go on to he next step (VSFTPD
config
> > > file knowing if theres a problem it can only be VSFTP?.
> > >
> > >
> > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > wrote:
> > > >
> > > > Ideally the "Only from" line should contain the ip range of the
computers
> > > > you're going to allow to connect to it. For example, if you only want to
> > > > allow local computers it would be something like 192.168.0.0/24 (Don't
> > > use
> > > > that, I don't think it's actually correct).
> > > > If you want to allow anyone, just put 0.0.0.0/0 and let the service take
> > > > care of logins etc.
> > > >
> > > > On Sat, Sep 1, 2012 at 11:39 AM, stigslims <stigslim@> wrote:
> > > >
> > > > > **
> > >
> > > > >
> > > > >
> > > > > scratch that last comment i was off in the wrong direction completely.
> > > I
> > > > > figured the xinetd file (within reason) just a couple of questions.
> > > What
> > > > > would i put in the only from field, A specific ip or default one to
> > > allow
> > > > > access from any remote machine?. Do i need to change anything inside
> > > the
> > > > > xinetd.conf file?.
> > > > >
> > > > >
> > > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@> wrote:
> > > > > >
> > > > > > Took a step back to my Xinetd install and noticed two files missing
> > > from
> > > > > /etc (services and protocols) tried to download them but got a wget
> > > error
> > > > > HTTPS support not compiled in. seems weird i updated wget when i
> > > installed
> > > > > optware. Reinstall?. this might explain xinetd not working.
> > > > > >
> > > > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@> wrote:
> > > > > > >
> > > > > > > I think i get the config file part, each program has a set of
> > > values.
> > > > > But i tried the pidof xinetd command and got no return so i figure its
> > > not
> > > > > running. Tried starting it (/opt/etc/xinetd.d start) and i get
> > > permission
> > > > > denied.Any ideas?
> > > > > > >
> > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > > > wrote:
> > > > > > > >
> > > > > > > > Nah, more likely you'll just need to make an Xinetd config file
> > > for
> > > > > the
> > > > > > > > program.
> > > > > > > > See http://www.xinetd.org/
> > > > > > > >
> > > > > > > > The file will probably go into
/opt/etc/xinet.d/(programnamehere)
> > > > > > > > And it will look like so:
> > > > > > > > service bftpd
> > > > > > > > {
> > > > > > > > only_from = 0.0.0.0/0
> > > > > > > > socket_type = stream
> > > > > > > > instances = 30
> > > > > > > > wait = no
> > > > > > > > user = root
> > > > > > > > server = /opt/bin/bftpd
> > > > > > > > port = 21
> > > > > > > > protocol = tcp
> > > > > > > > log_on_success = HOST PID
> > > > > > > > log_on_failure = HOST
> > > > > > > > }
> > > > > > > >
> > > > > > > > Of course, you would modify the values to the correct ones.
> > > > > > > >
> > > > > > > > To determine if xinet.d is already running, just run a "pidof
> > > > > xinetd". If
> > > > > > > > it is, the optware package for xinetd was configured
successfully
> > > > > and you
> > > > > > > > won't need an rc diversion script.
> > > > > > > >
> > > > > > > >
> > > > > > > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims <stigslim@> wrote:
> > > > > > > >
> > > > > > > > > **
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I think I follow, xinetd monitors for requests and starts the
> > > > > daemon. Just
> > > > > > > > > not sure where to find rc.xinetd or If I have to create one do
> > > I
> > > > > just open
> > > > > > > > > an editor (nano) enter the line/lines and save it as
> > > rc.xinetd?.
> > > > > And if so
> > > > > > > > > does it just go in /opt/etc?.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --- In nslu2-general@yahoogroups.com, Dale Schultz
> > > <dschultzca@>
> > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > I believe it should be the rc.xinetd script that starts
> > > Xinted.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> > >
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>

#8705 From: Anthony Takata <htwiz2002@...>
Date: Wed Sep 5, 2012 4:35 am
Subject: Re: Re: Trouble with Transmission.
htwiz2005
Send Email Send Email
 
In that case, just make an init.d script to launch it. Make sure if it
doesn't have a daemon option that you background it or the device won't
finish booting!

On Tue, Sep 4, 2012 at 8:13 PM, stigslims <stigslim@...> wrote:

> **
>
>
> After reading the manual page i notice vsftpd can be ran in standalone
> mode. So switched the listen option to yes to allow it to monitor incoming
> connections and forwarded the port on my router. The only thing im not sure
> on is how to start it in standalone?.
>
>
> --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@...> wrote:
> >
> > Hi Anthony, i have tried the pidof command with no luck, i dont get any
> return (tried with samba just to make sure, it was fine). So i can only
> assume its not running. Had a root around, opt/sbin, which is where
> executable programs are, in green? and noticed xinet.reload. Not sure if
> this is a problem but not sure where to go from here, ides?.
> >
> > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@> wrote:
> > >
> > > No, the Xinetd deamon will be running if it's installed correctly, if
> you
> > > do "pidof xinetd" it should list at least one number (the PID). If you
> can
> > > get that far, then you can test if your configuration is correct by
> simply
> > > attempting to connect to the service (i.e. open an ftp connection to
> the
> > > host). If it's not working, you'll just receive a message stating that
> the
> > > connection was rejected.
> > > If you don't get a connection refused, then it's safe to assume that
> VSFTP
> > > would have taken the call and everything else is handled by that
> program.
> > >
> > > On Sun, Sep 2, 2012 at 9:44 AM, stigslims <stigslim@> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > Thanks for your reply.Is there any way of testing xinetd?, am i right
> > > > thinking that it only runs when request/connection is made?. If i
> can try
> > > > it out and know its working then i can go on to he next step (VSFTPD
> config
> > > > file knowing if theres a problem it can only be VSFTP?.
> > > >
> > > >
> > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > > wrote:
> > > > >
> > > > > Ideally the "Only from" line should contain the ip range of the
> computers
> > > > > you're going to allow to connect to it. For example, if you only
> want to
> > > > > allow local computers it would be something like 192.168.0.0/24(Don't
> > > > use
> > > > > that, I don't think it's actually correct).
> > > > > If you want to allow anyone, just put 0.0.0.0/0 and let the
> service take
> > > > > care of logins etc.
> > > > >
> > > > > On Sat, Sep 1, 2012 at 11:39 AM, stigslims <stigslim@> wrote:
> > > > >
> > > > > > **
> > > >
> > > > > >
> > > > > >
> > > > > > scratch that last comment i was off in the wrong direction
> completely.
> > > > I
> > > > > > figured the xinetd file (within reason) just a couple of
> questions.
> > > > What
> > > > > > would i put in the only from field, A specific ip or default one
> to
> > > > allow
> > > > > > access from any remote machine?. Do i need to change anything
> inside
> > > > the
> > > > > > xinetd.conf file?.
> > > > > >
> > > > > >
> > > > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@>
> wrote:
> > > > > > >
> > > > > > > Took a step back to my Xinetd install and noticed two files
> missing
> > > > from
> > > > > > /etc (services and protocols) tried to download them but got a
> wget
> > > > error
> > > > > > HTTPS support not compiled in. seems weird i updated wget when i
> > > > installed
> > > > > > optware. Reinstall?. this might explain xinetd not working.
> > > > > > >
> > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@>
> wrote:
> > > > > > > >
> > > > > > > > I think i get the config file part, each program has a set of
> > > > values.
> > > > > > But i tried the pidof xinetd command and got no return so i
> figure its
> > > > not
> > > > > > running. Tried starting it (/opt/etc/xinetd.d start) and i get
> > > > permission
> > > > > > denied.Any ideas?
> > > > > > > >
> > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata
> <htwiz2002@>
> > > > > > wrote:
> > > > > > > > >
> > > > > > > > > Nah, more likely you'll just need to make an Xinetd config
> file
> > > > for
> > > > > > the
> > > > > > > > > program.
> > > > > > > > > See http://www.xinetd.org/
> > > > > > > > >
> > > > > > > > > The file will probably go into
> /opt/etc/xinet.d/(programnamehere)
> > > > > > > > > And it will look like so:
> > > > > > > > > service bftpd
> > > > > > > > > {
> > > > > > > > > only_from = 0.0.0.0/0
> > > > > > > > > socket_type = stream
> > > > > > > > > instances = 30
> > > > > > > > > wait = no
> > > > > > > > > user = root
> > > > > > > > > server = /opt/bin/bftpd
> > > > > > > > > port = 21
> > > > > > > > > protocol = tcp
> > > > > > > > > log_on_success = HOST PID
> > > > > > > > > log_on_failure = HOST
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > > Of course, you would modify the values to the correct ones.
> > > > > > > > >
> > > > > > > > > To determine if xinet.d is already running, just run a
> "pidof
> > > > > > xinetd". If
> > > > > > > > > it is, the optware package for xinetd was configured
> successfully
> > > > > > and you
> > > > > > > > > won't need an rc diversion script.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims <stigslim@>
> wrote:
> > > > > > > > >
> > > > > > > > > > **
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I think I follow, xinetd monitors for requests and
> starts the
> > > > > > daemon. Just
> > > > > > > > > > not sure where to find rc.xinetd or If I have to create
> one do
> > > > I
> > > > > > just open
> > > > > > > > > > an editor (nano) enter the line/lines and save it as
> > > > rc.xinetd?.
> > > > > > And if so
> > > > > > > > > > does it just go in /opt/etc?.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --- In nslu2-general@yahoogroups.com, Dale Schultz
> > > > <dschultzca@>
> > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > I believe it should be the rc.xinetd script that starts
> > > > Xinted.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
>
>
>


[Non-text portions of this message have been removed]

#8706 From: "stigslims" <stigslim@...>
Date: Wed Sep 5, 2012 11:07 pm
Subject: Re: Trouble with Transmission.
stigslims
Send Email Send Email
 
Hi, tried just manually starting it with /opt/sbin/vsftpd  opt/etc/vsftpd.conf
just to see if i could get it running. Got an error about not being able to read
the config file?. I get the init.d looking for it on boot, but have no idea how
to set up the script or backgrounding the daemon hurdle. Just as i seem to be
figuring it out it gets more complicated.

--- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...> wrote:
>
> In that case, just make an init.d script to launch it. Make sure if it
> doesn't have a daemon option that you background it or the device won't
> finish booting!
>
> On Tue, Sep 4, 2012 at 8:13 PM, stigslims <stigslim@...> wrote:
>
> > **
> >
> >
> > After reading the manual page i notice vsftpd can be ran in standalone
> > mode. So switched the listen option to yes to allow it to monitor incoming
> > connections and forwarded the port on my router. The only thing im not sure
> > on is how to start it in standalone?.
> >
> >
> > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@> wrote:
> > >
> > > Hi Anthony, i have tried the pidof command with no luck, i dont get any
> > return (tried with samba just to make sure, it was fine). So i can only
> > assume its not running. Had a root around, opt/sbin, which is where
> > executable programs are, in green? and noticed xinet.reload. Not sure if
> > this is a problem but not sure where to go from here, ides?.
> > >
> > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@> wrote:
> > > >
> > > > No, the Xinetd deamon will be running if it's installed correctly, if
> > you
> > > > do "pidof xinetd" it should list at least one number (the PID). If you
> > can
> > > > get that far, then you can test if your configuration is correct by
> > simply
> > > > attempting to connect to the service (i.e. open an ftp connection to
> > the
> > > > host). If it's not working, you'll just receive a message stating that
> > the
> > > > connection was rejected.
> > > > If you don't get a connection refused, then it's safe to assume that
> > VSFTP
> > > > would have taken the call and everything else is handled by that
> > program.
> > > >
> > > > On Sun, Sep 2, 2012 at 9:44 AM, stigslims <stigslim@> wrote:
> > > >
> > > > > **
> > > > >
> > > > >
> > > > > Thanks for your reply.Is there any way of testing xinetd?, am i right
> > > > > thinking that it only runs when request/connection is made?. If i
> > can try
> > > > > it out and know its working then i can go on to he next step (VSFTPD
> > config
> > > > > file knowing if theres a problem it can only be VSFTP?.
> > > > >
> > > > >
> > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > > > wrote:
> > > > > >
> > > > > > Ideally the "Only from" line should contain the ip range of the
> > computers
> > > > > > you're going to allow to connect to it. For example, if you only
> > want to
> > > > > > allow local computers it would be something like
192.168.0.0/24(Don't
> > > > > use
> > > > > > that, I don't think it's actually correct).
> > > > > > If you want to allow anyone, just put 0.0.0.0/0 and let the
> > service take
> > > > > > care of logins etc.
> > > > > >
> > > > > > On Sat, Sep 1, 2012 at 11:39 AM, stigslims <stigslim@> wrote:
> > > > > >
> > > > > > > **
> > > > >
> > > > > > >
> > > > > > >
> > > > > > > scratch that last comment i was off in the wrong direction
> > completely.
> > > > > I
> > > > > > > figured the xinetd file (within reason) just a couple of
> > questions.
> > > > > What
> > > > > > > would i put in the only from field, A specific ip or default one
> > to
> > > > > allow
> > > > > > > access from any remote machine?. Do i need to change anything
> > inside
> > > > > the
> > > > > > > xinetd.conf file?.
> > > > > > >
> > > > > > >
> > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@>
> > wrote:
> > > > > > > >
> > > > > > > > Took a step back to my Xinetd install and noticed two files
> > missing
> > > > > from
> > > > > > > /etc (services and protocols) tried to download them but got a
> > wget
> > > > > error
> > > > > > > HTTPS support not compiled in. seems weird i updated wget when i
> > > > > installed
> > > > > > > optware. Reinstall?. this might explain xinetd not working.
> > > > > > > >
> > > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@>
> > wrote:
> > > > > > > > >
> > > > > > > > > I think i get the config file part, each program has a set of
> > > > > values.
> > > > > > > But i tried the pidof xinetd command and got no return so i
> > figure its
> > > > > not
> > > > > > > running. Tried starting it (/opt/etc/xinetd.d start) and i get
> > > > > permission
> > > > > > > denied.Any ideas?
> > > > > > > > >
> > > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata
> > <htwiz2002@>
> > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > Nah, more likely you'll just need to make an Xinetd config
> > file
> > > > > for
> > > > > > > the
> > > > > > > > > > program.
> > > > > > > > > > See http://www.xinetd.org/
> > > > > > > > > >
> > > > > > > > > > The file will probably go into
> > /opt/etc/xinet.d/(programnamehere)
> > > > > > > > > > And it will look like so:
> > > > > > > > > > service bftpd
> > > > > > > > > > {
> > > > > > > > > > only_from = 0.0.0.0/0
> > > > > > > > > > socket_type = stream
> > > > > > > > > > instances = 30
> > > > > > > > > > wait = no
> > > > > > > > > > user = root
> > > > > > > > > > server = /opt/bin/bftpd
> > > > > > > > > > port = 21
> > > > > > > > > > protocol = tcp
> > > > > > > > > > log_on_success = HOST PID
> > > > > > > > > > log_on_failure = HOST
> > > > > > > > > > }
> > > > > > > > > >
> > > > > > > > > > Of course, you would modify the values to the correct ones.
> > > > > > > > > >
> > > > > > > > > > To determine if xinet.d is already running, just run a
> > "pidof
> > > > > > > xinetd". If
> > > > > > > > > > it is, the optware package for xinetd was configured
> > successfully
> > > > > > > and you
> > > > > > > > > > won't need an rc diversion script.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims <stigslim@>
> > wrote:
> > > > > > > > > >
> > > > > > > > > > > **
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I think I follow, xinetd monitors for requests and
> > starts the
> > > > > > > daemon. Just
> > > > > > > > > > > not sure where to find rc.xinetd or If I have to create
> > one do
> > > > > I
> > > > > > > just open
> > > > > > > > > > > an editor (nano) enter the line/lines and save it as
> > > > > rc.xinetd?.
> > > > > > > And if so
> > > > > > > > > > > does it just go in /opt/etc?.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --- In nslu2-general@yahoogroups.com, Dale Schultz
> > > > > <dschultzca@>
> > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > I believe it should be the rc.xinetd script that starts
> > > > > Xinted.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > [Non-text portions of this message have been removed]
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>

#8707 From: Anthony Takata <htwiz2002@...>
Date: Thu Sep 6, 2012 4:14 pm
Subject: Re: Re: Trouble with Transmission.
htwiz2005
Send Email Send Email
 
Well, you'll want to make sure that you can read /opt/etc/vsftpd.conf
(check permissions). Also, make sure you have a slash at the front (see my
example above) otherwise the program will look for it in reference to the
current directory (which is more than likely not / ).
Also, if you run the command and it just returns to the commandline
immediately, then the program is already "forking" or running in the
background for you. If it does not (and there are no commandline options
for it, you can just put an ampersand ( & ) at the end of the command and
that should work just fine.
The option in the vsftpd.conf file is this:*background*When enabled, and
vsftpd is started in "listen" mode, vsftpd will background the listener
process. i.e. control will immediately be returned to the shell which
launched vsftpd.

Default: NO

You'll want to just have a line that reads:
background=yes

On Wed, Sep 5, 2012 at 11:07 PM, stigslims <stigslim@...> wrote:

> **
>
>
> Hi, tried just manually starting it with /opt/sbin/vsftpd
> opt/etc/vsftpd.conf just to see if i could get it running. Got an error
> about not being able to read the config file?. I get the init.d looking for
> it on boot, but have no idea how to set up the script or backgrounding the
> daemon hurdle. Just as i seem to be figuring it out it gets more
> complicated.
>
>
> --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...>
> wrote:
> >
> > In that case, just make an init.d script to launch it. Make sure if it
> > doesn't have a daemon option that you background it or the device won't
> > finish booting!
> >
> > On Tue, Sep 4, 2012 at 8:13 PM, stigslims <stigslim@...> wrote:
> >
> > > **
>
> > >
> > >
> > > After reading the manual page i notice vsftpd can be ran in standalone
> > > mode. So switched the listen option to yes to allow it to monitor
> incoming
> > > connections and forwarded the port on my router. The only thing im not
> sure
> > > on is how to start it in standalone?.
> > >
> > >
> > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@> wrote:
> > > >
> > > > Hi Anthony, i have tried the pidof command with no luck, i dont get
> any
> > > return (tried with samba just to make sure, it was fine). So i can only
> > > assume its not running. Had a root around, opt/sbin, which is where
> > > executable programs are, in green? and noticed xinet.reload. Not sure
> if
> > > this is a problem but not sure where to go from here, ides?.
> > > >
> > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> wrote:
> > > > >
> > > > > No, the Xinetd deamon will be running if it's installed correctly,
> if
> > > you
> > > > > do "pidof xinetd" it should list at least one number (the PID). If
> you
> > > can
> > > > > get that far, then you can test if your configuration is correct by
> > > simply
> > > > > attempting to connect to the service (i.e. open an ftp connection
> to
> > > the
> > > > > host). If it's not working, you'll just receive a message stating
> that
> > > the
> > > > > connection was rejected.
> > > > > If you don't get a connection refused, then it's safe to assume
> that
> > > VSFTP
> > > > > would have taken the call and everything else is handled by that
> > > program.
> > > > >
> > > > > On Sun, Sep 2, 2012 at 9:44 AM, stigslims <stigslim@> wrote:
> > > > >
> > > > > > **
> > > > > >
> > > > > >
> > > > > > Thanks for your reply.Is there any way of testing xinetd?, am i
> right
> > > > > > thinking that it only runs when request/connection is made?. If i
> > > can try
> > > > > > it out and know its working then i can go on to he next step
> (VSFTPD
> > > config
> > > > > > file knowing if theres a problem it can only be VSFTP?.
> > > > > >
> > > > > >
> > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@
> >
> > > > > > wrote:
> > > > > > >
> > > > > > > Ideally the "Only from" line should contain the ip range of the
> > > computers
> > > > > > > you're going to allow to connect to it. For example, if you
> only
> > > want to
> > > > > > > allow local computers it would be something like
> 192.168.0.0/24(Don't
>
> > > > > > use
> > > > > > > that, I don't think it's actually correct).
> > > > > > > If you want to allow anyone, just put 0.0.0.0/0 and let the
> > > service take
> > > > > > > care of logins etc.
> > > > > > >
> > > > > > > On Sat, Sep 1, 2012 at 11:39 AM, stigslims <stigslim@> wrote:
> > > > > > >
> > > > > > > > **
> > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > scratch that last comment i was off in the wrong direction
> > > completely.
> > > > > > I
> > > > > > > > figured the xinetd file (within reason) just a couple of
> > > questions.
> > > > > > What
> > > > > > > > would i put in the only from field, A specific ip or default
> one
> > > to
> > > > > > allow
> > > > > > > > access from any remote machine?. Do i need to change anything
> > > inside
> > > > > > the
> > > > > > > > xinetd.conf file?.
> > > > > > > >
> > > > > > > >
> > > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@
> >
> > > wrote:
> > > > > > > > >
> > > > > > > > > Took a step back to my Xinetd install and noticed two files
> > > missing
> > > > > > from
> > > > > > > > /etc (services and protocols) tried to download them but got
> a
> > > wget
> > > > > > error
> > > > > > > > HTTPS support not compiled in. seems weird i updated wget
> when i
> > > > > > installed
> > > > > > > > optware. Reinstall?. this might explain xinetd not working.
> > > > > > > > >
> > > > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims"
> <stigslim@>
> > > wrote:
> > > > > > > > > >
> > > > > > > > > > I think i get the config file part, each program has a
> set of
> > > > > > values.
> > > > > > > > But i tried the pidof xinetd command and got no return so i
> > > figure its
> > > > > > not
> > > > > > > > running. Tried starting it (/opt/etc/xinetd.d start) and i
> get
> > > > > > permission
> > > > > > > > denied.Any ideas?
> > > > > > > > > >
> > > > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata
> > > <htwiz2002@>
> > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > Nah, more likely you'll just need to make an Xinetd
> config
> > > file
> > > > > > for
> > > > > > > > the
> > > > > > > > > > > program.
> > > > > > > > > > > See http://www.xinetd.org/
> > > > > > > > > > >
> > > > > > > > > > > The file will probably go into
> > > /opt/etc/xinet.d/(programnamehere)
> > > > > > > > > > > And it will look like so:
> > > > > > > > > > > service bftpd
> > > > > > > > > > > {
> > > > > > > > > > > only_from = 0.0.0.0/0
> > > > > > > > > > > socket_type = stream
> > > > > > > > > > > instances = 30
> > > > > > > > > > > wait = no
> > > > > > > > > > > user = root
> > > > > > > > > > > server = /opt/bin/bftpd
> > > > > > > > > > > port = 21
> > > > > > > > > > > protocol = tcp
> > > > > > > > > > > log_on_success = HOST PID
> > > > > > > > > > > log_on_failure = HOST
> > > > > > > > > > > }
> > > > > > > > > > >
> > > > > > > > > > > Of course, you would modify the values to the correct
> ones.
> > > > > > > > > > >
> > > > > > > > > > > To determine if xinet.d is already running, just run a
> > > "pidof
> > > > > > > > xinetd". If
> > > > > > > > > > > it is, the optware package for xinetd was configured
> > > successfully
> > > > > > > > and you
> > > > > > > > > > > won't need an rc diversion script.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims <stigslim@
> >
> > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > **
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I think I follow, xinetd monitors for requests and
> > > starts the
> > > > > > > > daemon. Just
> > > > > > > > > > > > not sure where to find rc.xinetd or If I have to
> create
> > > one do
> > > > > > I
> > > > > > > > just open
> > > > > > > > > > > > an editor (nano) enter the line/lines and save it as
> > > > > > rc.xinetd?.
> > > > > > > > And if so
> > > > > > > > > > > > does it just go in /opt/etc?.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, Dale Schultz
> > > > > > <dschultzca@>
> > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > I believe it should be the rc.xinetd script that
> starts
> > > > > > Xinted.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > [Non-text portions of this message have been removed]
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > >
> > >
> > >
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>


[Non-text portions of this message have been removed]

#8708 From: "stigslims" <stigslim@...>
Date: Thu Sep 6, 2012 10:21 pm
Subject: Re: Trouble with Transmission.
stigslims
Send Email Send Email
 
Nearly got it, i think its started as it shows in ps and is using resources as
in the top command, but i cant connect to it. It can only be the config file. I
have forwarded the port to the plug on my local network.So how would i access
it?. Are there some basic rules that allow a connection?.

--- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...> wrote:
>
> Well, you'll want to make sure that you can read /opt/etc/vsftpd.conf
> (check permissions). Also, make sure you have a slash at the front (see my
> example above) otherwise the program will look for it in reference to the
> current directory (which is more than likely not / ).
> Also, if you run the command and it just returns to the commandline
> immediately, then the program is already "forking" or running in the
> background for you. If it does not (and there are no commandline options
> for it, you can just put an ampersand ( & ) at the end of the command and
> that should work just fine.
> The option in the vsftpd.conf file is this:*background*When enabled, and
> vsftpd is started in "listen" mode, vsftpd will background the listener
> process. i.e. control will immediately be returned to the shell which
> launched vsftpd.
>
> Default: NO
>
> You'll want to just have a line that reads:
> background=yes
>
> On Wed, Sep 5, 2012 at 11:07 PM, stigslims <stigslim@...> wrote:
>
> > **
> >
> >
> > Hi, tried just manually starting it with /opt/sbin/vsftpd
> > opt/etc/vsftpd.conf just to see if i could get it running. Got an error
> > about not being able to read the config file?. I get the init.d looking for
> > it on boot, but have no idea how to set up the script or backgrounding the
> > daemon hurdle. Just as i seem to be figuring it out it gets more
> > complicated.
> >
> >
> > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > wrote:
> > >
> > > In that case, just make an init.d script to launch it. Make sure if it
> > > doesn't have a daemon option that you background it or the device won't
> > > finish booting!
> > >
> > > On Tue, Sep 4, 2012 at 8:13 PM, stigslims <stigslim@> wrote:
> > >
> > > > **
> >
> > > >
> > > >
> > > > After reading the manual page i notice vsftpd can be ran in standalone
> > > > mode. So switched the listen option to yes to allow it to monitor
> > incoming
> > > > connections and forwarded the port on my router. The only thing im not
> > sure
> > > > on is how to start it in standalone?.
> > > >
> > > >
> > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@> wrote:
> > > > >
> > > > > Hi Anthony, i have tried the pidof command with no luck, i dont get
> > any
> > > > return (tried with samba just to make sure, it was fine). So i can only
> > > > assume its not running. Had a root around, opt/sbin, which is where
> > > > executable programs are, in green? and noticed xinet.reload. Not sure
> > if
> > > > this is a problem but not sure where to go from here, ides?.
> > > > >
> > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > wrote:
> > > > > >
> > > > > > No, the Xinetd deamon will be running if it's installed correctly,
> > if
> > > > you
> > > > > > do "pidof xinetd" it should list at least one number (the PID). If
> > you
> > > > can
> > > > > > get that far, then you can test if your configuration is correct by
> > > > simply
> > > > > > attempting to connect to the service (i.e. open an ftp connection
> > to
> > > > the
> > > > > > host). If it's not working, you'll just receive a message stating
> > that
> > > > the
> > > > > > connection was rejected.
> > > > > > If you don't get a connection refused, then it's safe to assume
> > that
> > > > VSFTP
> > > > > > would have taken the call and everything else is handled by that
> > > > program.
> > > > > >
> > > > > > On Sun, Sep 2, 2012 at 9:44 AM, stigslims <stigslim@> wrote:
> > > > > >
> > > > > > > **
> > > > > > >
> > > > > > >
> > > > > > > Thanks for your reply.Is there any way of testing xinetd?, am i
> > right
> > > > > > > thinking that it only runs when request/connection is made?. If i
> > > > can try
> > > > > > > it out and know its working then i can go on to he next step
> > (VSFTPD
> > > > config
> > > > > > > file knowing if theres a problem it can only be VSFTP?.
> > > > > > >
> > > > > > >
> > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@
> > >
> > > > > > > wrote:
> > > > > > > >
> > > > > > > > Ideally the "Only from" line should contain the ip range of the
> > > > computers
> > > > > > > > you're going to allow to connect to it. For example, if you
> > only
> > > > want to
> > > > > > > > allow local computers it would be something like
> > 192.168.0.0/24(Don't
> >
> > > > > > > use
> > > > > > > > that, I don't think it's actually correct).
> > > > > > > > If you want to allow anyone, just put 0.0.0.0/0 and let the
> > > > service take
> > > > > > > > care of logins etc.
> > > > > > > >
> > > > > > > > On Sat, Sep 1, 2012 at 11:39 AM, stigslims <stigslim@> wrote:
> > > > > > > >
> > > > > > > > > **
> > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > scratch that last comment i was off in the wrong direction
> > > > completely.
> > > > > > > I
> > > > > > > > > figured the xinetd file (within reason) just a couple of
> > > > questions.
> > > > > > > What
> > > > > > > > > would i put in the only from field, A specific ip or default
> > one
> > > > to
> > > > > > > allow
> > > > > > > > > access from any remote machine?. Do i need to change anything
> > > > inside
> > > > > > > the
> > > > > > > > > xinetd.conf file?.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@
> > >
> > > > wrote:
> > > > > > > > > >
> > > > > > > > > > Took a step back to my Xinetd install and noticed two files
> > > > missing
> > > > > > > from
> > > > > > > > > /etc (services and protocols) tried to download them but got
> > a
> > > > wget
> > > > > > > error
> > > > > > > > > HTTPS support not compiled in. seems weird i updated wget
> > when i
> > > > > > > installed
> > > > > > > > > optware. Reinstall?. this might explain xinetd not working.
> > > > > > > > > >
> > > > > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims"
> > <stigslim@>
> > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > I think i get the config file part, each program has a
> > set of
> > > > > > > values.
> > > > > > > > > But i tried the pidof xinetd command and got no return so i
> > > > figure its
> > > > > > > not
> > > > > > > > > running. Tried starting it (/opt/etc/xinetd.d start) and i
> > get
> > > > > > > permission
> > > > > > > > > denied.Any ideas?
> > > > > > > > > > >
> > > > > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata
> > > > <htwiz2002@>
> > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Nah, more likely you'll just need to make an Xinetd
> > config
> > > > file
> > > > > > > for
> > > > > > > > > the
> > > > > > > > > > > > program.
> > > > > > > > > > > > See http://www.xinetd.org/
> > > > > > > > > > > >
> > > > > > > > > > > > The file will probably go into
> > > > /opt/etc/xinet.d/(programnamehere)
> > > > > > > > > > > > And it will look like so:
> > > > > > > > > > > > service bftpd
> > > > > > > > > > > > {
> > > > > > > > > > > > only_from = 0.0.0.0/0
> > > > > > > > > > > > socket_type = stream
> > > > > > > > > > > > instances = 30
> > > > > > > > > > > > wait = no
> > > > > > > > > > > > user = root
> > > > > > > > > > > > server = /opt/bin/bftpd
> > > > > > > > > > > > port = 21
> > > > > > > > > > > > protocol = tcp
> > > > > > > > > > > > log_on_success = HOST PID
> > > > > > > > > > > > log_on_failure = HOST
> > > > > > > > > > > > }
> > > > > > > > > > > >
> > > > > > > > > > > > Of course, you would modify the values to the correct
> > ones.
> > > > > > > > > > > >
> > > > > > > > > > > > To determine if xinet.d is already running, just run a
> > > > "pidof
> > > > > > > > > xinetd". If
> > > > > > > > > > > > it is, the optware package for xinetd was configured
> > > > successfully
> > > > > > > > > and you
> > > > > > > > > > > > won't need an rc diversion script.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims <stigslim@
> > >
> > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > **
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I think I follow, xinetd monitors for requests and
> > > > starts the
> > > > > > > > > daemon. Just
> > > > > > > > > > > > > not sure where to find rc.xinetd or If I have to
> > create
> > > > one do
> > > > > > > I
> > > > > > > > > just open
> > > > > > > > > > > > > an editor (nano) enter the line/lines and save it as
> > > > > > > rc.xinetd?.
> > > > > > > > > And if so
> > > > > > > > > > > > > does it just go in /opt/etc?.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, Dale Schultz
> > > > > > > <dschultzca@>
> > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I believe it should be the rc.xinetd script that
> > starts
> > > > > > > Xinted.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > [Non-text portions of this message have been removed]
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>

#8709 From: Anthony Takata <htwiz2002@...>
Date: Sat Sep 8, 2012 5:16 am
Subject: Re: Re: Trouble with Transmission.
htwiz2005
Send Email Send Email
 
Well, if it's running you can use the netstat command to make sure which
port it's using like so:
netstat -l -t
This will list all TCP sockets that are listening for connections (i.e.
port 21 for FTP will say "tcp  0 0.0.0.0:ftp 0.0.0.0:* LISTEN").
Once you can verify it is in fact listening, you can try to connect to it,
either on the plug itself or using another computer. The session will look
like so:
$ ftp 192.168.1.77
Connected to 192.168.1.77
220 vsftpd 1.7 at 192.168.1.77 ready.
Name (192.168.1.77:root): root
331 Password please.
Password:
230 User logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT 192.168.1.77:2124 OK
150 BINARY data connection established.
drwrwr-x 24 501     501     4096 Sep 1 12:56 Music
226 Directory list has been submitted.
ftp> bye
221 See you later...
$

If you get something like this:
$ ftp 192.168.1.77
ftp: connect: Connection refused
ftp> bye
$

The server isn't really listening. Obviously you'll want to substitute your
plug's IP for the 192.168.1.77 above ;)


On Thu, Sep 6, 2012 at 10:21 PM, stigslims <stigslim@...> wrote:

> **
>
>
> Nearly got it, i think its started as it shows in ps and is using
> resources as in the top command, but i cant connect to it. It can only be
> the config file. I have forwarded the port to the plug on my local
> network.So how would i access it?. Are there some basic rules that allow a
> connection?.
>
>
> --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...>
> wrote:
> >
> > Well, you'll want to make sure that you can read /opt/etc/vsftpd.conf
> > (check permissions). Also, make sure you have a slash at the front (see
> my
> > example above) otherwise the program will look for it in reference to the
> > current directory (which is more than likely not / ).
> > Also, if you run the command and it just returns to the commandline
> > immediately, then the program is already "forking" or running in the
> > background for you. If it does not (and there are no commandline options
> > for it, you can just put an ampersand ( & ) at the end of the command and
> > that should work just fine.
> > The option in the vsftpd.conf file is this:*background*When enabled, and
>
> > vsftpd is started in "listen" mode, vsftpd will background the listener
> > process. i.e. control will immediately be returned to the shell which
> > launched vsftpd.
> >
> > Default: NO
> >
> > You'll want to just have a line that reads:
> > background=yes
> >
> > On Wed, Sep 5, 2012 at 11:07 PM, stigslims <stigslim@...> wrote:
> >
> > > **
>
> > >
> > >
> > > Hi, tried just manually starting it with /opt/sbin/vsftpd
> > > opt/etc/vsftpd.conf just to see if i could get it running. Got an error
> > > about not being able to read the config file?. I get the init.d
> looking for
> > > it on boot, but have no idea how to set up the script or backgrounding
> the
> > > daemon hurdle. Just as i seem to be figuring it out it gets more
> > > complicated.
> > >
> > >
> > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > wrote:
> > > >
> > > > In that case, just make an init.d script to launch it. Make sure if
> it
> > > > doesn't have a daemon option that you background it or the device
> won't
> > > > finish booting!
> > > >
> > > > On Tue, Sep 4, 2012 at 8:13 PM, stigslims <stigslim@> wrote:
> > > >
> > > > > **
> > >
> > > > >
> > > > >
> > > > > After reading the manual page i notice vsftpd can be ran in
> standalone
> > > > > mode. So switched the listen option to yes to allow it to monitor
> > > incoming
> > > > > connections and forwarded the port on my router. The only thing im
> not
> > > sure
> > > > > on is how to start it in standalone?.
> > > > >
> > > > >
> > > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@>
> wrote:
> > > > > >
> > > > > > Hi Anthony, i have tried the pidof command with no luck, i dont
> get
> > > any
> > > > > return (tried with samba just to make sure, it was fine). So i can
> only
> > > > > assume its not running. Had a root around, opt/sbin, which is where
> > > > > executable programs are, in green? and noticed xinet.reload. Not
> sure
> > > if
> > > > > this is a problem but not sure where to go from here, ides?.
> > > > > >
> > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@
> >
> > > wrote:
> > > > > > >
> > > > > > > No, the Xinetd deamon will be running if it's installed
> correctly,
> > > if
> > > > > you
> > > > > > > do "pidof xinetd" it should list at least one number (the
> PID). If
> > > you
> > > > > can
> > > > > > > get that far, then you can test if your configuration is
> correct by
> > > > > simply
> > > > > > > attempting to connect to the service (i.e. open an ftp
> connection
> > > to
> > > > > the
> > > > > > > host). If it's not working, you'll just receive a message
> stating
> > > that
> > > > > the
> > > > > > > connection was rejected.
> > > > > > > If you don't get a connection refused, then it's safe to assume
> > > that
> > > > > VSFTP
> > > > > > > would have taken the call and everything else is handled by
> that
> > > > > program.
> > > > > > >
> > > > > > > On Sun, Sep 2, 2012 at 9:44 AM, stigslims <stigslim@> wrote:
> > > > > > >
> > > > > > > > **
> > > > > > > >
> > > > > > > >
> > > > > > > > Thanks for your reply.Is there any way of testing xinetd?,
> am i
> > > right
> > > > > > > > thinking that it only runs when request/connection is made?.
> If i
> > > > > can try
> > > > > > > > it out and know its working then i can go on to he next step
> > > (VSFTPD
> > > > > config
> > > > > > > > file knowing if theres a problem it can only be VSFTP?.
> > > > > > > >
> > > > > > > >
> > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata
> <htwiz2002@
> > > >
> > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > Ideally the "Only from" line should contain the ip range
> of the
> > > > > computers
> > > > > > > > > you're going to allow to connect to it. For example, if you
> > > only
> > > > > want to
> > > > > > > > > allow local computers it would be something like
> > > 192.168.0.0/24(Don't
> > >
> > > > > > > > use
> > > > > > > > > that, I don't think it's actually correct).
> > > > > > > > > If you want to allow anyone, just put 0.0.0.0/0 and let
> the
> > > > > service take
> > > > > > > > > care of logins etc.
> > > > > > > > >
> > > > > > > > > On Sat, Sep 1, 2012 at 11:39 AM, stigslims <stigslim@>
> wrote:
> > > > > > > > >
> > > > > > > > > > **
> > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > scratch that last comment i was off in the wrong
> direction
> > > > > completely.
> > > > > > > > I
> > > > > > > > > > figured the xinetd file (within reason) just a couple of
> > > > > questions.
> > > > > > > > What
> > > > > > > > > > would i put in the only from field, A specific ip or
> default
> > > one
> > > > > to
> > > > > > > > allow
> > > > > > > > > > access from any remote machine?. Do i need to change
> anything
> > > > > inside
> > > > > > > > the
> > > > > > > > > > xinetd.conf file?.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims"
> <stigslim@
> > > >
> > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > Took a step back to my Xinetd install and noticed two
> files
> > > > > missing
> > > > > > > > from
> > > > > > > > > > /etc (services and protocols) tried to download them but
> got
> > > a
> > > > > wget
> > > > > > > > error
> > > > > > > > > > HTTPS support not compiled in. seems weird i updated wget
> > > when i
> > > > > > > > installed
> > > > > > > > > > optware. Reinstall?. this might explain xinetd not
> working.
> > > > > > > > > > >
> > > > > > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims"
> > > <stigslim@>
> > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > I think i get the config file part, each program has
> a
> > > set of
> > > > > > > > values.
> > > > > > > > > > But i tried the pidof xinetd command and got no return
> so i
> > > > > figure its
> > > > > > > > not
> > > > > > > > > > running. Tried starting it (/opt/etc/xinetd.d start) and
> i
> > > get
> > > > > > > > permission
> > > > > > > > > > denied.Any ideas?
> > > > > > > > > > > >
> > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata
> > > > > <htwiz2002@>
> > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Nah, more likely you'll just need to make an Xinetd
> > > config
> > > > > file
> > > > > > > > for
> > > > > > > > > > the
> > > > > > > > > > > > > program.
> > > > > > > > > > > > > See http://www.xinetd.org/
> > > > > > > > > > > > >
> > > > > > > > > > > > > The file will probably go into
> > > > > /opt/etc/xinet.d/(programnamehere)
> > > > > > > > > > > > > And it will look like so:
> > > > > > > > > > > > > service bftpd
> > > > > > > > > > > > > {
> > > > > > > > > > > > > only_from = 0.0.0.0/0
> > > > > > > > > > > > > socket_type = stream
> > > > > > > > > > > > > instances = 30
> > > > > > > > > > > > > wait = no
> > > > > > > > > > > > > user = root
> > > > > > > > > > > > > server = /opt/bin/bftpd
> > > > > > > > > > > > > port = 21
> > > > > > > > > > > > > protocol = tcp
> > > > > > > > > > > > > log_on_success = HOST PID
> > > > > > > > > > > > > log_on_failure = HOST
> > > > > > > > > > > > > }
> > > > > > > > > > > > >
> > > > > > > > > > > > > Of course, you would modify the values to the
> correct
> > > ones.
> > > > > > > > > > > > >
> > > > > > > > > > > > > To determine if xinet.d is already running, just
> run a
> > > > > "pidof
> > > > > > > > > > xinetd". If
> > > > > > > > > > > > > it is, the optware package for xinetd was
> configured
> > > > > successfully
> > > > > > > > > > and you
> > > > > > > > > > > > > won't need an rc diversion script.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims
> <stigslim@
> > > >
> > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > **
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I think I follow, xinetd monitors for requests
> and
> > > > > starts the
> > > > > > > > > > daemon. Just
> > > > > > > > > > > > > > not sure where to find rc.xinetd or If I have to
> > > create
> > > > > one do
> > > > > > > > I
> > > > > > > > > > just open
> > > > > > > > > > > > > > an editor (nano) enter the line/lines and save
> it as
> > > > > > > > rc.xinetd?.
> > > > > > > > > > And if so
> > > > > > > > > > > > > > does it just go in /opt/etc?.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, Dale
> Schultz
> > > > > > > > <dschultzca@>
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I believe it should be the rc.xinetd script
> that
> > > starts
> > > > > > > > Xinted.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > [Non-text portions of this message have been
> removed]
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > [Non-text portions of this message have been removed]
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> > >
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>


[Non-text portions of this message have been removed]

#8710 From: "stigslims" <stigslim@...>
Date: Sat Sep 8, 2012 10:09 pm
Subject: Re: Trouble with Transmission.
stigslims
Send Email Send Email
 
I have ran the nestat command and get the output,
~ # netstat -l -t
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:9091            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:3333            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:3334            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:51413           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN
tcp        0      0 :::51413                :::*                    LISTEN
I take it port 21 is VSFTPD?. Trying to connect with an app on a mobile device
via FTP but if i put my LAN IP/ External IP address in and use port 21 i get an
error saying cannot find the ftp server. I have also tried using the commands
example you have given but just get ftp not found. Which points at it not
running.
--- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...> wrote:
>
> Well, if it's running you can use the netstat command to make sure which
> port it's using like so:
> netstat -l -t
> This will list all TCP sockets that are listening for connections (i.e.
> port 21 for FTP will say "tcp  0 0.0.0.0:ftp 0.0.0.0:* LISTEN").
> Once you can verify it is in fact listening, you can try to connect to it,
> either on the plug itself or using another computer. The session will look
> like so:
> $ ftp 192.168.1.77
> Connected to 192.168.1.77
> 220 vsftpd 1.7 at 192.168.1.77 ready.
> Name (192.168.1.77:root): root
> 331 Password please.
> Password:
> 230 User logged in.
> Remote system type is UNIX.
> Using binary mode to transfer files.
> ftp> ls
> 200 PORT 192.168.1.77:2124 OK
> 150 BINARY data connection established.
> drwrwr-x 24 501     501     4096 Sep 1 12:56 Music
> 226 Directory list has been submitted.
> ftp> bye
> 221 See you later...
> $
>
> If you get something like this:
> $ ftp 192.168.1.77
> ftp: connect: Connection refused
> ftp> bye
> $
>
> The server isn't really listening. Obviously you'll want to substitute your
> plug's IP for the 192.168.1.77 above ;)
>
>
> On Thu, Sep 6, 2012 at 10:21 PM, stigslims <stigslim@...> wrote:
>
> > **
> >
> >
> > Nearly got it, i think its started as it shows in ps and is using
> > resources as in the top command, but i cant connect to it. It can only be
> > the config file. I have forwarded the port to the plug on my local
> > network.So how would i access it?. Are there some basic rules that allow a
> > connection?.
> >
> >
> > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > wrote:
> > >
> > > Well, you'll want to make sure that you can read /opt/etc/vsftpd.conf
> > > (check permissions). Also, make sure you have a slash at the front (see
> > my
> > > example above) otherwise the program will look for it in reference to the
> > > current directory (which is more than likely not / ).
> > > Also, if you run the command and it just returns to the commandline
> > > immediately, then the program is already "forking" or running in the
> > > background for you. If it does not (and there are no commandline options
> > > for it, you can just put an ampersand ( & ) at the end of the command and
> > > that should work just fine.
> > > The option in the vsftpd.conf file is this:*background*When enabled, and
> >
> > > vsftpd is started in "listen" mode, vsftpd will background the listener
> > > process. i.e. control will immediately be returned to the shell which
> > > launched vsftpd.
> > >
> > > Default: NO
> > >
> > > You'll want to just have a line that reads:
> > > background=yes
> > >
> > > On Wed, Sep 5, 2012 at 11:07 PM, stigslims <stigslim@> wrote:
> > >
> > > > **
> >
> > > >
> > > >
> > > > Hi, tried just manually starting it with /opt/sbin/vsftpd
> > > > opt/etc/vsftpd.conf just to see if i could get it running. Got an error
> > > > about not being able to read the config file?. I get the init.d
> > looking for
> > > > it on boot, but have no idea how to set up the script or backgrounding
> > the
> > > > daemon hurdle. Just as i seem to be figuring it out it gets more
> > > > complicated.
> > > >
> > > >
> > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > > wrote:
> > > > >
> > > > > In that case, just make an init.d script to launch it. Make sure if
> > it
> > > > > doesn't have a daemon option that you background it or the device
> > won't
> > > > > finish booting!
> > > > >
> > > > > On Tue, Sep 4, 2012 at 8:13 PM, stigslims <stigslim@> wrote:
> > > > >
> > > > > > **
> > > >
> > > > > >
> > > > > >
> > > > > > After reading the manual page i notice vsftpd can be ran in
> > standalone
> > > > > > mode. So switched the listen option to yes to allow it to monitor
> > > > incoming
> > > > > > connections and forwarded the port on my router. The only thing im
> > not
> > > > sure
> > > > > > on is how to start it in standalone?.
> > > > > >
> > > > > >
> > > > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@>
> > wrote:
> > > > > > >
> > > > > > > Hi Anthony, i have tried the pidof command with no luck, i dont
> > get
> > > > any
> > > > > > return (tried with samba just to make sure, it was fine). So i can
> > only
> > > > > > assume its not running. Had a root around, opt/sbin, which is where
> > > > > > executable programs are, in green? and noticed xinet.reload. Not
> > sure
> > > > if
> > > > > > this is a problem but not sure where to go from here, ides?.
> > > > > > >
> > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@
> > >
> > > > wrote:
> > > > > > > >
> > > > > > > > No, the Xinetd deamon will be running if it's installed
> > correctly,
> > > > if
> > > > > > you
> > > > > > > > do "pidof xinetd" it should list at least one number (the
> > PID). If
> > > > you
> > > > > > can
> > > > > > > > get that far, then you can test if your configuration is
> > correct by
> > > > > > simply
> > > > > > > > attempting to connect to the service (i.e. open an ftp
> > connection
> > > > to
> > > > > > the
> > > > > > > > host). If it's not working, you'll just receive a message
> > stating
> > > > that
> > > > > > the
> > > > > > > > connection was rejected.
> > > > > > > > If you don't get a connection refused, then it's safe to assume
> > > > that
> > > > > > VSFTP
> > > > > > > > would have taken the call and everything else is handled by
> > that
> > > > > > program.
> > > > > > > >
> > > > > > > > On Sun, Sep 2, 2012 at 9:44 AM, stigslims <stigslim@> wrote:
> > > > > > > >
> > > > > > > > > **
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Thanks for your reply.Is there any way of testing xinetd?,
> > am i
> > > > right
> > > > > > > > > thinking that it only runs when request/connection is made?.
> > If i
> > > > > > can try
> > > > > > > > > it out and know its working then i can go on to he next step
> > > > (VSFTPD
> > > > > > config
> > > > > > > > > file knowing if theres a problem it can only be VSFTP?.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata
> > <htwiz2002@
> > > > >
> > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > Ideally the "Only from" line should contain the ip range
> > of the
> > > > > > computers
> > > > > > > > > > you're going to allow to connect to it. For example, if you
> > > > only
> > > > > > want to
> > > > > > > > > > allow local computers it would be something like
> > > > 192.168.0.0/24(Don't
> > > >
> > > > > > > > > use
> > > > > > > > > > that, I don't think it's actually correct).
> > > > > > > > > > If you want to allow anyone, just put 0.0.0.0/0 and let
> > the
> > > > > > service take
> > > > > > > > > > care of logins etc.
> > > > > > > > > >
> > > > > > > > > > On Sat, Sep 1, 2012 at 11:39 AM, stigslims <stigslim@>
> > wrote:
> > > > > > > > > >
> > > > > > > > > > > **
> > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > scratch that last comment i was off in the wrong
> > direction
> > > > > > completely.
> > > > > > > > > I
> > > > > > > > > > > figured the xinetd file (within reason) just a couple of
> > > > > > questions.
> > > > > > > > > What
> > > > > > > > > > > would i put in the only from field, A specific ip or
> > default
> > > > one
> > > > > > to
> > > > > > > > > allow
> > > > > > > > > > > access from any remote machine?. Do i need to change
> > anything
> > > > > > inside
> > > > > > > > > the
> > > > > > > > > > > xinetd.conf file?.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims"
> > <stigslim@
> > > > >
> > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Took a step back to my Xinetd install and noticed two
> > files
> > > > > > missing
> > > > > > > > > from
> > > > > > > > > > > /etc (services and protocols) tried to download them but
> > got
> > > > a
> > > > > > wget
> > > > > > > > > error
> > > > > > > > > > > HTTPS support not compiled in. seems weird i updated wget
> > > > when i
> > > > > > > > > installed
> > > > > > > > > > > optware. Reinstall?. this might explain xinetd not
> > working.
> > > > > > > > > > > >
> > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims"
> > > > <stigslim@>
> > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > I think i get the config file part, each program has
> > a
> > > > set of
> > > > > > > > > values.
> > > > > > > > > > > But i tried the pidof xinetd command and got no return
> > so i
> > > > > > figure its
> > > > > > > > > not
> > > > > > > > > > > running. Tried starting it (/opt/etc/xinetd.d start) and
> > i
> > > > get
> > > > > > > > > permission
> > > > > > > > > > > denied.Any ideas?
> > > > > > > > > > > > >
> > > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata
> > > > > > <htwiz2002@>
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Nah, more likely you'll just need to make an Xinetd
> > > > config
> > > > > > file
> > > > > > > > > for
> > > > > > > > > > > the
> > > > > > > > > > > > > > program.
> > > > > > > > > > > > > > See http://www.xinetd.org/
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The file will probably go into
> > > > > > /opt/etc/xinet.d/(programnamehere)
> > > > > > > > > > > > > > And it will look like so:
> > > > > > > > > > > > > > service bftpd
> > > > > > > > > > > > > > {
> > > > > > > > > > > > > > only_from = 0.0.0.0/0
> > > > > > > > > > > > > > socket_type = stream
> > > > > > > > > > > > > > instances = 30
> > > > > > > > > > > > > > wait = no
> > > > > > > > > > > > > > user = root
> > > > > > > > > > > > > > server = /opt/bin/bftpd
> > > > > > > > > > > > > > port = 21
> > > > > > > > > > > > > > protocol = tcp
> > > > > > > > > > > > > > log_on_success = HOST PID
> > > > > > > > > > > > > > log_on_failure = HOST
> > > > > > > > > > > > > > }
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Of course, you would modify the values to the
> > correct
> > > > ones.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > To determine if xinet.d is already running, just
> > run a
> > > > > > "pidof
> > > > > > > > > > > xinetd". If
> > > > > > > > > > > > > > it is, the optware package for xinetd was
> > configured
> > > > > > successfully
> > > > > > > > > > > and you
> > > > > > > > > > > > > > won't need an rc diversion script.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims
> > <stigslim@
> > > > >
> > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > **
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I think I follow, xinetd monitors for requests
> > and
> > > > > > starts the
> > > > > > > > > > > daemon. Just
> > > > > > > > > > > > > > > not sure where to find rc.xinetd or If I have to
> > > > create
> > > > > > one do
> > > > > > > > > I
> > > > > > > > > > > just open
> > > > > > > > > > > > > > > an editor (nano) enter the line/lines and save
> > it as
> > > > > > > > > rc.xinetd?.
> > > > > > > > > > > And if so
> > > > > > > > > > > > > > > does it just go in /opt/etc?.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, Dale
> > Schultz
> > > > > > > > > <dschultzca@>
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I believe it should be the rc.xinetd script
> > that
> > > > starts
> > > > > > > > > Xinted.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > [Non-text portions of this message have been
> > removed]
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>

#8711 From: Anthony Takata <htwiz2002@...>
Date: Sun Sep 9, 2012 6:31 am
Subject: Re: Re: Trouble with Transmission.
htwiz2005
Send Email Send Email
 
Ok, so it does look like it's listening, because port 21 is open per the
output you pasted. However, just because the ftp command says not found,
that only means that your device doesn't have an ftp program installed by
default.
Also, you want to ensure that local-access FTP works before attempting to
access by external IP.
You should be able to accomplish the ftp commands I wrote on any normal
Windows PC, Linux, or Mac, in the terminal.


On Sat, Sep 8, 2012 at 10:09 PM, stigslims <stigslim@...> wrote:

> **
>
>
> I have ran the nestat command and get the output,
> ~ # netstat -l -t
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address Foreign Address State
> tcp 0 0 0.0.0.0:9091 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:3333 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:3334 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:51413 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
> tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
> tcp 0 0 :::51413 :::* LISTEN
> I take it port 21 is VSFTPD?. Trying to connect with an app on a mobile
> device via FTP but if i put my LAN IP/ External IP address in and use port
> 21 i get an error saying cannot find the ftp server. I have also tried
> using the commands example you have given but just get ftp not found. Which
> points at it not running.
>
> --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...>
> wrote:
> >
> > Well, if it's running you can use the netstat command to make sure which
> > port it's using like so:
> > netstat -l -t
> > This will list all TCP sockets that are listening for connections (i.e.
> > port 21 for FTP will say "tcp 0 0.0.0.0:ftp 0.0.0.0:* LISTEN").
> > Once you can verify it is in fact listening, you can try to connect to
> it,
> > either on the plug itself or using another computer. The session will
> look
> > like so:
> > $ ftp 192.168.1.77
> > Connected to 192.168.1.77
> > 220 vsftpd 1.7 at 192.168.1.77 ready.
> > Name (192.168.1.77:root): root
> > 331 Password please.
> > Password:
> > 230 User logged in.
> > Remote system type is UNIX.
> > Using binary mode to transfer files.
> > ftp> ls
> > 200 PORT 192.168.1.77:2124 OK
> > 150 BINARY data connection established.
> > drwrwr-x 24 501 501 4096 Sep 1 12:56 Music
> > 226 Directory list has been submitted.
> > ftp> bye
> > 221 See you later...
> > $
> >
> > If you get something like this:
> > $ ftp 192.168.1.77
> > ftp: connect: Connection refused
> > ftp> bye
> > $
> >
> > The server isn't really listening. Obviously you'll want to substitute
> your
> > plug's IP for the 192.168.1.77 above ;)
> >
> >
> > On Thu, Sep 6, 2012 at 10:21 PM, stigslims <stigslim@...> wrote:
> >
> > > **
>
> > >
> > >
> > > Nearly got it, i think its started as it shows in ps and is using
> > > resources as in the top command, but i cant connect to it. It can only
> be
> > > the config file. I have forwarded the port to the plug on my local
> > > network.So how would i access it?. Are there some basic rules that
> allow a
> > > connection?.
> > >
> > >
> > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > wrote:
> > > >
> > > > Well, you'll want to make sure that you can read /opt/etc/vsftpd.conf
> > > > (check permissions). Also, make sure you have a slash at the front
> (see
> > > my
> > > > example above) otherwise the program will look for it in reference
> to the
> > > > current directory (which is more than likely not / ).
> > > > Also, if you run the command and it just returns to the commandline
> > > > immediately, then the program is already "forking" or running in the
> > > > background for you. If it does not (and there are no commandline
> options
> > > > for it, you can just put an ampersand ( & ) at the end of the
> command and
> > > > that should work just fine.
> > > > The option in the vsftpd.conf file is this:*background*When enabled,
> and
> > >
> > > > vsftpd is started in "listen" mode, vsftpd will background the
> listener
> > > > process. i.e. control will immediately be returned to the shell which
> > > > launched vsftpd.
> > > >
> > > > Default: NO
> > > >
> > > > You'll want to just have a line that reads:
> > > > background=yes
> > > >
> > > > On Wed, Sep 5, 2012 at 11:07 PM, stigslims <stigslim@> wrote:
> > > >
> > > > > **
> > >
> > > > >
> > > > >
> > > > > Hi, tried just manually starting it with /opt/sbin/vsftpd
> > > > > opt/etc/vsftpd.conf just to see if i could get it running. Got an
> error
> > > > > about not being able to read the config file?. I get the init.d
> > > looking for
> > > > > it on boot, but have no idea how to set up the script or
> backgrounding
> > > the
> > > > > daemon hurdle. Just as i seem to be figuring it out it gets more
> > > > > complicated.
> > > > >
> > > > >
> > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > > > wrote:
> > > > > >
> > > > > > In that case, just make an init.d script to launch it. Make sure
> if
> > > it
> > > > > > doesn't have a daemon option that you background it or the device
> > > won't
> > > > > > finish booting!
> > > > > >
> > > > > > On Tue, Sep 4, 2012 at 8:13 PM, stigslims <stigslim@> wrote:
> > > > > >
> > > > > > > **
> > > > >
> > > > > > >
> > > > > > >
> > > > > > > After reading the manual page i notice vsftpd can be ran in
> > > standalone
> > > > > > > mode. So switched the listen option to yes to allow it to
> monitor
> > > > > incoming
> > > > > > > connections and forwarded the port on my router. The only
> thing im
> > > not
> > > > > sure
> > > > > > > on is how to start it in standalone?.
> > > > > > >
> > > > > > >
> > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@>
> > > wrote:
> > > > > > > >
> > > > > > > > Hi Anthony, i have tried the pidof command with no luck, i
> dont
> > > get
> > > > > any
> > > > > > > return (tried with samba just to make sure, it was fine). So i
> can
> > > only
> > > > > > > assume its not running. Had a root around, opt/sbin, which is
> where
> > > > > > > executable programs are, in green? and noticed xinet.reload.
> Not
> > > sure
> > > > > if
> > > > > > > this is a problem but not sure where to go from here, ides?.
> > > > > > > >
> > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata
> <htwiz2002@
> > > >
> > > > > wrote:
> > > > > > > > >
> > > > > > > > > No, the Xinetd deamon will be running if it's installed
> > > correctly,
> > > > > if
> > > > > > > you
> > > > > > > > > do "pidof xinetd" it should list at least one number (the
> > > PID). If
> > > > > you
> > > > > > > can
> > > > > > > > > get that far, then you can test if your configuration is
> > > correct by
> > > > > > > simply
> > > > > > > > > attempting to connect to the service (i.e. open an ftp
> > > connection
> > > > > to
> > > > > > > the
> > > > > > > > > host). If it's not working, you'll just receive a message
> > > stating
> > > > > that
> > > > > > > the
> > > > > > > > > connection was rejected.
> > > > > > > > > If you don't get a connection refused, then it's safe to
> assume
> > > > > that
> > > > > > > VSFTP
> > > > > > > > > would have taken the call and everything else is handled by
> > > that
> > > > > > > program.
> > > > > > > > >
> > > > > > > > > On Sun, Sep 2, 2012 at 9:44 AM, stigslims <stigslim@>
> wrote:
> > > > > > > > >
> > > > > > > > > > **
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Thanks for your reply.Is there any way of testing
> xinetd?,
> > > am i
> > > > > right
> > > > > > > > > > thinking that it only runs when request/connection is
> made?.
> > > If i
> > > > > > > can try
> > > > > > > > > > it out and know its working then i can go on to he next
> step
> > > > > (VSFTPD
> > > > > > > config
> > > > > > > > > > file knowing if theres a problem it can only be VSFTP?.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata
> > > <htwiz2002@
> > > > > >
> > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > Ideally the "Only from" line should contain the ip
> range
> > > of the
> > > > > > > computers
> > > > > > > > > > > you're going to allow to connect to it. For example,
> if you
> > > > > only
> > > > > > > want to
> > > > > > > > > > > allow local computers it would be something like
> > > > > 192.168.0.0/24(Don't
> > > > >
> > > > > > > > > > use
> > > > > > > > > > > that, I don't think it's actually correct).
> > > > > > > > > > > If you want to allow anyone, just put 0.0.0.0/0 and
> let
> > > the
> > > > > > > service take
> > > > > > > > > > > care of logins etc.
> > > > > > > > > > >
> > > > > > > > > > > On Sat, Sep 1, 2012 at 11:39 AM, stigslims <stigslim@>
> > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > **
> > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > scratch that last comment i was off in the wrong
> > > direction
> > > > > > > completely.
> > > > > > > > > > I
> > > > > > > > > > > > figured the xinetd file (within reason) just a
> couple of
> > > > > > > questions.
> > > > > > > > > > What
> > > > > > > > > > > > would i put in the only from field, A specific ip or
> > > default
> > > > > one
> > > > > > > to
> > > > > > > > > > allow
> > > > > > > > > > > > access from any remote machine?. Do i need to change
> > > anything
> > > > > > > inside
> > > > > > > > > > the
> > > > > > > > > > > > xinetd.conf file?.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims"
> > > <stigslim@
> > > > > >
> > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Took a step back to my Xinetd install and noticed
> two
> > > files
> > > > > > > missing
> > > > > > > > > > from
> > > > > > > > > > > > /etc (services and protocols) tried to download them
> but
> > > got
> > > > > a
> > > > > > > wget
> > > > > > > > > > error
> > > > > > > > > > > > HTTPS support not compiled in. seems weird i updated
> wget
> > > > > when i
> > > > > > > > > > installed
> > > > > > > > > > > > optware. Reinstall?. this might explain xinetd not
> > > working.
> > > > > > > > > > > > >
> > > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims"
> > > > > <stigslim@>
> > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I think i get the config file part, each program
> has
> > > a
> > > > > set of
> > > > > > > > > > values.
> > > > > > > > > > > > But i tried the pidof xinetd command and got no
> return
> > > so i
> > > > > > > figure its
> > > > > > > > > > not
> > > > > > > > > > > > running. Tried starting it (/opt/etc/xinetd.d start)
> and
> > > i
> > > > > get
> > > > > > > > > > permission
> > > > > > > > > > > > denied.Any ideas?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony
> Takata
> > > > > > > <htwiz2002@>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Nah, more likely you'll just need to make an
> Xinetd
> > > > > config
> > > > > > > file
> > > > > > > > > > for
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > program.
> > > > > > > > > > > > > > > See http://www.xinetd.org/
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > The file will probably go into
> > > > > > > /opt/etc/xinet.d/(programnamehere)
> > > > > > > > > > > > > > > And it will look like so:
> > > > > > > > > > > > > > > service bftpd
> > > > > > > > > > > > > > > {
> > > > > > > > > > > > > > > only_from = 0.0.0.0/0
> > > > > > > > > > > > > > > socket_type = stream
> > > > > > > > > > > > > > > instances = 30
> > > > > > > > > > > > > > > wait = no
> > > > > > > > > > > > > > > user = root
> > > > > > > > > > > > > > > server = /opt/bin/bftpd
> > > > > > > > > > > > > > > port = 21
> > > > > > > > > > > > > > > protocol = tcp
> > > > > > > > > > > > > > > log_on_success = HOST PID
> > > > > > > > > > > > > > > log_on_failure = HOST
> > > > > > > > > > > > > > > }
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Of course, you would modify the values to the
> > > correct
> > > > > ones.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > To determine if xinet.d is already running,
> just
> > > run a
> > > > > > > "pidof
> > > > > > > > > > > > xinetd". If
> > > > > > > > > > > > > > > it is, the optware package for xinetd was
> > > configured
> > > > > > > successfully
> > > > > > > > > > > > and you
> > > > > > > > > > > > > > > won't need an rc diversion script.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims
> > > <stigslim@
> > > > > >
> > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > **
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I think I follow, xinetd monitors for
> requests
> > > and
> > > > > > > starts the
> > > > > > > > > > > > daemon. Just
> > > > > > > > > > > > > > > > not sure where to find rc.xinetd or If I
> have to
> > > > > create
> > > > > > > one do
> > > > > > > > > > I
> > > > > > > > > > > > just open
> > > > > > > > > > > > > > > > an editor (nano) enter the line/lines and
> save
> > > it as
> > > > > > > > > > rc.xinetd?.
> > > > > > > > > > > > And if so
> > > > > > > > > > > > > > > > does it just go in /opt/etc?.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, Dale
> > > Schultz
> > > > > > > > > > <dschultzca@>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I believe it should be the rc.xinetd script
> > > that
> > > > > starts
> > > > > > > > > > Xinted.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > [Non-text portions of this message have been
> > > removed]
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > [Non-text portions of this message have been removed]
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> > >
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>


[Non-text portions of this message have been removed]

#8712 From: "stigslims" <stigslim@...>
Date: Sun Sep 9, 2012 3:42 pm
Subject: Re: Trouble with Transmission.
stigslims
Send Email Send Email
 
Hi, its getting better. I have tried to log in via console window from a Windows
PC and connected ok but asks for a username and password. Are there default
entries or do i have to enter them manually in the config file then restart?.

--- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...> wrote:
>
> Ok, so it does look like it's listening, because port 21 is open per the
> output you pasted. However, just because the ftp command says not found,
> that only means that your device doesn't have an ftp program installed by
> default.
> Also, you want to ensure that local-access FTP works before attempting to
> access by external IP.
> You should be able to accomplish the ftp commands I wrote on any normal
> Windows PC, Linux, or Mac, in the terminal.
>
>
> On Sat, Sep 8, 2012 at 10:09 PM, stigslims <stigslim@...> wrote:
>
> > **
> >
> >
> > I have ran the nestat command and get the output,
> > ~ # netstat -l -t
> > Active Internet connections (only servers)
> > Proto Recv-Q Send-Q Local Address Foreign Address State
> > tcp 0 0 0.0.0.0:9091 0.0.0.0:* LISTEN
> > tcp 0 0 0.0.0.0:3333 0.0.0.0:* LISTEN
> > tcp 0 0 0.0.0.0:3334 0.0.0.0:* LISTEN
> > tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
> > tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
> > tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
> > tcp 0 0 0.0.0.0:51413 0.0.0.0:* LISTEN
> > tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
> > tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
> > tcp 0 0 :::51413 :::* LISTEN
> > I take it port 21 is VSFTPD?. Trying to connect with an app on a mobile
> > device via FTP but if i put my LAN IP/ External IP address in and use port
> > 21 i get an error saying cannot find the ftp server. I have also tried
> > using the commands example you have given but just get ftp not found. Which
> > points at it not running.
> >
> > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > wrote:
> > >
> > > Well, if it's running you can use the netstat command to make sure which
> > > port it's using like so:
> > > netstat -l -t
> > > This will list all TCP sockets that are listening for connections (i.e.
> > > port 21 for FTP will say "tcp 0 0.0.0.0:ftp 0.0.0.0:* LISTEN").
> > > Once you can verify it is in fact listening, you can try to connect to
> > it,
> > > either on the plug itself or using another computer. The session will
> > look
> > > like so:
> > > $ ftp 192.168.1.77
> > > Connected to 192.168.1.77
> > > 220 vsftpd 1.7 at 192.168.1.77 ready.
> > > Name (192.168.1.77:root): root
> > > 331 Password please.
> > > Password:
> > > 230 User logged in.
> > > Remote system type is UNIX.
> > > Using binary mode to transfer files.
> > > ftp> ls
> > > 200 PORT 192.168.1.77:2124 OK
> > > 150 BINARY data connection established.
> > > drwrwr-x 24 501 501 4096 Sep 1 12:56 Music
> > > 226 Directory list has been submitted.
> > > ftp> bye
> > > 221 See you later...
> > > $
> > >
> > > If you get something like this:
> > > $ ftp 192.168.1.77
> > > ftp: connect: Connection refused
> > > ftp> bye
> > > $
> > >
> > > The server isn't really listening. Obviously you'll want to substitute
> > your
> > > plug's IP for the 192.168.1.77 above ;)
> > >
> > >
> > > On Thu, Sep 6, 2012 at 10:21 PM, stigslims <stigslim@> wrote:
> > >
> > > > **
> >
> > > >
> > > >
> > > > Nearly got it, i think its started as it shows in ps and is using
> > > > resources as in the top command, but i cant connect to it. It can only
> > be
> > > > the config file. I have forwarded the port to the plug on my local
> > > > network.So how would i access it?. Are there some basic rules that
> > allow a
> > > > connection?.
> > > >
> > > >
> > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > > wrote:
> > > > >
> > > > > Well, you'll want to make sure that you can read /opt/etc/vsftpd.conf
> > > > > (check permissions). Also, make sure you have a slash at the front
> > (see
> > > > my
> > > > > example above) otherwise the program will look for it in reference
> > to the
> > > > > current directory (which is more than likely not / ).
> > > > > Also, if you run the command and it just returns to the commandline
> > > > > immediately, then the program is already "forking" or running in the
> > > > > background for you. If it does not (and there are no commandline
> > options
> > > > > for it, you can just put an ampersand ( & ) at the end of the
> > command and
> > > > > that should work just fine.
> > > > > The option in the vsftpd.conf file is this:*background*When enabled,
> > and
> > > >
> > > > > vsftpd is started in "listen" mode, vsftpd will background the
> > listener
> > > > > process. i.e. control will immediately be returned to the shell which
> > > > > launched vsftpd.
> > > > >
> > > > > Default: NO
> > > > >
> > > > > You'll want to just have a line that reads:
> > > > > background=yes
> > > > >
> > > > > On Wed, Sep 5, 2012 at 11:07 PM, stigslims <stigslim@> wrote:
> > > > >
> > > > > > **
> > > >
> > > > > >
> > > > > >
> > > > > > Hi, tried just manually starting it with /opt/sbin/vsftpd
> > > > > > opt/etc/vsftpd.conf just to see if i could get it running. Got an
> > error
> > > > > > about not being able to read the config file?. I get the init.d
> > > > looking for
> > > > > > it on boot, but have no idea how to set up the script or
> > backgrounding
> > > > the
> > > > > > daemon hurdle. Just as i seem to be figuring it out it gets more
> > > > > > complicated.
> > > > > >
> > > > > >
> > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > > > > wrote:
> > > > > > >
> > > > > > > In that case, just make an init.d script to launch it. Make sure
> > if
> > > > it
> > > > > > > doesn't have a daemon option that you background it or the device
> > > > won't
> > > > > > > finish booting!
> > > > > > >
> > > > > > > On Tue, Sep 4, 2012 at 8:13 PM, stigslims <stigslim@> wrote:
> > > > > > >
> > > > > > > > **
> > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > After reading the manual page i notice vsftpd can be ran in
> > > > standalone
> > > > > > > > mode. So switched the listen option to yes to allow it to
> > monitor
> > > > > > incoming
> > > > > > > > connections and forwarded the port on my router. The only
> > thing im
> > > > not
> > > > > > sure
> > > > > > > > on is how to start it in standalone?.
> > > > > > > >
> > > > > > > >
> > > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims" <stigslim@>
> > > > wrote:
> > > > > > > > >
> > > > > > > > > Hi Anthony, i have tried the pidof command with no luck, i
> > dont
> > > > get
> > > > > > any
> > > > > > > > return (tried with samba just to make sure, it was fine). So i
> > can
> > > > only
> > > > > > > > assume its not running. Had a root around, opt/sbin, which is
> > where
> > > > > > > > executable programs are, in green? and noticed xinet.reload.
> > Not
> > > > sure
> > > > > > if
> > > > > > > > this is a problem but not sure where to go from here, ides?.
> > > > > > > > >
> > > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata
> > <htwiz2002@
> > > > >
> > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > No, the Xinetd deamon will be running if it's installed
> > > > correctly,
> > > > > > if
> > > > > > > > you
> > > > > > > > > > do "pidof xinetd" it should list at least one number (the
> > > > PID). If
> > > > > > you
> > > > > > > > can
> > > > > > > > > > get that far, then you can test if your configuration is
> > > > correct by
> > > > > > > > simply
> > > > > > > > > > attempting to connect to the service (i.e. open an ftp
> > > > connection
> > > > > > to
> > > > > > > > the
> > > > > > > > > > host). If it's not working, you'll just receive a message
> > > > stating
> > > > > > that
> > > > > > > > the
> > > > > > > > > > connection was rejected.
> > > > > > > > > > If you don't get a connection refused, then it's safe to
> > assume
> > > > > > that
> > > > > > > > VSFTP
> > > > > > > > > > would have taken the call and everything else is handled by
> > > > that
> > > > > > > > program.
> > > > > > > > > >
> > > > > > > > > > On Sun, Sep 2, 2012 at 9:44 AM, stigslims <stigslim@>
> > wrote:
> > > > > > > > > >
> > > > > > > > > > > **
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Thanks for your reply.Is there any way of testing
> > xinetd?,
> > > > am i
> > > > > > right
> > > > > > > > > > > thinking that it only runs when request/connection is
> > made?.
> > > > If i
> > > > > > > > can try
> > > > > > > > > > > it out and know its working then i can go on to he next
> > step
> > > > > > (VSFTPD
> > > > > > > > config
> > > > > > > > > > > file knowing if theres a problem it can only be VSFTP?.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata
> > > > <htwiz2002@
> > > > > > >
> > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Ideally the "Only from" line should contain the ip
> > range
> > > > of the
> > > > > > > > computers
> > > > > > > > > > > > you're going to allow to connect to it. For example,
> > if you
> > > > > > only
> > > > > > > > want to
> > > > > > > > > > > > allow local computers it would be something like
> > > > > > 192.168.0.0/24(Don't
> > > > > >
> > > > > > > > > > > use
> > > > > > > > > > > > that, I don't think it's actually correct).
> > > > > > > > > > > > If you want to allow anyone, just put 0.0.0.0/0 and
> > let
> > > > the
> > > > > > > > service take
> > > > > > > > > > > > care of logins etc.
> > > > > > > > > > > >
> > > > > > > > > > > > On Sat, Sep 1, 2012 at 11:39 AM, stigslims <stigslim@>
> > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > **
> > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > scratch that last comment i was off in the wrong
> > > > direction
> > > > > > > > completely.
> > > > > > > > > > > I
> > > > > > > > > > > > > figured the xinetd file (within reason) just a
> > couple of
> > > > > > > > questions.
> > > > > > > > > > > What
> > > > > > > > > > > > > would i put in the only from field, A specific ip or
> > > > default
> > > > > > one
> > > > > > > > to
> > > > > > > > > > > allow
> > > > > > > > > > > > > access from any remote machine?. Do i need to change
> > > > anything
> > > > > > > > inside
> > > > > > > > > > > the
> > > > > > > > > > > > > xinetd.conf file?.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims"
> > > > <stigslim@
> > > > > > >
> > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Took a step back to my Xinetd install and noticed
> > two
> > > > files
> > > > > > > > missing
> > > > > > > > > > > from
> > > > > > > > > > > > > /etc (services and protocols) tried to download them
> > but
> > > > got
> > > > > > a
> > > > > > > > wget
> > > > > > > > > > > error
> > > > > > > > > > > > > HTTPS support not compiled in. seems weird i updated
> > wget
> > > > > > when i
> > > > > > > > > > > installed
> > > > > > > > > > > > > optware. Reinstall?. this might explain xinetd not
> > > > working.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims"
> > > > > > <stigslim@>
> > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I think i get the config file part, each program
> > has
> > > > a
> > > > > > set of
> > > > > > > > > > > values.
> > > > > > > > > > > > > But i tried the pidof xinetd command and got no
> > return
> > > > so i
> > > > > > > > figure its
> > > > > > > > > > > not
> > > > > > > > > > > > > running. Tried starting it (/opt/etc/xinetd.d start)
> > and
> > > > i
> > > > > > get
> > > > > > > > > > > permission
> > > > > > > > > > > > > denied.Any ideas?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony
> > Takata
> > > > > > > > <htwiz2002@>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Nah, more likely you'll just need to make an
> > Xinetd
> > > > > > config
> > > > > > > > file
> > > > > > > > > > > for
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > program.
> > > > > > > > > > > > > > > > See http://www.xinetd.org/
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > The file will probably go into
> > > > > > > > /opt/etc/xinet.d/(programnamehere)
> > > > > > > > > > > > > > > > And it will look like so:
> > > > > > > > > > > > > > > > service bftpd
> > > > > > > > > > > > > > > > {
> > > > > > > > > > > > > > > > only_from = 0.0.0.0/0
> > > > > > > > > > > > > > > > socket_type = stream
> > > > > > > > > > > > > > > > instances = 30
> > > > > > > > > > > > > > > > wait = no
> > > > > > > > > > > > > > > > user = root
> > > > > > > > > > > > > > > > server = /opt/bin/bftpd
> > > > > > > > > > > > > > > > port = 21
> > > > > > > > > > > > > > > > protocol = tcp
> > > > > > > > > > > > > > > > log_on_success = HOST PID
> > > > > > > > > > > > > > > > log_on_failure = HOST
> > > > > > > > > > > > > > > > }
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Of course, you would modify the values to the
> > > > correct
> > > > > > ones.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > To determine if xinet.d is already running,
> > just
> > > > run a
> > > > > > > > "pidof
> > > > > > > > > > > > > xinetd". If
> > > > > > > > > > > > > > > > it is, the optware package for xinetd was
> > > > configured
> > > > > > > > successfully
> > > > > > > > > > > > > and you
> > > > > > > > > > > > > > > > won't need an rc diversion script.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims
> > > > <stigslim@
> > > > > > >
> > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > **
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I think I follow, xinetd monitors for
> > requests
> > > > and
> > > > > > > > starts the
> > > > > > > > > > > > > daemon. Just
> > > > > > > > > > > > > > > > > not sure where to find rc.xinetd or If I
> > have to
> > > > > > create
> > > > > > > > one do
> > > > > > > > > > > I
> > > > > > > > > > > > > just open
> > > > > > > > > > > > > > > > > an editor (nano) enter the line/lines and
> > save
> > > > it as
> > > > > > > > > > > rc.xinetd?.
> > > > > > > > > > > > > And if so
> > > > > > > > > > > > > > > > > does it just go in /opt/etc?.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, Dale
> > > > Schultz
> > > > > > > > > > > <dschultzca@>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I believe it should be the rc.xinetd script
> > > > that
> > > > > > starts
> > > > > > > > > > > Xinted.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > [Non-text portions of this message have been
> > > > removed]
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > [Non-text portions of this message have been removed]
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > [Non-text portions of this message have been removed]
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>

#8713 From: Anthony Takata <htwiz2002@...>
Date: Sun Sep 9, 2012 7:39 pm
Subject: Re: Re: Trouble with Transmission.
htwiz2005
Send Email Send Email
 
Yes, its in the config files, by default I would assume it uses the Linux
user list.
On Sep 9, 2012 12:21 PM, "stigslims" <stigslim@...> wrote:

> **
>
>
> Hi, its getting better. I have tried to log in via console window from a
> Windows PC and connected ok but asks for a username and password. Are there
> default entries or do i have to enter them manually in the config file then
> restart?.
>
> --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...>
> wrote:
> >
> > Ok, so it does look like it's listening, because port 21 is open per the
> > output you pasted. However, just because the ftp command says not found,
> > that only means that your device doesn't have an ftp program installed by
> > default.
> > Also, you want to ensure that local-access FTP works before attempting to
> > access by external IP.
> > You should be able to accomplish the ftp commands I wrote on any normal
> > Windows PC, Linux, or Mac, in the terminal.
> >
> >
> > On Sat, Sep 8, 2012 at 10:09 PM, stigslims <stigslim@...> wrote:
> >
> > > **
> > >
> > >
> > > I have ran the nestat command and get the output,
> > > ~ # netstat -l -t
> > > Active Internet connections (only servers)
> > > Proto Recv-Q Send-Q Local Address Foreign Address State
> > > tcp 0 0 0.0.0.0:9091 0.0.0.0:* LISTEN
> > > tcp 0 0 0.0.0.0:3333 0.0.0.0:* LISTEN
> > > tcp 0 0 0.0.0.0:3334 0.0.0.0:* LISTEN
> > > tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
> > > tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
> > > tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN
> > > tcp 0 0 0.0.0.0:51413 0.0.0.0:* LISTEN
> > > tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
> > > tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
> > > tcp 0 0 :::51413 :::* LISTEN
> > > I take it port 21 is VSFTPD?. Trying to connect with an app on a mobile
> > > device via FTP but if i put my LAN IP/ External IP address in and use
> port
> > > 21 i get an error saying cannot find the ftp server. I have also tried
> > > using the commands example you have given but just get ftp not found.
> Which
> > > points at it not running.
> > >
> > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > wrote:
> > > >
> > > > Well, if it's running you can use the netstat command to make sure
> which
> > > > port it's using like so:
> > > > netstat -l -t
> > > > This will list all TCP sockets that are listening for connections
> (i.e.
> > > > port 21 for FTP will say "tcp 0 0.0.0.0:ftp 0.0.0.0:* LISTEN").
> > > > Once you can verify it is in fact listening, you can try to connect
> to
> > > it,
> > > > either on the plug itself or using another computer. The session will
> > > look
> > > > like so:
> > > > $ ftp 192.168.1.77
> > > > Connected to 192.168.1.77
> > > > 220 vsftpd 1.7 at 192.168.1.77 ready.
> > > > Name (192.168.1.77:root): root
> > > > 331 Password please.
> > > > Password:
> > > > 230 User logged in.
> > > > Remote system type is UNIX.
> > > > Using binary mode to transfer files.
> > > > ftp> ls
> > > > 200 PORT 192.168.1.77:2124 OK
> > > > 150 BINARY data connection established.
> > > > drwrwr-x 24 501 501 4096 Sep 1 12:56 Music
> > > > 226 Directory list has been submitted.
> > > > ftp> bye
> > > > 221 See you later...
> > > > $
> > > >
> > > > If you get something like this:
> > > > $ ftp 192.168.1.77
> > > > ftp: connect: Connection refused
> > > > ftp> bye
> > > > $
> > > >
> > > > The server isn't really listening. Obviously you'll want to
> substitute
> > > your
> > > > plug's IP for the 192.168.1.77 above ;)
> > > >
> > > >
> > > > On Thu, Sep 6, 2012 at 10:21 PM, stigslims <stigslim@> wrote:
> > > >
> > > > > **
> > >
> > > > >
> > > > >
> > > > > Nearly got it, i think its started as it shows in ps and is using
> > > > > resources as in the top command, but i cant connect to it. It can
> only
> > > be
> > > > > the config file. I have forwarded the port to the plug on my local
> > > > > network.So how would i access it?. Are there some basic rules that
> > > allow a
> > > > > connection?.
> > > > >
> > > > >
> > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > > > wrote:
> > > > > >
> > > > > > Well, you'll want to make sure that you can read
> /opt/etc/vsftpd.conf
> > > > > > (check permissions). Also, make sure you have a slash at the
> front
> > > (see
> > > > > my
> > > > > > example above) otherwise the program will look for it in
> reference
> > > to the
> > > > > > current directory (which is more than likely not / ).
> > > > > > Also, if you run the command and it just returns to the
> commandline
> > > > > > immediately, then the program is already "forking" or running in
> the
> > > > > > background for you. If it does not (and there are no commandline
> > > options
> > > > > > for it, you can just put an ampersand ( & ) at the end of the
> > > command and
> > > > > > that should work just fine.
> > > > > > The option in the vsftpd.conf file is this:*background*When
> enabled,
> > > and
> > > > >
> > > > > > vsftpd is started in "listen" mode, vsftpd will background the
> > > listener
> > > > > > process. i.e. control will immediately be returned to the shell
> which
> > > > > > launched vsftpd.
> > > > > >
> > > > > > Default: NO
> > > > > >
> > > > > > You'll want to just have a line that reads:
> > > > > > background=yes
> > > > > >
> > > > > > On Wed, Sep 5, 2012 at 11:07 PM, stigslims <stigslim@> wrote:
> > > > > >
> > > > > > > **
> > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hi, tried just manually starting it with /opt/sbin/vsftpd
> > > > > > > opt/etc/vsftpd.conf just to see if i could get it running. Got
> an
> > > error
> > > > > > > about not being able to read the config file?. I get the init.d
> > > > > looking for
> > > > > > > it on boot, but have no idea how to set up the script or
> > > backgrounding
> > > > > the
> > > > > > > daemon hurdle. Just as i seem to be figuring it out it gets
> more
> > > > > > > complicated.
> > > > > > >
> > > > > > >
> > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata
> <htwiz2002@>
> > > > > > > wrote:
> > > > > > > >
> > > > > > > > In that case, just make an init.d script to launch it. Make
> sure
> > > if
> > > > > it
> > > > > > > > doesn't have a daemon option that you background it or the
> device
> > > > > won't
> > > > > > > > finish booting!
> > > > > > > >
> > > > > > > > On Tue, Sep 4, 2012 at 8:13 PM, stigslims <stigslim@> wrote:
> > > > > > > >
> > > > > > > > > **
> > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > After reading the manual page i notice vsftpd can be ran in
> > > > > standalone
> > > > > > > > > mode. So switched the listen option to yes to allow it to
> > > monitor
> > > > > > > incoming
> > > > > > > > > connections and forwarded the port on my router. The only
> > > thing im
> > > > > not
> > > > > > > sure
> > > > > > > > > on is how to start it in standalone?.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --- In nslu2-general@yahoogroups.com, "stigslims"
> <stigslim@>
> > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > Hi Anthony, i have tried the pidof command with no luck,
> i
> > > dont
> > > > > get
> > > > > > > any
> > > > > > > > > return (tried with samba just to make sure, it was fine).
> So i
> > > can
> > > > > only
> > > > > > > > > assume its not running. Had a root around, opt/sbin, which
> is
> > > where
> > > > > > > > > executable programs are, in green? and noticed
> xinet.reload.
> > > Not
> > > > > sure
> > > > > > > if
> > > > > > > > > this is a problem but not sure where to go from here,
> ides?.
> > > > > > > > > >
> > > > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata
> > > <htwiz2002@
> > > > > >
> > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > No, the Xinetd deamon will be running if it's installed
> > > > > correctly,
> > > > > > > if
> > > > > > > > > you
> > > > > > > > > > > do "pidof xinetd" it should list at least one number
> (the
> > > > > PID). If
> > > > > > > you
> > > > > > > > > can
> > > > > > > > > > > get that far, then you can test if your configuration
> is
> > > > > correct by
> > > > > > > > > simply
> > > > > > > > > > > attempting to connect to the service (i.e. open an ftp
> > > > > connection
> > > > > > > to
> > > > > > > > > the
> > > > > > > > > > > host). If it's not working, you'll just receive a
> message
> > > > > stating
> > > > > > > that
> > > > > > > > > the
> > > > > > > > > > > connection was rejected.
> > > > > > > > > > > If you don't get a connection refused, then it's safe
> to
> > > assume
> > > > > > > that
> > > > > > > > > VSFTP
> > > > > > > > > > > would have taken the call and everything else is
> handled by
> > > > > that
> > > > > > > > > program.
> > > > > > > > > > >
> > > > > > > > > > > On Sun, Sep 2, 2012 at 9:44 AM, stigslims <stigslim@>
> > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > **
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks for your reply.Is there any way of testing
> > > xinetd?,
> > > > > am i
> > > > > > > right
> > > > > > > > > > > > thinking that it only runs when request/connection is
> > > made?.
> > > > > If i
> > > > > > > > > can try
> > > > > > > > > > > > it out and know its working then i can go on to he
> next
> > > step
> > > > > > > (VSFTPD
> > > > > > > > > config
> > > > > > > > > > > > file knowing if theres a problem it can only be
> VSFTP?.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --- In nslu2-general@yahoogroups.com, Anthony Takata
> > > > > <htwiz2002@
> > > > > > > >
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Ideally the "Only from" line should contain the ip
> > > range
> > > > > of the
> > > > > > > > > computers
> > > > > > > > > > > > > you're going to allow to connect to it. For
> example,
> > > if you
> > > > > > > only
> > > > > > > > > want to
> > > > > > > > > > > > > allow local computers it would be something like
> > > > > > > 192.168.0.0/24(Don't
> > > > > > >
> > > > > > > > > > > > use
> > > > > > > > > > > > > that, I don't think it's actually correct).
> > > > > > > > > > > > > If you want to allow anyone, just put 0.0.0.0/0and
> > > let
> > > > > the
> > > > > > > > > service take
> > > > > > > > > > > > > care of logins etc.
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Sat, Sep 1, 2012 at 11:39 AM, stigslims
> <stigslim@>
> > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > **
> > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > scratch that last comment i was off in the wrong
> > > > > direction
> > > > > > > > > completely.
> > > > > > > > > > > > I
> > > > > > > > > > > > > > figured the xinetd file (within reason) just a
> > > couple of
> > > > > > > > > questions.
> > > > > > > > > > > > What
> > > > > > > > > > > > > > would i put in the only from field, A specific
> ip or
> > > > > default
> > > > > > > one
> > > > > > > > > to
> > > > > > > > > > > > allow
> > > > > > > > > > > > > > access from any remote machine?. Do i need to
> change
> > > > > anything
> > > > > > > > > inside
> > > > > > > > > > > > the
> > > > > > > > > > > > > > xinetd.conf file?.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --- In nslu2-general@yahoogroups.com,
> "stigslims"
> > > > > <stigslim@
> > > > > > > >
> > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Took a step back to my Xinetd install and
> noticed
> > > two
> > > > > files
> > > > > > > > > missing
> > > > > > > > > > > > from
> > > > > > > > > > > > > > /etc (services and protocols) tried to download
> them
> > > but
> > > > > got
> > > > > > > a
> > > > > > > > > wget
> > > > > > > > > > > > error
> > > > > > > > > > > > > > HTTPS support not compiled in. seems weird i
> updated
> > > wget
> > > > > > > when i
> > > > > > > > > > > > installed
> > > > > > > > > > > > > > optware. Reinstall?. this might explain xinetd
> not
> > > > > working.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --- In nslu2-general@yahoogroups.com,
> "stigslims"
> > > > > > > <stigslim@>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I think i get the config file part, each
> program
> > > has
> > > > > a
> > > > > > > set of
> > > > > > > > > > > > values.
> > > > > > > > > > > > > > But i tried the pidof xinetd command and got no
> > > return
> > > > > so i
> > > > > > > > > figure its
> > > > > > > > > > > > not
> > > > > > > > > > > > > > running. Tried starting it (/opt/etc/xinetd.d
> start)
> > > and
> > > > > i
> > > > > > > get
> > > > > > > > > > > > permission
> > > > > > > > > > > > > > denied.Any ideas?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --- In nslu2-general@yahoogroups.com,
> Anthony
> > > Takata
> > > > > > > > > <htwiz2002@>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Nah, more likely you'll just need to make
> an
> > > Xinetd
> > > > > > > config
> > > > > > > > > file
> > > > > > > > > > > > for
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > program.
> > > > > > > > > > > > > > > > > See http://www.xinetd.org/
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > The file will probably go into
> > > > > > > > > /opt/etc/xinet.d/(programnamehere)
> > > > > > > > > > > > > > > > > And it will look like so:
> > > > > > > > > > > > > > > > > service bftpd
> > > > > > > > > > > > > > > > > {
> > > > > > > > > > > > > > > > > only_from = 0.0.0.0/0
> > > > > > > > > > > > > > > > > socket_type = stream
> > > > > > > > > > > > > > > > > instances = 30
> > > > > > > > > > > > > > > > > wait = no
> > > > > > > > > > > > > > > > > user = root
> > > > > > > > > > > > > > > > > server = /opt/bin/bftpd
> > > > > > > > > > > > > > > > > port = 21
> > > > > > > > > > > > > > > > > protocol = tcp
> > > > > > > > > > > > > > > > > log_on_success = HOST PID
> > > > > > > > > > > > > > > > > log_on_failure = HOST
> > > > > > > > > > > > > > > > > }
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Of course, you would modify the values to
> the
> > > > > correct
> > > > > > > ones.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > To determine if xinet.d is already running,
> > > just
> > > > > run a
> > > > > > > > > "pidof
> > > > > > > > > > > > > > xinetd". If
> > > > > > > > > > > > > > > > > it is, the optware package for xinetd was
> > > > > configured
> > > > > > > > > successfully
> > > > > > > > > > > > > > and you
> > > > > > > > > > > > > > > > > won't need an rc diversion script.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Thu, Aug 30, 2012 at 12:00 PM, stigslims
> > > > > <stigslim@
> > > > > > > >
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > **
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I think I follow, xinetd monitors for
> > > requests
> > > > > and
> > > > > > > > > starts the
> > > > > > > > > > > > > > daemon. Just
> > > > > > > > > > > > > > > > > > not sure where to find rc.xinetd or If I
> > > have to
> > > > > > > create
> > > > > > > > > one do
> > > > > > > > > > > > I
> > > > > > > > > > > > > > just open
> > > > > > > > > > > > > > > > > > an editor (nano) enter the line/lines and
> > > save
> > > > > it as
> > > > > > > > > > > > rc.xinetd?.
> > > > > > > > > > > > > > And if so
> > > > > > > > > > > > > > > > > > does it just go in /opt/etc?.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --- In nslu2-general@yahoogroups.com,
> Dale
> > > > > Schultz
> > > > > > > > > > > > <dschultzca@>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I believe it should be the rc.xinetd
> script
> > > > > that
> > > > > > > starts
> > > > > > > > > > > > Xinted.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > [Non-text portions of this message have
> been
> > > > > removed]
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > [Non-text portions of this message have been
> removed]
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > [Non-text portions of this message have been removed]
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > [Non-text portions of this message have been removed]
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> > >
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>


[Non-text portions of this message have been removed]

#8714 From: "drrads" <drrads@...>
Date: Mon Sep 17, 2012 4:26 pm
Subject: vsftpd install on pogoplug
drrads
Send Email Send Email
 
Hello,
I am a *nix noob.  By that I mean an old slow to learn noob.  I have
successfully installed optware and samba package to my pogoplug V2 and V3, using
the instructions provided on the nslu2 site.  Thanks all for that.

I am currently having a bear of a time trying to install vsftpd server as an
optware package onto my pogoplugs.  I have followed the two pages on the nslu2
site without success.  I don't think the server is even on when I try to
connect.  I get server refused connection right away (using filezilla on a win7
laptop).  I have no idea what is happening.  I uninstalled it and want to start
from new.  Can anyone give me step by step directions?  Please?  When I say I am
a noob, I mean I would need instructions to begin at the first step after
ssh-ing into my pogoplug, i.e. at 'ipkg install vsftpd'.

Thanks,

#8715 From: "johnday29_rx" <johnday29@...>
Date: Sat Sep 22, 2012 8:29 pm
Subject: How to mount drives to a static mount point?
johnday29_rx
Send Email Send Email
 
First off I am a big Noob.  I have managed to set up my pogoplug v2 with optware
following the instructions on nslu2.  I also installed samba3. (couldn't get
SWAT to work but that is  another story). Everything is working as far as I can
tell, my drives show up under pogoplug in network locations on my windows 7 pc. 
I have 2 problems that I cant figure out, and I have spent many hours
reserching.

1) does samba3 support 3tb hard drives? I have 5 drives four 2tb and one 3tb,
the 3tb does not show up on the network but does register when I do a mount
command on the pogoplug.  How do I get this drive to show up on my network?

2) when my pogoplug reboots the drives all mount back in samaba at different
places.  example drive 1 may be sdb1 but after reboot it is sdc1.  this causes a
lot of problems because I need to map them on my network and they keep changing.
How do I get them to stay static, drive 1 is always sdb1 drive 2 is always sdc1
and so on?

Thanks in advance.  I love learning about this and am about to pull my hair out
on this one.

#8716 From: "ingenuitycapital" <kkam@...>
Date: Sun Sep 23, 2012 2:09 pm
Subject: Re: How to mount drives to a static mount point?
ingenuitycap...
Send Email Send Email
 
I had the same problem about the mount points changing with each reboot. This
post descibres how to solve that problem:

http://www.leeandcathy.com/2011/10/persistent-usb-mount-locations-on.html

--- In nslu2-general@yahoogroups.com, "johnday29_rx" <johnday29@...> wrote:
>
> First off I am a big Noob.  I have managed to set up my pogoplug v2 with
optware following the instructions on nslu2.  I also installed samba3. (couldn't
get SWAT to work but that is  another story). Everything is working as far as I
can tell, my drives show up under pogoplug in network locations on my windows 7
pc.  I have 2 problems that I cant figure out, and I have spent many hours
reserching.
>
> 1) does samba3 support 3tb hard drives? I have 5 drives four 2tb and one 3tb,
the 3tb does not show up on the network but does register when I do a mount
command on the pogoplug.  How do I get this drive to show up on my network?
>
> 2) when my pogoplug reboots the drives all mount back in samaba at different
places.  example drive 1 may be sdb1 but after reboot it is sdc1.  this causes a
lot of problems because I need to map them on my network and they keep changing.
How do I get them to stay static, drive 1 is always sdb1 drive 2 is always sdc1
and so on?
>
> Thanks in advance.  I love learning about this and am about to pull my hair
out on this one.
>

#8717 From: "johnday29_rx" <johnday29@...>
Date: Mon Sep 24, 2012 3:41 am
Subject: Re: How to mount drives to a static mount point?
johnday29_rx
Send Email Send Email
 
Thanks for your response.  I have seen and used this link and it is great.  the
only problem is it only describes how to get a static mount for "/opt"  I would
like to do the same thing but just with the other 6 drives I have plugged in. do
I just create a directory for each drive and do this or is there a different
way.  I would like drive with uuid fc640330-9e49 to mount to sdb1 every time the
system boots.



--- In nslu2-general@yahoogroups.com, "ingenuitycapital" <kkam@...> wrote:
>
> I had the same problem about the mount points changing with each reboot. This
post descibres how to solve that problem:
>
> http://www.leeandcathy.com/2011/10/persistent-usb-mount-locations-on.html
>
> --- In nslu2-general@yahoogroups.com, "johnday29_rx" <johnday29@> wrote:
> >
> > First off I am a big Noob.  I have managed to set up my pogoplug v2 with
optware following the instructions on nslu2.  I also installed samba3. (couldn't
get SWAT to work but that is  another story). Everything is working as far as I
can tell, my drives show up under pogoplug in network locations on my windows 7
pc.  I have 2 problems that I cant figure out, and I have spent many hours
reserching.
> >
> > 1) does samba3 support 3tb hard drives? I have 5 drives four 2tb and one
3tb, the 3tb does not show up on the network but does register when I do a mount
command on the pogoplug.  How do I get this drive to show up on my network?
> >
> > 2) when my pogoplug reboots the drives all mount back in samaba at different
places.  example drive 1 may be sdb1 but after reboot it is sdc1.  this causes a
lot of problems because I need to map them on my network and they keep changing.
How do I get them to stay static, drive 1 is always sdb1 drive 2 is always sdc1
and so on?
> >
> > Thanks in advance.  I love learning about this and am about to pull my hair
out on this one.
> >
>

#8718 From: Anthony Takata <htwiz2002@...>
Date: Mon Sep 24, 2012 4:35 am
Subject: Re: Re: How to mount drives to a static mount point?
htwiz2005
Send Email Send Email
 
Correct, you would just be filling in different values for the uid and /opt.
So the line would look like:

mount `findfs UUID=" fc640330-9e49 "` /mnt/sdb1 # mounts sdb1 USB

On Sun, Sep 23, 2012 at 8:41 PM, johnday29_rx <johnday29@...> wrote:

> **
>
>
> Thanks for your response. I have seen and used this link and it is great.
> the only problem is it only describes how to get a static mount for "/opt"
> I would like to do the same thing but just with the other 6 drives I have
> plugged in. do I just create a directory for each drive and do this or is
> there a different way. I would like drive with uuid fc640330-9e49 to mount
> to sdb1 every time the system boots.
>
>
> --- In nslu2-general@yahoogroups.com, "ingenuitycapital" <kkam@...> wrote:
> >
> > I had the same problem about the mount points changing with each reboot.
> This post descibres how to solve that problem:
> >
> >
> http://www.leeandcathy.com/2011/10/persistent-usb-mount-locations-on.html
> >
> > --- In nslu2-general@yahoogroups.com, "johnday29_rx" <johnday29@> wrote:
> > >
> > > First off I am a big Noob. I have managed to set up my pogoplug v2
> with optware following the instructions on nslu2. I also installed samba3.
> (couldn't get SWAT to work but that is another story). Everything is
> working as far as I can tell, my drives show up under pogoplug in network
> locations on my windows 7 pc. I have 2 problems that I cant figure out, and
> I have spent many hours reserching.
> > >
> > > 1) does samba3 support 3tb hard drives? I have 5 drives four 2tb and
> one 3tb, the 3tb does not show up on the network but does register when I
> do a mount command on the pogoplug. How do I get this drive to show up on
> my network?
> > >
> > > 2) when my pogoplug reboots the drives all mount back in samaba at
> different places. example drive 1 may be sdb1 but after reboot it is sdc1.
> this causes a lot of problems because I need to map them on my network and
> they keep changing. How do I get them to stay static, drive 1 is always
> sdb1 drive 2 is always sdc1 and so on?
> > >
> > > Thanks in advance. I love learning about this and am about to pull my
> hair out on this one.
> > >
> >
>
>
>


[Non-text portions of this message have been removed]

#8719 From: "johnday29_rx" <johnday29@...>
Date: Tue Sep 25, 2012 7:38 pm
Subject: Re: How to mount drives to a static mount point?
johnday29_rx
Send Email Send Email
 
Do you first have to create the /mnt/sdb1?  does that need to made writable? Can
you create an /opt/mnt/sdb1? this way it doesn't mess around with the internal
memory on the pogoplug?  Thanks

by the way when I do the blkid command it only returns results for 4 of the 7
drives that I have plugged into the pogoplug is there a way to get it to
recognize all of them or a differnt command to get the UUID or LABEL for all
drives connected?

--- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...> wrote:
>
> Correct, you would just be filling in different values for the uid and /opt.
> So the line would look like:
>
> mount `findfs UUID=" fc640330-9e49 "` /mnt/sdb1 # mounts sdb1 USB
>
> On Sun, Sep 23, 2012 at 8:41 PM, johnday29_rx <johnday29@...> wrote:
>
> > **
> >
> >
> > Thanks for your response. I have seen and used this link and it is great.
> > the only problem is it only describes how to get a static mount for "/opt"
> > I would like to do the same thing but just with the other 6 drives I have
> > plugged in. do I just create a directory for each drive and do this or is
> > there a different way. I would like drive with uuid fc640330-9e49 to mount
> > to sdb1 every time the system boots.
> >
> >
> > --- In nslu2-general@yahoogroups.com, "ingenuitycapital" <kkam@> wrote:
> > >
> > > I had the same problem about the mount points changing with each reboot.
> > This post descibres how to solve that problem:
> > >
> > >
> > http://www.leeandcathy.com/2011/10/persistent-usb-mount-locations-on.html
> > >
> > > --- In nslu2-general@yahoogroups.com, "johnday29_rx" <johnday29@> wrote:
> > > >
> > > > First off I am a big Noob. I have managed to set up my pogoplug v2
> > with optware following the instructions on nslu2. I also installed samba3.
> > (couldn't get SWAT to work but that is another story). Everything is
> > working as far as I can tell, my drives show up under pogoplug in network
> > locations on my windows 7 pc. I have 2 problems that I cant figure out, and
> > I have spent many hours reserching.
> > > >
> > > > 1) does samba3 support 3tb hard drives? I have 5 drives four 2tb and
> > one 3tb, the 3tb does not show up on the network but does register when I
> > do a mount command on the pogoplug. How do I get this drive to show up on
> > my network?
> > > >
> > > > 2) when my pogoplug reboots the drives all mount back in samaba at
> > different places. example drive 1 may be sdb1 but after reboot it is sdc1.
> > this causes a lot of problems because I need to map them on my network and
> > they keep changing. How do I get them to stay static, drive 1 is always
> > sdb1 drive 2 is always sdc1 and so on?
> > > >
> > > > Thanks in advance. I love learning about this and am about to pull my
> > hair out on this one.
> > > >
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>

#8720 From: Anthony Takata <htwiz2002@...>
Date: Wed Sep 26, 2012 5:43 pm
Subject: Re: Re: How to mount drives to a static mount point?
htwiz2005
Send Email Send Email
 
Yeah, you can put it wherever you want, it just needs to be an empty
directory.
Blkid will only return information about currently mounted devices (in
particular, block devices). If you haven't mounted the drive, it probably
won't show up.

To get the ID manually from a device, you would do something like:
blkid /dev/sdb2

Also, there are some partition types that don't have a UUID (loop or swap
for example). Or if the partition is not mountable by linux it will also
fail.

On Tue, Sep 25, 2012 at 12:38 PM, johnday29_rx <johnday29@...> wrote:

> **
>
>
> Do you first have to create the /mnt/sdb1? does that need to made
> writable? Can you create an /opt/mnt/sdb1? this way it doesn't mess around
> with the internal memory on the pogoplug? Thanks
>
> by the way when I do the blkid command it only returns results for 4 of
> the 7 drives that I have plugged into the pogoplug is there a way to get it
> to recognize all of them or a differnt command to get the UUID or LABEL for
> all drives connected?
>
>
> --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...>
> wrote:
> >
> > Correct, you would just be filling in different values for the uid and
> /opt.
> > So the line would look like:
> >
> > mount `findfs UUID=" fc640330-9e49 "` /mnt/sdb1 # mounts sdb1 USB
> >
> > On Sun, Sep 23, 2012 at 8:41 PM, johnday29_rx <johnday29@...> wrote:
> >
> > > **
>
> > >
> > >
> > > Thanks for your response. I have seen and used this link and it is
> great.
> > > the only problem is it only describes how to get a static mount for
> "/opt"
> > > I would like to do the same thing but just with the other 6 drives I
> have
> > > plugged in. do I just create a directory for each drive and do this or
> is
> > > there a different way. I would like drive with uuid fc640330-9e49 to
> mount
> > > to sdb1 every time the system boots.
> > >
> > >
> > > --- In nslu2-general@yahoogroups.com, "ingenuitycapital" <kkam@>
> wrote:
> > > >
> > > > I had the same problem about the mount points changing with each
> reboot.
> > > This post descibres how to solve that problem:
> > > >
> > > >
> > >
> http://www.leeandcathy.com/2011/10/persistent-usb-mount-locations-on.html
> > > >
> > > > --- In nslu2-general@yahoogroups.com, "johnday29_rx" <johnday29@>
> wrote:
> > > > >
> > > > > First off I am a big Noob. I have managed to set up my pogoplug v2
> > > with optware following the instructions on nslu2. I also installed
> samba3.
> > > (couldn't get SWAT to work but that is another story). Everything is
> > > working as far as I can tell, my drives show up under pogoplug in
> network
> > > locations on my windows 7 pc. I have 2 problems that I cant figure
> out, and
> > > I have spent many hours reserching.
> > > > >
> > > > > 1) does samba3 support 3tb hard drives? I have 5 drives four 2tb
> and
> > > one 3tb, the 3tb does not show up on the network but does register
> when I
> > > do a mount command on the pogoplug. How do I get this drive to show up
> on
> > > my network?
> > > > >
> > > > > 2) when my pogoplug reboots the drives all mount back in samaba at
> > > different places. example drive 1 may be sdb1 but after reboot it is
> sdc1.
> > > this causes a lot of problems because I need to map them on my network
> and
> > > they keep changing. How do I get them to stay static, drive 1 is always
> > > sdb1 drive 2 is always sdc1 and so on?
> > > > >
> > > > > Thanks in advance. I love learning about this and am about to pull
> my
> > > hair out on this one.
> > > > >
> > > >
> > >
> > >
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>


[Non-text portions of this message have been removed]

#8721 From: "johnday29_rx" <johnday29@...>
Date: Fri Sep 28, 2012 2:48 am
Subject: Re: How to mount drives to a static mount point?
johnday29_rx
Send Email Send Email
 
I have 2 power usb hubs with 3 drives connected to each and blkid is only
showing up 1 drive for each of the hubs.  when I use the "df -h" command all of
the drives show up and are mounted and when I try to do a blkid /dev/sde1 (sde1
shows up in the df command but not the blkid command) it does not show or do
anything.  For some reason blkid is not working with the USB hubs but the rest
of the system is recognizing them.  Any help with how to get blkid to recognize
all drives.  Thanks

By the way I have managed to get the system to mount the drives that do show up
in blkid to specific mount points and get them to show up on my samba server. 
but since it randomly changes what drive blkid detects it does not work great.


--- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...> wrote:
>
> Yeah, you can put it wherever you want, it just needs to be an empty
> directory.
> Blkid will only return information about currently mounted devices (in
> particular, block devices). If you haven't mounted the drive, it probably
> won't show up.
>
> To get the ID manually from a device, you would do something like:
> blkid /dev/sdb2
>
> Also, there are some partition types that don't have a UUID (loop or swap
> for example). Or if the partition is not mountable by linux it will also
> fail.
>
> On Tue, Sep 25, 2012 at 12:38 PM, johnday29_rx <johnday29@...> wrote:
>
> > **
> >
> >
> > Do you first have to create the /mnt/sdb1? does that need to made
> > writable? Can you create an /opt/mnt/sdb1? this way it doesn't mess around
> > with the internal memory on the pogoplug? Thanks
> >
> > by the way when I do the blkid command it only returns results for 4 of
> > the 7 drives that I have plugged into the pogoplug is there a way to get it
> > to recognize all of them or a differnt command to get the UUID or LABEL for
> > all drives connected?
> >
> >
> > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > wrote:
> > >
> > > Correct, you would just be filling in different values for the uid and
> > /opt.
> > > So the line would look like:
> > >
> > > mount `findfs UUID=" fc640330-9e49 "` /mnt/sdb1 # mounts sdb1 USB
> > >
> > > On Sun, Sep 23, 2012 at 8:41 PM, johnday29_rx <johnday29@> wrote:
> > >
> > > > **
> >
> > > >
> > > >
> > > > Thanks for your response. I have seen and used this link and it is
> > great.
> > > > the only problem is it only describes how to get a static mount for
> > "/opt"
> > > > I would like to do the same thing but just with the other 6 drives I
> > have
> > > > plugged in. do I just create a directory for each drive and do this or
> > is
> > > > there a different way. I would like drive with uuid fc640330-9e49 to
> > mount
> > > > to sdb1 every time the system boots.
> > > >
> > > >
> > > > --- In nslu2-general@yahoogroups.com, "ingenuitycapital" <kkam@>
> > wrote:
> > > > >
> > > > > I had the same problem about the mount points changing with each
> > reboot.
> > > > This post descibres how to solve that problem:
> > > > >
> > > > >
> > > >
> > http://www.leeandcathy.com/2011/10/persistent-usb-mount-locations-on.html
> > > > >
> > > > > --- In nslu2-general@yahoogroups.com, "johnday29_rx" <johnday29@>
> > wrote:
> > > > > >
> > > > > > First off I am a big Noob. I have managed to set up my pogoplug v2
> > > > with optware following the instructions on nslu2. I also installed
> > samba3.
> > > > (couldn't get SWAT to work but that is another story). Everything is
> > > > working as far as I can tell, my drives show up under pogoplug in
> > network
> > > > locations on my windows 7 pc. I have 2 problems that I cant figure
> > out, and
> > > > I have spent many hours reserching.
> > > > > >
> > > > > > 1) does samba3 support 3tb hard drives? I have 5 drives four 2tb
> > and
> > > > one 3tb, the 3tb does not show up on the network but does register
> > when I
> > > > do a mount command on the pogoplug. How do I get this drive to show up
> > on
> > > > my network?
> > > > > >
> > > > > > 2) when my pogoplug reboots the drives all mount back in samaba at
> > > > different places. example drive 1 may be sdb1 but after reboot it is
> > sdc1.
> > > > this causes a lot of problems because I need to map them on my network
> > and
> > > > they keep changing. How do I get them to stay static, drive 1 is always
> > > > sdb1 drive 2 is always sdc1 and so on?
> > > > > >
> > > > > > Thanks in advance. I love learning about this and am about to pull
> > my
> > > > hair out on this one.
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>

#8722 From: "johnday29_rx" <johnday29@...>
Date: Fri Sep 28, 2012 2:53 am
Subject: Re: How to mount drives to a static mount point?
johnday29_rx
Send Email Send Email
 
I have 2 power usb hubs with 3 drives connected to each and blkid is only
showing up 1 drive for each of the hubs.  when I use the "df -h" command all of
the drives show up and are mounted and when I try to do a blkid /dev/sde1 (sde1
shows up in the df command but not the blkid command) it does not show or do
anything.  For some reason blkid is not working with the USB hubs but the rest
of the system is recognizing them.  Any help with how to get blkid to recognize
all drives.  Thanks

By the way I have managed to get the system to mount the drives that do show up
in blkid to specific mount points and get them to show up on my samba server. 
but since it randomly changes what drive blkid detects it does not work great.


--- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...> wrote:
>
> Yeah, you can put it wherever you want, it just needs to be an empty
> directory.
> Blkid will only return information about currently mounted devices (in
> particular, block devices). If you haven't mounted the drive, it probably
> won't show up.
>
> To get the ID manually from a device, you would do something like:
> blkid /dev/sdb2
>
> Also, there are some partition types that don't have a UUID (loop or swap
> for example). Or if the partition is not mountable by linux it will also
> fail.
>
> On Tue, Sep 25, 2012 at 12:38 PM, johnday29_rx <johnday29@...> wrote:
>
> > **
> >
> >
> > Do you first have to create the /mnt/sdb1? does that need to made
> > writable? Can you create an /opt/mnt/sdb1? this way it doesn't mess around
> > with the internal memory on the pogoplug? Thanks
> >
> > by the way when I do the blkid command it only returns results for 4 of
> > the 7 drives that I have plugged into the pogoplug is there a way to get it
> > to recognize all of them or a differnt command to get the UUID or LABEL for
> > all drives connected?
> >
> >
> > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > wrote:
> > >
> > > Correct, you would just be filling in different values for the uid and
> > /opt.
> > > So the line would look like:
> > >
> > > mount `findfs UUID=" fc640330-9e49 "` /mnt/sdb1 # mounts sdb1 USB
> > >
> > > On Sun, Sep 23, 2012 at 8:41 PM, johnday29_rx <johnday29@> wrote:
> > >
> > > > **
> >
> > > >
> > > >
> > > > Thanks for your response. I have seen and used this link and it is
> > great.
> > > > the only problem is it only describes how to get a static mount for
> > "/opt"
> > > > I would like to do the same thing but just with the other 6 drives I
> > have
> > > > plugged in. do I just create a directory for each drive and do this or
> > is
> > > > there a different way. I would like drive with uuid fc640330-9e49 to
> > mount
> > > > to sdb1 every time the system boots.
> > > >
> > > >
> > > > --- In nslu2-general@yahoogroups.com, "ingenuitycapital" <kkam@>
> > wrote:
> > > > >
> > > > > I had the same problem about the mount points changing with each
> > reboot.
> > > > This post descibres how to solve that problem:
> > > > >
> > > > >
> > > >
> > http://www.leeandcathy.com/2011/10/persistent-usb-mount-locations-on.html
> > > > >
> > > > > --- In nslu2-general@yahoogroups.com, "johnday29_rx" <johnday29@>
> > wrote:
> > > > > >
> > > > > > First off I am a big Noob. I have managed to set up my pogoplug v2
> > > > with optware following the instructions on nslu2. I also installed
> > samba3.
> > > > (couldn't get SWAT to work but that is another story). Everything is
> > > > working as far as I can tell, my drives show up under pogoplug in
> > network
> > > > locations on my windows 7 pc. I have 2 problems that I cant figure
> > out, and
> > > > I have spent many hours reserching.
> > > > > >
> > > > > > 1) does samba3 support 3tb hard drives? I have 5 drives four 2tb
> > and
> > > > one 3tb, the 3tb does not show up on the network but does register
> > when I
> > > > do a mount command on the pogoplug. How do I get this drive to show up
> > on
> > > > my network?
> > > > > >
> > > > > > 2) when my pogoplug reboots the drives all mount back in samaba at
> > > > different places. example drive 1 may be sdb1 but after reboot it is
> > sdc1.
> > > > this causes a lot of problems because I need to map them on my network
> > and
> > > > they keep changing. How do I get them to stay static, drive 1 is always
> > > > sdb1 drive 2 is always sdc1 and so on?
> > > > > >
> > > > > > Thanks in advance. I love learning about this and am about to pull
> > my
> > > > hair out on this one.
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>

#8723 From: Anthony Takata <htwiz2002@...>
Date: Fri Sep 28, 2012 3:58 am
Subject: Re: Re: How to mount drives to a static mount point?
htwiz2005
Send Email Send Email
 
Hmm. With my limited experience, the best guess I have is that the drives
aren't enumerating fast enough or consistently if that's happening.
Another thing you can try is having a file marker on each drive to identify
which one, and at boot (waiting a bit for the mounts to finish) and run a
script that will remount them to the right place depending on which markers
are found. Beyond that, I'm not sure what to tell you more :( .

On Thu, Sep 27, 2012 at 7:48 PM, johnday29_rx <johnday29@...> wrote:

> **
>
>
> I have 2 power usb hubs with 3 drives connected to each and blkid is only
> showing up 1 drive for each of the hubs. when I use the "df -h" command all
> of the drives show up and are mounted and when I try to do a blkid
> /dev/sde1 (sde1 shows up in the df command but not the blkid command) it
> does not show or do anything. For some reason blkid is not working with the
> USB hubs but the rest of the system is recognizing them. Any help with how
> to get blkid to recognize all drives. Thanks
>
> By the way I have managed to get the system to mount the drives that do
> show up in blkid to specific mount points and get them to show up on my
> samba server. but since it randomly changes what drive blkid detects it
> does not work great.
>
>
> --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@...>
> wrote:
> >
> > Yeah, you can put it wherever you want, it just needs to be an empty
> > directory.
> > Blkid will only return information about currently mounted devices (in
> > particular, block devices). If you haven't mounted the drive, it probably
> > won't show up.
> >
> > To get the ID manually from a device, you would do something like:
> > blkid /dev/sdb2
> >
> > Also, there are some partition types that don't have a UUID (loop or swap
> > for example). Or if the partition is not mountable by linux it will also
> > fail.
> >
> > On Tue, Sep 25, 2012 at 12:38 PM, johnday29_rx <johnday29@...> wrote:
> >
> > > **
>
> > >
> > >
> > > Do you first have to create the /mnt/sdb1? does that need to made
> > > writable? Can you create an /opt/mnt/sdb1? this way it doesn't mess
> around
> > > with the internal memory on the pogoplug? Thanks
> > >
> > > by the way when I do the blkid command it only returns results for 4 of
> > > the 7 drives that I have plugged into the pogoplug is there a way to
> get it
> > > to recognize all of them or a differnt command to get the UUID or
> LABEL for
> > > all drives connected?
> > >
> > >
> > > --- In nslu2-general@yahoogroups.com, Anthony Takata <htwiz2002@>
> > > wrote:
> > > >
> > > > Correct, you would just be filling in different values for the uid
> and
> > > /opt.
> > > > So the line would look like:
> > > >
> > > > mount `findfs UUID=" fc640330-9e49 "` /mnt/sdb1 # mounts sdb1 USB
> > > >
> > > > On Sun, Sep 23, 2012 at 8:41 PM, johnday29_rx <johnday29@> wrote:
> > > >
> > > > > **
> > >
> > > > >
> > > > >
> > > > > Thanks for your response. I have seen and used this link and it is
> > > great.
> > > > > the only problem is it only describes how to get a static mount for
> > > "/opt"
> > > > > I would like to do the same thing but just with the other 6 drives
> I
> > > have
> > > > > plugged in. do I just create a directory for each drive and do
> this or
> > > is
> > > > > there a different way. I would like drive with uuid fc640330-9e49
> to
> > > mount
> > > > > to sdb1 every time the system boots.
> > > > >
> > > > >
> > > > > --- In nslu2-general@yahoogroups.com, "ingenuitycapital" <kkam@>
> > > wrote:
> > > > > >
> > > > > > I had the same problem about the mount points changing with each
> > > reboot.
> > > > > This post descibres how to solve that problem:
> > > > > >
> > > > > >
> > > > >
> > >
> http://www.leeandcathy.com/2011/10/persistent-usb-mount-locations-on.html
> > > > > >
> > > > > > --- In nslu2-general@yahoogroups.com, "johnday29_rx" <johnday29@
> >
> > > wrote:
> > > > > > >
> > > > > > > First off I am a big Noob. I have managed to set up my
> pogoplug v2
> > > > > with optware following the instructions on nslu2. I also installed
> > > samba3.
> > > > > (couldn't get SWAT to work but that is another story). Everything
> is
> > > > > working as far as I can tell, my drives show up under pogoplug in
> > > network
> > > > > locations on my windows 7 pc. I have 2 problems that I cant figure
> > > out, and
> > > > > I have spent many hours reserching.
> > > > > > >
> > > > > > > 1) does samba3 support 3tb hard drives? I have 5 drives four
> 2tb
> > > and
> > > > > one 3tb, the 3tb does not show up on the network but does register
> > > when I
> > > > > do a mount command on the pogoplug. How do I get this drive to
> show up
> > > on
> > > > > my network?
> > > > > > >
> > > > > > > 2) when my pogoplug reboots the drives all mount back in
> samaba at
> > > > > different places. example drive 1 may be sdb1 but after reboot it
> is
> > > sdc1.
> > > > > this causes a lot of problems because I need to map them on my
> network
> > > and
> > > > > they keep changing. How do I get them to stay static, drive 1 is
> always
> > > > > sdb1 drive 2 is always sdc1 and so on?
> > > > > > >
> > > > > > > Thanks in advance. I love learning about this and am about to
> pull
> > > my
> > > > > hair out on this one.
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> > >
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>


[Non-text portions of this message have been removed]

#8724 From: "Jon" <jonleeuk1@...>
Date: Fri Sep 28, 2012 11:40 pm
Subject: is there an idiots guide to modding the pogo plug pro?
jonleeuk1
Send Email Send Email
 
new to the group, had my plug for a few weeks and default use is boring and
limited, would be much easier to be able to let it see my nas so when visiting
finland i can let the inlaws see vids and photos etc. I was trying to follow
several guides but they all dead link except the one that brought me here. This
brings me to the topic of this little piece, is there an idiots guide for
windows users with light linux knowledge and the ability to ssh with puitty?

Cheers

Jon

#8725 From: "BobK" <bob.klahn@...>
Date: Sat Sep 29, 2012 12:01 pm
Subject: Re: is there an idiots guide to modding the pogo plug pro?
middleagedad
Send Email Send Email
 
I'm in the same boat with Jon. Long experience with computers, limited with
Linux. Mostly I am a hardware person, but this interests me.

I am disgusted with the fact that you have to buy separate software to just
access it locally. Would much appreciate a simplified instruction set.

  Bob Klahn

--- In nslu2-general@yahoogroups.com, "Jon" <jonleeuk1@...> wrote:
>
> new to the group, had my plug for a few weeks and default use is boring and
limited, would be much easier to be able to let it see my nas so when visiting
finland i can let the inlaws see vids and photos etc. I was trying to follow
several guides but they all dead link except the one that brought me here. This
brings me to the topic of this little piece, is there an idiots guide for
windows users with light linux knowledge and the ability to ssh with puitty?
>
> Cheers
>
> Jon
>

#8726 From: Dale Schultz <dschultzca@...>
Date: Sat Sep 29, 2012 8:26 pm
Subject: Re: Re: is there an idiots guide to modding the pogo plug pro?
dschultzca
Send Email Send Email
 
Messages 8697 - 8726 of 8996   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