Re: Weird problem with MDEV as a daemon

2020-09-09 Thread David Henderson
Good morning Leonid. Sorry to hear about your issues with BB mdev. While I can't provide any help regarding this situation, I do know of another mdev software that might help you resolve some of your problems: https://skarnet.org/software/mdevd/ Dave On 9/8/20, Leonid Zhigunov wrote: > Hi,

Re: Non-responsive maintainer?

2020-06-05 Thread David Henderson
Thank you for you for your continued dedication Deny's! Dave On 6/5/20, Natanael Copa wrote: > On Fri, 5 Jun 2020 12:10:54 +0200 > Bernhard Reutner-Fischer wrote: > >> PS: Furthermore don't forget that Denys is doing this stuff for more >> than 10 years now and in these years has "donated"

Re: dd progress

2020-05-07 Thread David Henderson
Good morning Damien! You can also pipe it through 'pv'. There are plenty of examples of this on the web, but something like: dd if=/dev/sda1 | pv -whatever | dd of=/tmp/test.img Hope this helps! Dave On 5/7/20, Damien LEFEVRE wrote: > Hi, > > I have an embedded device with BusyBox v1.30.1.

Re: [PATCH] losetup: Create loop device if it does not exist

2019-10-22 Thread David Henderson
I think this is better functionality. If anything is scripted, this patch will make it easier instead of having to test if the file exists (or if the binary exits due to the file not already existing). I actually think most binaries work like this... Just my $0.02 Dave On 10/22/19, Joerg

Re: inode usage

2018-12-11 Thread David Henderson
Yup! I can't believe I didn't check that... Thanks Jody! Dave On 12/11/18, Jody Bruchon wrote: > Do you have an alias for 'df' by some chance? > > On 12/11/2018 11:10 AM, David Henderson wrote: >> So I was checking with the 'df' from coreutils on another computer and >> i

Re: inode usage

2018-12-11 Thread David Henderson
8% / Why would the values change only when the applet is preceded by its parent directory? Is this a bug of some sort? Thanks, Dave On 12/11/18, David Henderson wrote: > Good morning all! I am working on a project and need to find the > inode usage of the file system. When I run t

inode usage

