Re: [OpenWrt-Devel] [PATCH v2] base-files: init/sysfixtime - exclude dnsmasq.time

2015-09-25 Thread Justin Vallon
On 9/22/15 1:52 PM, Bastian Bittorf wrote: > +maxtime() { > + local dir file > + > + find /etc -type d | while read dir; do > + file="$dir/$( ls -1t "$dir" | head -n1 )" > + [ -e "$file" -a "$file" != '/etc/dnsmasq.time' ] && date -r > "$file" +%s > + done |

Re: [OpenWrt-Devel] [PATCH] [dnsmasq] support enforced start-IP, end-IP, netmask

2014-10-14 Thread Justin Vallon
On 10/14/14 7:07 AM, Bastian Bittorf wrote: * John Crispin blo...@openwrt.org [14.10.2014 12:36]: try this config dhcp 'roaming' option interface 'voyager' option netmask '255.255.255.0' option start 1 option limit 253 it does not work. this is my interface: Do you know:

Re: [OpenWrt-Devel] Default dhcp (client) hostname is unset - Luci implies $(hostname)

2014-10-08 Thread Justin Vallon
On 10/8/14 4:47 AM, Christian Schoenebeck wrote: Inside [buildroot]/feeds/luci/modules/base/luasrc/model/cbi/admin_network/proto_dhcp.lua you find the definition hostname.placeholder = luci.sys.hostname(). It's not default so its never written/used to configuration. From the LuCI point of

[OpenWrt-Devel] Default dhcp (client) hostname is unset - Luci implies $(hostname)

2014-10-07 Thread Justin Vallon
[BB 14.07] In the Luci section for Interface / General Setup, the is a parameter Hostname to send when requesting DHCP. That input field has a ghost value of $HOSTNAME (meaning to me that its default value is $HOSTNAME). However, entering the $HOSTNAME in the field changes the behavior. I can

[OpenWrt-Devel] Services do not appear/disappear until reboot - luci-indexcache?

2014-09-15 Thread Justin Vallon
Running BB-rc3and configuring from scratch. Iinstalled luci-app-ddns and luci-app-upnp(svn-r10471-1). The apps should show up in the services menu, but they did not - in fact, the services menu did not appear at all. Tried restarting uhttpd, no effect. Rebooted, and the services menu appeared.

Re: [OpenWrt-Devel] IPv6 firewall and Port Control Protocol (Was: Barrier Breaker 14.07-rc1)

2014-07-15 Thread Justin Vallon
I don't think turning off the firewall is a sane default. Your arguments based on global addressability are false because IPv4 can be globally addressable, if you want. You can get static ip addresses (or a subnet), turn off NAT, and turn off the firewall - every internal network device will be

Re: [OpenWrt-Devel] Broken Ethernet switch on AsiaRF AWM002

2014-05-30 Thread Justin Vallon
On 5/30/14, 2:50 PM, jonsm...@gmail.com wrote: I have this patch I wrote a year ago that fixed the broken Ethernet switch on the AWM002. I've forgotten exactly what I was trying to do. For some reason the switch was not getting programmed by default. What is up with this bit? Why did I need

Re: [OpenWrt-Devel] OpenSSL: update to 1.0.1g - heartbleed bug

2014-04-11 Thread Justin Vallon
FYI: It appears opkg upgrade libopenssl will install it if it has not yet been installed. Therefore, if the commands are run just-in-case, you will end up installing libopenssl where it was not previously installed: # opkg info libopenssl | grep ^Status: Status: unknown ok not-installed # opkg

Re: [OpenWrt-Devel] how enable the scp service ?

2014-03-13 Thread Justin Vallon
From my Mac, "scp -v myfile host:/tmp/target" (-v for verbose) appears to run "ssh host scp -v -t /tmp/target". On my AA 12.01: # which scp /usr/bin/scp # opkg search /usr/bin/scp dropbear - 2011.54-2 Does "ssh target"

[OpenWrt-Devel] [12.09] Luci list-based options - problem removing items

2013-05-08 Thread Justin Vallon
It appears that there is a problem with removing items from a list-based entry in Luci. For example, the System/System NTP Server list has trouble. Here is one case: 1) Start with the list {a, b, c, d}. 2) Remove {a, b, c} by clicking on the first item's delete three times. 3) Save. 4) The

[OpenWrt-Devel] System config - Include package list?

2013-05-03 Thread Justin Vallon
I just did an upgrade from AAb2 to AA, and did not save my old package list. Wouldn't it be useful to (at least) save the package list in the config? At some later point, the restore settings could show diff between current packages and config-saved packages. -- -Justin

Re: [OpenWrt-Devel] hostapd hang - cannot associate but existing connections ok

2013-03-12 Thread Justin Vallon
On 1/21/13 12:39 PM, Felix Fietkau wrote: On 2013-01-21 6:22 PM, Justin Vallon wrote: The symptom is that I cannot connect to my wireless network, but existing connections are ok. Once I try to reconnect from the client (wifi off wifi on), that device is then unable to connect. In the past

[OpenWrt-Devel] hostapd hang - cannot associate but existing connections ok

2013-01-21 Thread Justin Vallon
The symptom is that I cannot connect to my wireless network, but existing connections are ok. Once I try to reconnect from the client (wifi off wifi on), that device is then unable to connect. In the past, restarting hostapd has fixed the problem. strace says it is stuck here: sendto(9,

Re: [OpenWrt-Devel] [PATCH] make sure strings will always be 0-terminated.

2012-12-08 Thread Justin Vallon
On 12/6/12 1:18 AM, Frank Meerkötter wrote: @@ -345,7 +345,7 @@ int system_bridge_delif(struct device *bridge, struct device *dev) static int system_if_resolve(struct device *dev) { struct ifreq ifr; - strncpy(ifr.ifr_name, dev-ifname, sizeof(ifr.ifr_name)); +