Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Need help compiling and installing wireless driver in 11.04

  1. #1
    Join Date
    Feb 2012
    Beans
    12

    Question Need help compiling and installing wireless driver in 11.04

    I am new to ubuntu and dont have much expriance with the termal and need some help compiling the driver for my Asus PCE-N15 PCIE 1x card. I got the diver from Asus and Realtek. The chip set is RTL8188CE. If you need more info let me know and Any and all help is appreciated.

  2. #2
    Join Date
    Feb 2012
    Beans
    9

    Re: Need help compiling and installing wireless driver in 11.04

    Go to http://www.asus.com/Networks/Wireles...EN15/#download and choose "Linux" under "OS". Download your driver and all instalation notes should be in readme.txt file. If not, open your terminal and navigate to folder where you downloaded driver to. Then type "sudo su make", type in your password, after that type in "make install". After installation is finished you have to reboot your PC. Click on restart with your mouse, or you can just type in "reboot" in terminal. After rebooting log in to your user account and your wireless card should work just fine.

  3. #3
    Join Date
    Feb 2012
    Beans
    12

    Re: Need help compiling and installing wireless driver in 11.04

    Go to http://www.asus.com/Networks/Wireles...EN15/#download and choose "Linux" under "OS". Download your driver and all instalation notes should be in readme.txt file. If not, open your terminal and navigate to folder where you downloaded driver to. Then type "sudo su make", type in your password, after that type in "make install". After installation is finished you have to reboot your PC. Click on restart with your mouse, or you can just type in "reboot" in terminal. After rebooting log in to your user account and your wireless card should work just fine.
    I have the drivers from both Asus and Realtek and in the readmes there is not enough info or asks to do things I have no clue are for or what to put in the terminal could you explain how to navigate to folder in the terminal? or what commands to use would help a lot. Just to make it clear I do not know any commands in terminal or how to use them. To do soming in windows like this does not require coding or compiling to install a driver and yes i have tried it with ndisgtk to use the windows driver but nothing happens or if i am doing even that incorrectly. Ubuntu is so confusing to install drivers for hardware it does not have support for yet.

  4. #4
    Join Date
    Feb 2012
    Beans
    9

    Re: Need help compiling and installing wireless driver in 11.04

    to do it just use: cd "folder"

    here's some newbie guide too: http://www.unixguide.net/linux/linuxshortcuts.shtml

  5. #5
    Join Date
    Feb 2012
    Beans
    12

    Re: Need help compiling and installing wireless driver in 11.04

    Ok so used cd and put the file path to the files that need to be compiled in the terminal then use make but all I get Is this

    Code:
    root@osalot-Rampage-Extreme:/home/osalot/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011# make
    make -C /lib/modules/2.6.38-13-generic-pae/build M=/home/osalot/rtl_92ce_92se_92de_linux_mac80211_0005.1230.2011 modules
    make: *** /lib/modules/2.6.38-13-generic-pae/build: No such file or directory.  Stop.
    make: *** [all] Error 2
    Am I still missing something? or did something out of order? also heres what it says to do in the driver readme.

    Code:
    Release Date: 2011-12-30, ver 0005 
    Realtek Linux mac80211 based driver: 
       --This driver supports follwing RealTek PCIE Wireless LAN NICs: 
        RTL8188CE/RTL8192CE 
        RTL8191SE/RTL8192SE 
        RTL8192DE 
     
       --This driver supports follwing Linux OS: 
         Fedora Core 
        Debian 
        Mandriva 
        Open SUSE 
        Gentoo 
        MeeGo 
        android 2.2 (froyo-x86), etc. 
     
       --This driver supports follwing kernel versions: 
        1) kernel version >=2.6.35 
           you can build & install drvier use II.  
     
     
        2) kernel version [2.6.24, 2.6.34] 
           you can build & install drvier use III.  
     
     
    ======================================================================================== 
            I. Component  
    ======================================================================================== 
    The driver is composed of several parts: 
        1. Firmare to make nic work 
               1.1 firmare/rtlwifi 
     
        2. Module source code 
           2.1 ./* 
           2.2 rtl8192ce 
           2.2 rtl8192se 
           2.2 rtl8192de 
         
        3. Script to build the modules 
           3.1 Makefile  
     
        4. compat-wireless 
           4.1 compat-wireless*.tar.bz2 
           4.2 compat 
     
    ======================================================================================== 
            II. Compile & Installation & uninstall 
    ======================================================================================== 
    You can enter top-level directory of driver and execute follwing command to 
    Compile, Installation, or uninstall the driver: 
     
        1. Change to Super User 
           sudo su 
     
        2. Compile driver from the source code  
           make 
     
        3. Install the driver to the kernel 
           make install 
           reboot 
     
        4. uninstall driver 
           make uninstall 
     
    ======================================================================================== 
            III. Compile & Installation & uninstall [2.6.24, 2.6.34] 
    ======================================================================================== 
    We don't support kernel 2.6.24-2.6.34 directly, Because there are 
    lots of issues in mac80211 from kernel 2.6.24-2.6.34, 
    So we suggest you to use the latest kernel >= 2.6.35. 
     
    but if you want to use our driver in an old kernel, 
    you can use compat-wireless. this methord can support all kernel 
    versions higher than 2.6.24, and you can use all functions 
    of our driver like you use it in the latest kernel version. 
     
    You can get more informations of compat-wireless from: 
    http://wireless.kernel.org/en/users/Download/stable 
     
    you should use the following commands to Compile, Installation, or uninstall the driver: 
     
        1. Change to Super User 
           sudo su 
     
        2. install compat-wireless driver 
           ./compat/script/compat-install.sh 
              
        3. reboot 
           reboot 
     
        4. uninstall driver 
           ./compat/script/compat-uninstall.sh 
     
        5. you can get more information form follwing webset for how to use compat-wireless: 
           http://wireless.kernel.org/en/users/Download/stable 
            
    NOTICE: 
        1. Maybe you can not use other vendors wireless after you install compat wireless, 
           in this situation, you can uninstall compat-wireless use step 4 to recover it. 
     
        2. This install methord can support all versions of kernel, not just 2.6.24-2.6.34, 
           you can also use it in the kernel higher than 2.6.35. 
    ======================================================================================== 
                    IV. Start Up Wireless 
    ======================================================================================== 
    You can use two methord to start up wireless: 
     
        1. Install driver like II. and reboot OS, Wireless will be brought  
           up by GUI, such as NetworkManager 
     
        2. If Wireless is not brought up by GUI, you can use:  
           ifconfig wlan0 up  
     
           Note: some times when you have two wireless NICs on your computer, 
             interface "wlan0" may be changed to "wlan1" or "wlan2", etc.  
             So before "ifconfig wlan0 up", you can use "iwconfig" to check 
             which interface our NIC is. 
     
           Note: Don't try to down driver by "ifconfig wlan0 down" when  
             NetworkManager id opened, because NetworkManager will up 
             driver automatically.  
     
    ======================================================================================== 
                    V. Wireless UI & NetworkManager  
    ======================================================================================== 
        1. All latest distributions have UI & NetworkManager to like with AP. 
           And it's more easy to link with AP than commandline, 
           So we suggest you use UI to link with AP. 
     
        2. Don't try to like with AP use commandline with UI or NetworkManager opened. 
     
        3. If you still used commandline to link with AP, Please check if 
           NetworkManager & wpa_supplicant is killed by follwing command: 
     
            ps -x | grep NetworkManager 
            ps -x | grep wpa_supplicant 
     
        4. Follwing commandlines(V-VII) are all used under Linux without UI.  
     
    ======================================================================================== 
                    VI. Set wireless lan MIBs   
    ======================================================================================== 
    This driver uses Wireless Extension as an interface allowing you to set 
    Wireless LAN specific parameters. 
     
        1. Current driver supports "iwlist" to show the device status of nic 
     
           iwlist wlan0 [parameters] 
     
           you can use follwing parameters: 
     
                parameter explaination          [parameters]     
                   -----------------------         -------------    
                Show available chan and freq    freq / channel   
                Show and Scan BSS and IBSS     scan[ning]           
                Show supported bit-rate         rate / bit[rate]         
     
           For example: 
            iwlist wlan0 channel 
            iwlist wlan0 scan 
            iwlist wlan0 rate 
     
        2. Driver also supports "iwconfig", manipulate driver private ioctls,  
           to set MIBs. 
     
           iwconfig wlan0 [parameters] [val] 
     
           you can use follwing parameters: 
     
           parameter explaination      [parameters]        [val] constraints 
                -----------------------     -------------        ------------------ 
                Connect to AP by address    ap                  [mac_addr] 
                Set the essid, join (I)BSS  essid                 [essid] 
                Set operation mode          mode                {Managed|Ad-hoc} 
                Set keys and security mode  key/enc[ryption]    {N|open|restricted|off} 
     
           For example: 
            iwconfig wlan0 ap XX:XX:XX:XX:XX:XX 
            iwconfig wlan0 essid "ap_name" 
            iwconfig wlan0 mode Ad-hoc 
            iwconfig wlan0 essid "name" mode Ad-hoc 
            iwconfig wlan0 key 0123456789 [2] open 
            iwconfig wlan0 key off 
            iwconfig wlan0 key restricted [3] 0123456789 
                iwconfig wlan0 key s:12345 
     
           Note: There are two types of key, "hex" code or "ascii" code. "hex" code 
                only contains hexadecimal characters, "ascii" code is consist of  
                    "ascii" characters. Assume the "hex" code key is "0123456789", you  
                    are suggested to use command like this "iwconfig wlan0 key 0123456789".  
                    Assume the "ascii" code key is "12345", you should enter command  
                    like this "iwconfig wlan0 key s:12345". 
     
               Note: Better to set these MIBS without GUI such as NetworkManager and be  
                sure that our nic has been brought up before these settings. WEP key 
                index 2-4 is not supportted by NetworkManager. 
     
    ======================================================================================== 
                    VII. Getting IP address (For OS without UI)  
    ======================================================================================== 
    Before transmit/receive data, you should obtain an IP address use one of 
    the follwing method:  
     
        1. static IP address: 
     
            ifconfig wlan0 IP_ADDRESS 
     
        2. dynamic IP address using DHCP: 
                
            dhclient wlan0 
             
     
    ======================================================================================== 
                    VIII. WPAPSK/WPA2PSK (For OS without UI)  
    ======================================================================================== 
    Wpa_supplicant helps you to link with WPA/WPA2(include WPA Enterprise) AP,  
    in Linux with NetworkManger & UI, UI will help you to link with AP,  
    But if there is no UI & Networkmanger in your Linux, you can use  
    follwing method to link with WPA/WPA2 AP.  
         
        1. we suppose that your Linux have installed wpa_supplicant &  
           kernel build with WIRELESS_EXT, In fact, lots of distributions 
           have done like this. 
     
           But if some distribution not install wpa_supplicant, 
           please download wpa_supplicant from webset and install it. 
     
        2. Edit wpa1.conf to set up SSID and its passphrase. 
           For example, the following setting in "wpa1.conf"  
           means SSID to join is "BufAG54_Ch6" and its  
           passphrase is "87654321". 
     
           network={ 
                ssid="BufAG54_Ch6" 
                #scan_ssid=1 //see note 3 
                proto=WPA 
                key_mgmt=WPA-PSK 
                pairwise=CCMP TKIP 
                group=CCMP TKIP WEP104 WEP40 
                psk="87654321" 
                priority=2 
              } 
     
           You can download wpa_supplicant and read wpa_supplicant.conf  
           for more examples. 
     
        3. Execute WPA supplicant: 
     
           wpa_supplicant -D wext -c wpa1.conf -i wlan0  
     
        4. To see detailed description for driver interface and wpa_supplicant,  
           please type:  
     
           man wpa_supplicant

  6. #6
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Need help compiling and installing wireless driver in 11.04

    Try this (it might work):

    sudo apt-get install build-essentials linux-headers-`uname -r`

    Then try to recompile.

  7. #7
    Join Date
    Feb 2012
    Beans
    12

    Re: Need help compiling and installing wireless driver in 11.04

    Try this (it might work):

    sudo apt-get install build-essentials linux-headers-`uname -r`

    Then try to recompile.
    ok so I put the code in to the terminal but I got this

    Code:
    osalot@osalot-Rampage-Extreme:~$ sudo apt-get install build-essentials linux-headers-`uname -r`
    [sudo] password for osalot: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package build-essentials
    Am I missing some packages?

  8. #8
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,958
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Need help compiling and installing wireless driver in 11.04

    I typed it wrong -- build-essential, not build-essentials, sorry

  9. #9
    Join Date
    Feb 2012
    Beans
    12

    Re: Need help compiling and installing wireless driver in 11.04

    Ok so that got me going and got it compiled and installed reboot but still no WIFI. I used this command

    Code:
    sudo lshw -C network

    Got it fom here https://help.ubuntu.com/10.10/intern...ss-ndiswrapper

    and it says that it is Unclaimed heres what it says in the terminal

    Code:
    osalot@osalot-Rampage-Extreme:~$ sudo lshw -C network
    [sudo] password for osalot: 
      *-network UNCLAIMED     
           description: Network controller
           product: RTL8188CE 802.11b/g/n WiFi Adapter
           vendor: Realtek Semiconductor Co., Ltd.
           physical id: 0
           bus info: pci@0000:05:00.0
           version: 01
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress bus_master cap_list
           configuration: latency=0
           resources: ioport:d800(size=256) memory:feafc000-feafffff
      *-network
           description: Ethernet interface
           product: 88E8056 PCI-E Gigabit Ethernet Controller
           vendor: Marvell Technology Group Ltd.
           physical id: 0
           bus info: pci@0000:04:00.0
           logical name: eth0
           version: 12
           serial: 00:23:54:65:d0:26
           size: 100Mbit/s
           capacity: 1Gbit/s
           width: 64 bits
           clock: 33MHz
           capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
           configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.28 duplex=full firmware=N/A ip=192.168.0.104 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
           resources: irq:46 memory:fe9fc000-fe9fffff ioport:c800(size=256) memory:fe9c0000-fe9dffff
      *-network
           description: Ethernet interface
           product: 88E8056 PCI-E Gigabit Ethernet Controller
           vendor: Marvell Technology Group Ltd.
           physical id: 0
           bus info: pci@0000:03:00.0
           logical name: eth1
           version: 12
           serial: 00:23:54:65:d4:99
           capacity: 1Gbit/s
           width: 64 bits
           clock: 33MHz
           capabilities: pm vpd msi pciexpress bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
           configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.28 firmware=N/A latency=0 link=no multicast=yes port=twisted pair
           resources: irq:47 memory:fe8fc000-fe8fffff ioport:b800(size=256) memory:fe8c0000-fe8dffff
    I also up dated to 11.10 but still no WIFI had it working before on 11.10
    on and another computer that used the 11.10 live disk

  10. #10
    Join Date
    Feb 2012
    Beans
    12

    Re: Need help compiling and installing wireless driver in 11.04

    Any body got any more ideas how to get it working? I been looking at some of the other posts and few are having issue with this same chip set but they are having black listing problems could I be having the same issue?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •