Announcement

Collapse
No announcement yet.

TEW-423PI wireless not working + sound screwy

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

    TEW-423PI wireless not working + sound screwy

    I own the following wireless adapter http://www.trendnet.com/products/pro...W-423PI&cat=84

    I cannot get this to work in Kubuntu although the chipset is RealTek 8185, linux drivers are offered on RealTeks website. I tried doing what the instructions told me ./makedrv but it came up with errors. Shouldn't I just be able to install it, it can't be that hard =P

    The next thing is the sound, it has a few issues, namely it's not coming out correctly. It sounds garbled and static-e even though Windows runs it perfectly. My mobo is http://www.biostar.com.tw/app/en-us/...t.php?S_ID=346 and has onboard audio in the form of Realtek ALC662...... so how would I install the linux drivers from their website instead of using the native ones that came with Kubuntu?

    Can you help me?

    Also do I need to install any sort of drivers for the processor, etc... anyway thankx and I tried PCLinuxOS but it didn't even load! If I can manage to get the wireless adapter and sound working properly that would make me keep Kubuntu

    #2
    Re: TEW-423PI wireless not working + sound screwy

    if you installed a stock version of kubuntu you don't have everything needed to compile. go to adept manager (Kmenu ->system ->adept manager), search for build-essential and then r click on it to request install, then click apply changes at the top of the page. then you should be able to ./make etc.

    i'm not sure how to fix your sound problem. check the sound settings at kmenu -> system settings -> sound system.

    good luck.

    Comment


      #3
      Re: TEW-423PI wireless not working + sound screwy

      Unfortunately I've done this, I see absolutely nothing called build-essential or build.

      I just downloaded Kubuntu 8.04 KDE4 Remix so can't understand this... Let me see here... I have no internet connection to update the repository so how else can I get around this?

      Ugh, I just ran sudo apt-get install build-essential and it came back with package not found. Exactly how can I install it when I have no internet to update Adept? I'll go look for a download I guess.

      ------- Update --------

      I managed to find out you need to install the build-essentials package off the CD. Apparently they don't include it with initial installation. That only leaves me with a few things... I DID install it properly using this:

      sudo apt-cdrom add
      sudo aptitude update
      sudo aptitude install build-essential

      Now when I try running ./makedrv it tells me "permission denied". I'm like wtf I copied it there I'm the owner, so I tried su or sudo, when I run sudo it just shows junk and stuff, when I do su it asks for my password (so I can gain administrator access?) and I type it, but then it tells me "authentication failure". I'm like wtf there's no other password but mine on here, give me a break I can't run a simple ./makedrv command.

      Any ideas?

      -------------------- Next Update -------------

      I've just come from the RealTek website, it claims the linux driver there is only for kernel 2.6.22 so would that work with this version of Kubuntu? Is there a newer one I can get or can I just use ndiswrapper, how would I install ndiswrapper and use that?

      Ugh.... still humm, maybe I can try installing the soundcard drivers now see if that works, bye :S

      ------------ Update again ------------------

      I got it to work! I guess extracting it manually without using the command is why it kept giving me a permission error, who knows. So I did it through terminal this time and it compiled, but it didn't fully install (possibly because it's the wrong kernal?) Here's what I got:

      sam@Office-PC:~/wireless$ ./makedrv
      ./ieee80211/
      ./ieee80211/ieee80211_module.c
      ./ieee80211/ieee80211_rx.c
      ./ieee80211/tags
      ./ieee80211/Makefile
      ./ieee80211/ieee80211_crypt_tkip.c
      ./ieee80211/ieee80211_softmac.c
      ./ieee80211/readme
      ./ieee80211/ieee80211_crypt_ccmp.c
      ./ieee80211/ieee80211.h
      ./ieee80211/ieee80211_tx.c
      ./ieee80211/ieee80211_softmac_wx.c
      ./ieee80211/ieee80211_crypt.h
      ./ieee80211/ieee80211_wx.c
      ./ieee80211/license
      ./ieee80211/ieee80211_crypt_wep.c
      ./ieee80211/ieee80211_crypt.c
      rtl8185/
      rtl8185/README.adhoc
      rtl8185/r8180_sa2400.h
      rtl8185/Makefile
      rtl8185/copying
      rtl8185/README.master
      rtl8185/r8180.h
      rtl8185/install
      rtl8185/r8180_max2820.h
      rtl8185/r8180_max2820.c
      rtl8185/r8180_rtl8225.h
      rtl8185/r8180_wx.h
      rtl8185/authors
      rtl8185/tags
      rtl8185/r8180_pm.c
      rtl8185/r8180_hw.h
      rtl8185/r8180_gct.c
      rtl8185/r8180_gct.h
      rtl8185/r8180_rtl8225.c
      rtl8185/readme
      rtl8185/r8180_93cx6.h
      rtl8185/ieee80211.h
      rtl8185/license
      rtl8185/r8180_pm.h
      rtl8185/changes
      rtl8185/r8180_rtl8225z2.c
      rtl8185/r8180_wx.c
      rtl8185/r8180_rtl8255.c
      rtl8185/r8180_93cx6.c
      rtl8185/r8180_sa2400.c
      rtl8185/r8180_core.c
      rtl8185/r8180_rtl8255.h
      rtl8185/ieee80211_crypt.h
      rm -f *.mod.c *.mod *.o .*.cmd *.ko
      rm -rf /home/sam/wireless/ieee80211/tmp
      make -C /lib/modules/2.6.24-19-generic/build M=/home/sam/wireless/ieee80211 CC=gcc modules
      make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
      CC [M] /home/sam/wireless/ieee80211/ieee80211_softmac.o
      /home/sam/wireless/ieee80211/ieee80211_softmac.c: In function ‘ieee80211_softmac_init’:
      /home/sam/wireless/ieee80211/ieee80211_softmac.c:2236: warning: assignment from incompatible pointer type
      /home/sam/wireless/ieee80211/ieee80211_softmac.c:2237: warning: assignment from incompatible pointer type
      /home/sam/wireless/ieee80211/ieee80211_softmac.c:2238: warning: assignment from incompatible pointer type
      /home/sam/wireless/ieee80211/ieee80211_softmac.c:2239: warning: assignment from incompatible pointer type
      /home/sam/wireless/ieee80211/ieee80211_softmac.c:2240: warning: assignment from incompatible pointer type
      /home/sam/wireless/ieee80211/ieee80211_softmac.c:2241: warning: assignment from incompatible pointer type
      CC [M] /home/sam/wireless/ieee80211/ieee80211_rx.o
      CC [M] /home/sam/wireless/ieee80211/ieee80211_tx.o
      CC [M] /home/sam/wireless/ieee80211/ieee80211_wx.o
      CC [M] /home/sam/wireless/ieee80211/ieee80211_module.o
      CC [M] /home/sam/wireless/ieee80211/ieee80211_softmac_wx.o
      CC [M] /home/sam/wireless/ieee80211/ieee80211_crypt.o
      CC [M] /home/sam/wireless/ieee80211/ieee80211_crypt_ccmp.o
      /home/sam/wireless/ieee80211/ieee80211_crypt_ccmp.c: In function ‘ieee80211_ccmp_aes_encrypt’:
      /home/sam/wireless/ieee80211/ieee80211_crypt_ccmp.c:88: warning: passing argument 1 of ‘crypto_cipher_encrypt_one’ fromincompatible pointer type
      /home/sam/wireless/ieee80211/ieee80211_crypt_ccmp.c: In function ‘ieee80211_ccmp_init’:
      /home/sam/wireless/ieee80211/ieee80211_crypt_ccmp.c:110: warning: assignment from incompatible pointer type
      /home/sam/wireless/ieee80211/ieee80211_crypt_ccmp.c:127: warning: passing argument 1 of ‘crypto_free_cipher’ from incompatible pointer type
      /home/sam/wireless/ieee80211/ieee80211_crypt_ccmp.c: In function ‘ieee80211_ccmp_deinit’:
      /home/sam/wireless/ieee80211/ieee80211_crypt_ccmp.c:144: warning: passing argument 1 of ‘crypto_free_cipher’ from incompatible pointer type
      /home/sam/wireless/ieee80211/ieee80211_crypt_ccmp.c: In function ‘ieee80211_ccmp_set_key’:
      /home/sam/wireless/ieee80211/ieee80211_crypt_ccmp.c:422: warning: passing argument 1 of ‘crypto_cipher_setkey’ from incompatible pointer type
      CC [M] /home/sam/wireless/ieee80211/ieee80211_crypt_tkip.o
      /home/sam/wireless/ieee80211/ieee80211_crypt_tkip.c: In function ‘ieee80211_tkip_encrypt’:
      /home/sam/wireless/ieee80211/ieee80211_crypt_tkip.c:417: error: ‘struct scatterlist’ has no member named ‘page’
      /home/sam/wireless/ieee80211/ieee80211_crypt_tkip.c: In function ‘ieee80211_tkip_decrypt’:
      /home/sam/wireless/ieee80211/ieee80211_crypt_tkip.c:511: error: ‘struct scatterlist’ has no member named ‘page’
      /home/sam/wireless/ieee80211/ieee80211_crypt_tkip.c: In function ‘michael_mic’:
      /home/sam/wireless/ieee80211/ieee80211_crypt_tkip.c:613: error: ‘struct scatterlist’ has no member named ‘page’
      /home/sam/wireless/ieee80211/ieee80211_crypt_tkip.c:617: error: ‘struct scatterlist’ has no member named ‘page’
      make[2]: *** [/home/sam/wireless/ieee80211/ieee80211_crypt_tkip.o] Error 1
      make[1]: *** [_module_/home/sam/wireless/ieee80211] Error 2
      make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
      make: *** [modules] Error 2
      rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
      rm -rf /home/sam/wireless/rtl8185/tmp
      make -C /lib/modules/2.6.24-19-generic/build M=/home/sam/wireless/rtl8185 CC=gcc modules
      make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
      CC [M] /home/sam/wireless/rtl8185/r8180_core.o
      /home/sam/wireless/rtl8185/r8180_core.c: In function ‘rtl8180_proc_module_init’:
      /home/sam/wireless/rtl8185/r8180_core.c:588: error: ‘proc_net’ undeclared (first use in this function)
      /home/sam/wireless/rtl8185/r8180_core.c:588: error: (Each undeclared identifier is reported only once
      /home/sam/wireless/rtl8185/r8180_core.c:588: error: for each function it appears in.)
      /home/sam/wireless/rtl8185/r8180_core.c: In function ‘rtl8180_proc_module_remove’:
      /home/sam/wireless/rtl8185/r8180_core.c:594: error: ‘proc_net’ undeclared (first use in this function)
      /home/sam/wireless/rtl8185/r8180_core.c: In function ‘rtl8180_init’:
      /home/sam/wireless/rtl8185/r8180_core.c:3159: warning: assignment from incompatible pointer type
      /home/sam/wireless/rtl8185/r8180_core.c:3522: error: ‘SA_SHIRQ’ undeclared (first use in this function)
      /home/sam/wireless/rtl8185/r8180_core.c:3522: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
      /home/sam/wireless/rtl8185/r8180_core.c: In function ‘rtl8180_pci_probe’:
      /home/sam/wireless/rtl8185/r8180_core.c:4213: error: implicit declaration of function ‘SET_MODULE_OWNER’
      make[2]: *** [/home/sam/wireless/rtl8185/r8180_core.o] Error 1
      make[1]: *** [_module_/home/sam/wireless/rtl8185] Error 2
      make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
      make: *** [modules] Error 2
      sam@Office-PC:~/wireless$ ./wlan0up
      insmod: can't read 'ieee80211_crypt-rtl.ko': No such file or directory
      insmod: can't read 'ieee80211_crypt_wep-rtl.ko': No such file or directory
      insmod: can't read 'ieee80211_crypt_tkip-rtl.ko': No such file or directory
      insmod: can't read 'ieee80211_crypt_ccmp-rtl.ko': No such file or directory
      insmod: can't read 'ieee80211-rtl.ko': No such file or directory
      insmod: can't read 'r8180.ko': No such file or directory
      wlan0: ERROR while getting interface flags: No such device

      Comment


        #4
        Re: TEW-423PI wireless not working + sound screwy

        Solved!

        I have figured out how to install my wireless drivers!

        I followed this tutorial https://help.ubuntu.com/community/Wi...er/Ndiswrapper

        Basically I had to ignore using the GUI for ndiswrapper because it had some dependency issues, I ended up using Terminal to setup the rest of it.

        So easy! Just go into Adept, install ndiswrapper with the ndiswrapper-util package. Once done it's installed, you will need to first add the repositories from the CD though using:

        sudo apt-cdrom add

        That will then add them, once done leave it in and use Adept to actually install the those packages. You'll need the XP driver you have though and using that you can get things up and running!

        Now I'll just have to hope soundcard works better with an update or something!!!!

        Comment


          #5
          Re: TEW-423PI wireless not working + sound screwy

          Hey now that it runs using the initiate commands how about telling me how to autostart it, right now I tried these but they have no effect, observe:


          kdesu /usr/lib/kde4/bin/kate /etc/modules
          editing it I add ndiswrapper to the end, supposedly to start the wireless adapter at boot =P nothing happens!

          Since I use these to initiate it in Terminal I thought why not add those to it instead, but no dice. Still nothing at startup.

          sudo depmod -a
          sudo modprobe ndiswrapper

          So why won't it start at boot? ugh

          but the

          Comment

          Working...
          X