General Linux Chat and Small Questions v. I broke my Arch Install
6,886 replies, posted
[QUOTE=Darkwater124;46238501]What if you do 2>&1 | grep aaaaa?[/QUOTE]
[QUOTE]asdf@pcbender:/media/asdf/DATA/steam-server/tf2$ ./srcds_run -game tf +sv_pure 1 +map mvm_ghost_town.bsp +maxplayers 32 -debug +port 27015 2>&1 | grep aaaaa
Using breakpad minidump system
Loaded 4448 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_textures.vpk for pure server operation.
Loaded 4448 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_textures.vpk for pure server operation.
Loaded 1459 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_sound_vo_english.vpk for pure server operation.
Loaded 1459 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_sound_vo_english.vpk for pure server operation.
Loaded 957 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_sound_misc.vpk for pure server operation.
Loaded 957 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_sound_misc.vpk for pure server operation.
Loaded 3 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_scripts.vpk for pure server operation.
Loaded 3 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_scripts.vpk for pure server operation.
Loaded 1280 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_misc.vpk for pure server operation.
[/QUOTE]
Nope it doesn't help at all
[QUOTE=Abaddon-ext4;46249628]Nope it doesn't help at all[/QUOTE]
Seems like SRCDS does not use stdout then, I'm guessing that it writes to the tty directly instead for some reason.
I googled around some and nohup was suggested, have you tried prefixing the command with nohup?
Aka: "nohup srcds ... | grep stuff" ?
[QUOTE=FPtje;46230814]Every other kernel update breaks my mousepad.
3.15 - broken
3.16 - worked
3.16 some patch - broken
3.17 - working
My touchpad man.[/QUOTE]
It wasn't this apparently. Well maybe it was, but it didn't solve it.
The problem was laptop-mode-tools. Something that came preinstalled on manjaro. I didn't even know I had it.
I also had problems with my mouse when using my battery. It would turn off after a couple of seconds. I could [I]echo -1 >/sys/module/usbcore/parameters/autosuspend[/I] all the fuck I wanted but it just wouldn't solve the problem.
It turns out laptop-mode-tools runs on Manjaro by default, with the absolute [B]worst[/B] default settings, specifically on USB autosuspend. My touchpad didn't work, my Trust wired mouse just got turned off after TWO seconds of being idle, Clicking would wake it up again. Even my touch screen stopped working.
Disabling usb-autosuspend in the laptop-mode config settings fixed it.
laptop-mode-tools is a useful program, but why does it have such shitty default values? My laptop was practically [I]broken[/I] when on battery. The config file even taunted me saying it's not their fault:
[code]
#__COMMENT NOTE: Some USB devices claim they support autosuspend, but implement it in a
#__COMMENT broken way. This can mean keyboards losing keypresses, or optical mice turning
#__COMMENT their LED completely off. If you have a device that misbehaves, add its USB ID
#__COMMENT to the blacklist below and complain to your hardware vendor.
[/code]
Something that can fuck a laptop up should not be on by default, [B]regardless[/B] of whose fault it is.
Weird that auto-suspend would disable a touchpad.
That's one of the shitty things about Manjaro. They assume too much
It's probably the default settings of laptop-mode itself.
Tried out KDE/Plasma/(whatever they call it now) 5.1 today. Looks very nice, but still too broken to use as an everyday DE.
Maybe by 5.3 it will be stable enough to use.
im an arch user but i hear you can do a barebones install with debian testing so i decided to try it out
seems kinda cool so far
[QUOTE=elevate;46258756]im an arch user but i hear you can do a barebones install with debian testing so i decided to try it out
seems kinda cool so far[/QUOTE]
AFAIK you could probably even do a barebones install of Ubuntu using the mini.iso and on fedora with their netinstall. It's pretty cool.
[QUOTE=IpHa;46243233]Best guess right now is that there's a bug in 3.17.0 involving snapshots and/or volume sending. It started as a corrupt snapshot that I couldn't delete, then a few days later suddenly killed the whole FS.
Don't upgrade to 3.17.0 if you're using btrfs, and if you're already on 3.17.0 don't create or move subvolumes.
[URL]http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg38049.html[/URL]
[editline]15th October 2014[/editline]
Looks like a fix didn't make it into 3.17.1 either.[/QUOTE]
Thanks for the information. I've got 3.17.0 configured and boot-ready, and 3.17.1 ready to be built, but currently using gentoo-sources-3.16.3. Looks like I'll remain here for a little while longer then.
[QUOTE=Anderen2;46250144]Seems like SRCDS does not use stdout then, I'm guessing that it writes to the tty directly instead for some reason.
I googled around some and nohup was suggested, have you tried prefixing the command with nohup?
Aka: "nohup srcds ... | grep stuff" ?[/QUOTE]
Things are really crazy here
Without nohup:
[QUOTE] ./srcds_run -game tf +sv_pure 1 +map mvm_ghost_town.bsp +maxplayers 32 -debug +port 27015 | grep -v Setting\ sv_visiblemaxplayers\ to\ 6\ for\ MvM
Auto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
./srcds_run: 1: ./srcds_run: gdb: not found
WARNING: Please install gdb first.
goto [url]http://www.gnu.org/software/gdb/[/url]
Server will auto-restart if there is a crash.
Using breakpad minidump system
Using breakpad crash handler
Setting breakpad minidump AppID = 440
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Loaded 4448 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_textures.vpk for pure server operation.
Loaded 4448 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_textures.vpk for pure server operation.
Loaded 1459 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_sound_vo_english.vpk for pure server operation.
Loaded 1459 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_sound_vo_english.vpk for pure server operation.
Loaded 957 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_sound_misc.vpk for pure server operation.
Loaded 957 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_sound_misc.vpk for pure server operation.
Loaded 3 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_scripts.vpk for pure server operation.
Loaded 3 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_scripts.vpk for pure server operation.
Loaded 1280 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_misc.vpk for pure server operation.
Loaded 1280 VPK file hashes from /media/asdf/DATA/steam-server/tf2/tf/tf2_misc.vpk for pure server operation.
Loaded 1217 VPK file hashes from /media/asdf/DATA/steam-server/tf2/hl2/hl2_textures.vpk for pure server operation.
Loaded 574 VPK file hashes from /media/asdf/DATA/steam-server/tf2/hl2/hl2_sound_vo_english.vpk for pure server operation.
Loaded 383 VPK file hashes from /media/asdf/DATA/steam-server/tf2/hl2/hl2_sound_misc.vpk for pure server operation.
Loaded 439 VPK file hashes from /media/asdf/DATA/steam-server/tf2/hl2/hl2_misc.vpk for pure server operation.
Loaded 5 VPK file hashes from /media/asdf/DATA/steam-server/tf2/platform/platform_misc.vpk for pure server operation.
server_srv.so loaded for "Team Fortress"
maxplayers set to 32
No '-replayserverdir' parameter found - using default replay folder.
Replay: Creating thread pool...succeeded.
Replay: Starting thread pool with 4 threads...succeeded.
Cleaning files from temp dir, "/media/asdf/DATA/steam-server/tf2/tf/replay/server/tmp/" ...no files removed.
Unknown command "r_decal_cullsize"
--------------------------------------------------------
sv_pure value unchanged (current value is 1).
--------------------------------------------------------
ConVarRef dev_loadtime_map_start doesn't point to an existing ConVar
maxplayers set to 32
Unknown command "port"
Unknown command "startupmenu"
WARNING: Port 27015 was unavailable - bound to port 27016 instead
WARNING: Port 27005 was unavailable - bound to port 27006 instead
WARNING: Port 27020 was unavailable - bound to port 27021 instead
Network: IP 127.0.1.1, mode MP, dedicated Yes, ports 27016 SV / 27006 CL
pure_server_whitelist.txt not present; pure server using only base file rules
trusted_keys.txt not present; pure server using only base trusted key list
SOLID_VPHYSICS static prop with no vphysics model! (models/props_mining/conveyor_belt.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_mining/conveyor_belt.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_mvm/mvm_human_skull.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_halloween/cobweb_04.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_halloween/cobweb_01.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_halloween/cobweb_04.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_mvm/mvm_human_skull.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_halloween/cobweb_04.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_halloween/cobweb_01.mdl)
SOLID_VPHYSICS static prop with no vphysics model! (models/props_halloween/cobweb_04.mdl)
L 10/17/2014 - 20:40:16: -------- Mapchange to mvm_ghost_town --------
ConVarRef room_type doesn't point to an existing ConVar
Executing dedicated server config file server.cfg
Using map cycle file 'cfg/mapcycle_default.txt'. ('cfg/mapcycle.txt' was not found.)
[/QUOTE]
With nohup:
[QUOTE]asdf@pcbender:/media/asdf/DATA/steam-server/tf2$ nohup ./srcds_run -game tf +sv_pure 1 +map mvm_ghost_town.bsp +maxplayers 32 -debug +port 27015 | grep -v Setting\ sv_visiblemaxplayers\ to\ 6\ for\ MvM
nohup: ignoring input and redirecting stderr to stdout
Auto detecting CPU
Using default binary: ./srcds_linux
Enabling debug mode
./srcds_run: 1: ./srcds_run: gdb: not found
WARNING: Please install gdb first.
goto [url]http://www.gnu.org/software/gdb/[/url]
Server will auto-restart if there is a crash.
Using breakpad crash handler
Setting breakpad minidump AppID = 440
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
[/QUOTE]
and it looks like it hangs up, but it still functioning and I can connect to it. But at that point why I don't just use RCON to admin my server? The point is for me to directly control my server through the console
Great now I'm debating elementary and Manjaro
[editline]17th October 2014[/editline]
Actually is elementary going to use Mir?
[QUOTE=kaukassus;46258765]AFAIK you could probably even do a barebones install of Ubuntu using the mini.iso and on fedora with their netinstall. It's pretty cool.[/QUOTE]
Man up and LFS, package managers are for chumps
[editline]17th October 2014[/editline]
[QUOTE=Adam.GameDev;46261278]Great now I'm debating elementary and Manjaro
[editline]17th October 2014[/editline]
Actually is elementary going to use Mir?[/QUOTE]
Not necessarily. Ubuntu will use Mir for Unity, but other DEs can use Wayland. Ubuntu Gnome will use Wayland, and Elementary was based on Gnome Shell code. So its most similar to Gnome Shell, and would likely use Wayland
Mir is just a huge waste of time as is everything else being done for mainline Ubuntu (unity, patched old versions of gtk, etc)
How can I navigate out of the root directory? I have other directories I need to get into that are above root, I am using a FTP program currently but would like to be able to navigate through the command shell.
Is there a way to save off certain locations as shortcuts also? To save having to navigate down a massive tree of folders?
[QUOTE=ThePunisher1;46262710]How can I navigate out of the root directory? I have other directories I need to get into that are above root, I am using a FTP program currently but would like to be able to navigate through the command shell.
Is there a way to save off certain locations as shortcuts also? To save having to navigate down a massive tree of folders?[/QUOTE]
I don't think you're supposed to get out of the root cage you're assigned to, regardless of whether we're talking about an FTP root or shell root.
I don't think I've ever given up on a distribution as fast as I have with elementary. I'm going to LMDE, I feel like having something rolling
I made the switch I guess. No dual boot!
What is wrong with my TL-WN772N usb wifi dongle? It always creates a 500ms lag spike every several minutes or so, and dmesg output isn't showing anything weird. Is there any way to debug this thing?
after trying debian minimal out i decided to set up a virtual machine with both arch and debian on them
they both share a swap partition and a shared data partition (not home). had some problems setting up grub to detect both of them but i eventually made it work, although i dont know exactly how!
i wonder if even having arch and debian share partitions will be necessary. would i have saved myself trouble by having them just be two different virtual machines?
anyways it was a fun learning experience
The g++ package in Debian is 4 times larger than the gcc package.
C++ is so fat, even the compiler's the size of a whale.
[QUOTE=~Kiwi~v2;46272635]So I scored myself a droplet from Digital Ocean for a month and I wanted to try it out with it running Linux. Now I'm coming here with basic linux knowledge and I want to find a use for it.
What do you guys recommend for a learning experience I should do with this linux box and what I have the possibility of doing with this thing.[/QUOTE]
I know you said you had basic experience, but you may want to get acquainted with the shell better and I mean [I]reeeeeal familiar[/I]. Tools like [I]make[/I](1), [I]man[/I](1), etc. Commonly overlooked tools because many people still like regular GUIs in their fancy schmancy windows. Terminal multiplexers like [I]dvtm[/I](1), [I]tmux[/I](1), or [I]screen[/I](1) can help you out a bit. If you want a little "challenge", I challenge thee to write an IRC bot using Bash builtins, coreutils (sed, awk, etc.), and [url=http://tools.suckless.org/ii/]ii[/url].
Also, consider [url=http://zsh.sourceforge.net/]the Z shell[/url].
For one, it has completion for fucking [I]everything[/I]. I was using ssh-keygen earlier, accidentally pressed tab after typing ssh-keygen - and was presented with a small list of possible options with an explanation for each. As far as I know, these expansions exist for most of the fundamental stuff your system comes with, plus revision control systems and such.
Second, filename generation. Especially the ** wildcard, which allows you to [I]recursively glob files in all sub directories[/I]. To an indefinite level, even - not just one. (**/**/**/* gives you everything three subdirectories down)
Additionally, the expansion mechanism has a fuzziness option for correcting typos and it's somewhat more customisable than most other shells.
I started using zsh around when Arch changed to it as default and have loved it since. There's even a Vundler-like plugin system for it: [url=https://github.com/zsh-users/antigen]Antigen[/url]. (Though, amusingly enough, the name seems to be lifted from Pathogen and not Vundler)
Learn bash, and learn how to use your package manager. For Fedora, that's yum
[editline]18th October 2014[/editline]
[QUOTE=esalaka;46273016]Also, consider [url=http://zsh.sourceforge.net/]the Z shell[/url].[/QUOTE]
And if you switch to zsh (probably a good idea) also consider oh-my-zsh:
[url]https://github.com/robbyrussell/oh-my-zsh[/url]
[QUOTE=rilez;46273081]And if you switch to zsh (probably a good idea) also consider oh-my-zsh:
[url]https://github.com/robbyrussell/oh-my-zsh[/url][/QUOTE]
Or use [url=https://github.com/sorin-ionescu/prezto]prezto[/url].
fish > zsh > ash > bash
fite me
[QUOTE=~Kiwi~v2;46272635]-post-[/QUOTE]
I recommend learning the following things.
* basic shell navigation. (ls, cd, etc...)
* basic file manipulation (cat, sed, grep, tail, head)
* basic permission handling (chmod, chown, etc..)
* basic user handling (useradd, usermod, groupadd, etc..)
* basic file editing from the console
* Package managers
* compiling packages from source
And a lot of other things I missed.
So talking about Digital Ocean and it seems that it is impossible to use without a credit card or paypal... but I have that $5 there, and I still finding a willing friend that can do credit card transaction.
Is there anything like a remote server admin trainer?
trying out opensuse 13.2 rc1
seems pretty nice cept for the default wallpaper
[editline]20th October 2014[/editline]
holy shit my webcam actually works in this
this is like a first
[QUOTE=Little Donny;46276909]seems pretty nice cept for the default wallpaper[/QUOTE]
You judge distributions by the default wallpaper?
[QUOTE=DrTaxi;46276977]You judge distributions by the default wallpaper?[/QUOTE]
First impressions are important.