2018-12-11 Thread David Henderson
Good morning all! I am working on a project and need to find the inode usage of the file system. When I run the 'df -i' command from the prompt I get the inode usage, but it only shows in the thousands (e.g. 374.3k). I have tried several methods to try and get it to show the raw number (e.g.

Re: df output

2018-07-24 Thread David Henderson
Please disregard - it was an alias that was set... Dave On 7/24/18, David Henderson wrote: > Good afternoon! I am trying to get different output from 'df' by > including the '-k', '-m', etc, however, the output is the same no > matter what is passed. Am I missing something? Using B

df output

2018-07-24 Thread David Henderson
Good afternoon! I am trying to get different output from 'df' by including the '-k', '-m', etc, however, the output is the same no matter what is passed. Am I missing something? Using BB version 1.24.1. # df -k /dev/sda1 FilesystemSize Used Available Use% Mounted on

mdev scripts

2017-11-02 Thread David Henderson
Good afternoon all! I was interesting in migrating from udev to mdev, but had some concerns. As I have been compiling packages along the way for the repo, I have noticed that some packages include a udev rules file, but no mdev (since it is probably used much less than udev). Does anyone have

Re: move files using find

2017-07-14 Thread David Henderson
*}" 2>/dev/null; mv -- "$1" "${0}/${TEMP%/*}"' "/tmp/test.gir" {} \; This preserves the path when finding/copying files from a source to a destination. Dave On 7/14/17, David Henderson <dhender...@digital-pipe.com> wrote: > Oops! It does appea

Re: move files using find

2017-07-14 Thread David Henderson
Oops! It does appear that I was using GNU find, not BB. Sorry about that. Any thoughts on how this can be done without execdir then using BB find? Thanks, Dave On 7/14/17, Denys Vlasenko <vda.li...@googlemail.com> wrote: > On Thu, Jul 13, 2017 at 11:52 PM, David Henderson &

move files using find

2017-07-13 Thread David Henderson
Good evening all! I am trying to move files from one location to another while preserving the path. If I search for a directory, it seems like I have found the correct syntax: find "/usr/local/share/man" -type d -execdir mv -- {} "/opt/test" \; However, if I try to move files, I can't seem to

Re: mounting errors

2017-02-27 Thread David Henderson
Thanks for the follow-up Jody. I guess I have no choice but to do so... Dave On 2/24/17, Jody Bruchon <j...@jodybruchon.com> wrote: > On 2017-02-24 08:49, David Henderson wrote: >> Thanks for the tip Rob! So it looks like my only resolution to this >> problem is the dmesg

Re: mounting errors

2017-02-24 Thread David Henderson
/17, Rob Landley <r...@landley.net> wrote: > > > On 02/22/2017 06:09 AM, Jody Bruchon wrote: >> On 2017-02-22 2:28 AM, Mattias Schlenker wrote: >>> Am 21.02.2017 um 22:09 schrieb David Henderson: >>> >>>> EXT4-fs (sde2): couldn't mount as ext3

Re: mounting errors

2017-02-23 Thread David Henderson
it isn't. Additionally, I'm not sure why this occurs in one OS and not another. Is there a better way to permanently resolve this problem without having to constantly use 'dmesg -n 2'? Thanks, Dave On 2/22/17, Jody Bruchon <j...@jodybruchon.com> wrote: > On 2017-02-22 08:43, David Hender

Re: mounting errors

2017-02-22 Thread David Henderson
' it is referring to... Any thoughts on how to resolve the problem? Thanks, Dave On 2/22/17, Jody Bruchon <j...@jodybruchon.com> wrote: > On 2017-02-22 2:28 AM, Mattias Schlenker wrote: >> Am 21.02.2017 um 22:09 schrieb David Henderson: >> >>> EXT4-fs (sde2): couldn'

mounting errors

2017-02-21 Thread David Henderson
Good afternoon all! I am using the BB mount command to mount several partitions, but when the command is executed I get: EXT4-fs (sde2): couldn't mount as ext3 due to feature incompatibilities EXT4-fs (sde2): couldn't mount as ext2 due to feature incompatibilities The filesystem is indeed ext4,

Re: potential error with adduser

2016-12-15 Thread David Henderson
hat the default method was to put false information in the passwd file and was clarifying if this was appropriate. As I've stated numerous times, I can't see a circumstance where this would be advised. Dave > On 14 December 2016 at 20:59, David Henderson <dhender...@digital-pipe.com

Re: potential error with adduser

2016-12-15 Thread David Henderson
Good morning Tito. I would actually think that having accurate information would be preferred - by most if not all. I don't see the point or value in having false info anywhere. Dave On 12/14/16, Tito <farmat...@tiscali.it> wrote: > > > On 12/14/2016 09:59 PM, David Henderso

Re: potential error with adduser

2016-12-14 Thread David Henderson
Hey Tito, thanks again for the reply. I'm not sure how that example is disproving my concerns. :) It is still reflecting inaccurate information in /etc/passwd. Dave On 12/14/16, Tito <farmat...@tiscali.it> wrote: > > > On 12/14/2016 03:26 PM, David Henderson wrote: >>

Re: potential error with adduser

2016-12-14 Thread David Henderson
misinformation. Thanks, Dave On 12/14/16, Tito <farmat...@tiscali.it> wrote: > > > On 12/14/2016 07:59 AM, Tito wrote: >> On 12/13/2016 04:46 PM, David Henderson wrote: >>> Good morning gang! Working with the 'adduser' applet and noticed that >>> when specif

potential error with adduser

2016-12-13 Thread David Henderson
Good morning gang! Working with the 'adduser' applet and noticed that when specifying the '-H' parameter the /etc/passwd file still gets a home directory value (which doesn't exist in the file system). Is this an error? If no home directory was to be made, shouldn't that value be blank?

Re: copying multiple files

2016-11-22 Thread David Henderson
d of atomic operation. Are you > after a fewest-line-count award? > > -- Jim > > -Original Message- > From: busybox [mailto:busybox-boun...@busybox.net] On Behalf Of David > Henderson > Sent: Monday, November 21, 2016 2:07 PM > To: Grant Edwards > Cc: busyb

Re: copying multiple files

2016-11-21 Thread David Henderson
of lines necessary for the operation... Thanks, Dave On 11/21/16, Grant Edwards <grant.b.edwa...@gmail.com> wrote: > On 2016-11-21, David Henderson <dhender...@digital-pipe.com> wrote: >> On 11/21/16, Grant Edwards <grant.b.edwa...@gmail.com> wrote: >>> On

Re: copying multiple files

2016-11-21 Thread David Henderson
Hey Grant, thanks for the reply! Unfortunately that command will just echo what you type to the screen, not actually copy anything. Any other thoughts? Thanks, Dave On 11/21/16, Grant Edwards <grant.b.edwa...@gmail.com> wrote: > On 2016-11-21, David Henderson <dhender...@digi

copying multiple files

2016-11-21 Thread David Henderson
Good afternoon. I have several files in two different directories that I'm trying to copy in a destination using: cp -f /tmp/test/{a.txt,b.txt,c.txt} /tmp/test2/{1.txt,2.txt,3.txt} /tmp/dest This keeps failing. Is this implemented in BB? Thanks, Dave

mounting using uuids

2016-10-19 Thread David Henderson
Good afternoon all, I am attempting to mount a partition using the /etc/fstab file using its UUID. Busybox fails with the message "No such file or directory", however, if I use the same fstab file using GNU's mount, everything works as designed. Is there some special way to mount like this using

Re: [PATCH 1/1] ifupdown: add write lock around ifstate access

2016-09-29 Thread David Henderson
Awesome, thanks Danomi! Dave On 9/28/16, Danomi Manchego wrote: > So that concurrent access on systems with multiple > network interfaces correctly update the ifstate file. > > Signed-off-by: Danomi Manchego > --- >

Re: ifup/down broken!!!

2016-09-29 Thread David Henderson
On 9/28/16, Xabier Oneca -- xOneca wrote: > Hello David, > >> However, as noted, it appears that the script was having an 'exit 1' >> even though it was going through all the lines and should have been >> exiting 0. Once one of the lines further up in the script was >>

Re: dhcp with /etc/network/interfaces

2016-09-28 Thread David Henderson
On 9/27/16, Denys Vlasenko <vda.li...@googlemail.com> wrote: > On Mon, Sep 26, 2016 at 9:32 PM, David Henderson > <dhender...@digital-pipe.com> wrote: >> On 9/26/16, Denys Vlasenko <vda.li...@googlemail.com> wrote: >>> On Mon, Sep 26, 2016 at 5:51 PM,

Re: ifup/down broken!!!

2016-09-28 Thread David Henderson
PM, David Henderson > <dhender...@digital-pipe.com> wrote: >> On 9/27/16, dietmar.schind...@manroland-web.com >> <dietmar.schind...@manroland-web.com> wrote: >>>> Von: David Henderson >>>> Gesendet: Montag, 26. September 2016 17:04 >>>> >

Re: dhcp with /etc/network/interfaces

2016-09-27 Thread David Henderson
Just following up with this... Thanks, Dave On 9/26/16, David Henderson <dhender...@digital-pipe.com> wrote: > On 9/26/16, Denys Vlasenko <vda.li...@googlemail.com> wrote: >> On Mon, Sep 26, 2016 at 5:51 PM, David Henderson >> <dhender...@digital-pipe.com

Re: ifup/down broken!!!

2016-09-27 Thread David Henderson
On 9/27/16, dietmar.schind...@manroland-web.com <dietmar.schind...@manroland-web.com> wrote: >> Von: David Henderson >> Gesendet: Montag, 26. September 2016 17:04 >> >> ... The script is as follows: >> >> #!/bin/sh >> # >> # DEBUG >> ec

Re: dhcp with /etc/network/interfaces

2016-09-26 Thread David Henderson
On 9/26/16, Denys Vlasenko <vda.li...@googlemail.com> wrote: > On Mon, Sep 26, 2016 at 5:51 PM, David Henderson > <dhender...@digital-pipe.com> wrote: >> Just following up with this... > > You have some sort of problem on your system, but you refuse to provide > s

Re: dhcp with /etc/network/interfaces

2016-09-26 Thread David Henderson
Just following up with this... Thanks, Dave On 9/20/16, David Henderson <dhender...@digital-pipe.com> wrote: > Thanks for your help with this too Denys. Answers are inline... > > > On 9/20/16, Denys Vlasenko <vda.li...@googlemail.com> wrote: >> On Tue, Sep 20, 20

Re: ifup/down broken!!!

2016-09-26 Thread David Henderson
On 9/26/16, Denys Vlasenko wrote: > On Mon, Sep 26, 2016 at 2:38 AM, Danomi Manchego > wrote: >> All, >> >> i thought I'd share a previous experience, in case it helped. In one >> of our projects, we had multiple ethernet interfaces for a

Re: ifup/down broken!!!

2016-09-26 Thread David Henderson
e lock in bb ifupdown, so the two interfaces can > trample each other, losing state of one interface or the other. Not > so good. > > Good luck, > Danomi - > > > On Sat, Sep 24, 2016 at 5:09 PM, Denys Vlasenko > <vda.li...@googlemail.com> wrote: >> ..On Sat,

Re: ifup dependency

2016-09-26 Thread David Henderson
writes: >> >> > On 17 September 2016 08:07:01 CEST, Peter Korsgaard >> <pe...@korsgaard.com> wrote: >> >>>>>>> "David" == David Henderson <dhender...@digital-pipe.com> writes: >> >> >> >> > Hey Pe

Re: ifup/down broken!!!

2016-09-26 Thread David Henderson
Good morning all! Thanks for the help Denys, replies are inline... On 9/24/16, Denys Vlasenko <vda.li...@googlemail.com> wrote: > ..On Sat, Sep 24, 2016 at 7:41 PM, David Henderson > <dhender...@digital-pipe.com> wrote: >> Good afternoon all! This is to let those tha

Re: ifup dependency

2016-09-26 Thread David Henderson
September 2016 08:07:01 CEST, Peter Korsgaard <pe...@korsgaard.com> > wrote: > >>>>>>> "David" == David Henderson <dhender...@digital-pipe.com> writes: > >> > >> > Hey Peter, thanks for the reply. I was more or less re

ifup/down broken!!!

2016-09-24 Thread David Henderson
Good afternoon all! This is to let those that are attempting to work with the busybox applets 'ifup' and 'ifdown' that their current status is broken in certain conditions and to let them know the unfortunate work around you must go through to make it work. Testing has shown that there are two

Re: additional ifupdown problems

2016-09-24 Thread David Henderson
;1 | tee -a /var/log/${DEVICE}.log >>$LOG_BOOT sleep 1 fi done The results are still the same - no writing to /var/run/ifstate. Help is appreciated! Thanks, Dave On 9/23/16, David Henderson <dhender...@digital-pipe.com> wrote: > Good morning Martin. I

Re: ifupdown problem

2016-09-24 Thread David Henderson
Following up with this Denys. Thanks, Dave On 9/23/16, David Henderson <dhender...@digital-pipe.com> wrote: > Following up with this Denys. > > Thanks, > Dave > > > On 9/22/16, David Henderson <dhender...@digital-pipe.com> wrote: >> On 9/22/16, Denys Vl

Re: additional ifupdown problems

2016-09-23 Thread David Henderson
; - Martin. > > On Thu, Sep 22, 2016 at 7:53 PM, David Henderson > <dhender...@digital-pipe.com> wrote: >> So to add more confusion to the mix, I've been able to successfully >> add 'virtual' adapter (e.g. eth0:1) configuration with everything >> working correct

Re: ifupdown problem

2016-09-23 Thread David Henderson
Following up with this Denys. Thanks, Dave On 9/22/16, David Henderson <dhender...@digital-pipe.com> wrote: > On 9/22/16, Denys Vlasenko <vda.li...@googlemail.com> wrote: >> On Wed, Sep 21, 2016 at 2:57 PM, David Henderson >> <dhender...@digital-pipe.com> wrot

Re: additional ifupdown problems

2016-09-22 Thread David Henderson
og else /sbin/udhcpc -b -i $DEVICE -x hostname:$(/bin/hostname) -p /var/run/udhcpc.$DEVICE.pid >/dev/null 2>>/var/log/udhcpc.${DEVICE}.log fi trap "" 2 3 11 sleep 1 fi done Thanks, Dave On 9/22/16, David Henderson <dhender...@digital-pipe.com>

Re: additional ifupdown problems

2016-09-22 Thread David Henderson
problems... Dave On 9/22/16, David Henderson <dhender...@digital-pipe.com> wrote: > Hey Martin, it does not appear that a /proc/config.gz is present. I > guess that option wasn't added in the kernel config itself. What was > the option to check btw? > > I also checked

Re: additional ifupdown problems

2016-09-22 Thread David Henderson
ember if I've already asked but is there anything useful in dmesg? > > -Martin. > > On Thu, Sep 22, 2016 at 2:26 PM, David Henderson > <dhender...@digital-pipe.com> wrote: >> Thanks for your continued efforts Martin! I can try the full blown >> iproute2 later today

Re: additional ifupdown problems

2016-09-22 Thread David Henderson
, it's just that the ifstate file doesn't get written to for some reason (and I don't think firewalls will prevent writing to local files :). Thanks, Dave On 9/21/16, Martin Townsend <mtownsend1...@gmail.com> wrote: > Hi Dave, > > On Wed, Sep 21, 2016 at 4:51 PM, David Hende

Re: ifupdown scripts

2016-09-22 Thread David Henderson
Following up with this too. Dave On 9/20/16, David Henderson <dhender...@digital-pipe.com> wrote: > Does BB require certain permissions or ownership of the > scripts/directories for this to get called? > > Dave > > > On 9/20/16, David Henderson <dhender...@digital-

Re: dhcp with /etc/network/interfaces

2016-09-22 Thread David Henderson
Just following up with this... Dave On 9/20/16, David Henderson <dhender...@digital-pipe.com> wrote: > Thanks for your help with this too Denys. Answers are inline... > > > On 9/20/16, Denys Vlasenko <vda.li...@googlemail.com> wrote: >> On Tue, Sep 20, 20

Re: ifupdown problem

2016-09-22 Thread David Henderson
On 9/22/16, Denys Vlasenko <vda.li...@googlemail.com> wrote: > On Wed, Sep 21, 2016 at 2:57 PM, David Henderson > <dhender...@digital-pipe.com> wrote: >> On 9/20/16, Denys Vlasenko <vda.li...@googlemail.com> wrote: >>> On Tue, Sep 20, 2016 at 8:33 PM,

Re: additional ifupdown problems

2016-09-21 Thread David Henderson
On 9/21/16, Martin Townsend <mtownsend1...@gmail.com> wrote: > Hi Dave, > > On Wed, Sep 21, 2016 at 3:41 PM, David Henderson > <dhender...@digital-pipe.com> wrote: >> Hey Martin, >> >> On 9/21/16, Martin Townsend <mtownsend1...@gmail.com> wrote: >

Re: additional ifupdown problems

2016-09-21 Thread David Henderson
Hey Martin, On 9/21/16, Martin Townsend <mtownsend1...@gmail.com> wrote: > Hi Dave, > > On Wed, Sep 21, 2016 at 2:06 PM, David Henderson > <dhender...@digital-pipe.com> wrote: >> Good morning everyone! I'll add each question with the answer below: >> >>

Re: additional ifupdown problems

2016-09-21 Thread David Henderson
below: auto eth0 iface eth0 inet static address 192.168.0.23 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 8.8.8.8 8.8.4.4 dns-search whatever.local Thanks, Dave On 9/20/16, Martin Townsend <mtownsend1...@gmail.com> wrote: > Hi Dave, > > On Tue, Sep 20, 2016 at 4:40 PM,

Re: ifupdown problem

2016-09-21 Thread David Henderson
On 9/20/16, Denys Vlasenko <vda.li...@googlemail.com> wrote: > On Tue, Sep 20, 2016 at 8:33 PM, David Henderson > <dhender...@digital-pipe.com> wrote: >>> General idea is described here: >>> https://busybox.net/~vda/no_ifup.txt >> >> Looked a

Re: additional ifupdown problems

2016-09-20 Thread David Henderson
Additionally, I have tried to remove the /var/run/ifstate file before running 'ifup' - same failed result. What exact file is the following line referring to? ip: RTNETLINK answers: File exists Thanks, Dave On 9/20/16, David Henderson <dhender...@digital-pipe.com> wrote: > A

Re: additional ifupdown problems

2016-09-20 Thread David Henderson
Aside from ownership/permissions, can anyone think of why 'ifup' does not write to this file? Regression on BB code perhaps? Can any confirm theirs actuallys writes to this file? Thanks, Dave On 9/20/16, David Henderson <dhender...@digital-pipe.com> wrote: > That's what my res

Re: ifupdown scripts

2016-09-20 Thread David Henderson
Does BB require certain permissions or ownership of the scripts/directories for this to get called? Dave On 9/20/16, David Henderson <dhender...@digital-pipe.com> wrote: > Hey Martin, thanks for your help! I tried renaming the file as you > requested, but it is still not being ca

Re: ifupdown problem

2016-09-20 Thread David Henderson
On 9/20/16, Denys Vlasenko wrote: > On Tue, Sep 20, 2016 at 5:44 PM, Martin Townsend > wrote: +++ busybox-1.24.1/networking/ifupdown.c 2016-09-06 13:39:59.288380571 +0100 @@ -501,7 +501,7 @@ { int result; # if

Re: dhcp with /etc/network/interfaces

2016-09-20 Thread David Henderson
Thanks for your help with this too Denys. Answers are inline... On 9/20/16, Denys Vlasenko <vda.li...@googlemail.com> wrote: > On Tue, Sep 20, 2016 at 5:31 PM, David Henderson > <dhender...@digital-pipe.com> wrote: >> Hey Martin, thanks again for your help! So I had t

Re: dhcp with /etc/network/interfaces

2016-09-20 Thread David Henderson
<mtownsend1...@gmail.com> wrote: > Hi Dave, > > On Tue, Sep 20, 2016 at 4:31 PM, David Henderson > <dhender...@digital-pipe.com> wrote: >> Hey Martin, thanks again for your help! So I had to bring back >> 'sneaker-net' to get strace on the machine vi

Re: additional ifupdown problems

2016-09-20 Thread David Henderson
are getting set there. Thanks, Dave On 9/20/16, Martin Townsend <mtownsend1...@gmail.com> wrote: > Hi David, > > On Tue, Sep 20, 2016 at 4:03 PM, David Henderson > <dhender...@digital-pipe.com> wrote: >> Good morning everyone! During the boot of the OS, an 'ifup

Re: dhcp with /etc/network/interfaces

2016-09-20 Thread David Henderson
VER > messages. > > If this fails I would try and get strace on the board. Can't you run > udhcpc/dhclient with the board connected to a network with a DHCP > server? USB Memory Stick? > > -Martin. > > > On Tue, Sep 20, 2016 at 2:54 PM, David Henderson > <

Re: ifupdown scripts

2016-09-20 Thread David Henderson
appear to ever get to looking inside the if-up.d directory, only if-pre-up.d. Thanks, Dave On 9/20/16, Martin Townsend <mtownsend1...@gmail.com> wrote: > Hi David, > > Does it work if you drop the .conf? > /etc/network/if-up.d/000_resolv > > -Martin > > On Mon,

Re: ifupdown scripts

2016-09-20 Thread David Henderson
And with this. Thanks, Dave On 9/19/16, David Henderson <dhender...@digital-pipe.com> wrote: > Good afternoon all! I have been continuing to work with the > networking in BB and have added a single script > '/etc/network/if-up.d/000_resolv.conf' that does not seem to be call

Re: dhcp with /etc/network/interfaces

2016-09-20 Thread David Henderson
Good morning all, I was just following up with this. Thanks, Dave On 9/19/16, David Henderson <dhender...@digital-pipe.com> wrote: > Plus that would only answer part of the original question. Any input > on that second part? > > Thanks, > Dave > > > On 9/1

ifupdown scripts

2016-09-19 Thread David Henderson
Good afternoon all! I have been continuing to work with the networking in BB and have added a single script '/etc/network/if-up.d/000_resolv.conf' that does not seem to be called when 'ifup -a' is called during the boot process. The script has a permission of 755 and ownership of root:root. The

Re: dhcp with /etc/network/interfaces

2016-09-19 Thread David Henderson
Plus that would only answer part of the original question. Any input on that second part? Thanks, Dave On 9/19/16, David Henderson <dhender...@digital-pipe.com> wrote: > Thanks again for your continued help Peter! Unfortunately the machine > that I'm working on doesn't cu

Re: dhcp with /etc/network/interfaces

2016-09-19 Thread David Henderson
Thanks again for your continued help Peter! Unfortunately the machine that I'm working on doesn't currently have a network connection since I've been fiddling with things so strace can't be installed. Dave On 9/19/16, Peter Korsgaard <pe...@korsgaard.com> wrote: >>>>&

Re: dhcp with /etc/network/interfaces

2016-09-19 Thread David Henderson
Good morning Peter, thanks for your reply. C/C++ is not my forte and while it may be readable for you, it may not be for others. Dave On 9/19/16, Peter Korsgaard <jac...@sunsite.dk> wrote: >>>>>> "David" == David Henderson <dhender...@digital-pipe.com&g

Re: dhcp with /etc/network/interfaces

2016-09-19 Thread David Henderson
Good morning all, just following up with this! Thanks, Dave On 9/16/16, David Henderson <dhender...@digital-pipe.com> wrote: > Good afternoon all! I was interested in knowing if I specify an > interface to use dhcp in the /etc/network/interfaces file, what binary > and para

Re: ifup dependency

2016-09-16 Thread David Henderson
ot;. Dave On 9/16/16, Peter Korsgaard <jac...@sunsite.dk> wrote: >>>>>> "David" == David Henderson <dhender...@digital-pipe.com> writes: > > > Good afternoon all, I had re-compiled my busybox to add in the some > > commands including

dhcp with /etc/network/interfaces

2016-09-16 Thread David Henderson
Good afternoon all! I was interested in knowing if I specify an interface to use dhcp in the /etc/network/interfaces file, what binary and parameters are used by busybox to achieve this: auto eth0 iface eth0 inet dhcp Talking with Isaac in the previous thread, he made mention of the scripts

ifup dependency

2016-09-16 Thread David Henderson
Good afternoon all, I had re-compiled my busybox to add in the some commands including the ifup/down. When I attempted to run that applet, it said that 'run-parts' was not installed. Should this applet the automatically added to the config when the ifup/down commands were added? Thanks, Dave

Fwd: arrays

2016-08-04 Thread David Henderson
-- Forwarded message -- From: David Henderson <dhender...@digital-pipe.com> Date: Thu, 4 Aug 2016 14:41:25 -0400 Subject: Re: arrays To: Jody Lee Bruchon <j...@jodybruchon.com> Thanks for the response Jody! I understand that BB is POSIX compliant, but didn't realize

Re: arrays

2016-08-04 Thread David Henderson
s supported by ash as implemented in BusyBox, and > arrays certainly are super useful. Someone would have to code it in though, > and that's the hard part. ;-) > > On August 4, 2016 2:41:25 PM EDT, David Henderson > <dhender...@digital-pipe.com> wrote: >>Thanks for the response Jod

Re: arrays

2016-08-04 Thread David Henderson
with this. Thanks, Dave On 8/2/16, David Henderson <dhender...@digital-pipe.com> wrote: > Good morning all! I have a script that uses arrays, but I can't seem > to figure out what's going on with /bin/sh in handling them. Is there > a specific way to initialize them or use th

arrays

2016-08-02 Thread David Henderson
Good morning all! I have a script that uses arrays, but I can't seem to figure out what's going on with /bin/sh in handling them. Is there a specific way to initialize them or use them with busybox? Thanks, Dave ___ busybox mailing list

Re: make menuconfig deps

2016-07-22 Thread David Henderson
lol it does seem to work just fine though. I made a wrapper script so I didn't have to remember it. :) Dave On 7/22/16, ..mg.. wrote: > > On Thu, Jul 21, 2016 at 09:40:21PM +0200, Laurent Bercot wrote: >> >> make menuconfig \ >>

Re: make menuconfig deps

2016-07-22 Thread David Henderson
Hey Stephen! The version of gcc I'm using is actually 5.2.0 and I don't think the OS is configured incorrectly, that's just how TC was designed to run. Instead of installing packages in a traditional means like Debian, TC uses squashfs files and symlinks its contents to the /usr/local/ area of

Re: make menuconfig deps

2016-07-22 Thread David Henderson
than I can do at the moment with all the other odds and ends of forking. Thanks, Dave On 7/22/16, ..mg.. <shoema...@riseup.net> wrote: > > On Fri, Jul 22, 2016 at 11:11:23AM -0400, David Henderson wrote: >> Thanks for the tip MG, but unfortunately this did not work... >>

Re: make menuconfig deps

2016-07-22 Thread David Henderson
Thanks Laurent, after some tweaking to the values this ended up working out just fine! I appreciate everyone's help so that I could get this going! Thanks, Dave On 7/21/16, Laurent Bercot wrote: > > Kbuild, be it the kernel's or busybox, assumes that ncurses is

Re: make menuconfig deps

2016-07-22 Thread David Henderson
Thanks for the tip MG, but unfortunately this did not work... Dave On 7/21/16, ..mg.. <shoema...@riseup.net> wrote: > On Thu, Jul 21, 2016 at 11:41:10AM -0400, David Henderson wrote: > >> lrwxrwxrwx1 root root47 Jul 21 08:59 >> /usr/local/lib/libncur

Re: make menuconfig deps

2016-07-21 Thread David Henderson
I'll need a little help with your suggestion. Where do I find that line? Thanks, Dave On 7/21/16, Bernhard Reutner-Fischer <rep.dot@gmail.com> wrote: > On July 21, 2016 5:41:10 PM GMT+02:00, David Henderson > <dhender...@digital-pipe.com> wrote: >>Thanks M

Re: make menuconfig deps

2016-07-21 Thread David Henderson
No problem :) On 7/21/16, Rich Mahn <r...@lat.com> wrote: > David Henderson <dhender...@digital-pipe.com> wrote: > >> Good morning Rich, thanks for the response. I have ncurses-dev >> already installed. I'm surprised BB required qt and kmod dev packages >>

Re: make menuconfig deps

2016-07-21 Thread David Henderson
s.so file, but you may have meant libncurses.so which is present. Let me know! Thanks, Dave On 7/21/16, ..mg.. <shoema...@riseup.net> wrote: > On Thu, Jul 21, 2016 at 09:07:09AM -0400, David Henderson wrote: >> No problem, here's the entire output: > > [snip...] >&

Re: make menuconfig deps

2016-07-21 Thread David Henderson
:14: recipe for target 'menuconfig' failed make[1]: *** [menuconfig] Error 2 Makefile:443: recipe for target 'menuconfig' failed make: *** [menuconfig] Error 2 On 7/20/16, Rob Landley <r...@landley.net> wrote: > On 07/20/2016 03:49 PM, David Henderson wrote: >> msgbox.c:(.text+0x

Re: make menuconfig deps

2016-07-21 Thread David Henderson
... Thanks, Dave On 7/20/16, Rich Mahn <r...@lat.com> wrote: > Rob Landley <r...@landley.net> wrote: > >> On 07/20/2016 10:45 AM, David Henderson wrote: >> > Good morning everyone. I'm trying to run the 'make menuconfig' to >> > configure BB but

Re: make menuconfig deps

2016-07-20 Thread David Henderson
/scripts/kconfig/Makefile:14: recipe for target 'menuconfig' failed make[1]: *** [menuconfig] Error 2 Makefile:443: recipe for target 'menuconfig' failed make: *** [menuconfig] Error 2 On 7/20/16, Waldemar Brodkorb <w...@openadk.org> wrote: > Hi, > David Henderson wrote, > >

Re: make menuconfig deps

2016-07-20 Thread David Henderson
t;r...@landley.net> wrote: > On 07/20/2016 10:45 AM, David Henderson wrote: >> Good morning everyone. I'm trying to run the 'make menuconfig' to >> configure BB but I keep getting a 'collect2: error:'. What are the >> dependencies that are necessary to get this going? Currently I

make menuconfig deps

2016-07-20 Thread David Henderson
Good morning everyone. I'm trying to run the 'make menuconfig' to configure BB but I keep getting a 'collect2: error:'. What are the dependencies that are necessary to get this going? Currently I have the basics like gcc, ncurses-dev, ncurses, etc. Thanks, Dave

Re: /etc/network/interfaces declarations

2016-04-05 Thread David Henderson
on, you > can switch to busybox ifup and it should continue working. > > On a system with just busybox ifup/ifdown, you would need to install > resolvconf and wpa_supplicant, making sure that there are scripts in > /etc/network/if-*.d/. > > On Mon, Apr 04, 2016 at 04:03:55PM -0400

Re: /etc/network/interfaces declarations

2016-04-04 Thread David Henderson
al interface you run wpa_supplicant on will be used for > # any logical interfaces. > > iface default inet dhcp > > auto wlan0 > iface wlan0 inet manual > wpa-roam /etc/wpa_supplicant.conf > === > > "-i CONFIGFILE" is optional; it defaults to /etc/network/i

Re: /etc/network/interfaces declarations

2016-04-04 Thread David Henderson
Thanks for the help Isaac! Replies are inline... >> Good morning all! I am working with the /etc/network/interfaces file >> and was curious what declarations are available to busybox. So far > > Test it out; this is usually the fastest way to find out. Unfortunately in this situation I think

/etc/network/interfaces declarations

2016-03-24 Thread David Henderson
Good morning all! I am working with the /etc/network/interfaces file and was curious what declarations are available to busybox. So far I'm interested in using the following: address 192.168.0.10 netmask 255.255.255.0 gateway 192.168.0.1 dns-nameservers 1.1.1.1 1.1.1.2 1.1.1.3 dns-search

Re: /etc/network/interfaces declarations

2016-03-24 Thread David Henderson
And I just wanted to make sure that I could use something like: ifup -i /etc/network/interfaces eth0 will process that file as is defined (like the example provided below). There isn't anythink like this with just ifconfig correct? Thanks, Dave On 3/24/16, David Henderson <dhender...@digi

Re: case passthru

2016-02-18 Thread David Henderson
On 2/18/16, Mike Frysinger <vap...@gentoo.org> wrote: > On 18 Feb 2016 11:04, David Henderson wrote: >> Good morning everyone, I am working with a shell script (#!/bin/sh) >> that utilizes a case statement to implement updates: >> >> case "

Re: case passthru

2016-02-18 Thread David Henderson
On 2/18/16, Bastian Bittorf <bitt...@bluebottle.com> wrote: > * David Henderson <dhender...@digital-pipe.com> [18.02.2016 17:14]: >> case "$(cat /tmp/md5.txt)" in >> '123456') >> ...implement updates for this particular version... >>

  1   2   >