Changeset 5c99e90 in freewrt


Ignore:
Timestamp:
Jan 16, 2007, 9:54:16 PM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
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.
Message:

tag freewrt 1.0

git-svn-id: svn://www.freewrt.org/tags/freewrt_1_0@1608 afb5a338-a214-0410-bd46-81f09a774fd1

Files:
6 added
28 edited

Legend:

Unmodified
Added
Removed
  • docs/handbook/user/00-allinone.tex

    rfd12397 r5c99e90  
    312312\begin{itemize} % TODO: insert \ref's to jump to the appropriate section?
    313313\item via the original firmware's web interface
    314 \item via \texttt{mtd} when reflashing or migrating from another $\star$WRT
     314\item via \texttt{mtd} when reflashing or migrating from another third party distribution
    315315\item via network using a TFTP client
    316316\end{itemize}
     
    319319
    320320\subsection{Web Interface Method}
    321 %TODO: may be filled in by someone who has done this before
     321The following text describes how to use the original firmware's web interface
     322to flash FreeWRT. The object of demonstration is an Asus WL500gP, but this
     323guide should fit more or less fine for other systems, too.
     324
     325There 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
     330address 192.168.1.2)
     331\end{itemize}
     332
     333\parbox{17em}{
     334After 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
     336startup page:
     337}\hfill\parbox{20em}{\includegraphics[width=20em]{pics/asus-startup.png}} \\ [1em]
     338\parbox{17em}{
     339Then click \textit{System Setup}:
     340}\hfill\parbox{20em}{\includegraphics[width=20em]{pics/asus-system_setup.png}} \\ [1em]
     341\parbox{17em}{
     342Then click \textit{Firmware Upgrade}, and enter the name of your firmware image
     343into the appropriate field:
     344}\hfill\parbox{20em}{\includegraphics[width=20em]{pics/asus-fw_upgrade.png}} \\ [1em]
     345Finally click \textit{Upload}. As the whole process of writing the image to
     346flash and rebooting (don't forget that it creates ssh hostkeys on first boot)
     347takes quite long, better go and get coffee.
     348
     349When everything went good, you can login using ssh.
    322350
    323351\subsection{\texttt{mtd} -- The Flash Utility}
     352For this method to work, you need to copy the file containing the firmware
     353image to the router, preferably into /tmp (the tmpfs should be big enough to
     354hold the full image). Then the image is written to flash using
     355\texttt{mtd}, optionally giving additional options (see below).
     356
    324357The \texttt{mtd} utility was written with simplicity and code size in mind.
    325358It's features were derived from the mtd-utils, %TODO: insert \ref to homepage
     
    341374the flash has been written.
    342375
    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
     376Mostly, similar to the sample usage shown in the help output should be all that has to be
    351377done to write the firmware to flash:
    352378\begin{Verbatim}
    353 # mtd -r write linux.trx linux
     379# mtd -e linux -r write freewrt.bin linux
    354380\end{Verbatim}
    355381The parameters explained in detail: \\
    356382\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\\
    358385write & write the firmware image contained in the file given as next parameter
    359                         to flash \\
     386                        to flash\\
    360387linux.trx & the actual image to write - ignore the suffix, it is detected at
    361                                 runtime \\
     388                                runtime\\
    362389linux & this is an abstract identifier for a certain partition in flash, so
    363 don't change this \\
     390don't change this\\
    364391\end{tabular}
    365392
     
    538565
    539566\subsubsection{Basic Settings}
    540 $\star$ with Option means mandatory, $\star$ with Parameter means default.
     567
     568Mandatory options and default parameters are in bold font.
    541569
    542570\begin{tabular}{l|l|l}
    543571\textbf{Option} & \textbf{Parameter} & \textbf{Description} \\
    544572\hline
    545 type$\star$  & broadcom        & Broadcom based card \\
     573\textbf{type}& broadcom        & Broadcom based card \\
    546574             & atheros         & Madwifi driver \\
    547 mode$\star$  & ap              & Access point mode \\
     575\textbf{mode}& ap              & Access point mode \\
    548576             & sta             & Client mode \\
    549577             & adhoc           & Ad-Hoc mode \\
    550578             & wds             & WDS point-to-point link \\
    551579             & 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) \\
    553581country      & {ALL|DE|JP|US|...} & The country code used to determine the regulatory settings. \\
    554582\end{tabular}
     
    558586\textbf{Option} & \textbf{Parameter} & \textbf{Description} \\
    559587\hline
    560 security$\star$ & none            & No authorization \\
     588\textbf{security}& none            & No authorization \\
    561589             & wep             & WEP key \\
    562590             & wpa-psk         & WPA with preshared key \\
    563591             & 8021x           & IEEE 802.1X authentication \\
    564 authorization$\star$ &            & \textbf{wep} \\
     592\textbf{authorization}&            & \textbf{wep} \\
    565593             & open            & Only Open System Authentication \\
    566594             & shared          & Only Shared Key Authentication \\
    567              & open+shared$\star$ & Both Open System and Shared Key Authentication
     595             & \textbf{open+shared}& Both Open System and Shared Key Authentication
    568596                                 \\
    569597             &                 & \textbf{wpa-psk} \\
     
    577605             & wpa2            & WPA2 with RADIUS \\
    578606             & wpa wpa2        & WPA and WPA2 \\
    579 encryption$\star$ &            & \textbf{wep} \\
     607\textbf{encryption}&            & \textbf{wep} \\
    580608             & -               & not needed, automatically by key size \\
    581609             &                 & \textbf{wpa-psk} \\
     
    589617             & aes+tkip        & support both \\
    590618eap-type     &                 & \textbf{8021x} \\
    591              & tls$\star$      & Transport Layer Security \\
     619             & \textbf{tls}    & Transport Layer Security \\
    592620             & ttls            & Tunnelled TLS \\
    593621             & peap            & Protected EAP \\
    594622             & leap            & Cisco Wireless \\
    595623key          &                 & \textbf{wep} \\
    596              & \{1$\star$|2|3|4\}    & Select WEP key to use. \\
     624             &\{\textbf{1}|2|3|4\}& Select WEP key to use. \\
    597625key[1..4]    &                 & \textbf{wep} \\
    598626             & <String>        & WEP key.  The key must be 5, 13 or 16 bytes
     
    604632                                 up to 63 chars) \\
    605633wpa-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} \\
    608636             & <a.b.c.d>       & IP to connect. \\
    609637radius-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} \\
    612640             & <String>        & Shared Secret for connection to the Radius server \\
    613641\end{tabular}
     
    634662\begin{tabular}{l|l|l}
    635663\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 \\
     664channel      & \{1-14\}          & The wifi channel \\
     665maxassoc     & \{1-255\}         & Maximum number of associated clients \\
     666gmode        & \{LegacyB| \textbf{Auto}| GOnly| BDeferred| Performance| LRS\} & Set the 54g Mode \\
     667frameburst   & \{\textbf{0}|1\}        & Disable/Enable frameburst mode. \\
     668txpower      & \{0-255|\textbf{-1}\}   & Set the transmit power in dBm \\
     669rate         & <Int> (\textbf{-1})   & force a fixed rate \\
    642670             &                 & valid values for 802.11a are (6, 9, 12, 18, 24, 36, 48, 54) \\
    643671             &                 & valid values for 802.11b are (1, 2, 5.5, 11) \\
    644672             &                 & valid values for 802.11g are (1, 2, 5.5, 6, 9, 11, 12, 18, 24, 36, 48, 54) \\
    645673             &                 &-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 \\
     674rts          & \{0-2347\}        & Set the RTS threshhold. \\
     675frag         & \{256-2346\}      & Set the fragmentation threshhold. \\
     676afterburner  & \{\textbf{0}|1\}        & Enable Afterburner capability \\
     677isolate      & \{\textbf{0}|1\}        & Hide Clients from each other \\
    650678\end{tabular}
    651679
     
    832860Same semantics as above.
    833861
     862\section{Troubleshooting}
     863
     864\subsection{Failsafe Mode}
     865
     866Failsafe mode is very useful if you misconfigured your embedded system,
     867so that you can not access it anymore. E.g. if you accidentially disabled
     868secure shell or misconfigured the firewall, so that you can not login any
     869more.
     870
     871When in failsafe mode, the device won't interpret any networking setup files.
     872It stops even before the root filesystem gets mounted read--write, and fwcf is
     873set up. It will just set the LAN interface up and give it the IP address
     874192.168.1.1 and netmask 255.255.255.0. Then it will start a telnet daemon, so
     875you get straight access (without depending on the installed SSH--daemon).
     876
     877\subsubsection{How It Works}
     878
     879To get FreeWRT into failsafe mode you need physical access to the device and
     880the failsafe utility. The failsafe utility is built inside our ADK and
     881is available in the directory bin/ after a successful build.
     882
     883If you just want to compile the tool and not a complete firmware image,
     884use following command:
     885
     886\begin{Verbatim}
     887$ make subdir=tools/failsafe install
     888\end{Verbatim}
     889
     890For some operating systems we provide ready to go binaries of failsafe.
     891Take a look at http://www.freewrt.org/downloads/tools/failsafe
     892% TODO: \ref fuer link
     893
     894The tool just opens a network socket and waits for a special UDP packet
     895from the embedded device. FreeWRT sends the UDP packet via the first
     896recognized network interface (eth0).
     897
     898\subsubsection{Enabling Failsafe Mode}
     899
     900Connect your computer to the embedded system via direct or crossed network
     901cable. Use the failsafe port (in most cases one of the LAN ports),
     902see the device specific page for the exact network port.
     903
     904Configure your network interface to the IP address 192.168.1.2 with network
     905mask 255.255.255.0. Now start the failsafe utility on your computer.
     906
     907\begin{Verbatim}
     908$ ./failsafe
     909\end{Verbatim}
     910
     911After that power on your embedded system and wait for the following message in
     912your failsafe application running on your computer:
     913
     914\begin{Verbatim}
     915Press reset now to enter Failsafe!
     916\end{Verbatim}
     917
     918As soon as this message is displayed you should push the reset button of
     919your embedded system. You have 2 seconds time to push the button. If you
     920successfully enabled the failsafe mode, following message will be displayed:
     921
     922\begin{Verbatim}
     923Entering Failsafe!
     924\end{Verbatim}
     925
     926Now you should be able to login to your embedded system via a telnet
     927application. Just use:
     928
     929\begin{Verbatim}
     930$ telnet 192.168.1.1
     931\end{Verbatim}
     932
     933\subsubsection{Repairing Your FreeWRT Configuration}
     934
     935If you want to repair your configuration, you first need to
     936mount the root filesystem read--writeable. This is best done via:
     937
     938\begin{Verbatim}
     939# mount_root
     940\end{Verbatim}
     941
     942After that you need to enable the FreeWRT configuration filesystem:
     943
     944\begin{Verbatim}
     945# fwcf setup
     946\end{Verbatim}
     947
     948Now you can change files in /etc and repair your broken configuration.
     949Do not forget to commit your changes afterwards.
     950
     951\begin{Verbatim}
     952# fwcf commit
     953\end{Verbatim}
     954
     955If you want to start over with the default /etc directory, just remove the fwcf
     956partition content with following command:
     957
     958\begin{Verbatim}
     959mtd erase fwcf
     960\end{Verbatim}
     961
     962You can either use "reboot -f" or "-r" for mtd to reboot the system.
     963
  • docs/handbook/user/Makefile

    rfd12397 r5c99e90  
    55OBJECTS = *.tex
    66BULLSHIT = *.aux *.log *.idx *.toc *.out
    7 TARGET = $(NAME).pdf
     7TARGETS = $(NAME).pdf allinone splitup
     8
    89PAGE =
     10HTMLOPTS = -no_navigation -noinfo -noaddress -local_icons -image_type png -noimages -noparbox_images
    911
    10 .PHONY: all clean distclean help
     12.PHONY: all clean distclean help allinone splitup
    1113
    12 all: $(TARGET)
     14all: $(TARGETS)
    1315
    14 $(TARGET): $(OBJECTS)
     16allinone: $(OBJECTS)
     17        mkdir -p $@
     18        latex2html $(HTMLOPTS) -split 0 -dir $@ $(BASEOBJ)
     19
     20splitup: $(OBJECTS)
     21        mkdir -p $@
     22        latex2html $(HTMLOPTS) -split +3 -dir $@ $(BASEOBJ)
     23
     24$(NAME).pdf: $(OBJECTS)
    1525        # run twice to generate tableofcontents
    1626        pdflatex $(BASEOBJ)
    1727        pdflatex $(BASEOBJ)
    18         echo $(OBJECTS)
    1928
    2029clean:
    21         -rm $(BULLSHIT)
     30        rm -rf $(BULLSHIT)
    2231
    2332tclean:
    24         -rm $(TARGET)
     33        rm -rf $(TARGETS)
    2534
    2635distclean: clean tclean
  • docs/handbook/user/handbook.tex

    rfd12397 r5c99e90  
    4343%\usepackage{thumbpdf}
    4444\usepackage{cancel}
    45 \usepackage[final, activate, verbose=true]{microtype}
     45%\usepackage[final, activate, verbose=true]{microtype}
    4646\usepackage{ngerman}
    4747%\usepackage{bookman}
  • mk/modules-2.4.mk

    rfd12397 r5c99e90  
    134134,CONFIG_BLK_DEV_NBD,,20,nbd))
    135135
    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))
    140144
    141145# Filesystems
  • mk/pkg-depend.mk

    rfd12397 r5c99e90  
    1515cbtt-compile: mysql-compile zlib-compile
    1616clinkc-compile: expat-compile
    17 cups-compile: zlib-compile
     17cups-compile: libpthread-compile zlib-compile
    1818curl-compile: openssl-compile zlib-compile
    1919cyrus-sasl-compile: openssl-compile
  • mk/targets.mk

    rfd12397 r5c99e90  
    2222$(eval $(call target_template,2.4,brcm,asus-wl500g-premium,2_4_BRCM_ASUS_WL500G_PREMIUM,eth0.0,eth0.1,eth2,y))
    2323# 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))
    2626$(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))
    3333$(eval $(call target_template,2.4,brcm,linksys-wrt54g-4,2_4_BRCM_LINKSYS_WRT54G_4,eth0.0,eth0.1,eth1,y))
    3434$(eval $(call target_template,2.4,brcm,linksys-wrt54gl,2_4_BRCM_LINKSYS_WRT54GL,eth0.0,eth0.1,eth1,r))
  • package/Makefile

    rfd12397 r5c99e90  
    109109package-$(FWRT_PACKAGE_LIBAO) += libao
    110110package-$(FWRT_PACKAGE_LIBART) += libart
     111package-$(FWRT_PACKAGE_LIBAUDIOFILE) += libaudiofile
    111112package-$(FWRT_PACKAGE_LIBCLI) += libcli
    112113package-$(FWRT_PACKAGE_LIBDAEMON) += libdaemon
  • package/broadcom-wl-util/Makefile

    rfd12397 r5c99e90  
    99PKG_NAME:=              broadcom-wl-util
    1010PKG_VERSION:=           0.1
    11 PKG_RELEASE:=           1
     11PKG_RELEASE:=           2
    1212PKG_MD5SUM:=            444a752b895859d050b58a045df8bf00
    1313
     
    2929        $(INSTALL_DIR) $(IDIR_BROADCOM_WL_UTIL)/etc/network/if-pre-up.d
    3030        $(INSTALL_BIN) $(WRKBUILD)/wl $(IDIR_BROADCOM_WL_UTIL)/usr/sbin
    31         $(IPKG_BUILD) $(IDIR_BROADCOM_WL_UTIL) $(PACKAGE_DIR)
    3231        $(CP) ./files/wireless-broadcom.pre-up $(IDIR_BROADCOM_WL_UTIL)/etc/network/if-pre-up.d/wireless-broadcom
    3332        $(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  
    350350config BUSYBOX_CONFIG_NOHUP
    351351        bool "nohup"
    352         default n
     352        default y
    353353        help
    354354          run a command immune to hangups, with output to a non-tty.
     
    649649        help
    650650          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
    652652          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
    654654          primitive and will be unable to determine the current screen width.
    655655
  • package/libao/Makefile

    rfd12397 r5c99e90  
    1313
    1414PKG_SOURCE_URL:=        http://downloads.xiph.org/releases/ao/
    15 PKG_SOURCE:=            $(PKG_NAME)-$(PKG_VERSION).tar.gz
    1615
    1716include $(TOPDIR)/mk/package.mk
  • package/libcli/Makefile

    rfd12397 r5c99e90  
    1313
    1414PKG_SOURCE_URL:=        @SF/libcli
    15 PKG_SOURCE:=            $(PKG_NAME)-$(PKG_VERSION).tar.gz
    1615
    1716include $(TOPDIR)/mk/package.mk
  • package/libdaemon/Makefile

    rfd12397 r5c99e90  
    1313
    1414PKG_SOURCE_URL:=        http://0pointer.de/lennart/projects/libdaemon/
    15 PKG_SOURCE:=            $(PKG_NAME)-$(PKG_VERSION).tar.gz
    1615
    1716include $(TOPDIR)/mk/package.mk
  • package/libevent/Makefile

    rfd12397 r5c99e90  
    1313
    1414PKG_SOURCE_URL:=        http://www.monkey.org/~provos/
    15 PKG_SOURCE:=            $(PKG_NAME)-$(PKG_VERSION).tar.gz
    1615
    1716include $(TOPDIR)/mk/package.mk
     
    5756$(IPKG_LIBEVENT):
    5857        $(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.* \
    6059                $(IDIR_LIBEVENT)/usr/lib/
    6160        $(RSTRIP) $(IDIR_LIBEVENT)
     
    6766        $(INSTALL_DATA) $(WRKINST)/usr/include/event.h $(STAGING_DIR)/usr/include/
    6867        $(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* \
    7170                $(STAGING_DIR)/usr/lib/
    7271        touch $@
  • package/libpcap/Makefile

    rfd12397 r5c99e90  
    1111PKG_RELEASE:=           1
    1212PKG_MD5SUM:=            b0626ad59004fe5767ddd2ce743a2271
    13 
    1413PKG_SOURCE_URL:=        http://www.tcpdump.org/release
    15 PKG_SOURCE:=            $(PKG_NAME)-$(PKG_VERSION).tar.gz
    1614
    1715include $(TOPDIR)/mk/package.mk
     
    6361$(IPKG_LIBPCAP):
    6462        $(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/
    6664        $(RSTRIP) $(IDIR_LIBPCAP)
    6765        $(IPKG_BUILD) $(IDIR_LIBPCAP) $(PACKAGE_DIR)
     
    7270        $(INSTALL_DATA) $(WRKINST)/usr/include/pcap* $(STAGING_DIR)/usr/include/
    7371        $(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/
    7573
    7674compile-targets: install-dev
  • package/ncurses/Makefile

    rfd12397 r5c99e90  
    1313
    1414PKG_SOURCE_URL:=        @GNU/ncurses
    15 PKG_SOURCE:=            $(PKG_NAME)-$(PKG_VERSION).tar.gz
    1615
    1716include $(TOPDIR)/mk/package.mk
     
    113112        $(INSTALL_DIR) $(IDIR_LIBNCURSES)/usr/lib
    114113        $(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/
    118117        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 \
    119118                install -d -m0755 $(IDIR_LIBNCURSES)/usr/share/terminfo/`dirname $${f}`; \
     
    134133        $(INSTALL_DATA) $(WRKINST)/usr/include/unctrl.h $(STAGING_DIR)/usr/include/
    135134        $(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/
    137136        $(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/
    139138        $(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/
    141140        $(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/
    143142
    144143compile-targets: install-dev
  • package/ppp/files/etc/ppp/ip-down.d/umts

    rfd12397 r5c99e90  
    22
    33[ "$IF_USE_TEMPLATE" == "umts" ] || exit 0
     4
    45# enable bit 3, disable bit 4 - i.e. UMTS-LED from blue to green
    56LED=$(cat /proc/sys/diag)
    67echo $(((LED | 16) ^ 16 | 8)) > /proc/sys/diag
    7 
  • package/ppp/files/etc/ppp/ip-up.d/umts

    rfd12397 r5c99e90  
    11#!/bin/sh
    22
    3 [ "$LINKNAME" == "umts" ] || exit 0
     3[ "$IF_USE_TEMPLATE" == "umts" ] || exit 0
    44
    55# enable bit 4 i.e. UMTS-LED blue
  • package/ppp/files/etc/ppp/templates/umts

    rfd12397 r5c99e90  
    77connect "NUMBER='*99***1#' /usr/bin/comgt -s /etc/comgt/dial.comgt -d #DEVICE#"
    88#IDLEOPTIONS#
    9 linkname #LINKNAME#
    109user #USERNAME#
    1110password #PASSWORD#
  • package/ppp/files/ppp.pre-up

    rfd12397 r5c99e90  
    1818REPLACE="
    1919        s,#IDLEOPTIONS#,$IDLEOPTIONS,
    20         s,#LINKNAME#,$IFACE,
    2120        s,#USERNAME#,$IF_PPP_USERNAME,
    2221        s,#PASSWORD#,$IF_PPP_PASSWORD,
     
    4039        # set umts/gprs mode if available (Option cards only)
    4140        case "$IF_UMTS_MODE" in
    42                 grps_only)      comgt 2G -d $IF_PPP_DEVICE ;;
     41                gprs_only)      comgt 2G -d $IF_PPP_DEVICE ;;
    4342                umts_only)      comgt 3G -d $IF_PPP_DEVICE ;;
    4443                umts_first)     comgt 3G2G -d $IF_PPP_DEVICE ;;
  • package/radiusclient-ng/Makefile

    rfd12397 r5c99e90  
    7272        $(CP) $(WRKINST)/usr/include/ $(STAGING_DIR)/usr/
    7373        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/
    7575        touch $@
  • package/switch/src/switch-adm.c

    rfd12397 r5c99e90  
    216216                0xFF, 0xFF, 0xFF, 0xFF,
    217217                (0x06 << 4) | ((table & 0x01) << 3 | (addr&64)>>6),
    218                 ((addr&62)<<2)
     218                ((addr&63)<<2)
    219219        };
    220220
  • package/zlib/Makefile

    rfd12397 r5c99e90  
    5454        $(INSTALL_DATA) $(WRKINST)/usr/include/zconf.h $(STAGING_DIR)/usr/include
    5555        $(INSTALL_DATA) $(WRKINST)/usr/include/zlib.h $(STAGING_DIR)/usr/include
    56         $(INSTALL_DATA) $(WRKINST)/usr/lib/libz* $(STAGING_DIR)/usr/lib
     56        $(CP) $(WRKINST)/usr/lib/libz* $(STAGING_DIR)/usr/lib
    5757
    5858compile-targets: install-dev
  • scripts/scan-tools.sh

    rfd12397 r5c99e90  
    218218fi
    219219
     220if ! which makeinfo >/dev/null 2>&1; then
     221        echo You must install GNU texinfo to continue.
     222        out=1
     223fi
     224
    220225
    221226cd $topdir
  • target/image/brcm/Makefile

    rfd12397 r5c99e90  
    3232        chmod 4755 $(KDIR)/root/bin/busybox
    3333        mkdir -p $(KDIR)/root/tmp
    34         chmod 0777 $(KDIR)/root/tmp
     34        chmod 1777 $(KDIR)/root/tmp
    3535
    3636ifneq ($(FWRT_BIG_ENDIAN),y)
     
    132132endif
    133133
    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)
     134ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_10),y)
     135ifeq ($(FS),jffs2)
     136MTD_ERASESIZE:=-64k
     137endif
     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
     140install: $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin
     141endif
     142
     143ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_11),y)
     144ifeq ($(FS),jffs2)
     145MTD_ERASESIZE:=-64k
     146endif
     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
     149install: $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin
     150endif
     151
     152ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_20),y)
     153ifeq ($(FS),jffs2)
     154MTD_ERASESIZE:=-64k
     155endif
     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
     158install: $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin
     159endif
     160
     161ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_22),y)
     162ifeq ($(FS),jffs2)
     163MTD_ERASESIZE:=-64k
     164endif
     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
     167install: $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin
     168endif
     169
     170ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_30),y)
     171ifeq ($(FS),jffs2)
     172MTD_ERASESIZE:=-64k
     173endif
     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
     176install: $(BIN_DIR)/$(FWRT_PREFIX)-$(MODEL)-$(BOARD)-$(KERNEL)-$(FS).bin
     177endif
     178
     179ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_31),y)
    180180ifeq ($(FS),jffs2)
    181181MTD_ERASESIZE:=-64k
     
    220220endif
    221221
    222 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_1_0),y)
     222ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_10),y)
    223223ifeq ($(FS),jffs2)
    224224MTD_ERASESIZE:=-128k
     
    229229endif
    230230
    231 ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_1_1),y)
     231ifeq ($(FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_11),y)
    232232ifeq ($(FS),jffs2)
    233233MTD_ERASESIZE:=-128k
  • target/linux/brcm-2.4/Config.in

    rfd12397 r5c99e90  
    4242          Asus WL500g premium
    4343
    44 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_1_0
     44config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_10
    4545        bool "Linksys WRT54G v1.0 [Linux 2.4]"
    4646        select FWRT_mipsel
     
    5757          Linksys WRT54G v1.0
    5858
    59 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_1_1
     59config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_11
    6060        bool "Linksys WRT54G v1.1 [Linux 2.4]"
    6161        select FWRT_mipsel
     
    7373
    7474# FIXME is it ADMTEK?
    75 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_2_0
     75config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_20
    7676        bool "Linksys WRT54G v2.0 [Linux 2.4]"
    7777        select FWRT_mipsel
     
    8888          Linksys WRT54G v2.0
    8989
    90 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_2_2
     90config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_22
    9191        bool "Linksys WRT54G v2.2 [Linux 2.4]"
    9292        select FWRT_mipsel
     
    103103          Linksys WRT54G v2.2
    104104
    105 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_3_0
     105config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_30
    106106        bool "Linksys WRT54G v3.0 [Linux 2.4]"
    107107        select FWRT_mipsel
     
    118118          Linksys WRT54G v3.0
    119119
    120 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_3_1
     120config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G_31
    121121        bool "Linksys WRT54G v3.1 [Linux 2.4]"
    122122        select FWRT_mipsel
     
    148148          Linksys WRT54G v4.0
    149149
    150 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_1_0
     150config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_10
    151151        bool "Linksys WRT54GS v1.0 [Linux 2.4]"
    152152        select FWRT_mipsel
     
    163163          Linksys WRT54GS v1.0
    164164
    165 config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_1_1
     165config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_11
    166166        bool "Linksys WRT54GS v1.1 [Linux 2.4]"
    167167        select FWRT_mipsel
  • target/linux/brcm-2.4/files/etc/network/interfaces

    rfd12397 r5c99e90  
    11# basic network configuration file
    2 # for more information,
    3 # see http://www.freewrt.org/trac/wiki/Documentation/Howto/Network
     2# for more information, see the FreeWRT handbook
     3# http://www.freewrt.org/trac/wiki/Documentation/Handbook
    44
    55auto lo
     
    4343
    4444# UMTS on WRT54G3G devices
    45 #iface umts inet ppp
     45#auto ppp0
     46#iface ppp0 inet ppp
    4647#       use-template umts
    4748#       provider umts
     
    5152#       ppp-device /dev/noz0
    5253#       umts-apn ""
    53 #       umts-pincode ""
     54#       umts-pincode 1234
    5455#       umts-mode umts_first
    5556# 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
    126#define _GNU_SOURCE
    227#include <sys/types.h>
Note: See TracChangeset for help on using the changeset viewer.