*

Offline xasop

  • Administrator
  • *****
  • Posts: 9777
  • Professional computer somebody
    • View Profile
New (used) laptop
« on: December 26, 2014, 05:44:01 AM »
I've been looking for a decent laptop that can run OpenBSD (recent Chromebooks are nice in terms of battery life, but suck at hardware support from anything but ChromeOS). I trawled the OpenBSD mailing list archives a bit, and found that the Lenovo ThinkPad X201 is supposed to be very reliable and well-supported, as well as being fairly small and light. It's a bit old, so it's not exceptionally lightweight by modern standards, but I can live with that.

I found and bought an X201 on eBay for $300. Bargain, considering the reputation this laptop has for reliability on the 'net. I can't wait to get my hands on it and install OpenBSD.

Meanwhile, my recent PC Case Gear order has been delayed by a lack of the SATA cables I ordered. This turns out to be a blessing in disguise, as I can now request an additional SSD to be added to the order for my new laptop, to replace its HDD.

At the moment, I'm mostly considering an Intel 530 Series 120 GB model. I won't use more than 120 GB on a laptop, and the X201 is old enough that it doesn't support SATA 3, so capacity and performance aren't worthy considerations. On the other hand, that Intel SSD has very lower power consumption (fuck yeah battery life), as well as a 5-year warranty (I care more about drives failing in laptops than in desktops, because I might be travelling with no access to backups when it happens).

I'll think about it some more and add an SSD to that order later today or tomorrow. Meanwhile, feel free to post suggestions.
when you try to mock anyone while also running the flat earth society. Lol

*

Offline xasop

  • Administrator
  • *****
  • Posts: 9777
  • Professional computer somebody
    • View Profile
Re: New (used) laptop
« Reply #1 on: December 26, 2014, 06:50:50 AM »
Actually, I might just spend the little extra and get a 128 GB Samsung 850 Pro instead. It's lighter, has a 10-year warranty, and closer inspection of Intel's documentation suggests that their stated power values are measured significantly differently from Samsung's, to the point of putting power consumption on par.
when you try to mock anyone while also running the flat earth society. Lol

*

Offline xasop

  • Administrator
  • *****
  • Posts: 9777
  • Professional computer somebody
    • View Profile
Re: New (used) laptop
« Reply #2 on: December 26, 2014, 07:07:18 AM »
Actually, I might just spend the little extra and get a 128 GB Samsung 850 Pro instead. It's lighter, has a 10-year warranty, and closer inspection of Intel's documentation suggests that their stated power values are measured significantly differently from Samsung's, to the point of putting power consumption on par.

Done and done. I was tempted to get a bigger SSD for teh lulz, but it would have been a completely ridiculous decision because I don't like carrying around large volumes of data on a portable computer; it's a hassle to make sure I have regular backups of all of it.

January 2015 is going to be so kickass with all these new gadgets.
when you try to mock anyone while also running the flat earth society. Lol

*

Offline xasop

  • Administrator
  • *****
  • Posts: 9777
  • Professional computer somebody
    • View Profile
Re: New (used) laptop
« Reply #3 on: December 27, 2014, 04:27:07 AM »
I just bought a 9-cell battery to replace the 6-cell in my new laptop. This is going to be so great.
when you try to mock anyone while also running the flat earth society. Lol

Thork

Re: New (used) laptop
« Reply #4 on: December 28, 2014, 01:22:55 AM »
A quadruple post. Good etiquette.  ::)

Ghost of V

Re: New (used) laptop
« Reply #5 on: December 28, 2014, 01:47:32 AM »
A quadruple post. Good etiquette.  ::)


Quadruple post usually implies duplicates. Each post contains different information so I don't see what the problem is here.

*

Offline xasop

  • Administrator
  • *****
  • Posts: 9777
  • Professional computer somebody
    • View Profile
Re: New (used) laptop
« Reply #6 on: December 30, 2014, 09:10:36 PM »
It has arrived, with a 9-cell battery after all. I guess I have a spare.

I'm just waiting for my SSD to get here, which should happen today, and then I can install OpenBSD.
when you try to mock anyone while also running the flat earth society. Lol

Re: New (used) laptop
« Reply #7 on: December 30, 2014, 09:32:00 PM »
Postal services are still working NYE?

*

Offline xasop

  • Administrator
  • *****
  • Posts: 9777
  • Professional computer somebody
    • View Profile
Re: New (used) laptop
« Reply #8 on: December 30, 2014, 10:17:26 PM »
Postal services are still working NYE?

According to Australia Post's tracker thing, my PC Case Gear order will be delivered today. Let's see if that actually happens.
when you try to mock anyone while also running the flat earth society. Lol

*

Offline Pete Svarrior

  • e
  • Planar Moderator
  • *****
  • Posts: 16082
  • (◕˽ ◕ ✿)
    • View Profile
