You are not logged in.

#1 2019-09-24 07:09:40

chrisdb
Member
Registered: 2019-09-12
Posts: 42

[SOLVED] Bare minimum Debian install

Hello,

I would like to install a bare minimum of Debian (choosing only "standard system utilities" during package selection phase),
but my installation is done over WIFI and when I reboot, I don't have the rfkill and wpa_supplicant packages and these are required to setup and configure my wireless.

Is there any way to install these packages during installation without requiring a network cable?

thx

Last edited by chrisdb (2019-09-28 09:28:09)

Offline

#2 2019-09-24 08:58:59

damo
....moderator....
Registered: 2015-08-20
Posts: 5,208

Re: [SOLVED] Bare minimum Debian install

Try downloading any packages you need to a usb drive, then install them when needed, with gdebi.


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2019-09-24 09:37:11

chrisdb
Member
Registered: 2019-09-12
Posts: 42

Re: [SOLVED] Bare minimum Debian install

damo wrote:

Try downloading any packages you need to a usb drive, then install them when needed, with gdebi.

so you mean something like this:
- run the live installer
- download the necessary packages and copy them to another usb
- start the installer
- reboot and install packages from usb
?

Offline

#4 2019-09-24 12:35:55

eight.bit.al
Member
From: The top of the World
Registered: 2015-10-01
Posts: 363

Re: [SOLVED] Bare minimum Debian install

Or download the packages to USB on the machine your using now. Then install them after running the installer.

8bit

Error Message: failed (Signature file not found)


A mind is a terrible thing not to change.
The problem lies not with new ideas, but in escaping the old ones.

Online

#5 2019-09-24 13:48:41

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 70

Re: [SOLVED] Bare minimum Debian install

chrisdb wrote:

Is there any way to install these packages during installation without requiring a network cable?

Easyest if you only have one pc and use BL helium CD, after installation, reboot and start Live session, download and save packages on disk or other usb-stick, reboot and install.

You can use debootstrap or the better grml-debootstrap to tailor an installation. Its not on the BunsenLabs helium CD. I sometimes use grml live cd from grml.org. little tricky...

It is possible to after installation, before reboot, start an shell, chroot in to the new installation start an fetchskript from another usb and install packages...

It is not possible as part of installation add selected packages.

Go for alternative one..

Last edited by rbh (2019-09-24 13:49:21)


// Regards rbh

Offline

#6 2019-09-25 11:51:29

chrisdb
Member
Registered: 2019-09-12
Posts: 42

Re: [SOLVED] Bare minimum Debian install

thx guys, so what's the safest/best option to download a package with all necessary dependencies?

Offline

#7 2019-09-25 13:04:36

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 1,110

Re: [SOLVED] Bare minimum Debian install

chrisdb wrote:

thx guys, so what's the safest/best option to download a package with all necessary dependencies?

If you have an existing Debian/BL install, apt-get with the --download-only option - apt-get man page.


You must unlearn what you have learned.
    -- yoda

Offline

#8 2019-09-25 13:21:02

clusterF
Member
Registered: 2019-05-07
Posts: 260

Re: [SOLVED] Bare minimum Debian install

PackRat wrote:
chrisdb wrote:

thx guys, so what's the safest/best option to download a package with all necessary dependencies?

If you have an existing Debian/BL install, apt-get with the --download-only option - apt-get man page.

That might be good but what if you want something like keepassxc which wants to pull in qt5 dependancies.

apt depends will show you needed dependencies and then work out for yourself how to go about it. It all depends on what programs you want to install, what do you want to have downloaded for offline installation?

Last edited by clusterF (2019-09-25 13:22:20)


"Thou Wanderer, Father of all! Thou Wanderer, Spirit of all!"

Offline

#9 2019-09-25 13:45:10

chrisdb
Member
Registered: 2019-09-12
Posts: 42

Re: [SOLVED] Bare minimum Debian install

clusterF wrote:

It all depends on what programs you want to install, what do you want to have downloaded for offline installation?

I'm trying to install debian through my wireless connection, but if I do not select a desktop environment, networkmanager is not installed and after installation and reboot I do not have an active wireless connection anymore and my card is blocked by RF-kill.

So first I was thinking of retrieving rfkill and wpa_supplicant, but maybe it's better to just download networkmanager?

Offline

#10 2019-09-25 19:42:12

ohnonot
...again
Registered: 2015-09-29
Posts: 4,135
Website

Re: [SOLVED] Bare minimum Debian install

Connecting to wifi with utilities already present on your install isn't hard.

Offline

#11 2019-09-26 01:46:53

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 760

Re: [SOLVED] Bare minimum Debian install

ohnonot wrote:

Connecting to wifi with utilities already present on your install isn't hard.

I think the OP could be referring to firmware files maybe as firmware is needed for certain wifi cards.


Real Men Use Linux

Offline

#12 2019-09-26 05:57:55

ohnonot
...again
Registered: 2015-09-29
Posts: 4,135
Website

Re: [SOLVED] Bare minimum Debian install

^ well post #9 clearly states that the problem is a lack of a graphical environment, but you are right to ask the question.
Dear OP, please show us the output requested here. Don't worry if some packages aren't currently installed.
you can redirect the output of each command to a file by appending "> file" to it, then copy the files to a location from where you can post them here.

Offline

#13 2019-09-26 06:08:02

chrisdb
Member
Registered: 2019-09-12
Posts: 42

Re: [SOLVED] Bare minimum Debian install

ohnonot wrote:

^ well post #9 clearly states that the problem is a lack of a graphical environment, but you are right to ask the question.
Dear OP, please show us the output requested here. Don't worry if some packages aren't currently installed.
you can redirect the output of each command to a file by appending "> file" to it, then copy the files to a location from where you can post them here.

This post tells me to install the rfkill package, but that is the problem. I don't yet have a network connection because I'm only using a wireless connection.

Offline

#14 2019-09-26 06:15:24

ohnonot
...again
Registered: 2015-09-29
Posts: 4,135
Website

Re: [SOLVED] Bare minimum Debian install

chrisdb wrote:

This post tells me to install the rfkill package, but that is the problem.

ohnonot wrote:

Don't worry if some packages aren't currently installed.

roll

Offline

#15 2019-09-26 17:53:59

chrisdb
Member
Registered: 2019-09-12
Posts: 42

Re: [SOLVED] Bare minimum Debian install

ok here you go :-)

4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20)
01:00.0 Network controller [0280]: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter [168c:0042] (rev 31)
	Subsystem: Lenovo QCA9377 802.11ac Wireless Network Adapter [17aa:0901]
	Kernel driver in use: ath10k_pci
	Kernel modules: ath10k_pci
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 10)
	Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:3891]
	Kernel driver in use: r8169
	Kernel modules: r8169
[    0.000000] [Firmware Info]: CPU: Re-enabling disabled Topology Extensions Support.
[    0.251316] [Firmware Bug]: AMD-Vi: IOAPIC[4] not in IVRS table
[    0.251321] [Firmware Bug]: AMD-Vi: IOAPIC[5] not in IVRS table
[    0.251323] [Firmware Bug]: AMD-Vi: No southbridge IOAPIC found
[    0.305410] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.315722] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-3f] only partially covers this bridge
[    7.832120] elan_i2c i2c-ELAN060B:00: Elan Touchpad: Module ID: 0x005b, Firmware: 0x0001, Sample: 0x0002, IAP: 0x000d
[    9.511332] ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/pre-cal-pci-0000:01:00.0.bin (-2)
[    9.511392] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    9.511479] ath10k_pci 0000:01:00.0: firmware: failed to load ath10k/cal-pci-0000:01:00.0.bin (-2)
[    9.807396] ath10k_pci 0000:01:00.0: firmware: direct-loading firmware ath10k/QCA9377/hw1.0/firmware-6.bin
[    9.808618] ath10k_pci 0000:01:00.0: firmware ver WLAN.TF.2.1-00021-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 42e41877
[    9.954818] ath10k_pci 0000:01:00.0: firmware: direct-loading firmware ath10k/QCA9377/hw1.0/board-2.bin
[   10.159565] [drm:amdgpu_pci_probe [amdgpu]] *ERROR* amdgpu requires firmware installed
[   10.159613] See https://wiki.debian.org/Firmware for information about missing firmware
[   10.567285] ath10k_pci 0000:01:00.0 wlp1s0: renamed from wlan0
Sep 26 15:03:29 debian systemd[1]: Starting Network Time Synchronization...
Sep 26 15:03:29 debian systemd[1]: Started Network Time Synchronization.
Sep 26 15:03:29 debian systemd[1]: Starting WPA supplicant...
Sep 26 15:03:29 debian systemd[1]: Starting Raise network interfaces...
Sep 26 15:03:29 debian kernel: [    0.290987] NET: Registered protocol family 16
Sep 26 15:03:29 debian kernel: [    0.291092] audit: initializing netlink subsys (disabled)
Sep 26 15:03:29 debian kernel: [    0.374818] NET: Registered protocol family 2
Sep 26 15:03:29 debian kernel: [    0.375729] NET: Registered protocol family 1
Sep 26 15:03:29 debian kernel: [    0.375735] NET: Registered protocol family 44
Sep 26 15:03:29 debian kernel: [    0.981978] NET: Registered protocol family 10
Sep 26 15:03:29 debian kernel: [    0.991423] NET: Registered protocol family 17
Sep 26 15:03:29 debian kernel: [   10.696213] NET: Registered protocol family 31
Sep 26 15:03:29 debian systemd[1]: Started Raise network interfaces.
Sep 26 15:03:29 debian systemd[1]: Started WPA supplicant.
Sep 26 15:03:29 debian wpa_supplicant[453]: Successfully initialized wpa_supplicant
Sep 26 15:03:29 debian systemd[1]: Reached target Network.
Sep 26 15:03:29 debian kernel: [   14.352534] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Sep 26 15:09:58 debian systemd[1]: Starting Network Time Synchronization...
Sep 26 15:09:58 debian systemd[1]: Starting Raise network interfaces...
Sep 26 15:09:58 debian systemd[1]: Started Network Time Synchronization.
Sep 26 15:09:58 debian systemd[1]: Starting WPA supplicant...
Sep 26 15:09:58 debian systemd[1]: Started Raise network interfaces.
Sep 26 15:09:58 debian kernel: [    0.289391] NET: Registered protocol family 16
Sep 26 15:09:58 debian kernel: [    0.289500] audit: initializing netlink subsys (disabled)
Sep 26 15:09:58 debian kernel: [    0.364998] NET: Registered protocol family 2
Sep 26 15:09:58 debian kernel: [    0.365901] NET: Registered protocol family 1
Sep 26 15:09:58 debian kernel: [    0.365908] NET: Registered protocol family 44
Sep 26 15:09:58 debian kernel: [    0.969675] NET: Registered protocol family 10
Sep 26 15:09:58 debian kernel: [    0.979035] NET: Registered protocol family 17
Sep 26 15:09:58 debian kernel: [   10.685796] NET: Registered protocol family 31
Sep 26 15:09:58 debian wpa_supplicant[457]: Successfully initialized wpa_supplicant
Sep 26 15:09:58 debian systemd[1]: Started WPA supplicant.
Sep 26 15:09:58 debian systemd[1]: Reached target Network.
Sep 26 15:09:59 debian kernel: [   14.587921] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Sep 26 15:15:10 debian systemd[1]: Starting Network Time Synchronization...
Sep 26 15:15:10 debian systemd[1]: Started Network Time Synchronization.
Sep 26 15:15:10 debian systemd[1]: Starting WPA supplicant...
Sep 26 15:15:10 debian systemd[1]: Starting Raise network interfaces...
Sep 26 15:15:10 debian kernel: [    0.289446] NET: Registered protocol family 16
Sep 26 15:15:10 debian kernel: [    0.289562] audit: initializing netlink subsys (disabled)
Sep 26 15:15:10 debian kernel: [    0.377190] NET: Registered protocol family 2
Sep 26 15:15:10 debian kernel: [    0.378089] NET: Registered protocol family 1
Sep 26 15:15:10 debian kernel: [    0.378095] NET: Registered protocol family 44
Sep 26 15:15:10 debian kernel: [    0.978077] NET: Registered protocol family 10
Sep 26 15:15:10 debian kernel: [    0.987421] NET: Registered protocol family 17
Sep 26 15:15:10 debian kernel: [   10.294724] NET: Registered protocol family 31
Sep 26 15:15:10 debian systemd[1]: Started Raise network interfaces.
Sep 26 15:15:10 debian systemd[1]: Started WPA supplicant.
Sep 26 15:15:10 debian wpa_supplicant[440]: Successfully initialized wpa_supplicant
Sep 26 15:15:10 debian systemd[1]: Reached target Network.
Sep 26 15:15:10 debian kernel: [   14.512985] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Sep 26 15:19:48 debian systemd[1]: Starting Network Time Synchronization...
Sep 26 15:19:48 debian systemd[1]: Starting Raise network interfaces...
Sep 26 15:19:48 debian systemd[1]: Started Network Time Synchronization.
Sep 26 15:19:48 debian systemd[1]: Starting WPA supplicant...
Sep 26 15:19:48 debian kernel: [    0.289673] NET: Registered protocol family 16
Sep 26 15:19:48 debian kernel: [    0.289788] audit: initializing netlink subsys (disabled)
Sep 26 15:19:48 debian kernel: [    0.369355] NET: Registered protocol family 2
Sep 26 15:19:48 debian kernel: [    0.370260] NET: Registered protocol family 1
Sep 26 15:19:48 debian kernel: [    0.370266] NET: Registered protocol family 44
Sep 26 15:19:48 debian kernel: [    0.978009] NET: Registered protocol family 10
Sep 26 15:19:48 debian kernel: [    0.987729] NET: Registered protocol family 17
Sep 26 15:19:48 debian kernel: [    9.815315] NET: Registered protocol family 31
Sep 26 15:19:48 debian systemd[1]: Started Raise network interfaces.
Sep 26 15:19:48 debian systemd[1]: Started WPA supplicant.
Sep 26 15:19:48 debian systemd[1]: Reached target Network.
Sep 26 15:19:48 debian wpa_supplicant[444]: Successfully initialized wpa_supplicant
Sep 26 15:19:48 debian kernel: [   13.501913] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Sep 26 19:32:42 debian systemd[1]: Starting Network Time Synchronization...
Sep 26 19:32:42 debian systemd[1]: Starting Raise network interfaces...
Sep 26 19:32:42 debian systemd[1]: Started Network Time Synchronization.
Sep 26 19:32:42 debian systemd[1]: Starting WPA supplicant...
Sep 26 19:32:42 debian kernel: [    0.291011] NET: Registered protocol family 16
Sep 26 19:32:42 debian kernel: [    0.291125] audit: initializing netlink subsys (disabled)
Sep 26 19:32:42 debian kernel: [    0.366383] NET: Registered protocol family 2
Sep 26 19:32:42 debian kernel: [    0.367288] NET: Registered protocol family 1
Sep 26 19:32:42 debian kernel: [    0.367294] NET: Registered protocol family 44
Sep 26 19:32:42 debian kernel: [    0.966825] NET: Registered protocol family 10
Sep 26 19:32:42 debian kernel: [    0.976247] NET: Registered protocol family 17
Sep 26 19:32:42 debian kernel: [    8.780253] NET: Registered protocol family 31
Sep 26 19:32:42 debian systemd[1]: Started Raise network interfaces.
Sep 26 19:32:42 debian systemd[1]: Started WPA supplicant.
Sep 26 19:32:42 debian wpa_supplicant[458]: Successfully initialized wpa_supplicant
Sep 26 19:32:42 debian systemd[1]: Reached target Network.
Sep 26 19:32:42 debian kernel: [   13.359108] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Reading package lists...
Building dependency tree...
Reading state information...
Unable to locate package rfkill

Offline

#16 2019-09-27 06:56:06

ohnonot
...again
Registered: 2015-09-29
Posts: 4,135
Website

Re: [SOLVED] Bare minimum Debian install

According to that output you DO have a network connection.
Show us

ping -c3 8.8.8.8
ping -c3 archive.org

Offline

#17 2019-09-27 16:27:24

chrisdb
Member
Registered: 2019-09-12
Posts: 42

Re: [SOLVED] Bare minimum Debian install

ohnonot wrote:

According to that output you DO have a network connection.
Show us

ping -c3 8.8.8.8
ping -c3 archive.org

1. Network is unreachable
2. Temporary failure in name resolution

Extra info: if I trigger 'ip link' command, it states that my wireless interface is not up.

Wlp1s0: <broadcast,Multicast> ...

If I then try to set the interfaces up, I get: RNETLINK answers: operation not possible due to RF-kill

Offline

#18 2019-09-27 17:02:02

dolly
Miss Mixunderstand
From: /lab1
Registered: 2015-10-03
Posts: 390

Re: [SOLVED] Bare minimum Debian install

What is output of  "rfkill list"?

https://wireless.wiki.kernel.org/en/use … ion/rfkill



Edit; much later, sorry chrisdb, I did it again.  ops

Last edited by dolly (2019-09-28 10:10:24)


