You are not logged in.
Hello,
I have just installed arch linux on my computer today, but I am having problems with connecting to the internet. I have a netgear WPN111 wireless adapter and I need to install the driver, so I tried installing ndiswrapper from a usb drive. However, when I run Pacman -U, I get an error message. The error message is
resolving dependencies...
error: could not open file /var/lib/pacman/sync/extra.db:failed to open `var/lib/pacman/sync/extra.db
error: could not open file /var/lib/pacman/sync/community.db:failed to open `var/lib/pacman/sync/community.db
error: could not open file /var/lib/pacman/sync/extra.db:failed to open `var/lib/pacman/sync/extra.db
error: could not open file /var/lib/pacman/sync/community.db:failed to open `var/lib/pacman/sync/community.db
Warning cannot resolve "linux>=3.3", a dependency of "ndiswrapper" :: The following package cannot be upgraded due to unresolvable dependencies ndiswrapper
How do I fix this?
Last edited by schubs (2012-05-24 03:49:32)
Offline
Assuming you installed from the core image. You received this error because you are trying to install the newest version of ndiswrapper which requires kernel 3.3 or newer, but you are still using the kernel that came with the core image (3.0, 3.1? not sure here).
When you install Arch Linux, it should prompt you if there are any extra packages you want to install along with the base packages (here). I ndiswrapper should be in this list. Alternatively, since you have already installed, you can try retrieving one of the packages from the ARM and seeing if it works:
http://arm.konnichi.com/search/index.ph … ommunity=1
Looks like the version 1.56-14 would be what you need for core if I looked it up correctly (make sure to get the correct architecture). Note that you'll need wireless-tools installed also if you didn't install that already, so it might just be easier to reinstall and select the needed packages.
Offline
Ok, thanks for the reply. I got it installed and following the Wireless Setup wiki (https://wiki.archlinux.org/index.php/Wireless_Setup), I got the correct driver installed. I got the internet working and set up kde. However, I restarted and am having trouble getting wlan0 to show up. I am getting error messages from the ndiswrapper.conf file.
In the config file in /etc/modprobe.d/ndiswrapper.conf, I put in
ndiswrapper -m
depmod -a
and am getting a message when using ndiswrapper that it is ignoring those lines. what is wrong here? it worked before and wlan0 showed up when i did iwconfig. Now it is not there.
Last edited by schubs (2012-05-23 02:36:39)
Offline
And that message is?
Offline
When you install Arch Linux, it should prompt you if there are any extra packages you want to install along with the base packages (here). I ndiswrapper should be in this list.
a bit off topic since OP has already installed ndiswrapper but...
from my own experience, ndiswrapper cannot be installed during the Arch installation. even though you select ndiswrapper as a package that you would like to install, the Arch installation attempts to install ndiswrapper package before the kernel gets upgraded. hence, error. tried twice with archlinux-2011.08.19-netinstall-i686.iso.
the proper fix is to install Arch first, then update, then install via pacman.
-----
@schubs
after restart, try typing in ndiswrapper -l in your terminal to see if the driver was installed properly. then, lsmod | grep ndiswrapper to see if the module was loaded.
Last edited by altbdoor (2012-05-23 05:54:57)
Offline
I wasn't aware of that, thanks for the info.
Installing and updating would be the best way, however I'm assuming the OP didn't have access to a wired connection, in which case he needed to get his wireless up and running before being able to run pacman -Syu.
Offline
Ok, I got it working now after rebooting. Thanks for the help.
Offline