|
|
#1 |
|
Member [18%]
|
Hello once again, well, yesterday XP crashed on me and I had no way to start Windows so I decided that the best to do was to install Ubuntu. Everything went excellent until I decided to go on the internet. My wireless card doesn't seem to be supported by Linux, that is to say, it recognizes that there's various internet lines but it simply won't log on and it keeps asking me for the password a hundred times.
Anyway, I started reading that this was a common problem, and fortunately there was a solution. However, since I'm just starting to use Linux this wasn't as easy. First I downloaded Ndiswrapper and the necessary driver, and then I started using the terminal to get Ndiswrapper working. I got all this, so I assume that Ndiswrapper is installed: Code:
make[1]: Entering directory `/home/miryr/ndiswrapper-1.56/driver' make -C /usr/src/linux-headers-2.6.31-22-generic M=/home/miryr/ndiswrapper-1.56/driver make[2]: Entering directory `/usr/src/linux-headers-2.6.31-22-generic' LD /home/miryr/ndiswrapper-1.56/driver/built-in.o MKEXPORT /home/miryr/ndiswrapper-1.56/driver/crt_exports.h MKEXPORT /home/miryr/ndiswrapper-1.56/driver/hal_exports.h MKEXPORT /home/miryr/ndiswrapper-1.56/driver/ndis_exports.h MKEXPORT /home/miryr/ndiswrapper-1.56/driver/ntoskernel_exports.h MKEXPORT /home/miryr/ndiswrapper-1.56/driver/ntoskernel_io_exports.h MKEXPORT /home/miryr/ndiswrapper-1.56/driver/rtl_exports.h MKEXPORT /home/miryr/ndiswrapper-1.56/driver/usb_exports.h CC [M] /home/miryr/ndiswrapper-1.56/driver/crt.o CC [M] /home/miryr/ndiswrapper-1.56/driver/hal.o CC [M] /home/miryr/ndiswrapper-1.56/driver/iw_ndis.o CC [M] /home/miryr/ndiswrapper-1.56/driver/loader.o CC [M] /home/miryr/ndiswrapper-1.56/driver/ndis.o CC [M] /home/miryr/ndiswrapper-1.56/driver/ntoskernel.o CC [M] /home/miryr/ndiswrapper-1.56/driver/ntoskernel_io.o CC [M] /home/miryr/ndiswrapper-1.56/driver/pe_linker.o CC [M] /home/miryr/ndiswrapper-1.56/driver/pnp.o CC [M] /home/miryr/ndiswrapper-1.56/driver/proc.o CC [M] /home/miryr/ndiswrapper-1.56/driver/rtl.o CC [M] /home/miryr/ndiswrapper-1.56/driver/wrapmem.o CC [M] /home/miryr/ndiswrapper-1.56/driver/wrapndis.o CC [M] /home/miryr/ndiswrapper-1.56/driver/wrapper.o CC [M] /home/miryr/ndiswrapper-1.56/driver/usb.o CC [M] /home/miryr/ndiswrapper-1.56/driver/divdi3.o LD [M] /home/miryr/ndiswrapper-1.56/driver/ndiswrapper.o Building modules, stage 2. MODPOST 1 modules CC /home/miryr/ndiswrapper-1.56/driver/ndiswrapper.mod.o LD [M] /home/miryr/ndiswrapper-1.56/driver/ndiswrapper.ko make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-22-generic' make[1]: Leaving directory `/home/miryr/ndiswrapper-1.56/driver' make -C utils make[1]: Entering directory `/home/miryr/ndiswrapper-1.56/utils' gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c make[1]: Leaving directory `/home/miryr/ndiswrapper-1.56/utils' miryr@Miryr:~/ndiswrapper-1.56$ sudo make install make -C driver install make[1]: Entering directory `/home/miryr/ndiswrapper-1.56/driver' make -C /usr/src/linux-headers-2.6.31-22-generic M=/home/miryr/ndiswrapper-1.56/driver make[2]: Entering directory `/usr/src/linux-headers-2.6.31-22-generic' Building modules, stage 2. MODPOST 1 modules make[2]: Leaving directory `/usr/src/linux-headers-2.6.31-22-generic' echo /lib/modules/2.6.31-22-generic/misc /lib/modules/2.6.31-22-generic/misc mkdir -p /lib/modules/2.6.31-22-generic/misc install -m 0644 ndiswrapper.ko /lib/modules/2.6.31-22-generic/misc /sbin/depmod -a 2.6.31-22-generic -b / make[1]: Leaving directory `/home/miryr/ndiswrapper-1.56/driver' make -C utils install make[1]: Entering directory `/home/miryr/ndiswrapper-1.56/utils' install -D -m 755 loadndisdriver /sbin/loadndisdriver install -D -m 755 ndiswrapper /usr/sbin/ndiswrapper install -D -m 755 ndiswrapper-buginfo /usr/sbin/ndiswrapper-buginfo NOTE: Windows driver configuration file format has changed since 1.5. You must re-install Windows drivers if they were installed before. make[1]: Leaving directory `/home/miryr/ndiswrapper-1.56/utils' mkdir -p -m 0755 /usr/share/man/man8 install -m 644 ndiswrapper.8 /usr/share/man/man8 install -m 644 loadndisdriver.8 /usr/share/man/man8 To view links or images in this forum your post count must be 2 or greater. You currently have 0 posts. and even then I have some problems. How does one unzip to a temporary directory? At first I thought it was just unzipping, so I skipped that step. So, obviously I can't find the rmmod ath_pc file when I searched for it. I get this error message when I try "ERROR: Module ath_pci does not exist in /proc/modules". Can anyone please help me with this nightmare?
Last edited by Miryr; 09-12-2010 at 02:37 PM.
|
|
|
|
|
|
|
|
#2 |
|
Member [02%]
|
I've never bothered with the nightmare that is wireless (well, maybe a little a few years ago), so take what I say with a grain of salt (or better yet, wait for someone who knows what they are doing)
First, the error you get: "ERROR: Module ath_pci does not exist in /proc/modules" just means that that module doesn't exist. Looking at the doc you linked, you don't want to use that module, so no biggie. To view links or images in this forum your post count must be 2 or greater. You currently have 0 posts. Unzipping to a temp folder just means to unzip it anywhere that is not used for routine stuff. usually, "tar xvfz" will create a top-level folder for you, but if you're not sure, just "mkdir wlantemp" in your home dir, "mv ndis.*.gz wlantemp" to move that file to your new temp folder, and extract it from there ("tar xfvz ndis*.gz"). Sounds like you already did something like this, though. Did you follow the next steps (#8 - sudo ndiswrapper -i net5112.inf"), after rebooting? Did that give you any output? Have you looked at the output from the "ifconfig" command? It may show that you already have an interface for your wireless device. Maybe post the output from the "ndiswrapper" command above, "ifconfig", and "cat /proc/modules" (you may need to be root to do that) - may be helpful for troubleshooing... Anyway, that's all I've got... |
|
|
|
|
|
#3 |
|
Veteran Member [59%]
|
Which wireless adapter do you have?
|
|
|
|
|
|
#4 | |||
|
Member [18%]
|
I have the default one in my laptop it's atheros AR5xx |
|||
|
|
|
|
|
#5 |
|
Member [18%]
|
If you're up to it, and support isn't already compiled in, you could just recompile support into the kernel. I hear nothing but horror stories whenever ndiswrapper is involved.
Device Drivers ---> Network Device Support ---> Wireless LAN ---> Atheros Wireless Cards ---> Atheros 5xxx wireless cards support If you want to try that and need help let me know. |
|
|
|
|
|
#6 | |||
|
Member [18%]
|
If you help me in that I'll worship you as a god. |
|||
|
|
|
|
|
#7 | ||||||||||||||||||||||||||||||
|
Member [18%]
|
Alright. I dunno what version of ubuntu you're using, but it shouldn't matter too much. Be warned that this is somewhat 'involved', but if you get as much practice as I do compiling and installing kernels, you forget that it was ever 'hard'. It's simple in itself, just not something people are usually used to doing.
Step zero: have a bootable CD or USB ready in case something goes wrong and you're unable to boot from disk. Installing a kernel is relatively low-risk, but it's easy to accidentally do stuff that can affect your ability to boot. We'll also take the precaution of leaving the already-existing kernel in place in case the new kernel doesn't boot. First we'll have to check to see that support isn't already compiled in (because if it is, then something's wrong and odd). Fire up your favorite terminal and check what directories are under /usr/src:
* Don't type the $ - I indicate with this that you should do this as a regular user; if there's a # it means perform the command as root (via sudo). So '# foo' is equal to '$ sudo foo'. It shouldn't be a problem but you may need to add yourself to the sudoers file if it isn't set up properly. Indicate if using sudo doesn't work.
We're in the source directory for the linux kernel. There are several ways to configure the kernel. The easiest and least technically-complex way is via an ncurses-based menuconfig:
If you get an error about not having the ncurses-dev package, then install them with
and try the command again.
And with that one command, your kernel should begin compiling. If you get an error and some spiel about a command not being found (basically anything relating to compiling software), then just install the core building tools:
If that doesn't resolve it, replace build-essential with whatever command isn't being found. Sometimes individual commands have different names from the packages that include them (like when a packages provides several commands). Let me know if you get stuck here.
This shouldn't take nearly as long. This installs all of the kernel modules to the /lib/modules directory.
If you're running a 64-bit version of Ubuntu, then the proper directory is actually arch/x86_64/boot/bzImage.
Again replace the x's with the proper version numbers. Add -test at the end if you want; we don't want to overwrite the present configuration file.
And tell me if you see anything called 'initrd' or anything similar. We may need to generate a new one (quick and simple, but necessary). |
||||||||||||||||||||||||||||||
|
|
|
|
|
#8 |
|
Member [18%]
|
I'm sorry for this question but, what's the command to go into the source directory? Is it the name where all the files are?
|
|
|
|
|
|
#9 | |||
|
Member [18%]
|
/usr/src contains on most systems the top-level directories for the linux kernel.
Last edited by MrDoom; 09-12-2010 at 10:24 PM.
|
|||
|
|
|
|
|
#10 |
|
Member [36%]
|
Linux loves Atheros. You shouldn't have problems with drivers.
Are you on WPA or WEP? Most of the time it assumes you're using WEP. Setting up WPA is a little more work. If you're doing it manually, /etc/wpa_supplicant is your best bet. I would at least give that a google. Also, if it keeps asking you for authentication and not saving it, you probably don't have permission to that file. Before you get settled into Ubuntu, why not give Fedora a chance? To view links or images in this forum your post count must be 2 or greater. You currently have 0 posts. |
|
|
|
|
|
#11 | |||
|
Veteran Member [85%]
MBTI: INTP
Join Date: Apr 2009
Posts: 3,407
|
Yeah, I have never had a problem with my Atheros in Ubuntu. It's always auto-configured. Is this a very old Atheros, perhaps? |
|||
|
|
|
|
|
#12 |
|
Member [36%]
|
The older the better actually. Linux developers are poor and can't afford fancy computers. That's why you should donate to your favourite projects once in a while.
To view links or images in this forum your post count must be 2 or greater. You currently have 0 posts. That was a joke btw... but honestly, the older the device the better. |
|
|
|
|
|
#13 |
|
Core Member [246%]
MBTI: INFJ
Join Date: Jan 2008
Posts: 9,844
|
Miryr, were you able to get it to work? I'm having similar trouble with my Debian (Ubuntu is based on it), so if it works for you, i may be able to get it to work for me
To view links or images in this forum your post count must be 2 or greater. You currently have 0 posts. |
|
|
|
|
|
#14 |
|
Member [18%]
|
Sorry I couldn't answer a few days ago, I had unrelated computer issues.
Anyway, I managed to solve it updating to the newest versions of Ubuntu and I also bought a Linksys receptor, both of these seem to have completely eliminated the issues. Now I'm trying to figure out how to get Flash to work since it keeps telling me it's installed but no site reacts to it. |
|
|
|
|
|
#15 |
|
Member [36%]
|
You have to configure your browser to work with it.
|
|
|
|
|
|
#16 | |||
|
Member [18%]
|
Supposedly it's already configured. Anyway, Seamonkey has no such problems so I just use that to watch videos. |
|||
|
|
|
|
|
#17 |
|
Core Member [246%]
MBTI: INFJ
Join Date: Jan 2008
Posts: 9,844
|
So the solution was buying a new wireless adapter that's supported? Blah.
I'll give the above instructions a shot this weekend though, since my goal is getting my onboard wireless card to work, not just getting wireless access To view links or images in this forum your post count must be 2 or greater. You currently have 0 posts. Anybody have previous experience with Realtek's RTL8187B? It's apparently a little USB adapter that's commonly installed on laptops. They just take it out of its case and solder the card to the laptop's board. I know it's on USB port 0BDA:8189, but beyond lsusb to show it, i have no idea how to get the OS to recognize that it's a wireless card. Could moving to a newer release fix the problem? I read on the Debian page that RTL8187B support was added in 2.6.27 but i think i'm running 2.6.23 or .25 |
|
|
|
|
|
#18 |
|
Member [18%]
|
Switching to the new OS made me be able to use my built in card. However, since my internet modem is far away I decided that this was a good excuse as any to buy the receptor. Now I can connect twice to the same network and hog the resources.
|
|
|
|
|
|
#19 |
|
Core Member [246%]
MBTI: INFJ
Join Date: Jan 2008
Posts: 9,844
|
Does it even work like that
To view links or images in this forum your post count must be 2 or greater. You currently have 0 posts. |
|
|
|
|
|
#20 |
|
Member [18%]
|
I log in to two different connections, so I suppose it does.
|
|
|
|
|
|
#21 |
|
Core Member [246%]
MBTI: INFJ
Join Date: Jan 2008
Posts: 9,844
|
But does the computer have greater capacity to transfer data, or does it just use one at a time and then swap if there's a hiccup?
|
|
|
|
|
|
#22 | |||
|
Member [18%]
|
I think it's the latter, to be honest I'm not quite sure myself. However, I can't seem to figure out how to stop the computer from asking me to introduce the password (which is already in the input area) every time one line isn't as accessible. |
|||
|
|
|
![]() |
| Tags |
| operating systems |
| Thread Tools | |
|
|