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
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:
. 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
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
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
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
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
"
+ 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
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
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
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
11 matches
Mail list logo