Re: New (used) laptop
« Reply #9 on: December 30, 2014, 10:30:10 PM »
Postal services are still working NYE?

According to Australia Post's tracker thing, my PC Case Gear order will be delivered today. Let's see if that actually happens.
inb4 no
Read the FAQ before asking your question - chances are we already addressed it.
Follow the Flat Earth Society on Twitter and Facebook!

If we are not speculating then we must assume

*

Offline xasop

  • Administrator
  • *****
  • Posts: 9777
  • Professional computer somebody
    • View Profile
Re: New (used) laptop
« Reply #10 on: December 31, 2014, 02:02:15 AM »
It got here, and I've put it in the laptop and installed OpenBSD. It is great.
when you try to mock anyone while also running the flat earth society. Lol

*

Offline xasop

  • Administrator
  • *****
  • Posts: 9777
  • Professional computer somebody
    • View Profile
Re: New (used) laptop
« Reply #11 on: December 31, 2014, 02:30:05 PM »
This laptop + OpenBSD is just fantastic. It cleanly suspends and resumes when I close and open the lid, no messy loose ends lying around afterwards, which is something I'm just not used to from Linux. I even wanted it to auto-lock the screen on suspend, so I dropped a four-line shell script into /etc/apm/suspend to run xlock, and it just fucking works. This is so much better than old-school Linux, and so much easier to configure than systemd. The trade-off is a loss of some amount of flexibility, but with source code as clean and easy to modify as OpenBSD's, who cares if it doesn't do what you want out of the box?
when you try to mock anyone while also running the flat earth society. Lol

*

Offline xasop

  • Administrator
  • *****
  • Posts: 9777
  • Professional computer somebody
    • View Profile
Re: New (used) laptop
« Reply #12 on: January 01, 2015, 05:49:05 PM »
First post from the new laptop.

I'm really, really enjoying OpenBSD. Everything is so simple and easy to use. I've started working on a modified version of this wireless script that is capable of scanning for and auto-detecting the best available network.

In order to use this capability, I have netstart(8) configured to run it on boot:

Code: (/etc/hostname.iwn0) [Select]
!/usr/local/sbin/wireless --auto
rtsol

I also have apmd(8) configured to run it when resuming from sleep:

Code: (/etc/apm/resume) [Select]
#!/bin/sh

/usr/local/sbin/wireless --auto | logger -t wireless

And I've configured my window manager, i3, to reconfigure the network automatically when I press Super+N:

Code: (/home/steven/.i3/config) [Select]
bindsym $mod+n exec /bin/sh -c "/usr/bin/sudo /usr/local/sbin/wireless --auto | /usr/bin/logger -t wireless"

This is so much nicer than the overcomplicated network management bloatware found on every other OS I've ever tried. That other approach inevitably gets what I want wrong, and then I have to waste hours trying to figure out why it's not smarter than me when it seems to be designed like it should be. This shit just works, and I know exactly how it works because it's incredibly simple.
« Last Edit: January 01, 2015, 05:56:22 PM by Parsifal »
when you try to mock anyone while also running the flat earth society. Lol

*

Offline xasop

  • Administrator
  • *****
  • Posts: 9777
  • Professional computer somebody
    • View Profile
Re: New (used) laptop
« Reply #13 on: January 01, 2015, 06:17:29 PM »
I also have apmd(8) configured to run it when resuming from sleep:

Code: (/etc/apm/resume) [Select]
#!/bin/sh

/usr/local/sbin/wireless --auto | logger -t wireless

This will have its first real test coming up soon. I've configured my phone to share its Internet connection via WiFi, and configured that as one of the wireless networks on my laptop. When I open up my laptop lid on the bus, it should resume from sleep, run this script and automatically start using my phone's Internet connection.
when you try to mock anyone while also running the flat earth society. Lol

*

Offline xasop

  • Administrator
  • *****
  • Posts: 9777
  • Professional computer somebody
    • View Profile
Re: New (used) laptop
« Reply #14 on: January 01, 2015, 07:53:48 PM »
I also have apmd(8) configured to run it when resuming from sleep:

Code: (/etc/apm/resume) [Select]
#!/bin/sh

/usr/local/sbin/wireless --auto | logger -t wireless

This will have its first real test coming up soon. I've configured my phone to share its Internet connection via WiFi, and configured that as one of the wireless networks on my laptop. When I open up my laptop lid on the bus, it should resume from sleep, run this script and automatically start using my phone's Internet connection.

Well, that works as far as the laptop goes. My phone seems to turn off its WiFi hotspot after around 5 minutes of inactivity, so I'll have to see what I can do about that. Maybe I can trigger a WiFi activation over Bluetooth, or just use Bluetooth instead of WiFi.
when you try to mock anyone while also running the flat earth society. Lol