hostap on ubuntu

Jay Strauss jjstrauss
Sat Aug 13 08:32:19 PDT 2005


Opps, I should have linked linux to the header directory

It compiled fine

On 8/13/05, Jay Strauss <jjstrauss at gmail.com> wrote:
> Hi,
> 
> I downloaded the kernel source, kernel headers, and hostap.
> 
> root at ubuntu:/usr/src # ls -l
> total 36740
> -rw-r--r--   1 root root   119107 2004-12-28 21:43 hostap-source.tar.bz2
> lrwxrwxrwx   1 root src        19 2005-08-12 18:34 linux ->
> linux-source-2.6.10
> drwxr-xr-x  17 root root     4096 2005-08-13 10:15 linux-headers-2.6.10-5
> drwxr-xr-x   3 root root     4096 2005-08-13 10:15
> linux-headers-2.6.10-5-386
> drwxr-xr-x  18 root root     4096 2005-08-13 09:49 linux-source-2.6.10
> -rw-r--r--   1 root root 37431650 2005-06-24 15:06
> linux-source-2.6.10.tar.bz2
> drwxr-xr-x   3 root root     4096 2004-12-28 21:43 modules
> drwxr-xr-x   7 root root     4096 2005-08-12 11:03 rpm
> 
> but when I do a make from within the in the
> /usr//usr/src/modules/hostap-source
> I get a ton of errors starting off with:
> make -C /usr/src/linux
> SUBDIRS=/usr/src/hostap/modules/hostap-source/driver/modules \
>         MODVERDIR=/usr/src/hostap/modules/hostap-source/driver/modules
> modules
> make[1]: Entering directory `/usr/src/linux-source-2.6.10'
>   CC [M]  /usr/src/hostap/modules/hostap-source/driver/modules/hostap.o
> In file included from
> /usr/src/hostap/modules/hostap-source/driver/modules/hostap.c:19:
> include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
> /usr/src/hostap/modules/hostap-source/driver/modules/hostap.c:20:27:
> linux/version.h: No such file or directory
> 
> 
> Thanks
> Jay
> 
> On 8/13/05, M?rten Holmqvist <martenh at gmail.com> wrote:
> > On 13/08/05, Jay Strauss <jjstrauss at gmail.com> wrote:
> > > Hi,
> > > 
> > > Does anyone here have any experience getting hostap installed
> > > (possibly built) on ubuntu?
> > > 
> > > I can't seem to find and .debs for hostap, can't find a .config for
> > > the kernel so I can build my own hostap on ubuntu
> > 
> > I have built hostap on ubuntu. Hostap IS included in Ubuntu but it
> > isn't the latest version. To be able to use the latest feautres such
> > as WPA you most likely need to download the source for your kernel.
> > Then download the hostap source (I used 0.3.9), you should be able to
> > simpy run make and sudo make install. To make a package of it I
> > suggest you install the "checkinstall" package and use that instead of
> > the "make install" command.
> > 
> > I'm quite new to Linux and Ubuntu so I'm sorry if my explanation isn't
> > the best but i hope ti helps you a bit on the way.
> > 
> > Good luck!
> > //M?rten 
> > PS. More help (and me) can be found in #ubuntu on the freenode IRC
> network.
> > _______________________________________________
> > HostAP mailing list
> > HostAP at shmoo.com
> > http://lists.shmoo.com/mailman/listinfo/hostap
> >
>




More information about the Hostap mailing list