You are not logged in.

#1 2016-10-21 23:23:25

Harrowed
Member
Registered: 2016-10-21
Posts: 8

How to get network during installation without ethernet

Hi,

I'm trying to install Bunsenlabs to a laptop which doesn't have an ethernet port and has only one usb port. The firmware-iwlwifi package would contain the firmware for the wireless card so could that firmware be loaded in some part of the installation? And how can get it loaded when the only usb port I have is taken by the Bunsenlabs installation media?

Edit: I noticed that the laptop has second usb port but other problems have raised below big_smile

Last edited by Harrowed (2016-10-22 14:32:39)

Offline

#2 2016-10-21 23:33:31

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: How to get network during installation without ethernet

Harrowed wrote:

The firmware-iwlwifi package would contain the firmware for the wireless card so could that firmware be loaded in some part of the installation? And how can get it loaded when the only usb port I have is taken by the Bunsenlabs installation media?

The BunsenLabs ISO image already contains that firmware blob.

Perhaps your card is too new for our Debian jessie-based system.

What is the hardware?

lspci -knn|grep -iA2 net

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#3 2016-10-22 01:23:31

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 381

Re: How to get network during installation without ethernet

You can also buy an inexpensive usb port splitter, as long as you don't overload the little bit of current you'll be getting from one port; or there's more expensive powered port splitters.

Offline

#4 2016-10-22 06:30:18

Harrowed
Member
Registered: 2016-10-21
Posts: 8

Re: How to get network during installation without ethernet

Head_on_a_Stick wrote:
Harrowed wrote:

The firmware-iwlwifi package would contain the firmware for the wireless card so could that firmware be loaded in some part of the installation? And how can get it loaded when the only usb port I have is taken by the Bunsenlabs installation media?

The BunsenLabs ISO image already contains that firmware blob.

Perhaps your card is too new for our Debian jessie-based system.

What is the hardware?

lspci -knn|grep -iA2 net

Oh yeah, seems that it's actually included.

It says that hardware is:
02:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
        Subsystem: Intel Corporation Device [8086:9010]

Any tips to get the wireless connection working during install?

Edit: Mistyped

Edit2: So it seems that I would need newer kernel to get the wireless card working. How impossible my installation now becomes?

Last edited by Harrowed (2016-10-22 06:57:11)

Offline

#5 2016-10-22 07:17:41

ohnonot
...again
Registered: 2015-09-29
Posts: 5,482

Re: How to get network during installation without ethernet

have you actually already tried installing?
you don't need an internet connection at all.
install offline, but there's a few things to do after the install:
- add sources to /etc/apt/sources.list
- run "sudo apt-get update && sudo apt-get upgrade"


Give to COVAX! Here or here. (explanation)

Offline

#6 2016-10-22 08:21:05

Harrowed
Member
Registered: 2016-10-21
Posts: 8

Re: How to get network during installation without ethernet

ohnonot wrote:

have you actually already tried installing?
you don't need an internet connection at all.
install offline, but there's a few things to do after the install:
- add sources to /etc/apt/sources.list
- run "sudo apt-get update && sudo apt-get upgrade"

Okay, tried now to install without internet connection but the grub installation fails. Probably not because of the internet connection or can it be because of that? Any tips for this problem?

Offline

#7 2016-10-22 09:56:06

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: How to get network during installation without ethernet

Harrowed wrote:

the grub installation fails

You may have a GPT disk but lack the BIOS boot partition needed to house the GRUB bootloader, I have seen failures like that from the BL installer before.

Check by using:

sudo parted -l

If the table is described as "GPT" and there is no partition with the "bios_boot" flag then that will be the problem.

If you intend to boot solely with BunsenLabs then it would probably be simplest to put a traditional, MBR-style partition table on the device instead -- you can use the `fdisk` command from the util-linux package to do this wink


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#8 2016-10-22 09:58:36

damo
....moderator....
Registered: 2015-08-20
Posts: 6,620

Re: How to get network during installation without ethernet

Head_on_a_Stick wrote:

...
If you intend to boot solely with BunsenLabs then it would probably be simplest to put a traditional, MBR-style partition table on the device instead -- you can use the `fdisk` command from the util-linux package to do this wink

Or use gparted from the Live disc.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#9 2016-10-22 12:28:43

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 730

Re: How to get network during installation without ethernet

If you do decide to go the MBR route, make sure to use gpt aware tools that will actually remove the gpt info, otherwise you can end up with both on disk, gpt resides the other end of the disk, which can cause issues later.  Info regarding the potentil issue is here


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#10 2016-10-22 13:22:02

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: How to get network during installation without ethernet

Bearded_Blunder wrote:

Info regarding the potentil issue is here

Yes, this is an excellent point smile

Unfortunately, the version of gdisk available from the jessie repositories is a beta and I am uncomfortable recommending the use of that program on hard drives.

I have just been testing with my BL system and I can confirm that GParted will correctly wipe both the main and backup GUID partition tables and create a functional MBR so I would recommend using that program from the live environment.

I tried using `fdisk` but the changes don't seem to stick...
hmm


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#11 2016-10-22 13:52:14

Harrowed
Member
Registered: 2016-10-21
Posts: 8

Re: How to get network during installation without ethernet

Uhm...

sudo parted -l gave out the following

Model: Unknown (unknown)
Disk /dev/nvme0n1: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size   Type      File system  Flags
 1      1049kB  256MB  255MB  primary   ext2
 2      257MB   256GB  256GB  extended
 5      257MB   256GB  256GB  logical

gparted doens't even find the disk. Help?

Offline

#12 2016-10-22 13:57:42

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: How to get network during installation without ethernet

Harrowed wrote:
Disk /dev/nvme0n1: 256GB

There's the problem.

GRUB used to have a problem with NVMe devices, that has been fixed for the newer versions but perhaps the version used in our ISO image is so afflicted.

https://bugs.debian.org/cgi-bin/bugrepo … bug=785149

EDIT: if the latest (8.6) Debian jessie ISO images work, you could try a netinstall with no desktop selected and then use johnraff's netinstall script to Bunsenify the system:

https://github.com/BunsenLabs/bunsen-netinstall

EDIT2: aargh! How would a netinstall work with no internet connection? Sorry...
ops

Can you temporarily connect with a wire?

Last edited by Head_on_a_Stick (2016-10-22 14:07:27)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#13 2016-10-22 14:20:00

Harrowed
Member
Registered: 2016-10-21
Posts: 8

Re: How to get network during installation without ethernet

Head_on_a_Stick wrote:

EDIT2: aargh! How would a netinstall work with no internet connection? Sorry...
ops

Can you temporarily connect with a wire?

The laptop doesn't have an ethernet port, I would need to buy a usb to ethernet adapter just for that...

Offline

#14 2016-10-22 14:42:49

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: How to get network during installation without ethernet

I think MX have an updated ISO image with a backported kernel that may support your wireless card:

https://mxlinux.org/

Forum member @stevep is one of the developers, hopefully he will spot this thread and explain better smile


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#15 2016-10-22 14:44:26

bubbajack
Member
Registered: 2016-10-21
Posts: 8

Re: How to get network during installation without ethernet

May I suggest to insert the HDD in another machine, install the OS, and then replug it in the original machine?
I actually did this quite a lot of times, and most of the time it worked. If after installation the OS complains about unrecognized driver, you could easily copy the live iso initrd.gz into your installed system.


Heavy Metal Rulez _\m/

Offline

#16 2016-10-23 09:25:02

ohnonot
...again
Registered: 2015-09-29
Posts: 5,482

Re: How to get network during installation without ethernet

ok, back to the first post and the original question: is it possible to get wifi working during install:
basically, yes.
somebody said that the bunsen iso already includes required firmwares?
this device:

02:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
        Subsystem: Intel Corporation Device [8086:9010]

according to this page you need at least kernel 4.1 (btw, enetering the search terms "linux Intel Corporation Wireless 8260" yielded LOTS of interesting- and relevant-looking results).

since you won't be able to update the kernel during install (HoaS and others? am i wrong?), there's a different solution outlined here: https://askubuntu.com/a/735987 - and if that doesn't work, you might have to do this: https://askubuntu.com/a/693165

i have once (!) succeeded to install additional firmware during a debian install. i don't remember exactly, but it comes down to having the file(s) in the root directory of a usb stick (which probably has to be ext4 formatted, NOT fat32) and the installer evtl. asked for "additional software for wireless device" or some such.

