RE: udhcpc: dont use BPF filter, users report problems (bugs 4598, 6746), commit e4785ca653d0e219926692c229673b2c1b8d6ac4

2014-02-19 Thread Vladislav Grishenko
Hi Denys, Thanks, but filter code is still disabled diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c @@ -990,7 +990,6 @@ static int udhcp_raw_socket(int ifindex) sock.sll_ifindex = ifindex; xbind(fd, (str

Re: busybox udhcpc client

2014-02-19 Thread Mike Dean
Denys, Okay great, thank you. I'll look for that default. Thanks, Mike Dean md...@emacinc.com http://www.emacinc.com/ Engineer EMAC, Inc. 618-529-4525 Ext. 330 618-457-0110 Fax 2390 EMAC Way Carbondale, Il 62901 On Wed, Feb 19, 2014 at 8:34 AM, Denys Vlasenko wrote: > On Wed, Feb 19, 2014

Re: CTRL-ALT-DEL not working as expected. Seeking for advices

2014-02-19 Thread Denys Vlasenko
On Wed, Feb 19, 2014 at 5:39 PM, Harald Becker wrote: >>No. Calling sys_reboot with RB_DISABLE_CAD nee >>LINUX_REBOOT_CMD_CAD_OFF nee zero > >>- exactly what init wants. > > Denys the problem is the time init does this call. When C-A-D is > enabled to early (before complete system initialization)

Re: [PATCH] Kbuild: move CONFIG_PAM to general configuration

2014-02-19 Thread Denys Vlasenko
Applied, thanks! On Tue, Feb 11, 2014 at 9:31 PM, Bartosz Golaszewski wrote: > Currently CONFIG_PAM depends on CONFIG_LOGIN, but is used by the httpd applet > too. > > This patch moves said option to general configuration, thus allowing to > compile httpd with PAM support independently from logi

Re: CTRL-ALT-DEL not working as expected. Seeking for advices

2014-02-19 Thread Harald Becker
Hi Denys ! >No. Calling sys_reboot with RB_DISABLE_CAD nee >LINUX_REBOOT_CMD_CAD_OFF nee zero >- exactly what init wants. Denys the problem is the time init does this call. When C-A-D is enabled to early (before complete system initialization) many systems fail badly and emulators tend to hang w

Re: CTRL-ALT-DEL not working as expected. Seeking for advices

2014-02-19 Thread Denys Vlasenko
On Wed, Feb 19, 2014 at 3:58 PM, Harald Becker wrote: Pressing CTRL-ALT-DEL sends SIGINT signal to process 1. You want to make sure it reaches it. >>> >>> Don't forget to set /proc/sys/kernel/ctrl-alt-del to "0" (zero) >>> to enable sending SIGINT to the init process. >>> >>> e.g.: echo "0

Re: mdev and post 3.6 kernels

2014-02-19 Thread Michael J. Hammel
On Sat, 2014-02-08 at 18:28 -0700, Michael J. Hammel wrote: > I've been using 3.2.27 from the RPi repos with mdev and usbfs. This > worked fine to load drivers for wifi and webcams. I'm trying to move to > RPi's "3.10.y" branch. I've found that usbfs is deprecated and now I'm > not sure how to f

Re: CTRL-ALT-DEL not working as expected. Seeking for advices

2014-02-19 Thread Harald Becker
Hi Denys ! On 19-02-2014 15:35 Denys Vlasenko wrote: >On Wed, Feb 19, 2014 at 2:48 PM, Harald Becker >wrote: >> On 19-02-2014 14:31 Denys Vlasenko >> wrote: # Trap CTRL-ALT-DELETE null::ctrlaltdel:/sbin/reboot >> >>>Pressing CTRL-ALT-DEL sends SIGINT signal to process 1. >>>You want t

Re: CTRL-ALT-DEL not working as expected. Seeking for advices

2014-02-19 Thread Denys Vlasenko
On Wed, Feb 19, 2014 at 2:48 PM, Harald Becker wrote: > On 19-02-2014 14:31 Denys Vlasenko > wrote: >>> # Trap CTRL-ALT-DELETE >>> null::ctrlaltdel:/sbin/reboot > >>Pressing CTRL-ALT-DEL sends SIGINT signal to process 1. >>You want to make sure it reaches it. > > Don't forget to set /proc/sys/ker

Re: busybox udhcpc client

2014-02-19 Thread Denys Vlasenko
On Wed, Feb 19, 2014 at 2:30 AM, Mike Dean wrote: > Thank you for the prompt response on this. I am looking into modifying the > code for the busybox version of ifup to add the -s option and will see if I > can make it work for my application. -s option has a default. If you install your script

Re: CTRL-ALT-DEL not working as expected. Seeking for advices

2014-02-19 Thread Harald Becker
Hi ! On 19-02-2014 14:31 Denys Vlasenko wrote: >> # Trap CTRL-ALT-DELETE >> null::ctrlaltdel:/sbin/reboot >Pressing CTRL-ALT-DEL sends SIGINT signal to process 1. >You want to make sure it reaches it. Don't forget to set /proc/sys/kernel/ctrl-alt-del to "0" (zero) to enable sending SIGINT to th

Re: CTRL-ALT-DEL not working as expected. Seeking for advices

2014-02-19 Thread Denys Vlasenko
On Thu, Mar 21, 2013 at 12:18 AM, Bruno Cornec wrote: > We have an opened bug report (Cf: > http://trac.mondorescue.org/ticket/627) concerning the restoration > phasebase don busybox, where a user is supposed to be able to press > CTRL-ALT-DEL in order to reboot the computer before launching an >

Re: udhcpc: dont use BPF filter, users report problems (bugs 4598, 6746), commit e4785ca653d0e219926692c229673b2c1b8d6ac4

2014-02-19 Thread Denys Vlasenko
On Fri, Feb 14, 2014 at 6:15 PM, Vladislav Grishenko wrote: >> At least for now, while we don't understand why filter breaks udhcpc for >> some users. > > There was bug in 2.6.19 bpf result handling, when unsigned 32-bit result how > much of packet to retain was treated as signed integer. So, valu