You are not logged in.

#1 2012-02-26 17:17:37

aata844
Member
Registered: 2012-02-26
Posts: 10

Help with ndiswrapper

I just installed Arch, and the first thing I am attempting to do is get some WiFi. I have no access to ethernet, and of course my wireless card needs ndiswrapper. I grabbed it from sourceforge and attempted to install it, which was a no go. It could not find the versions from the headers and such. I checked /lib/modules/3.0-ARCH and there was no build directory like there should be, mentioned in ndiswrapper's INSTALL file.

I checked a mirror site, noticed ndiswrapper-1.5.7-5, prebuilt, but that seemed to be for 3.2 kernel.
I also notced some sort of 3.0.22 headers in a package mirror site, and I ln'd a build directory into /lib/modules/3.0-ARCH but modprobe doesn't like that, noticing it wasn't from 3.0-ARCH.

The only way to get files to this computer is through a USB thumb drive with internet access on other computers.

So how can I get ndiswrapper to work?

Offline

#2 2012-02-26 18:22:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Help with ndiswrapper

https://bbs.archlinux.org/viewtopic.php?pid=1062502
Read the last post first.
While possible, it's not easy: you have to first update your whole system.

Offline

#3 2012-02-26 18:40:11

aata844
Member
Registered: 2012-02-26
Posts: 10

Re: Help with ndiswrapper

So the answer is get on ethernet and update? Alright.

Offline

#4 2012-02-26 18:43:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Help with ndiswrapper

If you're sure you really need ndiswrapper in the first place https://bbs.archlinux.org/viewtopic.php … 6#p1061676 then yes, hook the computer temporarily to the wired internet, update, install any extra software and get your wifi up.

Offline

#5 2012-02-26 21:45:06

aata844
Member
Registered: 2012-02-26
Posts: 10

Re: Help with ndiswrapper

Yes, I need ndiswrapper.
Do you know if I need a crossover cable to share my internet from one computer to this one? I have a Mac with internet sharing enabled over ethernet, but I can only connect to that Mac. I had used an ethernet cable that wasn't crossover for the same purpose, but different OS a while back.

Offline

#6 2012-02-26 22:57:30

aata844
Member
Registered: 2012-02-26
Posts: 10

Re: Help with ndiswrapper

Well nevermind, I got ethernet access. Of course now the nvidia driver can't find the kernel headers.

Offline

#7 2012-02-26 23:06:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Help with ndiswrapper

aata844 wrote:

Well nevermind, I got ethernet access. Of course now the nvidia driver can't find the kernel headers.

I'm not sure what is it about. Can you post the exact error message?

If you updated your kernel, you have to reboot before modprobing a driver.
linux-headers are here: http://www.archlinux.org/packages/?name=linux-headers
We're not using the package named kernel-headers or kernel26-headers anymore.

Offline

#8 2012-02-26 23:35:49

aata844
Member
Registered: 2012-02-26
Posts: 10

Re: Help with ndiswrapper

Ah, alright. So I installed nvidia-utils, then my card's driver, from the Nvidia site. Then the linux-headers. I run the driver installer (for the GeForce4 MX N17) and it installs fine, and  I let it replace my X configuration file. Reboot. startx, however, gives basically this:

This server has a video driver ABI version of 11.0 that is not supported by this NVIDIA driver. Please check nvidia for drver updates or downgrade to an X server with a supported driver ABI.
NVIDIA:Use the -ignoreABI option to override this check
Failed to load module "nvidia" (module requirement mismatch, 0)

Fatal server error:
no screens found

Last edited by aata844 (2012-02-26 23:36:27)

Offline

#9 2012-02-26 23:39:17

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Help with ndiswrapper

If you used the installer from Nvidia, you made a mess of your system. Why did you do that, instead of just using the Arch packages? Also, the driver you installed is too old. Only 295.17 and and 295.20 support the latest X.

Also, it'd be better if you open a new thread about this, as it has nothing to do with ndiswrapper.

Edit: Ok, I see you actually mentioned which graphic card you have, one which requires the 96xx legacy branch of the nvidia driver. Well, that one only works with xorg-server-1.10, so you'll have to downgrade.

Last edited by Gusar (2012-02-26 23:47:19)

Offline

#10 2012-02-26 23:51:33

aata844
Member
Registered: 2012-02-26
Posts: 10

Re: Help with ndiswrapper

I was worried about that. It says on the Nvidia wiki on here that I could use nouveau though; do I have to downgrade X?

Offline

#11 2012-02-26 23:58:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Help with ndiswrapper

Do you really need to use the nvidia proprietary driver? Downgrading the whole X is painful.
I'm using nouveau and it's fine, no need to downgrade.

Last edited by karol (2012-02-26 23:59:02)

Offline

#12 2012-02-27 00:05:23

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Help with ndiswrapper

karol wrote:

Downgrading the whole X is painful.

Not really, it's at most three packages. The only trick is knowing which version of the xf86-input-* packages to use, but that's not so hard.

Of course there's always nouveau. Which on such an old card may actually work fine. On a newer card and especially on a laptop I would not use it because of it's lack of power management.

Offline

#13 2012-02-27 00:20:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Help with ndiswrapper

Gusar wrote:
karol wrote:

Downgrading the whole X is painful.

Not really, it's at most three packages.

I'm not sure, what about their dependencies? Also, IIRC mesa is picky about the xorg version so you would have to take care of it too.

Offline

#14 2012-02-27 00:25:18

aata844
Member
Registered: 2012-02-26
Posts: 10

Re: Help with ndiswrapper

Thanks, I believe nouveau is working. I am able to startx, although should i be worried about a couple of errors?
AIGLX error: no such file or directory /usr/lib/xorg/modules/dri/nouveau_vieux_dri.so
AIGLX: reverting to software rendering
xclock command not found
twm command not found
1 font missing

Offline

#15 2012-02-27 00:27:33

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Help with ndiswrapper

karol wrote:

I'm not sure, what about their dependencies?

The only packages directly depending on the server version are xf86-video-* and xf86-input-*. We're not interested in the video drivers (we'll be using nvidia-96xx), so that leaves xf86-input-evdev and, on a laptop, xf86-input-synaptic. Together with the server, that's the three packages I spoke of.

karol wrote:

Also, IIRC mesa is picky about the xorg version so you would have to take care of it too.

I'm not aware of mesa and X having a tight connection. Doesn't matter anyway, we'll be using nvidia's GL, not mesa.

Offline

#16 2012-02-27 00:30:41

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Help with ndiswrapper

aata844 wrote:

AIGLX error: no such file or directory /usr/lib/xorg/modules/dri/nouveau_vieux_dri.so
AIGLX: reverting to software rendering

Install nouveau-dri

aata844 wrote:

xclock command not found
twm command not found
1 font missing

This means X has nothing to do. If you haven't configured anything, the default is to run xclock and twm and xterm, you could install them to test if X works. Or you instead install whatever it is you want to be using (Gnome, KDE, Openbox, Awesome, etc, etc).

Last edited by Gusar (2012-02-27 00:37:14)

Offline

#17 2012-02-27 00:50:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Help with ndiswrapper

Gusar wrote:
karol wrote:

I'm not sure, what about their dependencies?

The only packages directly depending on the server version are xf86-video-* and xf86-input-*. We're not interested in the video drivers (we'll be using nvidia-96xx), so that leaves xf86-input-evdev and, on a laptop, xf86-input-synaptic. Together with the server, that's the three packages I spoke of.

karol wrote:

Also, IIRC mesa is picky about the xorg version so you would have to take care of it too.

I'm not aware of mesa and X having a tight connection. Doesn't matter anyway, we'll be using nvidia's GL, not mesa.

We already had this conversation once and now I failed again https://bbs.archlinux.org/viewtopic.php … 76#p998776
Sorry, I'll shut up now.

Offline

#18 2012-02-27 00:56:35

aata844
Member
Registered: 2012-02-26
Posts: 10

Re: Help with ndiswrapper

I figured to stop that I would need nouveau-dri, but I thought that wasn't suggested. Nouveau is still using my graphics card, right? Not software?

Last edited by aata844 (2012-02-27 00:57:10)

Offline

#19 2012-02-27 09:46:59

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Help with ndiswrapper

nouveau-dri gives you opengl. Without it you're still using the nouveau driver, but you don't get opengl capabilities.

Offline

Board footer

Powered by FluxBB