cron usage

2016-01-07 Thread David Henderson
Greetings, since I already have the cron daemon running (verified via ps), I tried setting up an example by creating the /etc/cron.d directory and creating a test file: * * * * * echo 'hello world' >> /tmp/test.txt This does not appear to be picked up by cron. So looking at the help output, I th

Re: output

2016-01-07 Thread David Henderson
As a follow-up, when I call crond with the -L parameter the output is redirected to the log file. It looks like the default settings (going to syslog) output to stdout no matter what. Dave On 1/7/16, David Henderson wrote: > Good afternoon busyboxers! I have been working with this softw

Re: output

2016-01-07 Thread David Henderson
logd will default to writing all of these messages > into /var/log/messages, but you can configure it to do otherwise > if you want. > > >> On 1/7/16, David Henderson wrote: >>> Good afternoon busyboxers! I have been working with this software on >>> one of my own p

crontab message

2016-01-07 Thread David Henderson
In my continued efforts working with BB cron, I was attempting to see any existing crontabs for my user account and had the following message returned: crontab: can't open 'username': No such file or directory Granted I hadn't added a job for the user yet, but was checking to see if any message c

Re: cron usage

2016-01-08 Thread David Henderson
also owned by root and also have a 775 permission set. Thanks, Dave On 1/7/16, David Henderson wrote: > Greetings, since I already have the cron daemon running (verified via > ps), I tried setting up an example by creating the /etc/cron.d > directory and creating a test file: >

Re: cron usage

2016-01-08 Thread David Henderson
I haven't seen any evidence of this, but do I need to create an /etc/crontab config file? I'm looking at my Debian system and it doesn't have anything in theres to process the cron.d directory contents, only cron.hourly, cron.monthly, etc... Dave On 1/8/16, David Henderson

Re: cron usage

2016-01-08 Thread David Henderson
Is anyone is this list anymore? On 1/8/16, David Henderson wrote: > I haven't seen any evidence of this, but do I need to create an > /etc/crontab config file? I'm looking at my Debian system and it > doesn't have anything in theres to process the cron.d directory >

Re: cron usage

2016-01-08 Thread David Henderson
>> On 1/8/16, David Henderson wrote: >>> I haven't seen any evidence of this, but do I need to create an >>> /etc/crontab config file? I'm looking at my Debian system and it >>> doesn't have anything in theres to process the cron.d directory &

Re: cron usage

2016-01-08 Thread David Henderson
>> Is anyone is this list anymore? > > No. :-) I was beginning to believe that! lol ___ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox

Re: cron usage

2016-01-08 Thread David Henderson
Thanks for the response Doug! I'll answer inline below... On 1/8/16, Doug Clapp wrote: > I'm using busybox crond and crontab on a Puppy PC distribution. The > crond runs with no parameters. I use crontab to create/edit my cron > file. The file itself is indeed in > /var/spool/cron/crontabs/u

Re: cron usage

2016-01-09 Thread David Henderson
Thanks for your help too Joshua. Responses are inline... On 1/8/16, Joshua Judson Rosen wrote: > On 2016-01-08 15:15, David Henderson wrote: >> >> Thanks for the reply Tito! So does the -c parameter change the >> parsing directory from /var/spool/cron/crontabs, > >

Re: cron usage

2016-01-09 Thread David Henderson
Good morning Isaac, thanks for your help as well. I'm going to be working with this today to see what I can figure out and will reply with my final solution. >> Thanks for the reply Tito! So does the -c parameter change the >> parsing directory from /var/spool/cron/crontabs, or does it specify

Re: cron usage

2016-01-09 Thread David Henderson
While this is simply just a proof of concept, I could not get this to run correctly. It had to be an obvious two-step approach, so I created an initial root crontab and a small shell script to dynamically create it there afterwards based on the contents of /etc/cron.d. Initial /var/spool/cron/cro

Re: cron usage

2016-01-09 Thread David Henderson
etc/cron.d/test1 && date > target.txt subsequent lines were from cron: * * * * * date >> target.txt I'll play around with your info below to see if that helps any. Thanks, Dave On 1/9/16, Isaac Dunham wrote: > On Sat, Jan 09, 2016 at 02:40:21PM -0500, David Henderson wrote: &

Re: cron usage

2016-01-12 Thread David Henderson
e across this thread and found it useful. Dave On 1/9/16, David Henderson wrote: > Thanks for the continued support Isaac. So a bit after I wrote that > original email, I came back to the computer and saw that it had > started working. After making some adjustments to the scripts to get &

wierd cron behavior

2016-01-18 Thread David Henderson
Good morning all, so I'm continuing in my attempt to get cron working. I have worked around some of the deficiencies of the BB implementation (e.g. @startup, /etc/cron.d), however, I can't seem to get cron to work with local times instead of UTC - meaning that I have to create crontabs using UTC ti

Re: wierd cron behavior

2016-01-19 Thread David Henderson
orrow. Thanks, Dave On 1/19/16, Isaac Dunham wrote: > On Mon, Jan 18, 2016 at 12:37:14PM -0500, David Henderson wrote: >> Good morning all, so I'm continuing in my attempt to get cron working. >> I have worked around some of the deficiencies of the BB implementation >&

Re: wierd cron behavior

2016-01-25 Thread David Henderson
Good morning everyone! So I was able to get back to this issue over the weekend and it appears that restarting cron resolved the problem. Was just following-up so if anyone stumbles across this thread, they can see the resolution. Thanks, Dave On 1/19/16, David Henderson wrote: > Good morn

way to refresh crond

2016-01-25 Thread David Henderson
Good afternoon everyone! Still working with crond and was interested in seeing if the BB crond had a way to 'refresh' it without killing it and restarting so any time adjustments will be picked up. I tried doing a SIGHUP kill call, but that doesn't appear to work... Any help would be appreciated

Re: way to refresh crond

2016-01-26 Thread David Henderson
ote: > On Mon, Jan 25, 2016 at 03:52:50PM -0500, David Henderson wrote: >> Good afternoon everyone! Still working with crond and was interested >> in seeing if the BB crond had a way to 'refresh' it without killing it >> and restarting so any time adjustments will

case passthru

2016-02-18 Thread David Henderson
Good morning everyone, I am working with a shell script (#!/bin/sh) that utilizes a case statement to implement updates: case "$(cat /tmp/md5.txt)" in '123456') ...implement updates for this particular version... ;; '234567') ...implement updates for this particular

Re: case passthru

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

Re: case passthru

2016-02-18 Thread David Henderson
On 2/18/16, Mike Frysinger 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 "$(cat /tmp/md5.txt)" in >> &#

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 wrote: &

/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

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

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

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: 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

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

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: 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

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

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

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 ___

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

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 >

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: 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
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
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

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

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: 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

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: 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

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

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: 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

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
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
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/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: 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: 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: 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-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-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-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-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: [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,

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

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 ___

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

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-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 &

  1   2   >