Ubuntu :: How To Achieve Building Driver And Installing It
May 27, 2010
i downloaded madwifi0.9.4 because my laptop has an atheros wifi card sadly i am new to linux so do not understand how to build a driver and just downloaded the software add-on windows wireless drivers but could not find an inf file then i see i have to build the thing myself from the kernel. well i am a win7 user wanting desperately to only have to use windows for playing games and do all my work on something more secure and would like to be able to use my laptop in a coffee shop etc.
View 6 Replies
ADVERTISEMENT
Sep 4, 2011
I'm fairly new to Linux. I am trying to build and install the drivers for the ASUS USB-N10 wlan usb dongle, using the newest drivers from the Realtek website. I've never used make before on Linux and am running into what are probably some pretty basic problems, but I'm not sure where to look for the answers. I used aptitude to install the "make" and "build-essential" packages. I unpacked the drivers using Archive Manager. I changed to the driver directory and ran "make". It stopped with "No such file or directory." I became superuser and ran make, in case it had permission problems when creating the directory.
Here are the results.
obie@four:~/realtek/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20110401/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20110401$ make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/2.6.32-5-686/build M=/home/obie/realtek/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20110401/driver/rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20110401 modules
make: *** /lib/modules/2.6.32-5-686/build: No such file or directory. Stop.
make: *** [modules] Error 2 .....
I haven't modified the makefile in any way -- it is the same as what I downloaded. I've read posts from other users who have compiled and installed the drivers on Ubuntu with no problem.
The contents of the directory I'm in when I run make are as follows:
drwxrwxrwx 21 obie obie 4096 Apr 1 03:25 .
drwx------ 3 obie obie 4096 Sep 3 22:43 ..
-rwx------ 1 obie obie 3479 Apr 1 03:25 autoconf_rtl8712_usb_linux.h
-rwx------ 1 obie obie 151 Apr 1 03:25 clean
drwxrwxrwx 2 obie obie 4096 Apr 1 03:25 cmd
-rwx------ 1 obie obie 516 Apr 1 03:25 config
drwxrwxrwx 2 obie obie 4096 Apr 1 03:25 crypto
drwxrwxrwx 2 obie obie 4096 Apr 1 03:25 debug .....
View 4 Replies
View Related
Jun 5, 2011
I have been trying to build the HP Qlogic Netxen, nx_nic, driver on Ferdora13 kernel 2.6.33 but facing with "missing kernel-devel package" errors. As per the instructions in the driver spec, when i try to do rpm build, i get this error. I tried the rpm build installing kernel-devel-i686 pkg but it only shoots back with
error: Failed build dependencies:
kernel-devel-i586 = package is needed by hp-nx_nic-4.0.544-2.src
But when I installed kernel-devel-i586 pkg for kernel 2.6.30 the rpm build continued beyond this error point only to give some other RPM build error atleast to say there was no missing kernel-devel pkg error. Has anybody come across any such error with any other driver? or nx_nic in specific? Does this error mean kernel-devel-i586 a MUST for this driver? As far as I know there is no -i586 pkg for kernel 2.6.33 when i searched in kernel-devel repository! I am not sure, if this forum is right place for posting this question. If not, pls re-direct me to the right one.
View 1 Replies
View Related
Oct 10, 2010
I am attempting to install the Linuxant ALSA driver to make my sound work properly (speakers muting when headphones plugged in). This worked on Lucid, but on Maverick the installation fails at the "building modules" stage. It directs me to a logfile, which I have reproduced here:
Code:
rm -f .depend *.o snd.map*
rm -f modules/*.o modules/*.ko
rm -f *~ out.txt *.orig *.rej .#* .gdb_history
rm -f doc/*~
rm -f config.cache config.log config.status Makefile.conf
rm -f utils/alsa-driver.spec .....
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
make: *** [compile] Error 2
The package partially installed I have no sound at all. I have kernel headers and every related -dev package I can think of installed. I'm running 64-bit; could that be an issue?
View 3 Replies
View Related
Feb 24, 2010
Apparently, the wireless adapter Realtek 8171 uses the rtl8192se driver, which is currently available only as source from Realtek's website. Is building a driver equal to building a package? Should I follow the same cautions, say these ones?
View 9 Replies
View Related
Dec 17, 2010
I am trying to build the ATI fglrx 10.12 driver using the ATI installer on debian Squeeze 64bit.
Todo this I run the following command:
./ati-driver-installer-10-12-x86.x86_64.run --buildpkg Debian/testing
Which produces this output:
Created directory fglrx-install.oFbosX
Verifying archive integrity... All good.
Uncompressing ATI Catalyst(TM) Proprietary Driver-8.801
Generating package: Debian/testing
cp: cannot stat `/home/nojan/Downloads/fglrx-install.oFbosX/x710_64a/*': No such file or directory
Package build failed!
Package build utility output: .....
dh_install: Compatibility levels before 5 are deprecated.
cp: cannot stat `./usr/X11R6/lib64/modules/linux': No such file or directory
dh_install: cp -a ./usr/X11R6/lib64/modules/linux debian/fglrx-driver/usr/lib/xorg/modules/ returned exit code 1
make: *** [binary] Error 2
dpkg-buildpackage: error: debian/rules binary gave error exit status 2
Removing temporary directory: fglrx-install.oFbosX
As you can see it fails during the build.
View 10 Replies
View Related
May 17, 2010
I am fairly new to Linux and have been striking hassles with my AWUS036H (RTL8187) under Debian Lenny. The standard (built in) driver works but reception is pathetic compared to the same card under Backtrack 4 or even Windows 7. I have tried to build drivers which I got from the Alfa website, the Realtek website and also the Linux Wireless project page. All of them fail during Make with an Error 2. I don't have the error in front of me (had to go back to Windows for the moment) but it is identical to the one this guy gets:
darkReaction:/home/georanson# cd /home/georanson/Desktop/Downloads/ndiswrapper-1.52
darkReaction:/home/georanson/Desktop/Downloads/ndiswrapper-1.52# make
make -C driver
make[1]: Entering directory '/home/georanson/Desktop/Downloads/ndiswrapper-1.52/driver'
Makefile:35: *** Cannot find kernel version in /lib/modules/2.6.18-6-686/build, is it configured?. Stop.
make[1]: Leaving directory '/home/georanson/Desktop/Downloads/ndiswrapper-1.52/driver'
make: *** [all] Error 2
I get the error 2 code and the reference to "kernel version".
View 5 Replies
View Related
Jul 14, 2010
I recently bought a pci multi io card to give my pc 2 parallel ports. For Linux, Moschip supply the source plus makefile and instructions. I ran make as root and got an error message
make: *** /lib/modules/2.6.31.12-0.2-desktop/build/: No such file or directory. So I created a folder called build in /lib/modules/2.6.31.12-0.2-desktop but that isn't good enough as I still get an error cannot make target modules. So I assume there must be something in the build folder. So what packages do I have to install to get the correct environment to be able to build the driver? Has anyone done this and can supply the driver for 11.2?
View 9 Replies
View Related
Jan 25, 2011
I got openSUSE installed, and now am trying to build my wireless driver, using the instructions here: [URL].
The wireless driver is here:
Broadcom.com - 802.11 Linux STA driver
NOTES:
- The (parenthesis: ) are my notes to show you what I was doing.
- Lines with "#" before them are what I typed into Terminal.
- Lines below (Output: ) are what was output by Terminal.
Code:
(run in su:)
lspci -n | grep 14e4
(output:)
04:00.0 0280: 14e4:4727 (rev 01)
(BUILD DRIVER:)
#su
<password>
# mkdir hybrid_wl
# cd hybrid_wl
# tar xzf <path>/hybrid-portsrc_x86-32_v5.100.82.38.tar.gz
# make
(output:)
if 'make' is not a typo you can use command-not-found to lookup the package that contains it, cnf make
(NOTE: with "cnf" it is saying "Cannot Find")
(install "make" command:)
# zypper in -t pattern devel_basis
(It installs 93 packages)
# make
(output:)
kbuild_nopedantic=1 make -C /lib/modules/`uname -r` /build M=`pwd`
make: *** /lib/modules/2.6.34-12-desktop/build: No such file or directory. Stop.
make: *** [all] Error 2
(Tried:)
# zypper in kernel-source
(It installed 3 more packages)
# make
(output:)
kbuild_nopedantic=1 make -C /lib/modules/`uname -r` /build M=`pwd`
make: *** /lib/modules/2.6.34-12-desktop/build: No such file or directory. Stop.
make: *** [all] Error 2
The problem might be derived from the fact I had to install openSUSE in Kernel (F6) > Safe Mode. If I need to install more things, please let me know ASAP! I am wired to my ethernet until then, which means I can't move from this spot until my wireless is working!
View 9 Replies
View Related
Jun 13, 2010
I have a video I want to convert to another video format that's similar to another video. The video's properties and codecs as follows:
Code:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Vid.mp4':
Duration: 00:02:35.80, start: 0.000000, bitrate: 1731 kb/s
Audio: adpcm_ima_wav, 22050 Hz, stereo, s16
Video: mjpeg, yuvj420p, 128x128 [PAR 1:1 DAR 1:1], 30 tbr, 30 tbn, 30 tbc
View 1 Replies
View Related
Apr 29, 2010
copy old backups from 600+ CD/DVD media to a hard disk. Machine: A desktop with 4 DVD drivers, mainboard has 4 SATA conectors and only one PATA conector. My questions are:
1. What tuning can I do to the kernel on a Ubuntu Lucid Desktop to achieve maximum IO to dd/cp/rsync/whatever those medias to hd?
2. What's the best scenario regarding HD/DVD drive connections to mainboard regarding IO/throughput?
The intention is to insert 4 medias at a time and copy them all in parallel to a local hard disk.
View 2 Replies
View Related
Jul 19, 2010
I need to do the following things and googling didn't help much:
1.mount a volume(or windows share, whatever) into a non empty folder
2.both the original content of the folder and the content of the newly mounted volume is accessible
3.updated and newly created files can be written to the mounted volume or the original folder determined by something like a switch at mount time
4.if files with same names exist both in the folder and on the volume, then which file to be presented to the OS is determined by their last modified date/time.
any one can give a walk-through on how to achieve this?
View 5 Replies
View Related
Jul 30, 2011
How to achieve interrupts
any sources available apart from kernel code which show the usage of code...
View 2 Replies
View Related
Jun 6, 2010
What GNOME does with pendrives does surprise me. It not only umounts the partitions, but also shuts the device down and turns off the power light. How do I achieve the same effect with CLI? I've tried eject but it does not cut power.
View 10 Replies
View Related
Aug 19, 2011
I'm working on some code from my computer at home and would like to do CVS updates to a remote server. When I'm at work I don't need to type in a password, but at home each time I need to type in my password each time I do a CVS update. I've followed the instructions here on how to set up a passwordless public/private ssh key pair: [URL].. However, after that I still need to type in my ssh password each time I do CVS update (or anything CVS related) from my local computer.
View 1 Replies
View Related
Sep 12, 2010
I have install fedora12 in a virtual machine (oracle VBox) in a windows vista host (I know aaarg) and i can't have a fullscreen mode for the fedora I don't know, if it is cause additional features are needed for fedora or is something from the VBox and some additional features of it are needed any special arrangment is needed into the operetional parameters of the VBox.
View 2 Replies
View Related
Jan 25, 2011
I have configured /etc/syslog.conf for writing user level log messages, and it is working fine.
The line which i entered is: user.* /home/shekhar/obj/myjob.log
But the log file keeps increasing. I would like to rotate the log file when it reaches 100Kb.
How do i do that in red hat linux ?
View 1 Replies
View Related
Jan 6, 2010
How to achieve this effect of mouse?which function or api?see the imag:http://linux.chinaunix.net/bbs/attac...Z2uSUDstxs.png
View 6 Replies
View Related
Sep 11, 2010
I need to find notes on how to achieve higher screen resolution via Xorg.conf and some other fixes since I just installed the NVIDIA driver... seems out of the box, my resolution is horrid, though theres an added NVIDIA Server and my dual monitors aren't configured to work. I used this tutorial to get the driver installed.
View 9 Replies
View Related
Mar 28, 2011
I'm installing 11.4 as a guest under Citrix's XenServer. The only access to a guest's graphical desktop is via VNC.The problem is that I can't achieve runlevel 5 as X can't find any devices. With 11.3 I was able to run Sax2 and add a dummy screen device to Xorg.conf that it created.When Sax2 was removed from 11.4, what was the fall-back for configuring X?
View 5 Replies
View Related
Apr 7, 2011
I have 2 web servers running apache hosted at 2 data centres on 2 different IP ranges.The 2 servers are an exact clone of each other hosting www.example.com.What I am trying to achieve automatic failover. Say my first data centre gets wiped out, how would customers reach my website on my second server in the second data centre by still typing www.example.com?The aim is for the customer not to notice any difference.
View 3 Replies
View Related
Jan 27, 2011
when i use image magick...in command, use -strip, can remove image's verbose but c++ code, how can i do?
View 1 Replies
View Related
Jul 27, 2010
How can I achieve file consistency while using mmap? I have a block of code that needs synchronized access across processes (not threads). Using threads, one can regulate access to the mmaped portion of the file by locking it using a mutex. How can I achieve the same using different processes, some of which run in different programs?
View 2 Replies
View Related
Jan 13, 2010
Is there anyway in Linux that can achieve atomic increment/decrement for an integer variable without being interrupted? It means that the thread should not chance for other thread to run until theincrement/decrement is completed.
View 11 Replies
View Related
Aug 15, 2011
Having alot of trouble searching for answers as it just pulls up irrelivnent info.I have 2 HDD's id like to show as one virtual disk or mount them both to one folder, but without raid so if i dies the other will be ok. Is this something i can achieve with symbolic links or JBOD raids? or other options ^_^
View 1 Replies
View Related
May 2, 2010
I've used WinSplit Revolution for quite some time on Windows and have become attached to it.I'm now trying out a Linux OS (Ubuntu 10.04) and would really like to get the same functionality back again.After searching on the net I found a "grid" plugin for compiz which says that it was inspired by WinSplit revolution.
I haven't installed the Grid plugin yet, because under the install section on that page, it says "Note that grid is now included in compiz so you're unlikely to need to fetch from git unless you've an old version of compiz", which would seem to suggest that the grid functionality has now been built into compiz somewhere. The thing is, I don't know where to find it in the CompizConfig Settings Manager nor how to set it up. All I want to have happen is that I get identical functionality to WinSplit revolution, where I press Ctrl + Alt + [some numpad key] to position a window on a screen and press Ctrl + Alt + [left or right arrow] to shift a window between dual screens.
View 2 Replies
View Related
Apr 4, 2010
I have a server which time zone is in GMT format. I have a user which is also get time zone variable in GMT. But I want to run script which will start from crontab in EST time zone. For that I�m not suppose to give extra entry in crontab. May be it would be in script.
How can I achieve this?
View 1 Replies
View Related
Feb 7, 2010
how do I achieve the result but here is the story. I have a script which prompts for the IP Address and read that value and validate if reachable. If not then it should keep on prompting until the IP is reachable. I tried using until loop as well as while loop but dang..Here are the codes
#!/bin/bash
IP_Feed () {
echo -n "Give me IP : "
[code]....
View 4 Replies
View Related
Jun 23, 2011
I want to set the HTTP_PROXY and HTTPS_PROXY and http_proxy and FTP_PROXY environment variables "somewhere", so all programs that recognise these can find them. I need root to find them for slackpkg and sbopkg, I need users to find them for Dropbox, I need them for cronjobs and scripts and wget.So I want to set these environment variables up somewhere, preferably something in /etc and have them set and accessible for everyone and everything. I am not using KDE or XFCE or any desktop. I need a command line solution.
Where is the best place to put this? I see that some other distros have a /etc/environment and these variables go in there. In Slackware, should I add them as a new file in /etc/profile.d and have them added every time /etc/profile is accessed? Is there a Slackware approved method that I don't know about?
View 6 Replies
View Related
Dec 14, 2010
I am using ubuntu 10.10, and I have to install win7 alongside for work, but when I inserted the disc, and started setup. It prompted me to insert the proper driver for my dvd drive. I researched the problem, and apparently it's a problem with Driver Signature Enforcement. To get past it, your suposed to reboot, and hit f8 to go to the startup menu, and disable the check drivers option, but in ubuntu I dont get that option, I think f8 opens grub or something. Is their any solution to this problem that you have encountered? I have done research, and I cant find anything,
View 3 Replies
View Related