Manual Wireless Configuration Dependencies

Kernels & Hardware, configuring network, installing services

Manual Wireless Configuration Dependencies

Postby UserCPMB » 2018-08-06 03:39

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 :)
UserCPMB
 
Posts: 17
Joined: 2018-04-12 14:27

Re: Manual Wireless Configuration Dependencies

Postby 4D696B65 » 2018-08-06 03:58

libiw30 is a package that wireless-tools depends on. it is not in wireless-tools.
https://packages.debian.org/stretch/libiw30
User avatar
4D696B65
 
Posts: 2200
Joined: 2009-06-28 06:09

Re: Manual Wireless Configuration Dependencies

Postby Head_on_a_Stick » 2018-08-06 09:10

UserCPMB wrote:have no active wireless

Have you installed any non-free firmware that may be required for the device?

You can test compatibility by searching for "unofficial non-free debian iso" and trying the live environment.
User avatar
Head_on_a_Stick
 
Posts: 7997
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Manual Wireless Configuration Dependencies

Postby Dai_trying » 2018-08-06 10:22

Also if you can provide the hardware (wifi) information there might be a more simple solution.
Dai_trying
 
Posts: 548
Joined: 2016-01-07 12:25

Re: Manual Wireless Configuration Dependencies

Postby UserCPMB » 2018-08-21 13:54

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 [S]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 [I]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
UserCPMB
 
Posts: 17
Joined: 2018-04-12 14:27

Re: Manual Wireless Configuration Dependencies

Postby shep » 2018-08-21 16:16

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
shep
 
Posts: 222
Joined: 2011-03-15 15:22

Re: Manual Wireless Configuration Dependencies

Postby debiman » 2018-08-22 05:03

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:

  1. decide if i have a software or driver/firmware problem (fix the driver/firmware problem first)
  2. download the appropriate packages and install them with 'dpkg -i ...deb'
  3. the only tricky bit is that all dependencies have to be installed before the main package

i just hope it worked your way, too.

---

UserCPMB wrote: # mount /dev/sde /dists

are you sure this is correct?
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.
User avatar
debiman
 
Posts: 2900
Joined: 2013-03-12 07:18

Re: Manual Wireless Configuration Dependencies

Postby UserCPMB » 2018-08-31 00:23

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.
UserCPMB
 
Posts: 17
Joined: 2018-04-12 14:27

Re: Manual Wireless Configuration Dependencies

Postby UserCPMB » 2018-08-31 00:57

Bah! Poo! Humbug!

CORRECTION:

# for f in *.deb; do ln -s $PWD/"$f" /var/cache/apt/archives/"$f"; done
UserCPMB
 
Posts: 17
Joined: 2018-04-12 14:27

Re: Manual Wireless Configuration Dependencies

Postby shep » 2018-08-31 01:16

In your situation, these unofficial netinstall images that include non-free firmware, would be worth their weight in gold.
https://cdimage.debian.org/cdimage/unofficial/non-free/images-including-firmware/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.
shep
 
Posts: 222
Joined: 2011-03-15 15:22

Re: Manual Wireless Configuration Dependencies

Postby debiman » 2018-08-31 05:41

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)

no disrespect, but a narrative like this doesn't add any value to a technical problem discussion.

UserCPMB wrote:# for f in *.deb; do ln -s $PWD/"$f" /var/cache/apt/archives/"$f"; done

wtf?
this looks positively unhealthy and i have no clue what you attempt to achieve with it.
also please use code tags for code.
User avatar
debiman
 
Posts: 2900
Joined: 2013-03-12 07:18

Re: Manual Wireless Configuration Dependencies

Postby UserCPMB » 2018-08-31 17:30

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"
UserCPMB
 
Posts: 17
Joined: 2018-04-12 14:27

Re: Manual Wireless Configuration Dependencies

Postby stevepusser » 2018-08-31 17:53

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kdenlive 18.08.1, Pale Moon 28.1.0, wine-staging 3.17, qBittorrent 4.1.3, Liquorix kernel 4.18-13, Audacity 2.3.0
User avatar
stevepusser
 
Posts: 9991
Joined: 2009-10-06 05:53


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable