Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
reading
Jul 27, 2013

reading posted:

Nvidia driver under Xubuntu problem:

I tried to upgrade my Nvidia driver to a newer version because my new monitor was having problems. To do that, I have to disable lightdm so I ssh'd into my computer from a laptop, stopped the lightdm service, and applied the Nvidia driver using their run program and following the prompts.

Once that was finished I restarted and tried to restart the lightdm service, but it won't restart for several tries. Then it occaisionally does say that the service got restarted, but my monitors stay dark. What's going on here? Even when lightdm says it's working there's nothing happening on the blank screens. I can't even get a login screen to show up.

Update- here are the error logs, should have included these with my original question. Can anyone please help me make sense of these?
code:
[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.10.6, UID=0 PID=6724
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/90-nvidia.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf.d/10-xubuntu.conf
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Registered seat module surfaceflinger
[+0.00s] DEBUG: Adding default seat
[+0.00s] DEBUG: Seat: Starting
[+0.00s] DEBUG: Seat: Creating greeter session
[+0.00s] DEBUG: Seat: Creating display server of type x
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat: Starting local X display on VT 7
[+0.01s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.01s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+0.01s] DEBUG: DisplayServer x-0: Launching X Server
[+0.01s] DEBUG: Launching process 6737: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.13s] DEBUG: Process 6737 terminated with signal 6
[+0.13s] DEBUG: DisplayServer x-0: X server stopped
[+0.13s] DEBUG: Releasing VT 7
[+0.13s] DEBUG: DisplayServer x-0: Removing X server authority /var/run/lightdm/root/:0
[+0.13s] DEBUG: Seat: Display server stopped
[+0.13s] DEBUG: Launching process 6859: /sbin/prime-switch
[+0.22s] DEBUG: Process 6859 exited with return value 0
[+0.22s] DEBUG: Seat: Exit status of /sbin/prime-switch: 0
[+0.22s] DEBUG: Seat: Stopping; greeter display server failed to start
[+0.22s] DEBUG: Seat: Stopping
[+0.22s] DEBUG: Seat: Stopping session
[+0.22s] DEBUG: Seat: Session stopped
[+0.22s] DEBUG: Seat: Stopped
[+0.22s] DEBUG: Required seat has stopped
[+0.22s] DEBUG: Stopping display manager
[+0.22s] DEBUG: Display manager stopped
[+0.22s] DEBUG: Stopping daemon
[+0.22s] DEBUG: Seat: Stopping session
[+0.22s] DEBUG: Exiting with return value 1
And from /var/log/lightdm/x-0.log
code:
X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux Mars 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-39-generic root=UUID=cf8374fd-e19e-475c-8181-037c85f1a047 ro nosplash debug
Build Date: 12 February 2015  02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see [url]http://www.ubuntu.com/support[/url]) 
Current version of pixman: 0.30.2
	Before reporting problems, check [url]http://wiki.x.org[/url]
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan 20 04:56:56 2016
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension Present
Initializing built-in extension DRI3
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension SELinux
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
(EE) 
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x7fa9eb773848]
(EE) 1: /usr/bin/X (0x7fa9eb5ca000+0x1ad539) [0x7fa9eb777539]
(EE) 2: /lib/x86_64-linux-gnu/libpthread.so.0 (0x7fa9ea6c6000+0x10340) [0x7fa9ea6d6340]
(EE) 3: /usr/bin/X (RRSetChanged+0x50) [0x7fa9eb6da740]
(EE) 4: /usr/bin/X (RRScreenSetSizeRange+0x54) [0x7fa9eb6dec44]
(EE) 5: /usr/bin/X (xf86RandR12CreateScreenResources+0x2a5) [0x7fa9eb69efc5]
(EE) 6: /usr/bin/X (0x7fa9eb5ca000+0xc804c) [0x7fa9eb69204c]
(EE) 7: /usr/bin/X (0x7fa9eb5ca000+0x59c04) [0x7fa9eb623c04]
(EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf5) [0x7fa9e9106ec5]
(EE) 9: /usr/bin/X (0x7fa9eb5ca000+0x451ee) [0x7fa9eb60f1ee]
(EE) 
(EE) Segmentation fault at address 0xa0
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at [url]http://wiki.x.org[/url]
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.

Adbot
ADBOT LOVES YOU

evol262
Nov 30, 2010
#!/usr/bin/perl
Check ldconfig. What's libGL pointing to?

reading
Jul 27, 2013

evol262 posted:

Check ldconfig. What's libGL pointing to?

Here's the verbose output I get after grepping for libGL:

code:
/sbin/ldconfig.real: Can't stat /lib/i686-linux-gnu: No such file or directory
/sbin/ldconfig.real: Can't stat /usr/lib/i686-linux-gnu: No such file or directory
/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: /lib/i386-linux-gnu/ld-2.19.so is the dynamic linker, ignoring

	libGL.so.1 -> libGL.so.358.16
	libGLESv2.so.2 -> libGLESv2.so.358.16
/sbin/ldconfig.real: /lib/x86_64-linux-gnu/ld-2.19.so is the dynamic linker, ignoring

	libGLdispatch.so.0 -> libGLdispatch.so.0
	libGLU.so.1 -> libGLU.so.1.3.1
	libGLESv1_CM.so.1 -> libGLESv1_CM.so.358.16
	libGL.so.1 -> libGL.so.358.16
	libGLESv2.so.2 -> libGLESv2.so.358.16
	libGLdispatch.so.0 -> libGLdispatch.so.0
	libGLU.so.1 -> libGLU.so.1.3.1
	libGLESv1_CM.so.1 -> libGLESv1_CM.so.358.16
/sbin/ldconfig.real: /lib32/ld-2.19.so is the dynamic linker, ignoring

/sbin/ldconfig.real: /lib/ld-lsb.so.3 is the dynamic linker, ignoring

Hope I used that right, I just did $ sudo ldfconfig -v | grep libGL. I had upgraded the NVidia driver to 358.16 from 340.32 when this mess started.

Hughmoris
Apr 21, 2007
Let's go to the abyss!

evol262 posted:

git clone it, then "./autogen.sh && configure && make && make install". Then use HTML::Gumbo (which appears to be the CPAN module)

Thanks for the tips. I don't have a firm grasp on Git either, so is this what I want to do?

code:
$ git clone git://github.com/google/gumbo-parser
$ ./autogen.sh && configure && make && make install
I already have the module installed for Perl 6. Thanks again for the help.

Hughmoris fucked around with this message at 03:33 on Jan 22, 2016

IAmKale
Jun 7, 2007

やらないか

Fun Shoe
Is it possible to run Android apps in a regular window as though it were a typical program? I'm tired of the fact that Linux has no real answer to Outlook. Sure, Evolution exists but its Exchange support is only "better than Thunderbird's" while on my phone Nine does a kick-rear end job of keeping me up-to-date with actual push notifications (instead of Evolution's timed pull refreshes).

evol262
Nov 30, 2010
#!/usr/bin/perl

Hughmoris posted:

Thanks for the tips. I don't have a firm grasp on Git either, so is this what I want to do?

code:
$ git clone git://github.com/google/gumbo-parser
$ ./autogen.sh && configure && make && make install
I already have the module installed for Perl 6. Thanks again for the help.

Well, unless you have an account on github, you can just clone with http. And you'll need to cd into gumbo-parser after cloning, bu yeah.

reading posted:

Here's the verbose output I get after grepping for libGL:

code:
/sbin/ldconfig.real: Can't stat /lib/i686-linux-gnu: No such file or directory
/sbin/ldconfig.real: Can't stat /usr/lib/i686-linux-gnu: No such file or directory
/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: /lib/i386-linux-gnu/ld-2.19.so is the dynamic linker, ignoring

	libGL.so.1 -> libGL.so.358.16
	libGLESv2.so.2 -> libGLESv2.so.358.16
/sbin/ldconfig.real: /lib/x86_64-linux-gnu/ld-2.19.so is the dynamic linker, ignoring

	libGLdispatch.so.0 -> libGLdispatch.so.0
	libGLU.so.1 -> libGLU.so.1.3.1
	libGLESv1_CM.so.1 -> libGLESv1_CM.so.358.16
	libGL.so.1 -> libGL.so.358.16
	libGLESv2.so.2 -> libGLESv2.so.358.16
	libGLdispatch.so.0 -> libGLdispatch.so.0
	libGLU.so.1 -> libGLU.so.1.3.1
	libGLESv1_CM.so.1 -> libGLESv1_CM.so.358.16
/sbin/ldconfig.real: /lib32/ld-2.19.so is the dynamic linker, ignoring

/sbin/ldconfig.real: /lib/ld-lsb.so.3 is the dynamic linker, ignoring

Hope I used that right, I just did $ sudo ldfconfig -v | grep libGL. I had upgraded the NVidia driver to 358.16 from 340.32 when this mess started.
Ok, so libgl is at least pointing to nvidia's, which is good. Do you have another GPU in the system? Is mesa-libgl installed?

Karthe posted:

Is it possible to run Android apps in a regular window as though it were a typical program? I'm tired of the fact that Linux has no real answer to Outlook. Sure, Evolution exists but its Exchange support is only "better than Thunderbird's" while on my phone Nine does a kick-rear end job of keeping me up-to-date with actual push notifications (instead of Evolution's timed pull refreshes).

Why not use ARC? It'll need to run in Chrome, but that's not a real issue.

reading
Jul 27, 2013

evol262 posted:


Ok, so libgl is at least pointing to nvidia's, which is good. Do you have another GPU in the system? Is mesa-libgl installed?


Only one graphics card, and a search for mesa-libgl doesn't show up anything (using $ sudo find / -name mesa-libgl* ).

evol262
Nov 30, 2010
#!/usr/bin/perl
It's the package name. It also lives as libgl

My basic concern is that you may still have managed libraries (from the nvidia driver deb or mesa-libgl) alongside what the nvidia binary installer did.

Also, is modesetting on or off?

IAmKale
Jun 7, 2007

やらないか

Fun Shoe

evol262 posted:

Why not use ARC? It'll need to run in Chrome, but that's not a real issue.
Wow, ARC Welder has come a long way from when I initially tried back when it debuted. I had no issues at all getting Nine up and running, thank you :tipshat:

reading
Jul 27, 2013

evol262 posted:

It's the package name. It also lives as libgl

My basic concern is that you may still have managed libraries (from the nvidia driver deb or mesa-libgl) alongside what the nvidia binary installer did.

Also, is modesetting on or off?

Where can I check for modesetting? There's no mention of it in /etc/X11/xorg.conf or in /etc/lightdm/lightdm.conf.

How can I see if there are managed libraries like you mentioned?

When I got this driver off Nvidia's website I checked the compatible cards and I was sure mine was in the list, but just now I searched for a driver for 64-bit linux for the GeForce GTX 760 on their website (https://www.nvidia.com/Download/index.aspx?lang=en-us) and they point me to 352.63. I wonder if I or they made a mistake and I'm using the wrong driver, and 358 isn't actually compatible with my card? I can't find the original location where I got the driver from that had the compatible card list.

evol262
Nov 30, 2010
#!/usr/bin/perl
7xx series need nvidia's legacy drivers now.

Modesetting is a kernel argument.

You can check whether you have a package with the nvidia drivers with dpkg -l or apt --installed list. If it's present, you should remove it and reinstall the binary drivers

Experto Crede
Aug 19, 2008

Keep on Truckin'
At work, one of our windows admins has been showing off the show-command cmdlet in powershell, which basically generates a simple UI based on whatever command you put into it, and lets you make it a bit more advanced with some simple options in your powershell script.

I think I remember seeing something like this for linux, but I'm not 100% sure. Does anything like this exist that people know of?

Boris Galerkin
Dec 17, 2011

I don't understand why I can't harass people online. Seriously, somebody please explain why I shouldn't be allowed to stalk others on social media!
So in OS X when I do "ls -G" I get colors which are different from when I do "ls --color=auto" in Linux. How do I change the Linux color scheme to be the same as in my OS X shell?

evol262
Nov 30, 2010
#!/usr/bin/perl

Boris Galerkin posted:

So in OS X when I do "ls -G" I get colors which are different from when I do "ls --color=auto" in Linux. How do I change the Linux color scheme to be the same as in my OS X shell?

Copy dircolors

Experto Crede posted:

At work, one of our windows admins has been showing off the show-command cmdlet in powershell, which basically generates a simple UI based on whatever command you put into it, and lets you make it a bit more advanced with some simple options in your powershell script.

I think I remember seeing something like this for linux, but I'm not 100% sure. Does anything like this exist that people know of?

Canonical used to have something vaguely like this, but I can't remember the name of it...

Combat Pretzel
Jun 23, 2004

No, seriously... what kurds?!

reading posted:

I wonder if I or they made a mistake and I'm using the wrong driver, and 358 isn't actually compatible with my card?
Uh, just download 358 or 361 and install it? The only time NVidia's driver selector matters is when you have laptop graphics and/or a really ancient card. Both of the releases just run fine with my GTX 780. Also, not sure what the case is with your distro, but on Arch I had to specifically install the nvidia-libgl package instead of mesa-gl.

PBCrunch
Jun 17, 2002

Lawrence Phillips Always #1 to Me
My friend has a bunch of PCs running Windows 10 in his automotive shop. He also has a couple of old Sharp laser printers with no drivers for Windows 7 or newer. If these printers work with Linux (probably), is it possible to share them to Windows PCs using Samba as some other type of printer? Ie, can a Raspberry Pi or something connect to an old Sharp printer, but tell Windows clients that it is an HP LaserJet 4 or something?

reading
Jul 27, 2013

evol262 posted:

7xx series need nvidia's legacy drivers now.

Modesetting is a kernel argument.

You can check whether you have a package with the nvidia drivers with dpkg -l or apt --installed list. If it's present, you should remove it and reinstall the binary drivers

Thank you for all your help- I got this fixed finally. I had some kind of old nvidia version stuff floating around and removed it, then re-ran the installer for 358. Now everything's back up and running, and the upgrade fixed the glitches I was getting as I had originally hoped.

Graphics card driver support in linux is improving pretty rapidly due to Valve/Steam's support and I hope it continues to improve in the future so it's not such a confusing mess.

Megaman
May 8, 2004
I didn't read the thread BUT...

Megaman posted:

I use Debian preseed for my home machines, I have a script that preseed runs when it's finished to do everything outside of base install. All I have to do with this setup is select boot from usb key and it gets me all the way to a fresh working desktop.

Now I've been thinking of switching to arch, I can make a script that automates install, but how do I get from boot to that script? Is there a standard method out there that people use?

Bump for any answers

BlackMK4
Aug 23, 2006

wat.
Megamarm
I'm running a couple of Airport Extremes in my house for 802.11ac - this has been fine since I hung a switch off my iMac and connected all of my linux stuff / PS4 to it then masqueraded the connection with OSX Connection Sharing. I sold my iMac so I ordered a Gigabyte AC adapter and threw it in my new Ubuntu 15 server.
code:
iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
How do I force the thing into using 802.11AC to connect? It's maxing out around 55mbit transferring across the LAN, so I assume it's running 802.11N.

Should I just buy another Airport Extreme to hang everything off of?

BlackMK4 fucked around with this message at 20:22 on Jan 24, 2016

evol262
Nov 30, 2010
#!/usr/bin/perl

reading posted:

Graphics card driver support in linux is improving pretty rapidly due to Valve/Steam's support and I hope it continues to improve in the future so it's not such a confusing mess.
Well, I'd argue that while Valve/Steam are doing an excellent job finding bugs and improving performance issues, it hasn't had much of an effect on the driver installation process.

Simply, almost every distro these days just packages drivers (or has an external repo with packaged drivers available) with dkms so you don't need to go through the hassle of using the binary installer, ever. There's almost no good reason to be doing this yourself instead of through the package manager, and if you do it through the package manager it pretty much "just works" (because nvidia's confusing mess is hidden by package maintainers). You shouldn't need to use the binary drivers, and I wouldn't recommend it, especially to new-ish users.

BlackMK4 posted:

I'm running a bunch of couple of Airport Extremes in my house for 802.11ac - this has been fine since I hung a switch off my iMac and connected all of my linux stuff / PS4 to it then masqueraded the connection with OSX Connection Sharing. I sold my iMac so I ordered a Gigabyte AC adapter and threw it in my new Ubuntu 15 server.
code:
iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
How do I force the thing into using 802.11AC to connect? It's maxing out around 55mbit transferring across the LAN, so I assume it's running 802.11N.

Should I just buy another Airport Extreme to hang everything off of?
You can force 5ghz in networkmanager.

Megaman posted:

Now I've been thinking of switching to arch, I can make a script that automates install, but how do I get from boot to that script? Is there a standard method out there that people use?
Put it on your media and pass "script=..." on the kernel cmdline.

BlackMK4
Aug 23, 2006

wat.
Megamarm
I'm on 5GHz, but 5GHz can also be used for 802.11n.
code:
wlan0     IEEE 802.11abgn  ESSID:"-"  
          Mode:Managed  Frequency:5.745 GHz  Access Point: 88:1F:A1:35:C8:21   
          Bit Rate=65 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=43/70  Signal level=-67 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:2705  Invalid misc:31449   Missed beacon:0
This is what I see on my MBP next to it.

BlackMK4 fucked around with this message at 20:35 on Jan 24, 2016

gourdcaptain
Nov 16, 2012

reading posted:

Graphics card driver support in linux is improving pretty rapidly due to Valve/Steam's support and I hope it continues to improve in the future so it's not such a confusing mess.

While I've had better luck with graphics cards in recent years, I just wish the Stream Runtime wasn't so tied to Ubuntu/Debian systems - in order to get it working on Fedora or Arch at all on my systems requires searching online for ridiculous LD_CONFIG setups to get it to run games at all. I've also got a system with an integrated Radeon card I can't get working with steam at all (to play stuff like FTL and decade old games on) since it keeps overriding the needed Mesa libraries no matter what I do and then crashing hilariously.

evol262
Nov 30, 2010
#!/usr/bin/perl

gourdcaptain posted:

While I've had better luck with graphics cards in recent years, I just wish the Stream Runtime wasn't so tied to Ubuntu/Debian systems - in order to get it working on Fedora or Arch at all on my systems requires searching online for ridiculous LD_CONFIG setups to get it to run games at all. I've also got a system with an integrated Radeon card I can't get working with steam at all (to play stuff like FTL and decade old games on) since it keeps overriding the needed Mesa libraries no matter what I do and then crashing hilariously.

Steam is packaged for Fedora, and ships a bunch of debian libraries with it to make it work. But no LD_CONFIG stuff is needed.

BlackMK4 posted:

I'm on 5GHz, but 5GHz can also be used for 802.11n.
code:
wlan0     IEEE 802.11abgn  ESSID:"-"  
          Mode:Managed  Frequency:5.745 GHz  Access Point: 88:1F:A1:35:C8:21   
          Bit Rate=65 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=43/70  Signal level=-67 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:2705  Invalid misc:31449   Missed beacon:0

The fastest mode should be automatically chosen. Are you sure your card actually has ac support in Linux?

Thanks Ants
May 21, 2004

#essereFerrari


BlackMK4 posted:

I'm on 5GHz, but 5GHz can also be used for 802.11n.
code:
wlan0     IEEE 802.11abgn  ESSID:"-"  
          Mode:Managed  Frequency:5.745 GHz  Access Point: 88:1F:A1:35:C8:21   
          Bit Rate=65 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=43/70  Signal level=-67 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:2705  Invalid misc:31449   Missed beacon:0
This is what I see on my MBP next to it.


It doesn't look like your drivers recognise it as an 802.11ac-capable card.

gourdcaptain
Nov 16, 2012

evol262 posted:

Steam is packaged for Fedora, and ships a bunch of debian libraries with it to make it work. But no LD_CONFIG stuff is needed.

To be fair, that was Fedora 22 having that issue, and part of the problem was getting it to work with Bumblebee. (I'm normally an Arch guy for personal machines, but ended up using Fedora for month due to a microcode problem on a Broadwell laptop causing Arch or Mint (or even Fedora 23) to crash under load due to an unpatched TSX bug that Intel took forever to release Broadwell microcode for.)

BlackMK4
Aug 23, 2006

wat.
Megamarm

evol262 posted:

The fastest mode should be automatically chosen. Are you sure your card actually has ac support in Linux?

Thanks Ants posted:

It doesn't look like your drivers recognise it as an 802.11ac-capable card.

Fuckin great. I was pretty sure it was supported. Maybe not.
code:
[    1.478223] iwlwifi 0000:03:00.0: loaded firmware version 25.30.13.0 op_mode iwlmvm
[    1.511847] iwlwifi 0000:03:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
Guess I'll buy another Airport Extreme.

corded ware culture
Jul 16, 2007
mean green
this is probably something simple, but googling for a solution is making me think it's not.

i have a headless file server with ubuntu server 14.04 installed on a usb flash drive. i have a larger usb flash drive i want to move the installation to. is there an easy way to do this while maintaining all my file permissions, etc? but obviously utilizing more space on the installation partition.

evol262
Nov 30, 2010
#!/usr/bin/perl

gourdcaptain posted:

To be fair, that was Fedora 22 having that issue, and part of the problem was getting it to work with Bumblebee. (I'm normally an Arch guy for personal machines, but ended up using Fedora for month due to a microcode problem on a Broadwell laptop causing Arch or Mint (or even Fedora 23) to crash under load due to an unpatched TSX bug that Intel took forever to release Broadwell microcode for.)

Steam has been packaged since Fedora 20 or something. Bumblebee doesn't care, since steam doesn't ship its own libgl

gourdcaptain
Nov 16, 2012

evol262 posted:

Steam has been packaged since Fedora 20 or something. Bumblebee doesn't care, since steam doesn't ship its own libgl

Looking at the script I had written for it, it was an issue with the C++ standard libraries to get it to run on Fedora 22 (I think the C++ ABI change). On Arch, I've got to set game-specific overrides on libstdc++ and a few others in the launch configuration to get them to work in conjunction with Bumblebee. Forgive me though, I'll just keep in mind any problems I have with this are fictional from now on.

gourdcaptain fucked around with this message at 01:47 on Jan 25, 2016

evol262
Nov 30, 2010
#!/usr/bin/perl

gourdcaptain posted:

Looking at the script I had written for it, it was an issue with the C++ standard libraries in conjunction with Bumblebee. Forgive me though, I'll just keep in mind any problems I have with this are fictional from now on.

Actually, what I meant (besides squelching the idea for others reading it that Steam is a mess on Fedora which requires LD_CONFIG -- it isn't, and I've used it problem-free for years with the package) was that filing bugs against steam or the Fedora package is a better route

gourdcaptain
Nov 16, 2012

evol262 posted:

Actually, what I meant (besides squelching the idea for others reading it that Steam is a mess on Fedora which requires LD_CONFIG -- it isn't, and I've used it problem-free for years with the package) was that filing bugs against steam or the Fedora package is a better route

Fair enough. On Fedora it was a known bug at the time, and on Arch well... I try to keep on top of filing bugs, but nobody can get the AMD Mesa drivers working long judging by the forum posts.

reading
Jul 27, 2013
How do I change write permissions for an entire drive in Mint? I have an SSD drive mounted at /media/myname/big-number-blob and I can only create files in there with sudo. I'd like it to just be seen as a normal area belonging to my user that I can write to.

BlackMK4
Aug 23, 2006

wat.
Megamarm
chown -R username /media/myname/big-number-blob

covener
Jan 10, 2004

You know, for kids!

reading posted:

How do I change write permissions for an entire drive in Mint? I have an SSD drive mounted at /media/myname/big-number-blob and I can only create files in there with sudo. I'd like it to just be seen as a normal area belonging to my user that I can write to.

If it's not a normal/native filesystem, check out the uid (and umask options) for mount. Otherwise, fix the ownership directly I guess like previous poster said

(edit: elaborated, was thinking some silly vfat filesystem)

Experto Crede
Aug 19, 2008

Keep on Truckin'

corded ware culture posted:

this is probably something simple, but googling for a solution is making me think it's not.

i have a headless file server with ubuntu server 14.04 installed on a usb flash drive. i have a larger usb flash drive i want to move the installation to. is there an easy way to do this while maintaining all my file permissions, etc? but obviously utilizing more space on the installation partition.

You should just use dd, plug in both drives on a different machine (You don't wanna do a dd whilst data is being written to the source) and then do:

code:
sudo dd if=/dev/sdc of=/dev/sdd
Which will copy the entire structure of /dev/sdc (Assuming this is USB Drive 1, obviously check before running the command) to /dev/sdd (USB Drive 2) at the block level, so perms are maintained.

After that you'll wanna expand your main ext partition on the new drive to use the remaining space, so you can just do:

code:
resize2fs /dev/sdd2


(Where sdd2 is the ext partition in question. Again, check.)

Experto Crede
Aug 19, 2008

Keep on Truckin'
Double post, but quick automation question:

I have a VM node that will, at most, have about a dozen VMs on it. What is the recommended automation tool for something that small scale to just do simple things like manage updates, keep configs in check, etc? Puppet, chef, etc.?

They're all linux hosts running CentOS if it makes much difference.

corded ware culture
Jul 16, 2007
mean green

Experto Crede posted:

You should just use dd, plug in both drives on a different machine (You don't wanna do a dd whilst data is being written to the source) and then do:

code:
sudo dd if=/dev/sdc of=/dev/sdd
Which will copy the entire structure of /dev/sdc (Assuming this is USB Drive 1, obviously check before running the command) to /dev/sdd (USB Drive 2) at the block level, so perms are maintained.

After that you'll wanna expand your main ext partition on the new drive to use the remaining space, so you can just do:

code:
resize2fs /dev/sdd2


(Where sdd2 is the ext partition in question. Again, check.)

thanks! dd worked perfectly. i couldn't get resize2fs to work, but was able to use gparted to get that part done.

ToxicFrog
Apr 26, 2008


corded ware culture posted:

thanks! dd worked perfectly. i couldn't get resize2fs to work, but was able to use gparted to get that part done.

resize2fs is specifically for ext2/3/4 filesystems, so if you're using XFS or btrfs or something it wouldn't work. gparted automatically selects the right tool.

Kilson
Jan 16, 2003

I EAT LITTLE CHILDREN FOR BREAKFAST !!11!!1!!!!111!
I'm having weird issues trying to setup IPv6 on a CentOS 6.7 (kernel 2.6.32-573.12.1.el6.x86_64) box. Sometimes it works (very briefly), but mostly it doesn't. For example:

code:
[root@dut ~]# service network restart
Shutting down interface eth0:                              [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:                                    [  OK  ]

[root@dut ~]# ping6 ipv6.google.com
PING ipv6.google.com(og-in-x66.1e100.net) 56 data bytes
64 bytes from og-in-x66.1e100.net: icmp_seq=1 ttl=54 time=8.71 ms
64 bytes from og-in-x66.1e100.net: icmp_seq=2 ttl=54 time=8.72 ms
^C
--- ipv6.google.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1350ms
rtt min/avg/max/mdev = 8.713/8.717/8.721/0.004 ms

[root@dut ~]# ping6 ipv6.google.com
PING ipv6.google.com(og-in-x71.1e100.net) 56 data bytes
^C
--- ipv6.google.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3494ms
This is within 30 seconds. Why would it just suddenly stop working? If I restart networking again, sometimes it will work and sometimes it won't, regardless of whether I change configuration.

Here's what I have now in /etc/sysconfig/network-scripts/ifcfg-eth0:

code:
DEVICE=eth0
TYPE=Ethernet
UUID=xxxxxxxxxxxxx
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=static
IPADDR=xx.xx.xx.xx
GATEWAY=xx.xx.xx.xx
NETMASK=255.255.255.224
DNS1=8.8.8.8
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6ADDR_SECONDARIES="xx:xx:xx:xx:xx:xx:xx:xx/64"
NAME="System eth0"
I've tried manually configuring the address, and setting the IPV6_DEFAULTDEV, as well as any other settings people claim will work, but nothing does. Some configurations don't work at all, but the ones that do all behave similarly.

Is there something missing? I thought maybe it's because I don't have an IPv6 gateway, but that information was conveniently not given to us by our provider.

Adbot
ADBOT LOVES YOU

evol262
Nov 30, 2010
#!/usr/bin/perl
What's actually handing out the address? If it's autoconf, you can check ip -6 route, and see whether you can still ping the gateway.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply