LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 11-21-2020, 08:52 AM   #1
Challene
LQ Newbie
 
Registered: Feb 2020
Distribution: Slackware
Posts: 13

Rep: Reputation: 5
OpenBSD and laptop


Hello everyone!

I'm sorry for disturbing you and I'm a little bit uncomfortable because I'm not so active on forums and always trying to figure out something by myself (Don't want to disturb others).

I want to switch to OpenBSD, but I didn't find anything about hardware which is supported on OpenBSD (I'm not sure that I understand list of supported hardware in the F.A.Q. because there's not much about Intel).

Will OpenBSD run on a laptop with:

CPU: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz (x86_64, GenuineIntel)
Graphics: Intel HD Graphics 4400 (Integrated)
RAM: 8 GB

Or there can be some issues? (I don't care about Wi-Fi)

Thank you all for your time!
 
Old 11-21-2020, 08:58 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 5,371
Blog Entries: 3

Rep: Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671Reputation: 2671
I would try booting bsd.rd there and then look at the dmesg to see what the kernel recognizes. But off hand I would guess that it would be ok.
 
1 members found this post helpful.
Old 11-21-2020, 12:47 PM   #3
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Posts: 6,492

Rep: Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694
Cool

OpenBSD is quite good at identifying hardware. I'm running OpenBSD 6.8 on my T410 Thinkpad which has a 2.4 GHz cpu and 4 GB RAM. I'm happily running XFCE 4.14.
I suggest that you do a wired install of OpenBSD if your laptop has a RJ-45 connection. On first boot-up after your installation OpenBSD will automatically download any needed firmware for your wireless NIC, graphics card, sound card, etc.
 
1 members found this post helpful.
Old 11-21-2020, 02:20 PM   #4
Challene
LQ Newbie
 
Registered: Feb 2020
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 5
Thank you for your replies! I'll try to install OpenBSD tomorrow. Hope all will work fine!
 
1 members found this post helpful.
Old 11-21-2020, 02:49 PM   #5
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Posts: 6,492

Rep: Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694
Quote:
Originally Posted by Challene View Post
Thank you for your replies! I'll try to install OpenBSD tomorrow. Hope all will work fine!
Have fun!
As you're a Slackware user you are comfortable with manually editing configuration files. On first boot-up of OpenBSD on a wired connection you should see what type of wireless firmware is being downloaded and installed. On my Thinkpad it uses the iwn firmware.
To set-up a wireless connection after I've finished downloading what I want using my wired connection I open up a root terminal and navigate to the /etc directory and remove my wired connection script.

Code:
# cd /etc
# rm hostname.em0
Then I manually write my wireless connection script. I'll give you my example (removing the actual hostname and wireless password).

Code:
# vi /etc/hostname.iwn0
join nameofwirelessconnection wpakey wirelesspassword
dhcp
inet6 autoconf
up
Save and exit. On next boot-up your laptop will connect to your wireless hotspot.

Added later. Do read up on how to set-up OpenBSD before you install it. There are some configuration files you'll need to edit in addition to what I've mentioned.

Last edited by hitest; 11-21-2020 at 02:53 PM. Reason: Addition
 
1 members found this post helpful.
Old 11-21-2020, 03:19 PM   #6
Challene
LQ Newbie
 
Registered: Feb 2020
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by hitest View Post
Have fun!
As you're a Slackware user you are comfortable with manually editing configuration files. On first boot-up of OpenBSD on a wired connection you should see what type of wireless firmware is being downloaded and installed. On my Thinkpad it uses the iwn firmware.
To set-up a wireless connection after I've finished downloading what I want using my wired connection I open up a root terminal and navigate to the /etc directory and remove my wired connection script.

Code:
# cd /etc
# rm hostname.em0
Then I manually write my wireless connection script. I'll give you my example (removing the actual hostname and wireless password).

Code:
# vi /etc/hostname.iwn0
join nameofwirelessconnection wpakey wirelesspassword
dhcp
inet6 autoconf
up
Save and exit. On next boot-up your laptop will connect to your wireless hotspot.

Added later. Do read up on how to set-up OpenBSD before you install it. There are some configuration files you'll need to edit in addition to what I've mentioned.
Awesome! Thank you, hitest!
 
1 members found this post helpful.
Old 11-22-2020, 07:13 AM   #7
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,534

Rep: Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897Reputation: 1897
I would move the wired hostname.if(5) to a back up file rather rhan removing. To find out if your wifi adapter is supported, identify the chip under your current OS, then have a look at relevant man pages online.
 
2 members found this post helpful.
Old 11-22-2020, 01:53 PM   #8
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Posts: 6,492

Rep: Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694
Thumbs up

Quote:
Originally Posted by cynwulf View Post
To find out if your wifi adapter is supported, identify the chip under your current OS, then have a look at relevant man pages online.
Yes. I neglected to mention doing a hardware compatibility check. I agree with cynwulf. It is a very good idea to find out if your hardware will work with OpenBSD.
 
1 members found this post helpful.
Old 11-22-2020, 02:20 PM   #9
Challene
LQ Newbie
 
Registered: Feb 2020
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 5
What can I say. All works great, but I didn't tried wifi yet, because I don't use it and didn't tried to launch blender for 3D modeling yet, but I like already like OpenBSD. Only one thing I did wrong is installing OpenBSD on a whole disk instead of free space, so now I need to install Slackware again Thank you for your help!
 
1 members found this post helpful.
Old 11-22-2020, 04:34 PM   #10
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Posts: 6,492

Rep: Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694Reputation: 2694
Quote:
Originally Posted by Challene View Post
Only one thing I did wrong is installing OpenBSD on a whole disk instead of free space, so now I need to install Slackware again Thank you for your help!
Cool! I have set-up a dual boot with Slackware and OpenBSD; it works great. LILO plays nicely with OpenBSD. Here's a thread I created on that subject a while back.

https://www.linuxquestions.org/quest...ot-4175579277/
 
1 members found this post helpful.
Old 11-23-2020, 02:41 AM   #11
Challene
LQ Newbie
 
Registered: Feb 2020
Distribution: Slackware
Posts: 13

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by hitest View Post
Cool! I have set-up a dual boot with Slackware and OpenBSD; it works great. LILO plays nicely with OpenBSD. Here's a thread I created on that subject a while back.

https://www.linuxquestions.org/quest...ot-4175579277/
Awesome! Thank you, hitest! Hope I'll be able to set up a Slackware-OpenBSD dual boot
 
1 members found this post helpful.
Old 01-05-2021, 10:32 AM   #12
rufwoof
Member
 
Registered: Nov 2017
Distribution: OpenBSD Desktop and Server
Posts: 73

Rep: Reputation: Disabled
OpenBSD doesn't support my laptop wifi As I don't want to be hard wired the choices were either to tether via my android phone, or use a external aerial ... or, what I went with, kvm/qemu boot OpenBSD using Linux.

kvm/qemu booting works great for me. 30Mbs down, 10Mbs up (restricted upload speeds by ISP).

Neat features are that you have both Linux and OpenBSD 'dual booted' ... concurrently, and you can use qemu snapshots i.e. boot, install/setup and then shutdown and subsequently boot a snapshot image of that configured setup, where any changes are lost at shutdown, so you boot a nice clean/factory fresh version each time. Try things out, mess up, and a simple reboot has it back to how it was before. Or if you want to preserve changes, just boot the base version, apply the changes and shutdown, so subsequent snapshot boots picks up those changes.

That does mean storing data/bookmarks etc. "outside" of the system, but with dual Linux/OBSD boot its simple enough to sshfs mount (or scp/ssh) between the two.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenBSD: nvidia drivers, screen resolution and FreeBSD binaries on OpenBSD ::: *BSD 2 08-21-2009 05:18 AM
LXer: Fsck errors in the Linux filesystem on my OpenBSD laptop NOT caused by OpenBSD LXer Syndicated Linux News 1 08-31-2008 04:15 AM
LXer: OpenBSD: The OpenBSD Foundation LXer Syndicated Linux News 0 07-26-2007 11:31 AM
OpenBSD - Where can i get OpenBSD 3.7 ISO CD -- Please help me b:z Linux - Software 5 04-08-2005 08:09 AM
OpenBSD - Where can i get OpenBSD 3.7 ISO CD -- Please help me b:z Linux - Software 1 04-07-2005 09:46 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 10:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration