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

Thread: Trying to compile driver

  1. #1

    Default Trying to compile driver

    Hello,

    Im new to OpenSuse and i'm trying to install a driver for my wifi, i have compiled this driver before succesfully on Ubuntu but it won't work in OpenSuse:

    My laptop:

    Fujitsu Siemens Amilo L1310G
    Intel Celeron M 1.6 Ghz
    Some atheros wlan card
    512MB Ram

    My laptop uses a software based button for activating wireless on the laptop. Thats the application wich im trying to compile.

    My steps:

    1. Downloaded to tar package.
    2. Extracted it by doing "tar xvjf fsaa1655g.tar.bz2"
    3. cd fsaa1655g
    4. make

    This is my output:

    Code:
    jurgen@linux:~> su
    Password:
    linux:/home/jurgen # cd fsaa1655g/
    linux:/home/jurgen/fsaa1655g # make
    make -C /lib/modules/2.6.22.18-0.2-default/build SUBDIRS=/home/jurgen/fsaa1655g modules
    make[1]: Entering directory `/usr/src/linux-2.6.22.18-0.2-obj/i386/default'
    make[1]: *** No rule to make target `modules'.  Stop.
    make[1]: Leaving directory `/usr/src/linux-2.6.22.18-0.2-obj/i386/default'
    make: *** [default] Error 2
    linux:/home/jurgen/fsaa1655g #
    I installed every GCC package possible in the package manager and make command aswell.

    Hope some Suse Guru can help me thanks in advance,

    Jurgen

  2. #2
    Join Date
    Mar 2008
    Location
    Kentucky
    Posts
    1,126

    Default Re: Trying to compile driver

    Quote Originally Posted by MasthaX View Post
    Hello,

    Im new to OpenSuse and i'm trying to install a driver for my wifi, i have compiled this driver before succesfully on Ubuntu but it won't work in OpenSuse:

    My laptop:

    Fujitsu Siemens Amilo L1310G
    Intel Celeron M 1.6 Ghz
    Some atheros wlan card
    512MB Ram

    My laptop uses a software based button for activating wireless on the laptop. Thats the application wich im trying to compile.

    My steps:

    1. Downloaded to tar package.
    2. Extracted it by doing "tar xvjf fsaa1655g.tar.bz2"
    3. cd fsaa1655g
    4. make

    This is my output:

    Code:
    jurgen@linux:~> su
    Password:
    linux:/home/jurgen # cd fsaa1655g/
    linux:/home/jurgen/fsaa1655g # make
    make -C /lib/modules/2.6.22.18-0.2-default/build SUBDIRS=/home/jurgen/fsaa1655g modules
    make[1]: Entering directory `/usr/src/linux-2.6.22.18-0.2-obj/i386/default'
    make[1]: *** No rule to make target `modules'.  Stop.
    make[1]: Leaving directory `/usr/src/linux-2.6.22.18-0.2-obj/i386/default'
    make: *** [default] Error 2
    linux:/home/jurgen/fsaa1655g #
    I installed every GCC package possible in the package manager and make command aswell.

    Hope some Suse Guru can help me thanks in advance,

    Jurgen
    Do you have kernel-source & kernel-syms installed?
    they must match your running kernel "uname -a"
    install with Yast & then also run Online Update if you don't have them (to get them to match
    also a good idea while you are in Yast to do Patterns > C/C++ and install all that too.

    If that doesn't help get back & someone will try to help
    Desktop Asus X-99 Viper. uefi & secure Boot, Win10, Leap 15.1; Laptop: ASUS GL752VW Optimus, uefi+Secure Boot, Win10, Leap 15.1 & T-weed and IMac

  3. #3
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,108
    Blog Entries
    40

    Default Re: Trying to compile driver

    Quote Originally Posted by MasthaX View Post
    Im new to OpenSuse and i'm trying to install a driver for my wifi, i have compiled this driver before succesfully on Ubuntu but it won't work in OpenSuse:

    My laptop:

    Fujitsu Siemens Amilo L1310G
    Welcome to openSUSE.

    I downloaded and looked at the tarball you referenced. That tarball is very old, and I doubt it will work as built.

    I recommend instead you find the MS-Windows (winXP) drivers for that laptop, and try the ndiswrapper.

    I can't help re: the ndiswrapper, but there are others on this forum who can. Here are some links to a couple of stickies to get you started:
    Welcome - openSUSE Forums
    Additional wireless bits - openSUSE Forums

  4. #4

    Default Re: Trying to compile driver

    The tarball may be very old, and its not for the wifi card itself, its for turning on the radio of my wifi card, its a ****** laptop when it comes to drivers (even in Windows) but i've tried to download the kernel-source and kernel-syms but it says they're not available, by the way, i am using OpenSuse 10.3, i used 11 but it didnt quite work on my laptop (very slow boot and lots of other problems)

    edit: think my internet connection dropped, can't even visit websites, i'll keep you informed.

  5. #5
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,108
    Blog Entries
    40

    Default Re: Trying to compile driver

    Quote Originally Posted by MasthaX View Post
    t i've tried to download the kernel-source and kernel-syms but it says they're not available, by the way, i am using OpenSuse 10.3
    They should be there for openSUSE-10.3.

    I'm typing this from an openSUSE-10.3 PC, and I have those two rpms.

  6. #6

    Default Re: Trying to compile driver

    Yeah well, i've been expierencing lots of problems, my keyboard stopped working all of a sudden, i solved this by adding NOACPI to grub, and my network connection seems to be up, i recieve IP and everything but i can't browse webpages or ping my local computers.

    edit: well now i am finally installing the kernel-source and kernel-syms some weird stuff is going on, also my USB mouse just stopped working, but i still got my touchpad wich is working now.

  7. #7

    Default Re: Trying to compile driver

    OK, well i've installed a newly compiled Madwifi, and i am able to see networks but i can't connect because the radio isn't turned on. according to the Ubuntu docs it should be like this:

    This is what i did:

    Code:
    jurgen@linux:~/fsaa1655g> su
    Password:
    linux:/home/jurgen/fsaa1655g # make
    make -C /lib/modules/2.6.22.18-0.2-default/build SUBDIRS=/home/jurgen/fsaa1655g modules
    make[1]: Entering directory `/usr/src/linux-2.6.22.18-0.2-obj/i386/default'
    make -C ../../../linux-2.6.22.18-0.2 O=../linux-2.6.22.18-0.2-obj/i386/default modules
      Building modules, stage 2.
      MODPOST 1 modules
    make[1]: Leaving directory `/usr/src/linux-2.6.22.18-0.2-obj/i386/default'
    linux:/home/jurgen/fsaa1655g # make install
    su -c "install -d /lib/modules/2.6.22.18-0.2-default/kernel/net/wireless/ && install -m 644 -c fsaa1655g.ko /lib/modules/2.6.22.18-0.2-default/kernel/net/wireless/ && /sbin/depmod -a"
    linux:/home/jurgen/fsaa1655g #
    This should be ok because there are no errors?

    next up there should be a file in /etc/modprobe.d/ that is called options.

    There isn't any so i created a new one, as i can remember from Ubuntu, there isn't anything else in the file only:

    Code:
    options ath_pci rfkill=0
    
    options fsaa1655g radio=1
    Next up i should add fsaa1655g to the /etc/modules file, but the file doesn't exist in OpenSuse (in Ubuntu it does)

    So.. Where is the modules file located? or what do i have to change?

    Thanks

  8. #8

    Default Re: Trying to compile driver

    What am i doing wrong? I'm beginning to get really pissed off, sometimes my mousepad and keyboard work, sometimes not when i boot with the noacpi option in grub my keyboard and mousepad seem to work, but my network connection doesn't (allthough i get an IP-address and gateway) is there some major fix for it?

  9. #9
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,108
    Blog Entries
    40

    Default Re: Trying to compile driver

    Quote Originally Posted by MasthaX View Post
    What am i doing wrong? I'm beginning to get really pissed off, sometimes my mousepad and keyboard work, sometimes not when i boot with the noacpi option in grub my keyboard and mousepad seem to work, but my network connection doesn't (allthough i get an IP-address and gateway) is there some major fix for it?
    Where did you get your openSUSE-10.3 CD/DVD from?

    I think you may have a bad install, or even have a failing hard drive (or bad memory). What have you done to check your hardware is still good?

    Also, reference your openSUSE-10.3, ... prior to your installing it, did you do an md5sum check comparing:
    a. md5sum of .iso file of openSUSE-10.3 listed on openSUSE web site against,
    b. md5sum of .iso file as downloaded on your harddrive against,
    c. md5sum of data on your DVD when re-extracted to an .iso ?

    alternatively, did you run the "media" check in the installation CD/DVD initial menu (its one of the "Fx" options)?

  10. #10
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,108
    Blog Entries
    40

    Default Re: Trying to compile driver

    Quote Originally Posted by MasthaX View Post
    sometimes my mousepad and keyboard work, sometimes not when i boot with the noacpi option in grub my keyboard and mousepad seem to work, but my network connection doesn't
    I've read about this sort of acpi behaviour with some users's laptops.

    Why not surf on your laptop model and see what you can learn?

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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