Changeset 5c99e90 in freewrt
- Timestamp:
- Jan 16, 2007, 9:54:16 PM (19 years ago)
- Parents:
- fd12397 (diff), b9ab855 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Files:
-
- 6 added
- 28 edited
-
database/freewrt.db (modified) ( previous)
-
docs/handbook/user/00-allinone.tex (modified) (10 diffs)
-
docs/handbook/user/Makefile (modified) (1 diff)
-
docs/handbook/user/handbook.tex (modified) (1 diff)
-
docs/handbook/user/pics/asus-fw_upgrade.png (added)
-
docs/handbook/user/pics/asus-startup.png (added)
-
docs/handbook/user/pics/asus-system_setup.png (added)
-
mk/modules-2.4.mk (modified) (1 diff)
-
mk/pkg-depend.mk (modified) (1 diff)
-
mk/targets.mk (modified) (1 diff)
-
package/Makefile (modified) (1 diff)
-
package/asterisk/patches/.gitignore (added)
-
package/broadcom-wl-util/Makefile (modified) (2 diffs)
-
package/busybox/config/coreutils/Config.in (modified) (2 diffs)
-
package/dnsmasq/patches/110-leases-path.patch (added)
-
package/libao/Makefile (modified) (1 diff)
-
package/libcli/Makefile (modified) (1 diff)
-
package/libdaemon/Makefile (modified) (1 diff)
-
package/libevent/Makefile (modified) (3 diffs)
-
package/libpcap/Makefile (modified) (3 diffs)
-
package/ncurses/Makefile (modified) (3 diffs)
-
package/ppp/files/etc/ppp/ip-down.d/umts (modified) (1 diff)
-
package/ppp/files/etc/ppp/ip-up.d/umts (modified) (1 diff)
-
package/ppp/files/etc/ppp/templates/umts (modified) (1 diff)
-
package/ppp/files/ppp.pre-up (modified) (2 diffs)
-
package/radiusclient-ng/Makefile (modified) (1 diff)
-
package/switch/src/switch-adm.c (modified) (1 diff)
-
package/zaptel/.gitignore (added)
-
package/zlib/Makefile (modified) (1 diff)
-
scripts/scan-tools.sh (modified) (1 diff)
-
target/image/brcm/Makefile (modified) (4 diffs)
-
target/linux/brcm-2.4/Config.in (modified) (8 diffs)
-
target/linux/brcm-2.4/files/etc/network/interfaces (modified) (3 diffs)
-
tools/paxmirabilis/fgetln.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
docs/handbook/user/00-allinone.tex
rfd12397 r5c99e90 312 312 \begin{itemize} % TODO: insert \ref's to jump to the appropriate section? 313 313 \item via the original firmware's web interface 314 \item via \texttt{mtd} when reflashing or migrating from another $\star$WRT314 \item via \texttt{mtd} when reflashing or migrating from another third party distribution 315 315 \item via network using a TFTP client 316 316 \end{itemize} … … 319 319 320 320 \subsection{Web Interface Method} 321 %TODO: may be filled in by someone who has done this before 321 The following text describes how to use the original firmware's web interface 322 to flash FreeWRT. The object of demonstration is an Asus WL500gP, but this 323 guide should fit more or less fine for other systems, too. 324 325 There are some things that you should have done previously: 326 \begin{itemize} 327 \item a firmware image has to be built (matching the used hardware, of course) 328 \item the router has to be powered on 329 \item your computer needs to be connected to one of the LAN ports (using IP 330 address 192.168.1.2) 331 \end{itemize} 332 333 \parbox{17em}{ 334 After preparation is complete, open your favourite browser and type 335 \texttt{192.168.1.1} into the address bar. You should reach the web interface's 336 startup page: 337 }\hfill\parbox{20em}{\includegraphics[width=20em]{pics/asus-startup.png}} \\ [1em] 338 \parbox{17em}{ 339 Then click \textit{System Setup}: 340 }\hfill\parbox{20em}{\includegraphics[width=20em]{pics/asus-system_setup.png}} \\ [1em] 341 \parbox{17em}{ 342 Then click \textit{Firmware Upgrade}, and enter the name of your firmware image 343 into the appropriate field: 344 }\hfill\parbox{20em}{\includegraphics[width=20em]{pics/asus-fw_upgrade.png}} \\ [1em] 345 Finally click \textit{Upload}. As the whole process of writing the image to 346 flash and rebooting (don't forget that it creates ssh hostkeys on first boot) 347 takes quite long, better go and get coffee. 348 349 When everything went good, you can login using ssh. 322 350 323 351 \subsection{\texttt{mtd} -- The Flash Utility} 352 For this method to work, you need to copy the file containing the firmware 353 image to the router, preferably into /tmp (the tmpfs should be big enough to 354 hold the full image). Then the image is written to flash using 355 \texttt{mtd}, optionally giving additional options (see below). 356 324 357 The \texttt{mtd} utility was written with simplicity and code size in mind. 325 358 It's features were derived from the mtd-utils, %TODO: insert \ref to homepage … … 341 374 the flash has been written. 342 375 343 \begin{center}\fbox{\parbox{30em}{ 344 \textbf{No \texttt{mtd} utility available?} \\ 345 There is one built statically for those situations, so you can just 346 \texttt{scp} it to the device and use it standalone. 347 % TODO: describe where to find it/how to build it 348 }}\end{center} 349 350 Mostly, the sample usage shown in the help output should be all that has to be 376 Mostly, similar to the sample usage shown in the help output should be all that has to be 351 377 done to write the firmware to flash: 352 378 \begin{Verbatim} 353 # mtd - r write linux.trxlinux379 # mtd -e linux -r write freewrt.bin linux 354 380 \end{Verbatim} 355 381 The parameters explained in detail: \\ 356 382 \begin{tabular}{l|l} 357 $-r$ & trigger rebooting right after finishing work \\ 383 -e linux & erase existing data in flash\\ 384 -r & trigger rebooting right after finishing work\\ 358 385 write & write the firmware image contained in the file given as next parameter 359 to flash \\386 to flash\\ 360 387 linux.trx & the actual image to write - ignore the suffix, it is detected at 361 runtime \\388 runtime\\ 362 389 linux & this is an abstract identifier for a certain partition in flash, so 363 don't change this \\390 don't change this\\ 364 391 \end{tabular} 365 392 … … 538 565 539 566 \subsubsection{Basic Settings} 540 $\star$ with Option means mandatory, $\star$ with Parameter means default. 567 568 Mandatory options and default parameters are in bold font. 541 569 542 570 \begin{tabular}{l|l|l} 543 571 \textbf{Option} & \textbf{Parameter} & \textbf{Description} \\ 544 572 \hline 545 type$\star$& broadcom & Broadcom based card \\573 \textbf{type}& broadcom & Broadcom based card \\ 546 574 & atheros & Madwifi driver \\ 547 mode$\star$& ap & Access point mode \\575 \textbf{mode}& ap & Access point mode \\ 548 576 & sta & Client mode \\ 549 577 & adhoc & Ad-Hoc mode \\ 550 578 & wds & WDS point-to-point link \\ 551 579 & monitor & The node acts as a passive monitor and only receives packets \\ 552 ssid$\star$& <String> & Set the SSID (Network Name) \\580 \textbf{ssid}& <String> & Set the SSID (Network Name) \\ 553 581 country & {ALL|DE|JP|US|...} & The country code used to determine the regulatory settings. \\ 554 582 \end{tabular} … … 558 586 \textbf{Option} & \textbf{Parameter} & \textbf{Description} \\ 559 587 \hline 560 security$\star$& none & No authorization \\588 \textbf{security}& none & No authorization \\ 561 589 & wep & WEP key \\ 562 590 & wpa-psk & WPA with preshared key \\ 563 591 & 8021x & IEEE 802.1X authentication \\ 564 authorization$\star$& & \textbf{wep} \\592 \textbf{authorization}& & \textbf{wep} \\ 565 593 & open & Only Open System Authentication \\ 566 594 & shared & Only Shared Key Authentication \\ 567 & open+shared$\star$& Both Open System and Shared Key Authentication595 & \textbf{open+shared}& Both Open System and Shared Key Authentication 568 596 \\ 569 597 & & \textbf{wpa-psk} \\ … … 577 605 & wpa2 & WPA2 with RADIUS \\ 578 606 & wpa wpa2 & WPA and WPA2 \\ 579 encryption$\star$& & \textbf{wep} \\607 \textbf{encryption}& & \textbf{wep} \\ 580 608 & - & not needed, automatically by key size \\ 581 609 & & \textbf{wpa-psk} \\ … … 589 617 & aes+tkip & support both \\ 590 618 eap-type & & \textbf{8021x} \\ 591 & tls$\star$& Transport Layer Security \\619 & \textbf{tls} & Transport Layer Security \\ 592 620 & ttls & Tunnelled TLS \\ 593 621 & peap & Protected EAP \\ 594 622 & leap & Cisco Wireless \\ 595 623 key & & \textbf{wep} \\ 596 & \{1$\star$|2|3|4\}& Select WEP key to use. \\624 &\{\textbf{1}|2|3|4\}& Select WEP key to use. \\ 597 625 key[1..4] & & \textbf{wep} \\ 598 626 & <String> & WEP key. The key must be 5, 13 or 16 bytes … … 604 632 up to 63 chars) \\ 605 633 wpa-gtk-rekey & & \textbf{wpa-psk}, \textbf{8021x} \\ 606 & <Int> ( 3600$\star$) & Rekeying interval in seconds. \\607 radius-ipaddr$\star$& & \textbf{8021x} \\634 & <Int> (\textbf{3600}) & Rekeying interval in seconds. \\ 635 \textbf{radius-ipaddr}& & \textbf{8021x} \\ 608 636 & <a.b.c.d> & IP to connect. \\ 609 637 radius-port & & \textbf{8021x} \\ 610 & <Int> ( 1812$\star$) & RADIUS-Port no. to connect \\611 radius-key$\star$& & \textbf{8021x} \\638 & <Int> (\textbf{1812}) & RADIUS-Port no. to connect \\ 639 \textbf{radius-key}& & \textbf{8021x} \\ 612 640 & <String> & Shared Secret for connection to the Radius server \\ 613 641 \end{tabular} … … 634 662 \begin{tabular}{l|l|l} 635 663 \textbf{Option} & \textbf{Parameter} & \textbf{Description} \\ 636 channel & {1-14} & The wifi channel \\637 maxassoc & {1-255} & Maximum number of associated clients \\638 gmode & {LegacyB| Auto$\star$| GOnly| BDeferred| Performance| LRS} & Set the 54g Mode \\639 frameburst & {0$\star$|1} & Disable/Enable frameburst mode. \\640 txpower & {0-255|-1$\star$} & Set the transmit power in dBm \\641 rate & <Int> ( -1$\star$) & force a fixed rate \\664 channel & \{1-14\} & The wifi channel \\ 665 maxassoc & \{1-255\} & Maximum number of associated clients \\ 666 gmode & \{LegacyB| \textbf{Auto}| GOnly| BDeferred| Performance| LRS\} & Set the 54g Mode \\ 667 frameburst & \{\textbf{0}|1\} & Disable/Enable frameburst mode. \\ 668 txpower & \{0-255|\textbf{-1}\} & Set the transmit power in dBm \\ 669 rate & <Int> (\textbf{-1}) & force a fixed rate \\ 642 670 & & valid values for 802.11a are (6, 9, 12, 18, 24, 36, 48, 54) \\ 643 671 & & valid values for 802.11b are (1, 2, 5.5, 11) \\ 644 672 & & valid values for 802.11g are (1, 2, 5.5, 6, 9, 11, 12, 18, 24, 36, 48, 54) \\ 645 673 & &-1 means automatically determine the best rate \\ 646 rts & {0-2347} & Set the RTS threshhold. \\647 frag & {256-2346} & Set the fragmentation threshhold. \\648 afterburner & {0$\star$|1} & Enable Afterburner capability \\649 isolate & {0$\star$|1} & Hide Clients from each other \\674 rts & \{0-2347\} & Set the RTS threshhold. \\ 675 frag & \{256-2346\} & Set the fragmentation threshhold. \\ 676 afterburner & \{\textbf{0}|1\} & Enable Afterburner capability \\ 677 isolate & \{\textbf{0}|1\} & Hide Clients from each other \\ 650 678 \end{tabular} 651 679 … … 832 860 Same semantics as above. 833 861 862 \section{Troubleshooting} 863 864 \subsection{Failsafe Mode} 865 866 Failsafe mode is very useful if you misconfigured your embedded system, 867 so that you can not access it anymore. E.g. if you accidentially disabled 868 secure shell or misconfigured the firewall, so that you can not login any 869 more. 870 871 When in failsafe mode, the device won't interpret any networking setup files. 872 It stops even before the root filesystem gets mounted read--write, and fwcf is 873 set up. It will just set the LAN interface up and give it the IP address 874 192.168.1.1 and netmask 255.255.255.0. Then it will start a telnet daemon, so 875 you get straight access (without depending on the installed SSH--daemon). 876 877 \subsubsection{How It Works} 878 879 To get FreeWRT into failsafe mode you need physical access to the device and 880 the failsafe utility. The failsafe utility is built inside our ADK and 881 is available in the directory bin/ after a successful build. 882 883 If you just want to compile the tool and not a complete firmware image, 884 use following command: 885 886 \begin{Verbatim} 887 $ make subdir=tools/failsafe install 888 \end{Verbatim} 889 890 For some operating systems we provide ready to go binaries of failsafe. 891 Take a look at http://www.freewrt.org/downloads/tools/failsafe 892 % TODO: \ref fuer link 893 894 The tool just opens a network socket and waits for a special UDP packet 895 from the embedded device. FreeWRT sends the UDP packet via the first 896 recognized network interface (eth0). 897 898 \subsubsection{Enabling Failsafe Mode} 899 900 Connect your computer to the embedded system via direct or crossed network 901 cable. Use the failsafe port (in most cases one of the LAN ports), 902 see the device specific page for the exact network port. 903 904 Configure your network interface to the IP address 192.168.1.2 with network 905 mask 255.255.255.0. Now start the failsafe utility on your computer. 906 907 \begin{Verbatim} 908 $ ./failsafe 909 \end{Verbatim} 910 911 After that power on your embedded system and wait for the following message in 912 your failsafe application running on your computer: 913 914 \begin{Verbatim} 915 Press reset now to enter Failsafe! 916 \end{Verbatim} 917 918 As soon as this message is displayed you should push the reset button of 919 your embedded system. You have 2 seconds time to push the button. If you 920 successfully enabled the failsafe mode, following message will be displayed: 921 922 \begin{Verbatim} 923 Entering Failsafe! 924 \end{Verbatim} 925 926 Now you should be able to login to your embedded system via a telnet 927 application. Just use: 928 929 \begin{Verbatim} 930 $ telnet 192.168.1.1 931 \end{Verbatim} 932 933 \subsubsection{Repairing Your FreeWRT Configuration} 934 935 If you want to repair your configuration, you first need to 936 mount the root filesystem read--writeable. This is best done via: 937 938 \begin{Verbatim} 939 # mount_root 940 \end{Verbatim} 941 942 After that you need to enable the FreeWRT configuration filesystem: 943 944 \begin{Verbatim} 945 # fwcf setup 946 \end{Verbatim} 947 948 Now you can change files in /etc and repair your broken configuration. 949 Do not forget to commit your changes afterwards. 950 951 \begin{Verbatim} 952 # fwcf commit 953 \end{Verbatim} 954 955 If you want to start over with the default /etc directory, just remove the fwcf 956 partition content with following command: 957 958 \begin{Verbatim} 959 mtd erase fwcf 960 \end{Verbatim} 961 962 You can either use "reboot -f" or "-r" for mtd to reboot the system. 963 -
docs/handbook/user/Makefile
rfd12397 r5c99e90 5 5 OBJECTS = *.tex 6 6 BULLSHIT = *.aux *.log *.idx *.toc *.out 7 TARGET = $(NAME).pdf 7 TARGETS = $(NAME).pdf allinone splitup 8 8 9 PAGE = 10 HTMLOPTS = -no_navigation -noinfo -noaddress -local_icons -image_type png -noimages -noparbox_images 9 11 10 .PHONY: all clean distclean help 12 .PHONY: all clean distclean help allinone splitup 11 13 12 all: $(TARGET )14 all: $(TARGETS) 13 15 14 $(TARGET): $(OBJECTS) 16 allinone: $(OBJECTS) 17 mkdir -p $@ 18 latex2html $(HTMLOPTS) -split 0 -dir $@ $(BASEOBJ) 19 20 splitup: $(OBJECTS) 21 mkdir -p $@ 22 latex2html $(HTMLOPTS) -split +3 -dir $@ $(BASEOBJ) 23 24 $(NAME).pdf: $(OBJECTS) 15 25 # run twice to generate tableofcontents 16 26 pdflatex $(BASEOBJ) 17 27 pdflatex $(BASEOBJ) 18 echo $(OBJECTS)19 28 20 29 clean: 21 -rm$(BULLSHIT)30 rm -rf $(BULLSHIT) 22 31 23 32 tclean: 24 -rm $(TARGET)33 rm -rf $(TARGETS) 25 34 26 35 distclean: clean tclean -
docs/handbook/user/handbook.tex
rfd12397 r5c99e90 43 43 %\usepackage{thumbpdf} 44 44 \usepackage{cancel} 45 \usepackage[final, activate, verbose=true]{microtype}45 %\usepackage[final, activate, verbose=true]{microtype} 46 46 \usepackage{ngerman} 47 47 %\usepackage{bookman} -
mk/modules-2.4.mk
rfd12397 r5c99e90 134 134 ,CONFIG_BLK_DEV_NBD,,20,nbd)) 135 135 136 # Crypto 137 $(eval $(call KMOD_template,CRYPTO,crypto,\ 138 $(MODULES_DIR)/kernel/crypto/*.o \ 139 ,CONFIG_CRYPTO)) 136 # Crypto modules 137 $(eval $(call KMOD_template,CRYPTO_ARC4,crypto-arc4,\ 138 $(MODULES_DIR)/kernel/crypto/arc4.o \ 139 ,CONFIG_CRYPTO_ARC4,,10,arc4)) 140 141 $(eval $(call KMOD_template,CRYPTO_SHA1,crypto-sha1,\ 142 $(MODULES_DIR)/kernel/crypto/sha1.o \ 143 ,CONFIG_CRYPTO_SHA1,,10,sha1)) 140 144 141 145 # Filesystems -
mk/pkg-depend.mk
rfd12397 r5c99e90 15 15 cbtt-compile: mysql-compile zlib-compile 16 16 clinkc-compile: expat-compile 17 cups-compile: zlib-compile17 cups-compile: libpthread-compile zlib-compile 18 18 curl-compile: openssl-compile zlib-compile 19 19 cyrus-sasl-compile: openssl-compile -
mk/targets.mk
rfd12397 r5c99e90 22 22 $(eval $(call target_template,2.4,brcm,asus-wl500g-premium,2_4_BRCM_ASUS_WL500G_PREMIUM,eth0.0,eth0.1,eth2,y)) 23 23 # linksys models 24 $(eval $(call target_template,2.4,brcm,linksys-wrt54gs-10,2_4_BRCM_LINKSYS_WRT54GS_1 _0,eth0.0,eth0.1,eth1,y))25 $(eval $(call target_template,2.4,brcm,linksys-wrt54gs-11,2_4_BRCM_LINKSYS_WRT54GS_1 _1,eth0.0,eth0.1,eth1,y))24 $(eval $(call target_template,2.4,brcm,linksys-wrt54gs-10,2_4_BRCM_LINKSYS_WRT54GS_10,eth0.0,eth0.1,eth1,y)) 25 $(eval $(call target_template,2.4,brcm,linksys-wrt54gs-11,2_4_BRCM_LINKSYS_WRT54GS_11,eth0.0,eth0.1,eth1,y)) 26 26 $(eval $(call target_template,2.4,brcm,linksys-wrt54gs-4,2_4_BRCM_LINKSYS_WRT54GS_4,eth0.0,eth0.1,eth1,y)) 27 $(eval $(call target_template,2.4,brcm,linksys-wrt54g-10,2_4_BRCM_LINKSYS_WRT54G_1 _0,eth0,eth1,eth2,n))28 $(eval $(call target_template,2.4,brcm,linksys-wrt54g-11,2_4_BRCM_LINKSYS_WRT54G_1 _1,eth0,eth1,eth2,n))29 $(eval $(call target_template,2.4,brcm,linksys-wrt54g-20,2_4_BRCM_LINKSYS_WRT54G_2 _0,eth0.0,eth0.1,eth1,y))30 $(eval $(call target_template,2.4,brcm,linksys-wrt54g-22,2_4_BRCM_LINKSYS_WRT54G_2 _2,eth0.0,eth0.1,eth1,y))31 $(eval $(call target_template,2.4,brcm,linksys-wrt54g-30,2_4_BRCM_LINKSYS_WRT54G_3 _0,eth0.0,eth0.1,eth1,y))32 $(eval $(call target_template,2.4,brcm,linksys-wrt54g-31,2_4_BRCM_LINKSYS_WRT54G_3 _1,eth0.0,eth0.1,eth1,y))27 $(eval $(call target_template,2.4,brcm,linksys-wrt54g-10,2_4_BRCM_LINKSYS_WRT54G_10,eth0,eth1,eth2,n)) 28 $(eval $(call target_template,2.4,brcm,linksys-wrt54g-11,2_4_BRCM_LINKSYS_WRT54G_11,eth0,eth1,eth2,n)) 29 $(eval $(call target_template,2.4,brcm,linksys-wrt54g-20,2_4_BRCM_LINKSYS_WRT54G_20,eth0.0,eth0.1,eth1,y)) 30 $(eval $(call target_template,2.4,brcm,linksys-wrt54g-22,2_4_BRCM_LINKSYS_WRT54G_22,eth0.0,eth0.1,eth1,y)) 31 $(eval $(call target_template,2.4,brcm,linksys-wrt54g-30,2_4_BRCM_LINKSYS_WRT54G_30,eth0.0,eth0.1,eth1,y)) 32 $(eval $(call target_template,2.4,brcm,linksys-wrt54g-31,2_4_BRCM_LINKSYS_WRT54G_31,eth0.0,eth0.1,eth1,y)) 33 33 $(eval $(call target_template,2.4,brcm,linksys-wrt54g-4,2_4_BRCM_LINKSYS_WRT54G_4,eth0.0,eth0.1,eth1,y)) 34 34 $(eval $(call target_template,2.4,brcm,linksys-wrt54gl,2_4_BRCM_LINKSYS_WRT54GL,eth0.0,eth0.1,eth1,r)) -
package/Makefile
rfd12397 r5c99e90 109 109 package-$(FWRT_PACKAGE_LIBAO) += libao 110 110 package-$(FWRT_PACKAGE_LIBART) += libart 111 package-$(FWRT_PACKAGE_LIBAUDIOFILE) += libaudiofile 111 112 package-$(FWRT_PACKAGE_LIBCLI) += libcli 112 113 package-$(FWRT_PACKAGE_LIBDAEMON) += libdaemon -
package/broadcom-wl-util/Makefile
rfd12397 r5c99e90 9 9 PKG_NAME:= broadcom-wl-util 10 10 PKG_VERSION:= 0.1 11 PKG_RELEASE:= 111 PKG_RELEASE:= 2 12 12 PKG_MD5SUM:= 444a752b895859d050b58a045df8bf00 13 13 … … 29 29 $(INSTALL_DIR) $(IDIR_BROADCOM_WL_UTIL)/etc/network/if-pre-up.d 30 30 $(INSTALL_BIN) $(WRKBUILD)/wl $(IDIR_BROADCOM_WL_UTIL)/usr/sbin 31 $(IPKG_BUILD) $(IDIR_BROADCOM_WL_UTIL) $(PACKAGE_DIR)32 31 $(CP) ./files/wireless-broadcom.pre-up $(IDIR_BROADCOM_WL_UTIL)/etc/network/if-pre-up.d/wireless-broadcom 33 32 $(CP) ./files/wireless-broadcom.post-down $(IDIR_BROADCOM_WL_UTIL)/etc/network/if-post-down.d/wireless-broadcom 33 $(IPKG_BUILD) $(IDIR_BROADCOM_WL_UTIL) $(PACKAGE_DIR) -
package/busybox/config/coreutils/Config.in
rfd12397 r5c99e90 350 350 config BUSYBOX_CONFIG_NOHUP 351 351 bool "nohup" 352 default n352 default y 353 353 help 354 354 run a command immune to hangups, with output to a non-tty. … … 649 649 help 650 650 This option allows utilities such as 'ls', 'more' and 'telnet' 651 to determine the width of the screen, which can allow them to 651 to determine the width of the screen, which can allow them to 652 652 display additional text or avoid wrapping text onto the next line. 653 If you leave this disabled, your utilities will be especially 653 If you leave this disabled, your utilities will be especially 654 654 primitive and will be unable to determine the current screen width. 655 655 -
package/libao/Makefile
rfd12397 r5c99e90 13 13 14 14 PKG_SOURCE_URL:= http://downloads.xiph.org/releases/ao/ 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 15 17 16 include $(TOPDIR)/mk/package.mk -
package/libcli/Makefile
rfd12397 r5c99e90 13 13 14 14 PKG_SOURCE_URL:= @SF/libcli 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 15 17 16 include $(TOPDIR)/mk/package.mk -
package/libdaemon/Makefile
rfd12397 r5c99e90 13 13 14 14 PKG_SOURCE_URL:= http://0pointer.de/lennart/projects/libdaemon/ 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 15 17 16 include $(TOPDIR)/mk/package.mk -
package/libevent/Makefile
rfd12397 r5c99e90 13 13 14 14 PKG_SOURCE_URL:= http://www.monkey.org/~provos/ 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 15 17 16 include $(TOPDIR)/mk/package.mk … … 57 56 $(IPKG_LIBEVENT): 58 57 $(INSTALL_DIR) $(IDIR_LIBEVENT)/usr/lib 59 $( INSTALL_DATA) $(WRKINST)/usr/lib/libevent-$(PKG_VERSION).so.* \58 $(CP) $(WRKINST)/usr/lib/libevent-$(PKG_VERSION).so.* \ 60 59 $(IDIR_LIBEVENT)/usr/lib/ 61 60 $(RSTRIP) $(IDIR_LIBEVENT) … … 67 66 $(INSTALL_DATA) $(WRKINST)/usr/include/event.h $(STAGING_DIR)/usr/include/ 68 67 $(INSTALL_DATA) $(WRKINST)/usr/lib/libevent.a $(STAGING_DIR)/usr/lib/ 69 $( INSTALL_DATA) $(WRKINST)/usr/lib/libevent.so $(STAGING_DIR)/usr/lib/70 $( INSTALL_DATA) $(WRKINST)/usr/lib/libevent-$(PKG_VERSION).so* \68 $(CP) $(WRKINST)/usr/lib/libevent.so $(STAGING_DIR)/usr/lib/ 69 $(CP) $(WRKINST)/usr/lib/libevent-$(PKG_VERSION).so* \ 71 70 $(STAGING_DIR)/usr/lib/ 72 71 touch $@ -
package/libpcap/Makefile
rfd12397 r5c99e90 11 11 PKG_RELEASE:= 1 12 12 PKG_MD5SUM:= b0626ad59004fe5767ddd2ce743a2271 13 14 13 PKG_SOURCE_URL:= http://www.tcpdump.org/release 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 14 17 15 include $(TOPDIR)/mk/package.mk … … 63 61 $(IPKG_LIBPCAP): 64 62 $(INSTALL_DIR) $(IDIR_LIBPCAP)/usr/lib 65 $( INSTALL_DATA) $(WRKINST)/usr/lib/libpcap.so.* $(IDIR_LIBPCAP)/usr/lib/63 $(CP) $(WRKINST)/usr/lib/libpcap.so.* $(IDIR_LIBPCAP)/usr/lib/ 66 64 $(RSTRIP) $(IDIR_LIBPCAP) 67 65 $(IPKG_BUILD) $(IDIR_LIBPCAP) $(PACKAGE_DIR) … … 72 70 $(INSTALL_DATA) $(WRKINST)/usr/include/pcap* $(STAGING_DIR)/usr/include/ 73 71 $(INSTALL_DATA) $(WRKINST)/usr/lib/libpcap.a $(STAGING_DIR)/usr/lib/ 74 $( INSTALL_DATA) $(WRKINST)/usr/lib/libpcap.so* $(STAGING_DIR)/usr/lib/72 $(CP) $(WRKINST)/usr/lib/libpcap.so* $(STAGING_DIR)/usr/lib/ 75 73 76 74 compile-targets: install-dev -
package/ncurses/Makefile
rfd12397 r5c99e90 13 13 14 14 PKG_SOURCE_URL:= @GNU/ncurses 15 PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz16 15 17 16 include $(TOPDIR)/mk/package.mk … … 113 112 $(INSTALL_DIR) $(IDIR_LIBNCURSES)/usr/lib 114 113 $(INSTALL_DIR) $(IDIR_LIBNCURSES)/usr/share/terminfo 115 $( INSTALL_DATA) $(WRKINST)/usr/lib/libncurses*.so.* $(IDIR_LIBNCURSES)/usr/lib/116 $( INSTALL_DATA) $(WRKINST)/usr/lib/libpanel*.so.* $(IDIR_LIBNCURSES)/usr/lib/117 $( INSTALL_DATA) $(WRKINST)/usr/lib/libmenu*.so.* $(IDIR_LIBNCURSES)/usr/lib/114 $(CP) $(WRKINST)/usr/lib/libncurses*.so.* $(IDIR_LIBNCURSES)/usr/lib/ 115 $(CP) $(WRKINST)/usr/lib/libpanel*.so.* $(IDIR_LIBNCURSES)/usr/lib/ 116 $(CP) $(WRKINST)/usr/lib/libmenu*.so.* $(IDIR_LIBNCURSES)/usr/lib/ 118 117 for f in a/ansi d/dumb l/linux r/rxvt s/screen v/vt100 v/vt102 v/vt220 x/xterm x/xterm-color; do \ 119 118 install -d -m0755 $(IDIR_LIBNCURSES)/usr/share/terminfo/`dirname $${f}`; \ … … 134 133 $(INSTALL_DATA) $(WRKINST)/usr/include/unctrl.h $(STAGING_DIR)/usr/include/ 135 134 $(INSTALL_DATA) $(WRKINST)/usr/include/menu.h $(STAGING_DIR)/usr/include/ 136 $( INSTALL_DATA) $(WRKINST)/usr/lib/libcurses.so $(STAGING_DIR)/usr/lib/135 $(CP) $(WRKINST)/usr/lib/libcurses.so $(STAGING_DIR)/usr/lib/ 137 136 $(INSTALL_DATA) $(WRKINST)/usr/lib/libncurses.a $(STAGING_DIR)/usr/lib/ 138 $( INSTALL_DATA) $(WRKINST)/usr/lib/libncurses.so* $(STAGING_DIR)/usr/lib/137 $(CP) $(WRKINST)/usr/lib/libncurses.so* $(STAGING_DIR)/usr/lib/ 139 138 $(INSTALL_DATA) $(WRKINST)/usr/lib/libpanel.a $(STAGING_DIR)/usr/lib/ 140 $( INSTALL_DATA) $(WRKINST)/usr/lib/libpanel.so* $(STAGING_DIR)/usr/lib/139 $(CP) $(WRKINST)/usr/lib/libpanel.so* $(STAGING_DIR)/usr/lib/ 141 140 $(INSTALL_DATA) $(WRKINST)/usr/lib/libmenu.a $(STAGING_DIR)/usr/lib/ 142 $( INSTALL_DATA) $(WRKINST)/usr/lib/libmenu.so* $(STAGING_DIR)/usr/lib/141 $(CP) $(WRKINST)/usr/lib/libmenu.so* $(STAGING_DIR)/usr/lib/ 143 142 144 143 compile-targets: install-dev -
package/ppp/files/etc/ppp/ip-down.d/umts
rfd12397 r5c99e90 2 2 3 3 [ "$IF_USE_TEMPLATE" == "umts" ] || exit 0 4 4 5 # enable bit 3, disable bit 4 - i.e. UMTS-LED from blue to green 5 6 LED=$(cat /proc/sys/diag) 6 7 echo $(((LED | 16) ^ 16 | 8)) > /proc/sys/diag 7 -
package/ppp/files/etc/ppp/ip-up.d/umts
rfd12397 r5c99e90 1 1 #!/bin/sh 2 2 3 [ "$ LINKNAME" == "umts" ] || exit 03 [ "$IF_USE_TEMPLATE" == "umts" ] || exit 0 4 4 5 5 # enable bit 4 i.e. UMTS-LED blue -
package/ppp/files/etc/ppp/templates/umts
rfd12397 r5c99e90 7 7 connect "NUMBER='*99***1#' /usr/bin/comgt -s /etc/comgt/dial.comgt -d #DEVICE#" 8 8 #IDLEOPTIONS# 9 linkname #LINKNAME#10 9 user #USERNAME# 11 10 password #PASSWORD# -
package/ppp/files/ppp.pre-up
rfd12397 r5c99e90 18 18 REPLACE=" 19 19 s,#IDLEOPTIONS#,$IDLEOPTIONS, 20 s,#LINKNAME#,$IFACE,21 20 s,#USERNAME#,$IF_PPP_USERNAME, 22 21 s,#PASSWORD#,$IF_PPP_PASSWORD, … … 40 39 # set umts/gprs mode if available (Option cards only) 41 40 case "$IF_UMTS_MODE" in 42 g rps_only) comgt 2G -d $IF_PPP_DEVICE ;;41 gprs_only) comgt 2G -d $IF_PPP_DEVICE ;; 43 42 umts_only) comgt 3G -d $IF_PPP_DEVICE ;; 44 43 umts_first) comgt 3G2G -d $IF_PPP_DEVICE ;; -
package/radiusclient-ng/Makefile
rfd12397 r5c99e90 72 72 $(CP) $(WRKINST)/usr/include/ $(STAGING_DIR)/usr/ 73 73 mkdir -p $(STAGING_DIR)/usr/lib/ 74 $(CP) $(WRKINST)/usr/lib/libradiusclient-ng {a,la,so}* $(STAGING_DIR)/usr/lib/74 $(CP) $(WRKINST)/usr/lib/libradiusclient-ng.{a,la,so}* $(STAGING_DIR)/usr/lib/ 75 75 touch $@ -
package/switch/src/switch-adm.c
rfd12397 r5c99e90 216 216 0xFF, 0xFF, 0xFF, 0xFF, 217 217 (0x06 << 4) | ((table & 0x01) << 3 | (addr&64)>>6), 218 ((addr&6 2)<<2)218 ((addr&63)<<2) 219 219 }; 220 220 -
package/zlib/Makefile
rfd12397 r5c99e90 54 54 $(INSTALL_DATA) $(WRKINST)/usr/include/zconf.h $(STAGING_DIR)/usr/include 55 55 $(INSTALL_DATA) $(WRKINST)/usr/include/zlib.h $(STAGING_DIR)/usr/include 56 $( INSTALL_DATA) $(WRKINST)/usr/lib/libz* $(STAGING_DIR)/usr/lib56 $(CP) $(WRKINST)/usr/lib/libz* $(STAGING_DIR)/usr/lib 57 57 58 58 compile-targets: install-dev -
scripts/scan-tools.sh
rfd12397 r5c99e90 218 218 fi 219 219 220 if ! which makeinfo >/dev/null 2>&1; then 221 echo You must install GNU texinfo to continue. 222 out=1 223 fi 224 220 225 221 226 cd $topdir -
target/image/brcm/Makefile
rfd12397 r5c99e90 32 32 chmod 4755 $(KDIR)/root/bin/busybox 33 33 mkdir -p $(KDIR)/root/tmp 34 chmod 0777 $(KDIR)/root/tmp34 chmod 1777 $(KDIR)/root/tmp 35 35 36 36 ifneq ($(FWRT_BIG_ENDIAN),y) … … 132 132 endif 133 133 134 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_1 _0),y)135 ifeq ($(FS),jffs2) 136 MTD_ERASESIZE:=-64k 137 endif 138 $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin: $(STAGING_DIR)/$(FWRT_PREFIX)-$(BOARD)-$(KERNEL)-$(FS)$(MTD_ERASESIZE).trx 139 $(STAGING_DIR)/bin/addpattern -4 -p W54G -v v4.20.6 -i $< -o $@ -g 140 install: $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin 141 endif 142 143 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_1 _1),y)144 ifeq ($(FS),jffs2) 145 MTD_ERASESIZE:=-64k 146 endif 147 $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin: $(STAGING_DIR)/$(FWRT_PREFIX)-$(BOARD)-$(KERNEL)-$(FS)$(MTD_ERASESIZE).trx 148 $(STAGING_DIR)/bin/addpattern -4 -p W54G -v v4.20.6 -i $< -o $@ -g 149 install: $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin 150 endif 151 152 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_2 _0),y)153 ifeq ($(FS),jffs2) 154 MTD_ERASESIZE:=-64k 155 endif 156 $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin: $(STAGING_DIR)/$(FWRT_PREFIX)-$(BOARD)-$(KERNEL)-$(FS)$(MTD_ERASESIZE).trx 157 $(STAGING_DIR)/bin/addpattern -4 -p W54G -v v4.20.6 -i $< -o $@ -g 158 install: $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin 159 endif 160 161 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_2 _2),y)162 ifeq ($(FS),jffs2) 163 MTD_ERASESIZE:=-64k 164 endif 165 $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin: $(STAGING_DIR)/$(FWRT_PREFIX)-$(BOARD)-$(KERNEL)-$(FS)$(MTD_ERASESIZE).trx 166 $(STAGING_DIR)/bin/addpattern -4 -p W54G -v v4.20.6 -i $< -o $@ -g 167 install: $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin 168 endif 169 170 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_3 _0),y)171 ifeq ($(FS),jffs2) 172 MTD_ERASESIZE:=-64k 173 endif 174 $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin: $(STAGING_DIR)/$(FWRT_PREFIX)-$(BOARD)-$(KERNEL)-$(FS)$(MTD_ERASESIZE).trx 175 $(STAGING_DIR)/bin/addpattern -4 -p W54G -v v4.20.6 -i $< -o $@ -g 176 install: $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin 177 endif 178 179 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_3 _1),y)134 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_10),y) 135 ifeq ($(FS),jffs2) 136 MTD_ERASESIZE:=-64k 137 endif 138 $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin: $(STAGING_DIR)/$(FWRT_PREFIX)-$(BOARD)-$(KERNEL)-$(FS)$(MTD_ERASESIZE).trx 139 $(STAGING_DIR)/bin/addpattern -4 -p W54G -v v4.20.6 -i $< -o $@ -g 140 install: $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin 141 endif 142 143 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_11),y) 144 ifeq ($(FS),jffs2) 145 MTD_ERASESIZE:=-64k 146 endif 147 $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin: $(STAGING_DIR)/$(FWRT_PREFIX)-$(BOARD)-$(KERNEL)-$(FS)$(MTD_ERASESIZE).trx 148 $(STAGING_DIR)/bin/addpattern -4 -p W54G -v v4.20.6 -i $< -o $@ -g 149 install: $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin 150 endif 151 152 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_20),y) 153 ifeq ($(FS),jffs2) 154 MTD_ERASESIZE:=-64k 155 endif 156 $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin: $(STAGING_DIR)/$(FWRT_PREFIX)-$(BOARD)-$(KERNEL)-$(FS)$(MTD_ERASESIZE).trx 157 $(STAGING_DIR)/bin/addpattern -4 -p W54G -v v4.20.6 -i $< -o $@ -g 158 install: $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin 159 endif 160 161 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_22),y) 162 ifeq ($(FS),jffs2) 163 MTD_ERASESIZE:=-64k 164 endif 165 $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin: $(STAGING_DIR)/$(FWRT_PREFIX)-$(BOARD)-$(KERNEL)-$(FS)$(MTD_ERASESIZE).trx 166 $(STAGING_DIR)/bin/addpattern -4 -p W54G -v v4.20.6 -i $< -o $@ -g 167 install: $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin 168 endif 169 170 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_30),y) 171 ifeq ($(FS),jffs2) 172 MTD_ERASESIZE:=-64k 173 endif 174 $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin: $(STAGING_DIR)/$(FWRT_PREFIX)-$(BOARD)-$(KERNEL)-$(FS)$(MTD_ERASESIZE).trx 175 $(STAGING_DIR)/bin/addpattern -4 -p W54G -v v4.20.6 -i $< -o $@ -g 176 install: $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin 177 endif 178 179 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_31),y) 180 180 ifeq ($(FS),jffs2) 181 181 MTD_ERASESIZE:=-64k … … 220 220 endif 221 221 222 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_1 _0),y)222 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_10),y) 223 223 ifeq ($(FS),jffs2) 224 224 MTD_ERASESIZE:=-128k … … 229 229 endif 230 230 231 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_1 _1),y)231 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_11),y) 232 232 ifeq ($(FS),jffs2) 233 233 MTD_ERASESIZE:=-128k -
target/linux/brcm-2.4/Config.in
rfd12397 r5c99e90 42 42 Asus WL500g premium 43 43 44 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_1 _044 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_10 45 45 bool "Linksys WRT54G v1.0 [Linux 2.4]" 46 46 select FWRT_mipsel … … 57 57 Linksys WRT54G v1.0 58 58 59 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_1 _159 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_11 60 60 bool "Linksys WRT54G v1.1 [Linux 2.4]" 61 61 select FWRT_mipsel … … 73 73 74 74 # FIXME is it ADMTEK? 75 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_2 _075 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_20 76 76 bool "Linksys WRT54G v2.0 [Linux 2.4]" 77 77 select FWRT_mipsel … … 88 88 Linksys WRT54G v2.0 89 89 90 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_2 _290 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_22 91 91 bool "Linksys WRT54G v2.2 [Linux 2.4]" 92 92 select FWRT_mipsel … … 103 103 Linksys WRT54G v2.2 104 104 105 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_3 _0105 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_30 106 106 bool "Linksys WRT54G v3.0 [Linux 2.4]" 107 107 select FWRT_mipsel … … 118 118 Linksys WRT54G v3.0 119 119 120 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_3 _1120 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_31 121 121 bool "Linksys WRT54G v3.1 [Linux 2.4]" 122 122 select FWRT_mipsel … … 148 148 Linksys WRT54G v4.0 149 149 150 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_1 _0150 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_10 151 151 bool "Linksys WRT54GS v1.0 [Linux 2.4]" 152 152 select FWRT_mipsel … … 163 163 Linksys WRT54GS v1.0 164 164 165 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_1 _1165 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_11 166 166 bool "Linksys WRT54GS v1.1 [Linux 2.4]" 167 167 select FWRT_mipsel -
target/linux/brcm-2.4/files/etc/network/interfaces
rfd12397 r5c99e90 1 1 # basic network configuration file 2 # for more information, 3 # see http://www.freewrt.org/trac/wiki/Documentation/Howto/Network2 # for more information, see the FreeWRT handbook 3 # http://www.freewrt.org/trac/wiki/Documentation/Handbook 4 4 5 5 auto lo … … 43 43 44 44 # UMTS on WRT54G3G devices 45 #iface umts inet ppp 45 #auto ppp0 46 #iface ppp0 inet ppp 46 47 # use-template umts 47 48 # provider umts … … 51 52 # ppp-device /dev/noz0 52 53 # umts-apn "" 53 # umts-pincode ""54 # umts-pincode 1234 54 55 # umts-mode umts_first 55 56 # Note: -
tools/paxmirabilis/fgetln.c
rfd12397 r5c99e90 1 /* $FreeWRT$ */ 2 3 /*- 4 * Copyright Holder: 5 * 6 * The FreeBSD project. 7 * 8 * License: 9 * 10 * Redistribution and use in source and binary forms, with or without 11 * modification, are permitted under the terms of the BSD License. 12 * 13 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS `AS IS'' AND 14 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 16 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 17 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23 * SUCH DAMAGE. 24 */ 25 1 26 #define _GNU_SOURCE 2 27 #include <sys/types.h>
Note:
See TracChangeset
for help on using the changeset viewer.
