Changeset 2804
- Timestamp:
- 06/14/07 16:43:47 (1 year ago)
- Files:
-
- trunk/freewrt/package/Config.in.network (modified) (3 diffs)
- trunk/freewrt/package/base-files/Makefile (modified) (5 diffs)
- trunk/freewrt/package/base-files/netcfg/interfaces.dhcp (modified) (1 diff)
- trunk/freewrt/package/base-files/netcfg/interfaces.dhcp.switch (modified) (1 diff)
- trunk/freewrt/package/base-files/netcfg/interfaces.static (modified) (1 diff)
- trunk/freewrt/package/base-files/netcfg/interfaces.static.switch (modified) (1 diff)
- trunk/freewrt/package/base-files/netcfg/interfaces.wlan (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freewrt/package/Config.in.network
r2737 r2804 28 28 help 29 29 LAN interface name 30 31 config FWRT_NETWORK_LAN_LLADDR 32 string "LAN port link-layer (MAC) address" 33 default "" 34 depends on FWRT_NETWORK_LAN 35 help 36 Change the link-layer (MAC) address for the LAN port here, 37 or set to an empty string to not change it at startup. 30 38 31 39 config FWRT_NETWORK_LAN_SWITCH_PORTS … … 126 134 WAN interface name 127 135 136 config FWRT_NETWORK_WAN_LLADDR 137 string "WAN port link-layer (MAC) address" 138 default "" 139 depends on FWRT_NETWORK_WAN 140 help 141 Change the link-layer (MAC) address for the WAN port here, 142 or set to an empty string to not change it at startup. 143 128 144 config FWRT_NETWORK_WAN_SWITCH_PORTS 129 145 string "Switch ports used for WAN" … … 202 218 Wireless LAN interface name 203 219 220 config FWRT_NETWORK_WLAN_LLADDR 221 string "WLAN port link-layer (MAC) address" 222 default "" 223 depends on FWRT_NETWORK_WLAN 224 help 225 Change the link-layer (MAC) address for the WLAN port here, 226 or set to an empty string to not change it at startup. 227 204 228 config FWRT_NETWORK_WLAN_IP_ADDRESS 205 229 string "WLAN IP address" trunk/freewrt/package/base-files/Makefile
r2798 r2804 10 10 PKG_NAME:= base-files 11 11 PKG_VERSION:= 1.1 12 PKG_RELEASE:= 112 PKG_RELEASE:= 2 13 13 WRKDIST= ${WRKDIR}/base-files 14 14 NO_DISTFILES:= 1 … … 181 181 endif 182 182 endif 183 ifeq ($(strip ${FWRT_NETWORK_LAN_LLADDR}),) 184 printf ',g/@FWRT_LLADDR@/d\nwq\n' | \ 185 ed -s ${IDIR_BASE_FILES}/etc/network/interfaces 186 else 187 printf ',g/@FWRT_LLADDR@/s//${FWRT_NETWORK_LAN_LLADDR}/\nwq\n' | \ 188 ed -s ${IDIR_BASE_FILES}/etc/network/interfaces 189 endif 183 190 endif 184 191 ifeq ($(FWRT_NETWORK_WAN),y) … … 213 220 $(SED) "s/@FWRT_GATEWAY@/$(FWRT_NETWORK_WAN_IP_GATEWAY)/g" \ 214 221 $(IDIR_BASE_FILES)/etc/network/interfaces 222 endif 223 ifeq ($(strip ${FWRT_NETWORK_WAN_LLADDR}),) 224 printf ',g/@FWRT_LLADDR@/d\nwq\n' | \ 225 ed -s ${IDIR_BASE_FILES}/etc/network/interfaces 226 else 227 printf ',g/@FWRT_LLADDR@/s//${FWRT_NETWORK_WAN_LLADDR}/\nwq\n' | \ 228 ed -s ${IDIR_BASE_FILES}/etc/network/interfaces 215 229 endif 216 230 endif … … 246 260 $(SED) "s/@FWRT_CHANNEL@/$(FWRT_NETWORK_WLAN_CHANNEL)/g" \ 247 261 $(IDIR_BASE_FILES)/etc/network/interfaces 248 endif249 262 ifeq ($(FWRT_NETWORK_WLAN_MODE_AP), y) 250 263 $(SED) "s/@FWRT_MODE@/ap/g" \ … … 358 371 $(SED) "s/@FWRT_RADIUS_KEY@/$(FWRT_NETWORK_WLAN_RADIUS_KEY)/g" \ 359 372 $(IDIR_BASE_FILES)/etc/network/interfaces 373 endif 374 ifeq ($(strip ${FWRT_NETWORK_WAN_LLADDR}),) 375 printf ',g/@FWRT_LLADDR@/d\nwq\n' | \ 376 ed -s ${IDIR_BASE_FILES}/etc/network/interfaces 377 else 378 printf ',g/@FWRT_LLADDR@/s//${FWRT_NETWORK_WAN_LLADDR}/\nwq\n' | \ 379 ed -s ${IDIR_BASE_FILES}/etc/network/interfaces 380 endif 360 381 endif 361 382 -find $(IDIR_BASE_FILES) -type d -name CVS | xargs rm -rf trunk/freewrt/package/base-files/netcfg/interfaces.dhcp
r1845 r2804 1 1 auto @FWRT_INTERFACE@ 2 2 iface @FWRT_INTERFACE@ inet dhcp 3 lladdr @FWRT_LLADDR@ trunk/freewrt/package/base-files/netcfg/interfaces.dhcp.switch
r2378 r2804 1 1 auto @FWRT_INTERFACE@ 2 2 iface @FWRT_INTERFACE@ inet dhcp 3 lladdr @FWRT_LLADDR@ 3 4 switch-ports @FWRT_SWITCH_PORTS@ 4 5 broadcast + trunk/freewrt/package/base-files/netcfg/interfaces.static
r2378 r2804 1 1 auto @FWRT_INTERFACE@ 2 2 iface @FWRT_INTERFACE@ inet static 3 lladdr @FWRT_LLADDR@ 3 4 address @FWRT_ADDRESS@ 4 5 netmask @FWRT_NETMASK@ trunk/freewrt/package/base-files/netcfg/interfaces.static.switch
r2378 r2804 1 1 auto @FWRT_INTERFACE@ 2 2 iface @FWRT_INTERFACE@ inet static 3 lladdr @FWRT_LLADDR@ 3 4 switch-ports @FWRT_SWITCH_PORTS@ 4 5 address @FWRT_ADDRESS@ trunk/freewrt/package/base-files/netcfg/interfaces.wlan
r2737 r2804 1 1 auto @FWRT_WLAN@ 2 2 iface @FWRT_WLAN@ inet static 3 lladdr @FWRT_LLADDR@ 3 4 address @FWRT_ADDRESS@ 4 5 netmask @FWRT_NETMASK@


