Re: [OpenWrt-Devel] bridged client with ebtables snat?

2010-01-18 Thread Stefan Bethke
But things that depend on unique MAC addresses will need special treatment, like DHCP. Maybe tie a DHCP proxy to eth0? Stefan -- Stefan BethkeFon +49 151 14070811 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://l

Re: [OpenWrt-Devel] [OpenWrt-Commits] r19086 - trunk/package/dnsmasq/files

2010-01-10 Thread Stefan Bethke
et. I suggested this change back in December: Currently, the local resolv.conf only contains name server settings, but no search domains. If specified by the dh...@dnsmasq[0].domain option, add the domain name as a search domain to the local resolv.conf. Signed-off-by: Stefan Bethke Index:

Re: [OpenWrt-Devel] WRT-54-G / bcm47xx / kernel2.6 / wifi_b43 / debugFS

2010-01-08 Thread Stefan Bethke
. You'll need to run udhcp on the router itself, or configure a fixed ip. Stefan -- Stefan BethkeFon +49 151 14070811 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] [PATCH] net/openvpn: move cd option to proper place

2009-12-29 Thread Stefan Bethke
The OpenVPN --cd command line option (change directory) is position-dependant: it will take effect when it is encountered on the command line. To be truly useful, it needs to be added to the command line before any other option that takes a filesystem path. Signed-off-by: Stefan Bethke

[OpenWrt-Devel] [PATCH] dnsmasq: add domain to local resolv.conf

2009-12-26 Thread Stefan Bethke
Currently, the local resolv.conf only contains name server settings, but no search domains. If specified by the dh...@dnsmasq[0].domain option, add the domain name as a search domain to the local resolv.conf. Signed-off-by: Stefan Bethke Index: package/dnsmasq/files/dnsmasq.init

Re: [OpenWrt-Devel] [PATCH] dnsmasq: Fix setting the network-id for config host sections

2009-12-25 Thread Stefan Bethke
Am 26.12.2009 um 01:47 schrieb Stefan Bethke: > Am 26.12.2009 um 01:29 schrieb Jo-Philipp Wich: > >> Another thing, originally the "name" option was intended to represent a >> hostname for the mac-bound lease, now name is treated as network id, we >> shoul

Re: [OpenWrt-Devel] Who's taking care of the wiki?

2009-12-25 Thread Stefan Bethke
Am 26.12.2009 um 01:44 schrieb Jo-Philipp Wich: > done Cool, thanks for the quick turn-around! I'll add my stuff to inbox and post again when I'm done. Stefan -- Stefan BethkeFon +49 151 14070811 ___ openwrt-devel mailing

Re: [OpenWrt-Devel] [PATCH] dnsmasq: Fix setting the network-id for config host sections

2009-12-25 Thread Stefan Bethke
" + dhcp_option_add "$cfg" "$networkid" } @@ -222,8 +222,8 @@ config_get net "$cfg" interface [ -n "$net" ] || return 0 - config_get name "$cfg" name - [ -n "$name" ] || name="$net" + config_get networkid "$cfg" networkid + [ -n "$networkid" ] || networkid="$net" config_get ifname "$net" ifname [ -n "$ifname" ] || return 0 @@ -259,18 +259,18 @@ limit="$((${limit:-150} + 1))" eval "$(ipcalc.sh $ipaddr $netmask $start $limit)" if [ "$dynamicdhcp" = "0" ]; then END="static"; fi - append args "--dhcp-range=$name,$START,$END,$NETMASK,$leasetime${options:+ $options}" + append args "--dhcp-range=$networkid,$START,$END,$NETMASK,$leasetime${options:+ $options}" - dhcp_option_add "$cfg" "$name" + dhcp_option_add "$cfg" "$networkid" } dhcp_option_add() { local cfg="$1" - local name="$2" + local networkid="$2" config_get dhcp_option "$cfg" dhcp_option for o in $dhcp_option; do - append args "-O $name","$o" + append args "-O $networkid","$o" done } -- Stefan BethkeFon +49 151 14070811 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[OpenWrt-Devel] Who's taking care of the wiki?

2009-12-25 Thread Stefan Bethke
Since I'm fiddling with UCI docs right now, who can lift stuff from the inbox to the doc namespace? (There's already a system uci page someone created a month back that I could build upon.) Thanks, Stefan -- Stefan BethkeFon +49 15

[OpenWrt-Devel] [PATCH] dnsmasq: Fix setting the network-id for config host sections

2009-12-25 Thread Stefan Bethke
While trying to document the dhcp UCI config, I noticed that the name config option is applied wrongly when adding static addresses. Cf. the dnsmasq man page. Signed-off-by: Stefan Bethke Index: package/dnsmasq/files/dnsmasq.init

Re: [OpenWrt-Devel] gpio-led bug

2009-12-23 Thread Stefan Bethke
Am 23.12.2009 um 12:48 schrieb Nuno Gonçalves: > The follow commands cause a reboot on a WRT160NL: > > cd $1 && echo netdev > trigger && echo $2 > device_name && echo $3 > mode I've noticed similar problems on an TP-Link tl-wr941nd. St