Announcement

Collapse
No announcement yet.

Can't connect to Wireless

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can't connect to Wireless

    My chipset is the Marvell Libertas 88w8335. For some reason I can even install ndis wrapper so that I can install the windows driver for the wireless adapter in my laptop. Also if there is a way to use a linux driver instead of using ndis wrapper I would prefer that. Thanks guys. Hope you can help!!!


    root@jackfrostpc:/# ls
    bin dev initrd lib mnt root sys var
    boot etc initrd.img lost+found opt sbin tmp vmlinuz
    cdrom home initrd.img.old media proc srv usr vmlinuz.old
    root@jackfrostpc:/# cd home
    root@jackfrostpc:/home# cd david
    root@jackfrostpc:/home/david# ls
    Desktop mrv SD-8686-FEDORA26-8.73.7.p3-26340P58
    gtkpod-0.99.10 ndiswrapper SD-8686-FEDORA26-UMPC-FB-8.73.7.p3-340P58
    root@jackfrostpc:/home/david# cd ndiswrapper/
    root@jackfrostpc:/home/david/ndiswrapper# cd ndiswrapper-1.47/
    root@jackfrostpc:/home/david/ndiswrapper/ndiswrapper-1.47# ls
    AUTHORS driver loadndisdriver.8 ndiswrapper.8 README
    ChangeLog INSTALL Makefile ndiswrapper.spec utils
    root@jackfrostpc:/home/david/ndiswrapper/ndiswrapper-1.47# make uninstall
    NOTE: Not all installed files are removed, as different distributions install ndiswrapper files at different places.
    Run uninstall as many times as necessary until no "removing" messages appear below.
    removing /lib/modules/2.6.20-15-generic/misc/ndiswrapper.ko
    root@jackfrostpc:/home/david/ndiswrapper/ndiswrapper-1.47# make uninstall
    NOTE: Not all installed files are removed, as different distributions install ndiswrapper files at different places.
    Run uninstall as many times as necessary until no "removing" messages appear below.
    root@jackfrostpc:/home/david/ndiswrapper/ndiswrapper-1.47# make
    make -C driver
    make[1]: Entering directory `/home/david/ndiswrapper/ndiswrapper-1.47/driver'
    make -C /lib/modules/2.6.20-15-generic/build SUBDIRS=/home/david/ndiswrapper/ndiswrapper-1.47/driver
    make[2]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
    Building modules, stage 2.
    MODPOST 1 modules
    make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
    make[1]: Leaving directory `/home/david/ndiswrapper/ndiswrapper-1.47/driver'
    make -C utils
    make[1]: Entering directory `/home/david/ndiswrapper/ndiswrapper-1.47/utils'
    gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c
    loadndisdriver.c:15:20: error: stdlib.h: No such file or directory
    loadndisdriver.c:16:19: error: stdio.h: No such file or directory
    loadndisdriver.c:17:19: error: errno.h: No such file or directory
    loadndisdriver.c:18:20: error: string.h: No such file or directory
    loadndisdriver.c:19:20: error: libgen.h: No such file or directory
    loadndisdriver.c:21:22: error: sys/mman.h: No such file or directory
    loadndisdriver.c:23:23: error: sys/types.h: No such file or directory
    loadndisdriver.c:24:23: error: sys/ioctl.h: No such file or directory
    loadndisdriver.c:25:22: error: sys/stat.h: No such file or directory
    loadndisdriver.c:26:20: error: unistd.h: No such file or directory
    loadndisdriver.c:27:19: error: fcntl.h: No such file or directory
    In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
    from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
    from loadndisdriver.c:28:
    /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
    loadndisdriver.c:29:19: error: ctype.h: No such file or directory
    loadndisdriver.c:30:20: error: dirent.h: No such file or directory
    loadndisdriver.c:31:20: error: syslog.h: No such file or directory
    loadndisdriver.c:34:25: error: linux/major.h: No such file or directory
    loadndisdriver.c:35:25: error: linux/ioctl.h: No such file or directory
    In file included from loadndisdriver.c:37:
    ../driver/loader.h:24: error: expected specifier-qualifier-list before ‘size_t’
    loadndisdriver.c: In function ‘load_file’:
    loadndisdriver.c:67: error: ‘size_t’ undeclared (first use in this function)
    loadndisdriver.c:67: error: (Each undeclared identifier is reported only once
    loadndisdriver.c:67: error: for each function it appears in.)
    loadndisdriver.c:67: error: expected ‘;’ before ‘size’
    loadndisdriver.c:68: error: ‘NULL’ undeclared (first use in this function)
    loadndisdriver.c:69: error: storage size of ‘statbuf’ isn’t known
    loadndisdriver.c:71: warning: implicit declaration of function ‘basename’
    loadndisdriver.c:71: warning: initialization makes pointer from integer without a cast
    loadndisdriver.c:73: warning: implicit declaration of function ‘open’
    loadndisdriver.c:73: error: ‘O_RDONLY’ undeclared (first use in this function)
    loadndisdriver.c:75: warning: implicit declaration of function ‘syslog’
    loadndisdriver.c:75: error: ‘LOG_KERN’ undeclared (first use in this function)
    loadndisdriver.c:75: error: ‘LOG_INFO’ undeclared (first use in this function)
    loadndisdriver.c:75: warning: implicit declaration of function ‘strerror’
    loadndisdriver.c:75: error: ‘errno’ undeclared (first use in this function)
    loadndisdriver.c:76: error: ‘EINVAL’ undeclared (first use in this function)
    loadndisdriver.c:79: warning: implicit declaration of function ‘fstat’
    loadndisdriver.c:81: warning: implicit declaration of function ‘close’
    loadndisdriver.c:84: error: ‘size’ undeclared (first use in this function)
    loadndisdriver.c:86: warning: implicit declaration of function ‘mmap’
    loadndisdriver.c:86: error: ‘PROT_READ’ undeclared (first use in this function)
    loadndisdriver.c:86: error: ‘MAP_PRIVATE’ undeclared (first use in this function)
    loadndisdriver.c:86: warning: assignment makes pointer from integer without a cast
    loadndisdriver.c:87: error: ‘MAP_FAILED’ undeclared (first use in this function)
    loadndisdriver.c:93: warning: implicit declaration of function ‘strncpy’
    loadndisdriver.c:93: warning: incompatible implicit declaration of built-in function ‘strncpy’
    loadndisdriver.c:95: error: ‘struct load_driver_file’ has no member named ‘size’
    loadndisdriver.c:96: error: ‘struct load_driver_file’ has no member named ‘data’
    loadndisdriver.c:69: warning: unused variable ‘statbuf’
    loadndisdriver.c: In function ‘parse_setting_line’:
    loadndisdriver.c:109: warning: implicit declaration of function ‘isspace’
    loadndisdriver.c:115: warning: implicit declaration of function ‘strchr’
    loadndisdriver.c:115: warning: incompatible implicit declaration of built-in function ‘strchr’
    loadndisdriver.c:115: error: ‘NULL’ undeclared (first use in this function)
    loadndisdriver.c:117: error: ‘LOG_KERN’ undeclared (first use in this function)
    loadndisdriver.c:117: error: ‘LOG_INFO’ undeclared (first use in this function)
    loadndisdriver.c:118: error: ‘EINVAL’ undeclared (first use in this function)
    loadndisdriver.c:138: warning: implicit declaration of function ‘strlen’
    loadndisdriver.c:138: warning: incompatible implicit declaration of built-in function ‘strlen’
    loadndisdriver.c: In function ‘read_conf_file’:
    loadndisdriver.c:150: error: storage size of ‘statbuf’ isn’t known
    loadndisdriver.c:151: error: ‘FILE’ undeclared (first use in this function)
    loadndisdriver.c:151: error: ‘config’ undeclared (first use in this function)
    loadndisdriver.c:157: warning: implicit declaration of function ‘lstat’
    loadndisdriver.c:158: error: ‘LOG_KERN’ undeclared (first use in this function)
    loadndisdriver.c:158: error: ‘LOG_INFO’ undeclared (first use in this function)
    loadndisdriver.c:158: error: ‘errno’ undeclared (first use in this function)
    loadndisdriver.c:160: error: ‘EINVAL’ undeclared (first use in this function)
    loadndisdriver.c:163: warning: implicit declaration of function ‘sscanf’
    loadndisdriver.c:163: warning: incompatible implicit declaration of built-in function ‘sscanf’
    loadndisdriver.c:178: warning: implicit declaration of function ‘fopen’
    loadndisdriver.c:178: error: ‘NULL’ undeclared (first use in this function)
    loadndisdriver.c:182: warning: implicit declaration of function ‘fgets’
    loadndisdriver.c:194: warning: incompatible implicit declaration of built-in function ‘strncpy’
    loadndisdriver.c:205: warning: implicit declaration of function ‘fclose’
    loadndisdriver.c:150: warning: unused variable ‘statbuf’
    loadndisdriver.c: In function ‘load_bin_file’:
    loadndisdriver.c:217: error: ‘LOG_KERN’ undeclared (first use in this function)
    loadndisdriver.c:217: error: ‘LOG_INFO’ undeclared (first use in this function)
    loadndisdriver.c:219: warning: implicit declaration of function ‘tolower’
    loadndisdriver.c:221: warning: implicit declaration of function ‘chdir’
    loadndisdriver.c:222: error: ‘errno’ undeclared (first use in this function)
    loadndisdriver.c:224: error: ‘EINVAL’ undeclared (first use in this function)
    loadndisdriver.c:230: warning: incompatible implicit declaration of built-in function ‘strncpy’
    loadndisdriver.c:232: warning: implicit declaration of function ‘ioctl’
    loadndisdriver.c:232: warning: implicit declaration of function ‘_IOW’
    loadndisdriver.c:232: error: expected expression before ‘struct’
    loadndisdriver.c: In function ‘load_driver’:
    loadndisdriver.c:249: error: ‘DIR’ undeclared (first use in this function)
    loadndisdriver.c:249: error: ‘driver_dir’ undeclared (first use in this function)
    loadndisdriver.c:251: error: ‘NULL’ undeclared (first use in this function)
    loadndisdriver.c:255: error: ‘LOG_KERN’ undeclared (first use in this function)
    loadndisdriver.c:255: error: ‘LOG_INFO’ undeclared (first use in this function)
    loadndisdriver.c:257: error: ‘errno’ undeclared (first use in this function)
    loadndisdriver.c:259: error: ‘EINVAL’ undeclared (first use in this function)
    loadndisdriver.c:261: warning: implicit declaration of function ‘opendir’
    loadndisdriver.c:267: warning: implicit declaration of function ‘malloc’
    loadndisdriver.c:267: warning: incompatible implicit declaration of built-in function ‘malloc’
    loadndisdriver.c:271: warning: implicit declaration of function ‘memset’
    loadndisdriver.c:271: warning: incompatible implicit declaration of built-in function ‘memset’
    loadndisdriver.c:272: warning: incompatible implicit declaration of built-in function ‘strncpy’
    loadndisdriver.c:280: warning: implicit declaration of function ‘readdir’
    loadndisdriver.c:280: warning: assignment makes pointer from integer without a cast
    loadndisdriver.c:282: error: storage size of ‘statbuf’ isn’t known
    loadndisdriver.c:284: error: dereferencing pointer to incomplete type
    loadndisdriver.c:287: warning: implicit declaration of function ‘stat’
    loadndisdriver.c:287: error: dereferencing pointer to incomplete type
    loadndisdriver.c:288: warning: implicit declaration of function ‘S_ISREG’
    loadndisdriver.c:289: error: dereferencing pointer to incomplete type
    loadndisdriver.c:294: warning: incompatible implicit declaration of built-in function ‘strlen’
    loadndisdriver.c:294: error: dereferencing pointer to incomplete type
    loadndisdriver.c:296: warning: implicit declaration of function ‘strcasecmp’
    loadndisdriver.c:296: error: dereferencing pointer to incomplete type
    loadndisdriver.c:299: error: dereferencing pointer to incomplete type
    loadndisdriver.c:302: error: dereferencing pointer to incomplete type
    loadndisdriver.c:303: error: dereferencing pointer to incomplete type
    loadndisdriver.c:305: error: dereferencing pointer to incomplete type
    loadndisdriver.c:311: error: dereferencing pointer to incomplete type
    loadndisdriver.c:312: error: dereferencing pointer to incomplete type
    loadndisdriver.c:313: warning: implicit declaration of function ‘strcpy’
    loadndisdriver.c:313: warning: incompatible implicit declaration of built-in f
    loadndisdriver.c:590: warning: implicit declaration of function ‘closelog’
    make[1]: *** [loadndisdriver] Error 1
    make[1]: Leaving directory `/home/david/ndiswrapper/ndiswrapper-1.47/utils'
    make: *** [install] Error 2
    root@jackfrostpc:/home/david/ndiswrapper/ndiswrapper-1.47#

    #2
    Re: Can't connect to Wireless

    I didn't post the entire error because it was longer than the max number of lines that was allowed.

    Comment


      #3
      Re: Can't connect to Wireless

      Here we go. I didn't see the option to attach a file. I have attached the error in a text doc.
      Attached Files

      Comment


        #4
        Re: Can't connect to Wireless

        Do you have build-essential and linux-headers ?
        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: Can't connect to Wireless

          Yep, he does. I'm his brother.

          Comment


            #6
            Re: Can't connect to Wireless

            Hmm - maybe this helps:

            http://forums.techguy.org/unix-linux...ke-i-need.html
            First, locate the unlocated header files directories by using the find command, e.g.
            cd /usr
            find . -name "stdlib.h" -print
            for each unlocated header file.

            Next, edit the make file to be explicit about the full path name of the various directories for the unlocated header files in the gcc distribution and any from the ndiswrapper distribution that may be needed, if necessary, and then redo the make command.
            Before you edit, BACKUP !

            Why there are dead links ?
            1. Thread: Please explain how to access old kubuntu forum posts
            2. Thread: Lost Information

            Comment

            Working...
            X