Find the answer to your Linux question:
Results 1 to 5 of 5
So at the moment my Windows has died and I'm running an old disc of Ubuntu 7.04 until I can get it fixed. I have about an hour's worth of ...
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    3

    Two 7.04 questions...

    So at the moment my Windows has died and I'm running an old disc of Ubuntu 7.04 until I can get it fixed. I have about an hour's worth of Linux experience, to give you an idea :P

    First question is about my wireless card. It's a DLink DWA-140, I've tried looking around for the drivers but I can't seem to find anything. It doesn't come up in the wireless card list either.

    Second one's about Wine. I downloaded the latest Wine, and the readme told me to run /tools/wineinstall, I ran that from Nautilus first and nothing happened. When I ran it through Terminal, it told me I was 'missing the wine package'.

    Any help with either two problems is appreciated

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    For the wireless, is that a USB wireless adapter? Plug it in and post the output of
    Code:
    lsusb
    For wine, I'm really not sure about installing on such an old Ubuntu. There is this, but no guarantees.

    Really, you should update to a current Ubuntu release if at all possible. 7.04 reached end of life almost 3 years ago.

  3. #3
    Just Joined!
    Join Date
    Feb 2011
    Posts
    3
    Quote Originally Posted by reed9 View Post
    For the wireless, is that a USB wireless adapter? Plug it in and post the output of
    Code:
    lsusb
    For wine, I'm really not sure about installing on such an old Ubuntu. url snipped for low post count, but no guarantees.

    Really, you should update to a current Ubuntu release if at all possible. 7.04 reached end of life almost 3 years ago.
    I found it in the lsusb list, here's the line:

    Code:
    Bus 007 Device 004: ID 07d1:3c09 D-Link System
    And yeah, it's a USB wireless adapter.

    As for Wine, I think I'll ignore it for now. I might come back to that later, thanks for the link anyway :P

  4. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    The rt2870sta driver should work for you card.
    ubuntu_rt2870sta / FrontPage

    Whether it builds on 7.04 or not, I don't know.

    Otherwise, you may be able to get it working with ndiswrapper and the windows xp or older driver.

  5. #5
    Just Joined!
    Join Date
    Feb 2011
    Posts
    3
    Quote Originally Posted by reed9 View Post
    The rt2870sta driver should work for you card.
    linksnip
    Eh, when I ran the 'sudo make' and 'sudo make install' commands, I got these errors:

    Code:
    root@ubuntu:/home/2010_0709_RT2870_Linux_STA_v2.4.0.1# sudo make
    make -C tools
    make[1]: Entering directory `/home/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools'
    gcc -g bin2h.c -o bin2h
    subin2h.c:28:19: error: stdio.h: No such file or directory
    bin2h.c:29:20: error: string.h: No such file or directory
    bin2h.c:30:20: error: stdlib.h: No such file or directory
    bin2h.c: In function ‘main’:
    bin2h.c:34: error: ‘FILE’ undeclared (first use in this function)
    bin2h.c:34: error: (Each undeclared identifier is reported only once
    bin2h.c:34: error: for each function it appears in.)
    bin2h.c:34: error: ‘infile’ undeclared (first use in this function)
    bin2h.c:34: error: ‘outfile’ undeclared (first use in this function)
    bin2h.c:42: warning: incompatible implicit declaration of built-in function ‘memset’
    bin2h.c:49: warning: incompatible implicit declaration of built-in function ‘printf’
    bin2h.c:54: warning: incompatible implicit declaration of built-in function ‘printf’
    bin2h.c:57: warning: incompatible implicit declaration of built-in function ‘strcat’
    bin2h.c:69: error: expected expression before ‘)’ token
    bin2h.c:71: warning: incompatible implicit declaration of built-in function ‘printf’
    bin2h.c:76: error: expected expression before ‘)’ token
    bin2h.c:78: warning: incompatible implicit declaration of built-in function ‘printf’
    bin2h.c:146: warning: incompatible implicit declaration of built-in function ‘sprintf’
    bin2h.c:155: warning: incompatible implicit declaration of built-in function ‘exit’
    make[1]: *** [all] Error 1
    make[1]: Leaving directory `/home/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools'
    make: *** [build_tools] Error 2
    root@ubuntu:/home/2010_0709_RT2870_Linux_STA_v2.4.0.1# sudo make install
    make -C /home/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux -f Makefile.6 install
    make[1]: Entering directory `/home/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux'
    rm -rf /etc/Wireless/RT2870STA
    mkdir /etc/Wireless/RT2870STA
    cp /home/2010_0709_RT2870_Linux_STA_v2.4.0.1/RT2870STA.dat /etc/Wireless/RT2870STA/.
    install -d /lib/modules/2.6.20-15-generic/kernel/drivers/net/wireless/
    install -m 644 -c rt2870sta.ko /lib/modules/2.6.20-15-generic/kernel/drivers/net/wireless/
    install: cannot stat `rt2870sta.ko': No such file or directory
    make[1]: *** [install] Error 1
    make[1]: Leaving directory `/home/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux'
    make: *** [install] Error 2
    Aaaaand obviously I have no idea what that means :P
    Any ideas for that, or is it just incompatible with 7.04?

Posting Permissions

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