phew, i don't envy you...


Give to COVAX! Here or here. (explanation)

Offline

#17 2016-10-23 10:14:06

damo
....moderator....
Registered: 2015-08-20
Posts: 6,620

Re: How to get network during installation without ethernet

ohnonot wrote:

.....
i have once (!) succeeded to install additional firmware during a debian install. i don't remember exactly, but it comes down to having the file(s) in the root directory of a usb stick (which probably has to be ext4 formatted, NOT fat32) and the installer evtl. asked for "additional software for wireless device" or some such....

Method for Broadcom outlined here, but should be transferable for other firmware: HowTo: Do a netinstall with a Broadcom b43xx wireless card (Method 3)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#18 2016-10-23 10:19:45

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: How to get network during installation without ethernet

ohnonot wrote:

i have once (!) succeeded to install additional firmware during a debian install. i don't remember exactly, but it comes down to having the file(s) in the root directory of a usb stick (which probably has to be ext4 formatted, NOT fat32) and the installer evtl. asked for "additional software for wireless device" or some such.

https://www.debian.org/releases/stable/ … 04.html.en


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#19 2016-10-23 13:45:49

MW2K
Member
From: NSW, Australia
Registered: 2016-10-23
Posts: 22

Re: How to get network during installation without ethernet

Re: getting on the net. Can you tether your cell phone and go that route? Is that a possibility?

Offline

#20 2016-10-23 18:31:56

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: How to get network during installation without ethernet

damo wrote:
ohnonot wrote:

.....
i have once (!) succeeded to install additional firmware during a debian install. i don't remember exactly, but it comes down to having the file(s) in the root directory of a usb stick (which probably has to be ext4 formatted, NOT fat32) and the installer evtl. asked for "additional software for wireless device" or some such....

Method for Broadcom outlined here, but should be transferable for other firmware: HowTo: Do a netinstall with a Broadcom b43xx wireless card (Method 3)

Awesome write up Damo...any reason you haven't ported that post to here on the Bunsen Labs forums?

Off topic here folks::

Also just something I noticed, for method 3.... Step 5.1  You say :

Boot with the firmware iso, start the graphical installer, and then immediately insert the usb stick with the /firmware

When you say boot with the firmware iso I think you mean boot with the netisntall iso right?

Anyway this seems like an issue that could sort of be a hinderence as newer hardware comes out... Is this something that can detected or warned against during installs?  I dare say something to add to the bl-welcome? An option if the user needs to "side port" the needed wifi drivers?   And or recommend that certain drivers/firmware may require an updated kernel?

Last edited by Horizon_Brave (2016-10-23 18:42:39)


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#21 2016-10-23 18:47:24

damo
....moderator....
Registered: 2015-08-20
Posts: 6,620

Re: How to get network during installation without ethernet

Horizon_Brave wrote:

...
Awesome write up Damo...any reason you haven't ported that post to here on the Bunsen Labs forums?...

Because the BL iso has the necessary broadcom firmware wink  At the time of the post BL was built using a netinstall iso, followed by the BL netinstall script.

Also, as HoaS pointed out, there is a Debian howto (which I also linked to in my HowTo)


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#22 2016-11-01 21:58:47

Harrowed
Member
Registered: 2016-10-21
Posts: 8

Re: How to get network during installation without ethernet

Head_on_a_Stick wrote:

EDIT: if the latest (8.6) Debian jessie ISO images work, you could try a netinstall with no desktop selected and then use johnraff's netinstall script to Bunsenify the system:

https://github.com/BunsenLabs/bunsen-netinstall

EDIT2: aargh! How would a netinstall work with no internet connection? Sorry...
ops

Can you temporarily connect with a wire?

Maybe I should update that I managed to do the install with this method and a borrowed usb to ethernet adapter. The grub installation still errored but I was able to install it with this guide.

To get the wifi working I had to update the kernel from the backports and install iwlwifi also from there. There was problem of kernel loading wrong wifi module but I found fix for that from here.

My laptop is Xiaomi Mi notebook Air, maybe this information could help someone in the future.

Offline

Board footer

Powered by FluxBB