Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Manual Wireless Configuration Dependencies
Manual Wireless Configuration Dependencies
I just did a netinst of stretch a few days ago, and have no active wireless.
I did some reading of the wifi wiki and have some experience installing packages manually
I downloaded a bunch of wireless (wireless-tools, iw, rfkill, wpasupplicant, iwlwifie) package archives and copied them to a directory on root.
Changed to storage directory and started with dpkg -i ./wireless-tools*.deb and got:
dpkg: dependency problems prevent configuration
wireless-tools depends on libiw30 (>= 30!pre1); however:
Package libiw30 is not installed.
According to the files list, libiw30 is provided in wireless tools.
This should work...shouldn't it...???
Any suggestions greatly appreciated. Am probably a little rusty
I did some reading of the wifi wiki and have some experience installing packages manually
I downloaded a bunch of wireless (wireless-tools, iw, rfkill, wpasupplicant, iwlwifie) package archives and copied them to a directory on root.
Changed to storage directory and started with dpkg -i ./wireless-tools*.deb and got:
dpkg: dependency problems prevent configuration
wireless-tools depends on libiw30 (>= 30!pre1); however:
Package libiw30 is not installed.
According to the files list, libiw30 is provided in wireless tools.
This should work...shouldn't it...???
Any suggestions greatly appreciated. Am probably a little rusty
Re: Manual Wireless Configuration Dependencies
libiw30 is a package that wireless-tools depends on. it is not in wireless-tools.
https://packages.debian.org/stretch/libiw30
https://packages.debian.org/stretch/libiw30
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Manual Wireless Configuration Dependencies
Have you installed any non-free firmware that may be required for the device?UserCPMB wrote:have no active wireless
You can test compatibility by searching for "unofficial non-free debian iso" and trying the live environment.
deadbang
-
- Posts: 1100
- Joined: 2016-01-07 12:25
- Has thanked: 5 times
- Been thanked: 16 times
Re: Manual Wireless Configuration Dependencies
Also if you can provide the hardware (wifi) information there might be a more simple solution.
Re: Manual Wireless Configuration Dependencies
Regarding Head_on_a_Stick, the package 'firmware_iwlwifi*' is the only non-free I've attempted to add. The rest is a fresh Debian 9v5 install (stretch)
The wifi card is Intel PRO/Wireless, or similarly (?) Intel WiFi Link 5100 AGN according to W7.
I've ended up doing a long work around, although I haven't actually tried loading the stuff. Will repost with results soon.
ITMT, I reverted to some of my old habits and here's what I did.
Discovered I needed the following and created a storage tree on a jump drive:
From: http://ftp.ca.debian.org/debian/dists/stable/
stable/Release
stable/contrib/binary-i386/Packages.gz
stable/contrib/i18n/Translation-en.bz2
stable/main/binary-i386/Packages.gz
stable/main/i18n/Translation-en.bz2
stable/main/binary-i386/dselect_1.18.25_i386.deb
stable/main/binary-i386/dpkg-dev_1.18.25_all.deb
stable/main/binary-i386/libdpkg-perl_1.18.25_all.deb
stable/non-free/binary-i386/Packages.gz
stable/non-free/i18n/Translation-en.bz2
Plugged in the jump drive then:
# fdisk -l # to find the drive
# mkdir /dists
# mount /dev/sde /dists
Then for each: (fast work around)
# cd /dists/stable/main/b*
# dpkg -i name*.deb
Edited /etc/apt/sources.list and added:
deb file: stable contrib main non-free
Update apt using (to prevent bad warning messages)
apt-get update --allow-unauthenticated --allow-insecure-repositories
Apparently you can edit /etc/apt/apt.conf and add
APT::Get::AllowUnauthenticated
Run dselect
# dselect
Then elect to find the dependencies for the ''prerequisites'' suggested here: https://wiki.debian.org/WiFi
Made notes from the dependencies screen, and downloaded to the jump drive:
stable/main/binary-i386/crda_3.18-1_i386.deb
stable/main/binary-i386/iw_4.9-0.1_i386.deb
stable/main/binary-i386/libiw30_30~pre9-12+b1_i386.deb
stable/main/binary-i386/libnl-3-200_3.2.27-2_i386.deb
stable/main/binary-i386/libnl-genl-3-200_3.2.27-2_i386.deb
stable/main/binary-i386/libpcsclite1_1.8.20-1_i386.deb
stable/main/binary-i386/rfkill_0.5-1+b1_i386.deb
stable/main/binary-i386/wireless-regdb_2016.06.10-1_all.deb
stable/main/binary-i386/wireless-tools_30~pre9-12+b1_i386.deb
stable/main/binary-i386/wpasupplicant_2.4-1+deb9u1_i386.deb
stable/non-free/binary-i386/firmware-iwlwifi_20161130-3_all.deb
Remounted the drive then linked the packages:
# cd /dists/stable/main/b*
# for f in *.deb; do ln -s $PWD/"$f" /var/cache/apt/"$f"; done
# cd /dists/stable/non-free/b*
# for f in *.deb; do ln -s $PWD/"$f" /var/cache/apt/"$f"; done
Then would theoretically run deselect nstall, but instead...went to bed!!!
These should all install, but I just haven't confirmed yet, then need to actually load the drivers and see what happens.
Would be nice if everything except the non-free packages were included in the installation / setup netinst.iso. Seems to me they're probably standard packages anyways (???). Would simplify the process by only needing to:
apt-get install packagename
The wifi card is Intel PRO/Wireless, or similarly (?) Intel WiFi Link 5100 AGN according to W7.
I've ended up doing a long work around, although I haven't actually tried loading the stuff. Will repost with results soon.
ITMT, I reverted to some of my old habits and here's what I did.
Discovered I needed the following and created a storage tree on a jump drive:
From: http://ftp.ca.debian.org/debian/dists/stable/
stable/Release
stable/contrib/binary-i386/Packages.gz
stable/contrib/i18n/Translation-en.bz2
stable/main/binary-i386/Packages.gz
stable/main/i18n/Translation-en.bz2
stable/main/binary-i386/dselect_1.18.25_i386.deb
stable/main/binary-i386/dpkg-dev_1.18.25_all.deb
stable/main/binary-i386/libdpkg-perl_1.18.25_all.deb
stable/non-free/binary-i386/Packages.gz
stable/non-free/i18n/Translation-en.bz2
Plugged in the jump drive then:
# fdisk -l # to find the drive
# mkdir /dists
# mount /dev/sde /dists
Then for each: (fast work around)
# cd /dists/stable/main/b*
# dpkg -i name*.deb
Edited /etc/apt/sources.list and added:
deb file: stable contrib main non-free
Update apt using (to prevent bad warning messages)
apt-get update --allow-unauthenticated --allow-insecure-repositories
Apparently you can edit /etc/apt/apt.conf and add
APT::Get::AllowUnauthenticated
Run dselect
# dselect
Then elect to find the dependencies for the ''prerequisites'' suggested here: https://wiki.debian.org/WiFi
Made notes from the dependencies screen, and downloaded to the jump drive:
stable/main/binary-i386/crda_3.18-1_i386.deb
stable/main/binary-i386/iw_4.9-0.1_i386.deb
stable/main/binary-i386/libiw30_30~pre9-12+b1_i386.deb
stable/main/binary-i386/libnl-3-200_3.2.27-2_i386.deb
stable/main/binary-i386/libnl-genl-3-200_3.2.27-2_i386.deb
stable/main/binary-i386/libpcsclite1_1.8.20-1_i386.deb
stable/main/binary-i386/rfkill_0.5-1+b1_i386.deb
stable/main/binary-i386/wireless-regdb_2016.06.10-1_all.deb
stable/main/binary-i386/wireless-tools_30~pre9-12+b1_i386.deb
stable/main/binary-i386/wpasupplicant_2.4-1+deb9u1_i386.deb
stable/non-free/binary-i386/firmware-iwlwifi_20161130-3_all.deb
Remounted the drive then linked the packages:
# cd /dists/stable/main/b*
# for f in *.deb; do ln -s $PWD/"$f" /var/cache/apt/"$f"; done
# cd /dists/stable/non-free/b*
# for f in *.deb; do ln -s $PWD/"$f" /var/cache/apt/"$f"; done
Then would theoretically run deselect nstall, but instead...went to bed!!!
These should all install, but I just haven't confirmed yet, then need to actually load the drivers and see what happens.
Would be nice if everything except the non-free packages were included in the installation / setup netinst.iso. Seems to me they're probably standard packages anyways (???). Would simplify the process by only needing to:
apt-get install packagename
Re: Manual Wireless Configuration Dependencies
Part of this is the systemd driven migration from wireless tools to iw
The debian wifi howto use wiki is somewhat dated as interface naming changed in Stretch but the manual config of /etc/network interfaces still works as long as you have the needed firmware and interface name.
https://wiki.debian.org/WiFi/HowToUse#Command_Line
The debian wifi howto use wiki is somewhat dated as interface naming changed in Stretch but the manual config of /etc/network interfaces still works as long as you have the needed firmware and interface name.
https://wiki.debian.org/WiFi/HowToUse#Command_Line
Re: Manual Wireless Configuration Dependencies
i think you're vastly overcomplicating this.
i have done this once or twice and it was easier.
if i was you, and if i was at step zero, i would:
---
shouldn't it rather be sde1?
since it seems to have worked, i'm guessing you simply wrote it wrong.
please be precise in the output you provide.
copy-pasting is better than typing it out (and yes i know it's tricky on a machine that has no internet, but there's a number of ways around that).
code tags for code please.
i have done this once or twice and it was easier.
if i was you, and if i was at step zero, i would:
- decide if i have a software or driver/firmware problem (fix the driver/firmware problem first)
- download the appropriate packages and install them with 'dpkg -i ...deb'
- the only tricky bit is that all dependencies have to be installed before the main package
---
are you sure this is correct?UserCPMB wrote: # mount /dev/sde /dists
shouldn't it rather be sde1?
since it seems to have worked, i'm guessing you simply wrote it wrong.
please be precise in the output you provide.
copy-pasting is better than typing it out (and yes i know it's tricky on a machine that has no internet, but there's a number of ways around that).
code tags for code please.
Re: Manual Wireless Configuration Dependencies
Thanks debiman,
You're right it should have been /dev/sde1
As per the tricky part, you're right about that too. I'm quite sure it's a software/driver issue because the installer even asks for the iwlwifi-5000 firmware. Unfortunately, wifi is also the only network interface I have available, so I couldn't simply dpkg -i because I didn't know if I had the dependencies satisfied (I think that may have been implied in the first post)
Nonetheless, am making another attempt at installing and configuring.
You're right it should have been /dev/sde1
As per the tricky part, you're right about that too. I'm quite sure it's a software/driver issue because the installer even asks for the iwlwifi-5000 firmware. Unfortunately, wifi is also the only network interface I have available, so I couldn't simply dpkg -i because I didn't know if I had the dependencies satisfied (I think that may have been implied in the first post)
Nonetheless, am making another attempt at installing and configuring.
Re: Manual Wireless Configuration Dependencies
Bah! Poo! Humbug!
CORRECTION:
# for f in *.deb; do ln -s $PWD/"$f" /var/cache/apt/archives/"$f"; done
CORRECTION:
# for f in *.deb; do ln -s $PWD/"$f" /var/cache/apt/archives/"$f"; done
Re: Manual Wireless Configuration Dependencies
In your situation, these unofficial netinstall images that include non-free firmware, would be worth their weight in gold.
https://cdimage.debian.org/cdimage/unof ... e/current/.
They would allow for installation over wireless and also install the needed firmware for any detected devices.
The installers network config is lost on reboot but this is so you can choose your preferred method of network management. Just follow the wifi howto link I provided earlier.
https://cdimage.debian.org/cdimage/unof ... e/current/.
They would allow for installation over wireless and also install the needed firmware for any detected devices.
The installers network config is lost on reboot but this is so you can choose your preferred method of network management. Just follow the wifi howto link I provided earlier.
Re: Manual Wireless Configuration Dependencies
no disrespect, but a narrative like this doesn't add any value to a technical problem discussion.UserCPMB wrote:As per the tricky part, you're right about that too. I'm quite sure it's a software/driver issue because the installer even asks for the iwlwifi-5000 firmware. Unfortunately, wifi is also the only network interface I have available, so I couldn't simply dpkg -i because I didn't know if I had the dependencies satisfied (I think that may have been implied in the first post)
wtf?UserCPMB wrote:# for f in *.deb; do ln -s $PWD/"$f" /var/cache/apt/archives/"$f"; done
this looks positively unhealthy and i have no clue what you attempt to achieve with it.
also please use code tags for code.
Re: Manual Wireless Configuration Dependencies
Thanks shep and debiman.
The command
# for f in *.deb; do ln -s $PWD/"$f" /var/cache/apt/archives/"$f"; done
issued locally from /dists/stable/main/binary-i386 (or what have you) allows me to link .deb files to the /var/cache/apt/archives folder where dselect and apt-get expect to find them after downloading so they can be installed. I found it faster to do that than use dpkg -i and it helps eliminate problems with unsatisfied dependencies by letting apt-get think it downloaded files.
What are code tags ?
Anyways, I've solved the dependencies problem with the steps I've posted above. I still haven't quite got the wireless working, but that's another issue so I think this subject could be considered dealt with. Am reposting as "Intel 5100 Wireless Problems"
The command
# for f in *.deb; do ln -s $PWD/"$f" /var/cache/apt/archives/"$f"; done
issued locally from /dists/stable/main/binary-i386 (or what have you) allows me to link .deb files to the /var/cache/apt/archives folder where dselect and apt-get expect to find them after downloading so they can be installed. I found it faster to do that than use dpkg -i and it helps eliminate problems with unsatisfied dependencies by letting apt-get think it downloaded files.
What are code tags ?
Anyways, I've solved the dependencies problem with the steps I've posted above. I still haven't quite got the wireless working, but that's another issue so I think this subject could be considered dealt with. Am reposting as "Intel 5100 Wireless Problems"
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Manual Wireless Configuration Dependencies
It is just a missing firmware problem, trust us. We've only seen the same exact issue for Intel wi-fi a gazillion times here. Of all the myriad wi-fi devices with drivers in the kernel, you can count the number that don't need non-free firmware on the fingers of one hand, and Intel is not among those.
You can also directly download the firmware-iwlwifi deb package from packages.debian.org and install it with "dpkg -i *.deb", which I would prefer myself instead of the hassle of editing my sources. Once you've established a Net connection, most tasks become much simpler.
You can also directly download the firmware-iwlwifi deb package from packages.debian.org and install it with "dpkg -i *.deb", which I would prefer myself instead of the hassle of editing my sources. Once you've established a Net connection, most tasks become much simpler.
MX Linux packager and developer