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" q

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 Vehl

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 a

Re: inode usage

2018-12-11 Thread David Henderson
83299 29528 353771 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 s

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. 374

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

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 /dev/sd

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 or

Re: move files using find

2017-07-14 Thread David Henderson
}/${TEMP%/*}" 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 wrote: > Oops! It does appear that I was using GNU f

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 wrote: > On Thu, Jul 13, 2017 at 11:52 PM, David Henderson > wrote: >> Good evening all!

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 f

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 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 silencing? The only issue

Re: mounting errors

2017-02-24 Thread David Henderson
2/23/17, Rob Landley 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 due to feature incomp

Re: mounting errors

2017-02-23 Thread David Henderson
en 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 wrote: > On 2017-02-22 08:43, David Henderso

Re: mounting errors

2017-02-22 Thread David Henderson
tibilities' it is referring to... Any thoughts on how to resolve the problem? Thanks, Dave On 2/22/17, 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 mo

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
fault 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 > wrote: > >> Hey Tito,

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 wrote: > > > On 12/14/2016 09:59 PM, David Henderson wrote: >> Hey Ti

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 wrote: > > > On 12/14/2016 03:26 PM, David Henderson wrote: >> Thanks for the reply Tit

Re: potential error with adduser

2016-12-14 Thread David Henderson
misinformation. Thanks, Dave On 12/14/16, Tito 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 specifying the '

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? Thanks,

Re: copying multiple files

2016-11-22 Thread David Henderson
Several other great recommendations! Thanks to you all - I should have more than enough to figure out an appropriate solution! Dave On 11/22/16, Cathey, Jim wrote: >>I want to make this the shortest command possible is because I don't want >> to add 60 lines of code to a script just to copy >>

Re: copying multiple files

2016-11-22 Thread David Henderson
d is not some kind 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 &

Re: copying multiple files

2016-11-21 Thread David Henderson
the number of lines necessary for the operation... Thanks, Dave On 11/21/16, Grant Edwards wrote: > On 2016-11-21, David Henderson wrote: >> On 11/21/16, Grant Edwards wrote: >>> On 2016-11-21, David Henderson wrote: >>> >>>> cp -f /tmp/test/{a.txt,b.tx

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 wrote: > On 2016-11-21, David Henderson wrote: >> Good afternoon. I have several fil

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 > --- > networking/ifupdown.c | 31 +++ > 1 file changed,

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 >> commented out, it would e

Re: dhcp with /etc/network/interfaces

2016-09-28 Thread David Henderson
On 9/27/16, Denys Vlasenko wrote: > On Mon, Sep 26, 2016 at 9:32 PM, David Henderson > wrote: >> On 9/26/16, Denys Vlasenko wrote: >>> On Mon, Sep 26, 2016 at 5:51 PM, David Henderson >>> wrote: >>>> Just following up with this... >>> >&g

Re: ifup/down broken!!!

2016-09-28 Thread David Henderson
0. Once one of the lines further up in the script was commented out, it would exit correctly. For some reason the script wasn't giving an 'exit 0' by running all the way through - as it should be doing. Dave On 9/27/16, Denys Vlasenko wrote: > On Tue, Sep 27, 2016 at 2:44 PM

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 wrote: > On 9/26/16, Denys Vlasenko wrote: >> On Mon, Sep 26, 2016 at 5:51 PM, David Henderson >> wrote: >>> Just following up with this... >> >> You have some sort of problem on yo

Re: ifup/down broken!!!

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

Re: dhcp with /etc/network/interfaces

2016-09-26 Thread David Henderson
On 9/26/16, Denys Vlasenko wrote: > On Mon, Sep 26, 2016 at 5:51 PM, David Henderson > wrote: >> Just following up with this... > > You have some sort of problem on your system, but you refuse to provide > strace log of the problematic ifup invocation. > > I

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 wrote: > Thanks for your help with this too Denys. Answers are inline... > > > On 9/20/16, Denys Vlasenko wrote: >> On Tue, Sep 20, 2016 at 5:31 PM, David Henderson >> wrote: >>> Hey M

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 time, >> controlled by full-blown ifplugd, but using bb i

Re: ifup/down broken!!!

2016-09-26 Thread David Henderson
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 > wrote: >> ..On Sat, Sep 24, 2016 at 7:41 PM, David Henderson >> wrot

Re: ifup dependency

2016-09-26 Thread David Henderson
On 9/26/16, Denys Vlasenko wrote: > On Mon, Sep 26, 2016 at 8:56 AM, Peter Korsgaard > wrote: >>>>>>> "Bernhard" == Bernhard Reutner-Fischer >>>>>>> writes: >> >> > On 17 September 2016 08:07:01 CEST,

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 wrote: > ..On Sat, Sep 24, 2016 at 7:41 PM, David Henderson > wrote: >> Good afternoon all! This is to let those that are attempting to work >> with the busybox applets '

Re: ifup dependency

2016-09-26 Thread David Henderson
look at the help since I knew what the commands did. Thoughts? Thanks, Dave On 9/26/16, Peter Korsgaard wrote: >>>>>> "Bernhard" == Bernhard Reutner-Fischer >>>>>> writes: > > > On 17 September 2016 08:07:01 CEST, Peter Korsgaard

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 co

Re: additional ifupdown problems

2016-09-24 Thread David Henderson
ifup -v $DEVICE 2>&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 wrote: > Good morning Martin. I ha

Re: ifupdown problem

2016-09-24 Thread David Henderson
Following up with this Denys. Thanks, Dave On 9/23/16, David Henderson wrote: > Following up with this Denys. > > Thanks, > Dave > > > On 9/22/16, David Henderson wrote: >> On 9/22/16, Denys Vlasenko wrote: >>> On Wed, Sep 21, 2016 at 2:57 PM, David H

Re: additional ifupdown problems

2016-09-23 Thread David Henderson
>> ip link set eth0:1 down >> ip: SIOCSIFFLAGS: Cannot assign requested address >> >> The adapter does indeed go down, but is failing to complete the job >> successfully. Attempts with 'eth0' is still having the same >> problems... >> >> Dave >>

Re: ifupdown problem

2016-09-23 Thread David Henderson
Following up with this Denys. Thanks, Dave On 9/22/16, David Henderson wrote: > On 9/22/16, Denys Vlasenko wrote: >> On Wed, Sep 21, 2016 at 2:57 PM, David Henderson >> wrote: >>> On 9/20/16, Denys Vlasenko wrote: >>>> On Tue, Sep 20, 2016 at

Re: additional ifupdown problems

2016-09-22 Thread David Henderson
>>/var/log/udhcpc.${DEVICE}.log 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 He

Re: additional ifupdown problems

2016-09-22 Thread David Henderson
ith 'eth0' is still having the same problems... Dave On 9/22/16, David Henderson 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? > >

Re: additional ifupdown problems

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

Re: additional ifupdown problems

2016-09-22 Thread David Henderson
tup during boot, 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 wrote: > Hi Dave, > > On Wed, Sep 21, 2016 at 4:51 PM, David Henderson &

Re: ifupdown scripts

2016-09-22 Thread David Henderson
Following up with this too. Dave On 9/20/16, David Henderson wrote: > Does BB require certain permissions or ownership of the > scripts/directories for this to get called? > > Dave > > > On 9/20/16, David Henderson wrote: >> Hey Martin, thanks for your help! I tri

Re: dhcp with /etc/network/interfaces

2016-09-22 Thread David Henderson
Just following up with this... Dave On 9/20/16, David Henderson wrote: > Thanks for your help with this too Denys. Answers are inline... > > > On 9/20/16, Denys Vlasenko wrote: >> On Tue, Sep 20, 2016 at 5:31 PM, David Henderson >> wrote: >>> Hey Martin,

Re: ifupdown problem

2016-09-22 Thread David Henderson
On 9/22/16, Denys Vlasenko wrote: > On Wed, Sep 21, 2016 at 2:57 PM, David Henderson > wrote: >> On 9/20/16, Denys Vlasenko wrote: >>> On Tue, Sep 20, 2016 at 8:33 PM, David Henderson >>> wrote: >>>>> General idea is described here: >>>&g

Re: additional ifupdown problems

2016-09-21 Thread David Henderson
On 9/21/16, Martin Townsend wrote: > Hi Dave, > > On Wed, Sep 21, 2016 at 3:41 PM, David Henderson > wrote: >> Hey Martin, >> >> On 9/21/16, Martin Townsend wrote: >>> Hi Dave, >>> >>> On Wed, Sep 21, 2016 at 2:06 PM, David Henders

Re: additional ifupdown problems

2016-09-21 Thread David Henderson
Hey Martin, On 9/21/16, Martin Townsend wrote: > Hi Dave, > > On Wed, Sep 21, 2016 at 2:06 PM, David Henderson > wrote: >> Good morning everyone! I'll add each question with the answer below: >> >> Q: maybe because something in if-pre-up.d fails? >> A:

Re: additional ifupdown problems

2016-09-21 Thread David Henderson
faces file if it can be shared? A: Shown 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 wrote: > Hi Dave, > > On Tue, Sep 20, 2016 at

Re: ifupdown problem

2016-09-21 Thread David Henderson
On 9/20/16, Denys Vlasenko wrote: > On Tue, Sep 20, 2016 at 8:33 PM, David Henderson > wrote: >>> General idea is described here: >>> https://busybox.net/~vda/no_ifup.txt >> >> Looked at it, wouldn't this be the same thing as scripts in >> /etc/

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 wrote: > Aside from ownership/permission

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 wrote: > That's what my research has yielded as

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 wrote: > Hey Martin, thanks for your help! I tried renaming the file as you > requested, but it is still not being called. I did just submit a new

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 ENABLE_FEATURE_IFUPDOWN_IP - result = execute("i

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 wrote: > On Tue, Sep 20, 2016 at 5:31 PM, David Henderson > wrote: >> Hey Martin, thanks again for your help! So I had to bring back >> 'sneaker-net' to get strace on the ma

Re: dhcp with /etc/network/interfaces

2016-09-20 Thread David Henderson
nsend wrote: > Hi Dave, > > On Tue, Sep 20, 2016 at 4:31 PM, David Henderson > wrote: >> Hey Martin, thanks again for your help! So I had to bring back >> 'sneaker-net' to get strace on the machine via flash drive (after >> locating one), but it is now on the

Re: additional ifupdown problems

2016-09-20 Thread David Henderson
call during boot), so I'm assuming the file ownership and permissions are getting set there. Thanks, Dave On 9/20/16, Martin Townsend wrote: > Hi David, > > On Tue, Sep 20, 2016 at 4:03 PM, David Henderson > wrote: >> Good morning everyone! During the boot of the OS,

Re: dhcp with /etc/network/interfaces

2016-09-20 Thread David Henderson
;s sending it's DISCOVER > 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

additional ifupdown problems

2016-09-20 Thread David Henderson
Good morning everyone! During the boot of the OS, an 'ifup -a' is called to bring all the configured adapters online via the /etc/network/interfaces file. Once the device is up and running, I can see the proper configurations via an 'ifconfig' call. However, when I issue an 'ifdown eth0' call, I

Re: ifupdown scripts

2016-09-20 Thread David Henderson
7; doesn't 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 wrote: > Hi David, > > Does it work if you drop the .conf? > /etc/network/if-up.d/000_resolv > > -Martin > > On Mon, Sep 19, 2016 at 9:5

Re: ifupdown scripts

2016-09-20 Thread David Henderson
And with this. Thanks, Dave On 9/19/16, David Henderson 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 called > when 'ifup -a

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 wrote: > Plus that would only answer part of the original question. Any input > on that second part? > > Thanks, > Dave > > > On 9/19/16, David Henderson wrote: >> T

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 wrote: > Thanks again for your continued help Peter! Unfortunately the machine > that I'm working on doesn't currently have a network connect

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 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 wrote: >>>>>> "David" == David Henderson writes: > > > Good morning all, just following up w

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 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 parameters are used by busybox to ach

Re: ifup dependency

2016-09-16 Thread David Henderson
problem". Dave On 9/16/16, Peter Korsgaard wrote: >>>>>> "David" == David Henderson writes: > > > 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 >

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 that

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 Date: Thu, 4 Aug 2016 14:41:25 -0400 Subject: Re: arrays To: Jody Lee Bruchon Thanks for the response Jody! I understand that BB is POSIX compliant, but didn't realize that arrays are not part of POSIX. Is there any chan

Re: arrays

2016-08-04 Thread David Henderson
mented 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 > wrote: >>Thanks for the response Jody! I understand that BB is POSIX >>com

Re: arrays

2016-08-04 Thread David Henderson
ill looking for help with this. Thanks, Dave On 8/2/16, David Henderson 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 us

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 busybox@busybox

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 \ >> HOST_EXTRACFLAGS='-I/opt/ncurses/include -DKBUILD_NO_NLS >>

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 th

Re: make menuconfig deps

2016-07-22 Thread David Henderson
just more work than I can do at the moment with all the other odds and ends of forking. Thanks, Dave On 7/22/16, ..mg.. 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... >> >> Da

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 available > in /usr or /usr/lo

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.. wrote: > On Thu, Jul 21, 2016 at 11:41:10AM -0400, David Henderson wrote: > >> lrwxrwxrwx1 root root47 Jul 21 08:59 >> /usr/local/lib/libncurses.so -> >> /tmp/t

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 wrote: > On July 21, 2016 5:41:10 PM GMT+02:00, David Henderson > wrote: >>Thanks MG for the continued help. The results of the find call are

Re: make menuconfig deps

2016-07-21 Thread David Henderson
No problem :) On 7/21/16, Rich Mahn wrote: > David Henderson wrote: > >> Good morning Rich, thanks for the response. I have ncurses-dev >> already installed. I'm surprised BB required qt and kmod dev packages >> installed to use the menuconfig. I don't r

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.. wrote: > On Thu, Jul 21, 2016 at 09:07:09AM -0400, David Henderson wrote: >> No problem, here's the entire output: > > [snip...] >> HOSTCC scripts/kco

Re: make menuconfig deps

2016-07-21 Thread David Henderson
lxdialog/util.o: In function `print_title': util.c:(.text+0x326): undefined reference to `waddch' scripts/kconfig/lxdialog/util.o: In function `print_button': util.c:(.text+0x74a): undefined reference to `wmove' scripts/kconfig/lxdialog/util.o: In function `draw_shadow': util.c

Re: make menuconfig deps

2016-07-21 Thread David Henderson
ut no kmod... Thanks, Dave On 7/20/16, Rich Mahn wrote: > Rob Landley 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: er

Re: make menuconfig deps

2016-07-20 Thread David Henderson
27; failed make[2]: *** [scripts/kconfig/lxdialog/lxdialog] Error 1 /opt/staging/busybox-1.24.1/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

Re: make menuconfig deps

2016-07-20 Thread David Henderson
s, Dave On 7/20/16, Rob Landley 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

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
configuration, 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

Re: /etc/network/interfaces declarations

2016-04-04 Thread David Henderson
nf, or 'default' if id_str is not > # configured. > # The physical 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 > ===

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

Re: /etc/network/interfaces declarations

2016-03-31 Thread David Henderson
Just following up with this... Thanks, Dave On 3/24/16, David Henderson wrote: > 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 i

/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 newdoma

  1   2   >