Keep BunsenLabs #!yish please.

Offline

#19 2019-09-27 19:30:52

chrisdb
Member
Registered: 2019-09-12
Posts: 42

Re: [SOLVED] Bare minimum Debian install

dolly wrote:

That's the reason for my post :-)

The package is not yet installed and I do not have an active internet connection yet:

rfkill: command not found

Offline

#20 2019-09-27 19:49:33

Bridouz
Member
From: France, countryside
Registered: 2019-08-15
Posts: 25
Website

Re: [SOLVED] Bare minimum Debian install

What's your wifi adapter (card) model ?

I installed BunsenLabs from a minimal debian install.

Non-free-netinstall does have wifi drivers for installation bit they are not installed on your system.

I had to install them after (putting the .deb file on a usb key, mounting it and install manually)

I installed the wifi card firmware, dhcpcd and wpa_supplicant packages and followed the wiki to get my wifi up.

Will post a HOW-TO tomorrow wink

Offline

#21 2019-09-27 19:56:28

chrisdb
Member
Registered: 2019-09-12
Posts: 42

Re: [SOLVED] Bare minimum Debian install

Bridouz wrote:

What's your wifi adapter (card) model ?

I installed BunsenLabs from a minimal debian install.

Non-free-netinstall does have wifi drivers for installation bit they are not installed on your system.

I had to install them after (putting the .deb file on a usb key, mounting it and install manually)

I installed the wifi card firmware, dhcpcd and wpa_supplicant packages and followed the wiki to get my wifi up.

Will post a HOW-TO tomorrow wink

Thank you, but I know the procedure :-)  I used to have an arch installation

I just wanted to know the best way to do a BASE install through wifi. But for some reason my kernel soft blocks my wireless device. That's why I need rfkill. Apparently though, it is not included in the standard system utilities...

Offline

#22 2019-09-28 09:27:35

chrisdb
Member
Registered: 2019-09-12
Posts: 42

Re: [SOLVED] Bare minimum Debian install

Yes, found a solution!

I mounted the installation USB and pointed my sources.list to this mount.
DVD 1 contains the rfkill package :-)

deb [trusted=yes] file:/media/usb0/ buster main contrib non-free

I unblocked my wireless device and with wpa_supplicant and dhclient combined, I now have an active internet connection

Thx everyone for your help

Offline

#23 2019-09-28 23:28:25

DeepDayze
Member
From: In Linux Land
Registered: 2017-05-28
Posts: 760

Re: [SOLVED] Bare minimum Debian install

Surprised debian installer didn't offer the rfkill package considering a wireless device was detected. Rfkill should be an essential part of the wireless tools.


Real Men Use Linux

Offline

Board footer

Powered by FluxBB