From owner-freebsd-x11@freebsd.org Thu Nov 28 21:20:51 2019 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C2DD41B8A62; Thu, 28 Nov 2019 21:20:51 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47P9Xy5mHxz46cG; Thu, 28 Nov 2019 21:20:50 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.5.235.226]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPA (Nemesis) id 1MVdUQ-1iBB0W2D5A-00RVa4; Thu, 28 Nov 2019 22:15:28 +0100 Date: Thu, 28 Nov 2019 22:15:27 +0100 From: Polytropon To: vm finance Cc: Per Hedeland , freebsd-x11@freebsd.org, Daniele Mazzotti , FreeBSD Mailing List Subject: Re: FreeBSD-12.1 on laptop Message-Id: <20191128221527.d6d86459.freebsd@edvax.de> In-Reply-To: References: <20191128103810.9599da0b.freebsd@edvax.de> <770ebb05-9d76-1b54-5bf5-af548368e19e@hedeland.org> <20191128140254.fc3ee735.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:3pIlV+59ZrUY3iBvCjq+y3RNMINwqYPNDwC5SUsLmJ4d5RsSsg7 rbXlRFw18hG7MFwRcoLFf1qlSp33Ttr1HsmcngQrb9H6Na+1wub/4GhUqaeAm5UZydnPAye LmQ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9Xy5mHxz46cG X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.73) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [6.45 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; IP_SCORE(0.55)[ip: (0.23), ipnet: 217.72.192.0/20(0.24), asn: 8560(2.29), country: DE(-0.01)]; RCPT_COUNT_FIVE(0.00)[5]; HAS_ORG_HEADER(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[226.235.5.178.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.997,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.999,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[73.192.72.217.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,body]; SUSPICIOUS_RECIPS(1.50)[] X-Spam: Yes X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Nov 2019 21:20:51 -0000 On Thu, 28 Nov 2019 20:24:26 +0530, vm finance wrote: > Its highly likely that its misconfigured ;( trying my best to get it to > work so I can do my real work ;( rather than bothering everyone. No big deal. ;-) > I am thinking of quitting this startx...and use ssh to login to the laptop > to do my work. You need to make sure the following applies to your system: Stuff you don't need gets removed (nvidia kernel module and probably nvidia X driver - if you don't have nVidia hardware, there's no reason to have those installed and _loaded_). First try the i915kms.ko supplied by FreeBSD (the OS version, _not_ the ports version). Don't touch anything DRM-related yet. Install the xf86-video-intel driver for X. Check that there is no xorg.conf on your system that (for whatever reason) tries to explicitely load the nvidia driver. With no configuration file, autodetection should work just fine. If you see you _need_ the DRM kernel module from ports, get the ports tree, build it yourself: # cd /usr/ports/graphics/drm-kmod # make In case it's already installed (check the output of the following command: "pkg info 'drm*'"), remove the installed version first, then install yours: # make deinstall # make reinstall Then check the configuration files again: _no_ xorg.conf, relevant entries in /boot/loader.conf or /etc/rc.conf as per the documentation. If you have successfully rebooted, check the output of "kldstat". Verify that your username is a member of the group "video". If not - add it. Then login as that user, and run "startx". It should work. Summary: Know your system's state _before_ trying to add something new. > Basically use ssh over wifi and continue That's possible, but why surrender that fast? > 1. Are there any known issues with getting wifi to work in non-X > environment in 12.1 RELEASE? Not that I know. You just have to add the correct entries to /etc/rc.conf, and your access credentials to /etc/wpa_supplicant_conf, that's it. Here is an example: In /etc/rc.conf: wlans_wpi0="wlan0" ifconfig_wlan0="WPA DHCP" In /etc/wpa_supplicant.conf: network={ ssid="NETWORKNAME" key_mgmt=WPA-PSK psk="THEPASSWORD" } Substitute NETWORKNAME and THEPASSWORD accordingly. :-) The wireless network will be brought up on system startup automatically. To find out your WiFi adapter's name, check "pciconf -lv | less" and "ifconfig -a" (this command is also very convenient to verify that you are connected). You can find more information here: https://www.freebsd.org/doc/handbook/network-wireless.html http://www.wonkity.com/~wblock/docs/html/wireless.html https://forums.freebsd.org/threads/setup-wifi-network-step-by-step.67577/ You can always use the console to check each step for success, so no guessing needed if you seem to have connection problems. > 2. Is there a way to have multiple consoles (like we do Alt-F1, Alt-F2 .... > ) for Linux? For Linux? In how far? FreeBSD has virtual consoles that you can select with Alt+PF1, Alt+PF2 and so on. You can press PRINT to cycle through the consoles, and of course SCROLL LOCK or PAUSE to activate and deactivate the scroll buffer (scrolling with arrow and page keys). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...