su_ 2017-03-02 06:45:30
hei
su_ 2017-03-02 06:46:32
chinaes
finexbeer 2017-03-02 06:50:42
Lenovo N22-20 it good for programming
finexbeer 2017-03-02 06:50:46
??
Camron 2017-03-02 06:52:54
OK, I am setting a ubutu server 16.04 up which i have done before but this time i am unable to get the static ip to work... any help
finexbeer 2017-03-02 06:53:06
Lenovo N22-20 ist good for programming??
scottjl 2017-03-02 06:53:19
Camron: where/how are you setting the ip?
compdoc 2017-03-02 06:53:35
Camron, how are you setting it up?
nacc 2017-03-02 06:53:38
!ot | finexbeer
ubottu 2017-03-02 06:53:39
finexbeer: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!
Camron 2017-03-02 06:54:35
under the /etc/network folder
scottjl 2017-03-02 06:55:24
Camron: can you put your config file in a pastebin or something we can view it at? we can't just guess
compdoc 2017-03-02 06:55:29
Camron, use pastebin.com, and show us your /etc/network/interfaces file. thats the only one you should be changing
firesign 2017-03-02 06:55:37
How can I disable the keyring for a certain user? I don't want passwords being saved for that user.
scottjl 2017-03-02 06:56:06
compdoc: well he could be setting it up in interfaces.d...
Camron 2017-03-02 06:59:24
Here you go http://pastebin.com/KXRb4cQ2
Camron 2017-03-02 07:00:14
im using interfaces
RonWhoCares 2017-03-02 07:00:16
How do I do this: The suggested workaround is ti set intel_idle.max_cstate=1 in the kernel parameters. So far the Lapbook works without freezes since I added this to grub startup routine.
scottjl 2017-03-02 07:00:22
Camron: what does ifconfig ens160 show you?
compdoc 2017-03-02 07:01:00
Camron, looks ok. does the interface ens160 exist? is network manager installed and fighting you?
k1l 2017-03-02 07:01:03
!nomodeset | RonWhoCares
ubottu 2017-03-02 07:01:03
RonWhoCares: A common kernel (boot)parameter is nomodeset, which is needed for some graphic cards that otherwise boot into a black screen or show corrupted splash screen. See http://ubuntuforums.org/showthread.php?t=1613132 on how to use this parameter
k1l 2017-03-02 07:01:19
RonWhoCares: use that howto to test it, instead of setting nomodeset use your parameter
RonWhoCares 2017-03-02 07:01:37
ok
EriC^^ 2017-03-02 07:01:40
RonWhoCares: reboot the pc, hold shift, when you get grub press "e" , in the line that says linux /boot/vmlinuz ..... quiet splash add it
RonWhoCares 2017-03-02 07:01:42
That is the symptom I am having
k1l 2017-03-02 07:01:43
RonWhoCares: do the "one time edit on grub menu pressing e" method for testing
EriC^^ 2017-03-02 07:01:54
then press ctrl+x to boot it as a temp boot
ioria 2017-03-02 07:01:55
Camron, do you have "auto lo" and "iface lo inet loopback" in your interfaces file ?
BluesKaj 2017-03-02 07:07:32
Camron, your dns nameservers should be set in /etc/resolv.conf
Camron 2017-03-02 07:07:33
no i dont
Camron 2017-03-02 07:08:08
ok, ill do that after i get a static ip to the server
BluesKaj 2017-03-02 07:08:36
Camron, if you want static IP on your network then your interfaces file is fine , except the above
scottjl 2017-03-02 07:09:27
BluesKaj: setting the dns in the interfaces file is perfectly valid.
Camron 2017-03-02 07:09:37
i dont have a static ip.... just the loopback at the moment i will put te dns in the resolve.conf file hare i get the static ip working
BluesKaj 2017-03-02 07:09:51
Camron, otherwise you'll need NM without the static setting
scottjl 2017-03-02 07:10:06
Camron: what does "ifconfig ens160" show you?
Camron 2017-03-02 07:10:14
I have added the dns in the interface file on every system I have used
ioria 2017-03-02 07:10:30
rayn, yes, is fine ... why asking ?
scottjl 2017-03-02 07:10:49
Camron: dns-nameservers is perfectly valid. resolv.conf will be updated appropriately.
BluesKaj 2017-03-02 07:11:18
Camron, it doesn't hurt , but the best palce for nameservrs is in resolv.conf
Camron 2017-03-02 07:11:30
ok will do that
scottjl 2017-03-02 07:11:47
resolv.conf will be overwritten on boot, editing the file is pointless
ioria 2017-03-02 07:12:15
Camron, be sure the interface is up
ducasse 2017-03-02 07:12:54
BluesKaj: it will be put in resolv.conf by the ifup scripts if listed in interfaces
BluesKaj 2017-03-02 07:13:00
scottjl, it used to be with that dumb /etc/resolvconf/resolv.conf fiel, but it's been removed
scottjl 2017-03-02 07:14:03
BluesKaj: it's still the behavior in 16.04.
Camron 2017-03-02 07:14:38
http://pastebin.com/1t4uBtJb
BluesKaj 2017-03-02 07:14:53
scottjl, hmm i thought it was removed
ioria 2017-03-02 07:15:23
Camron, please paste ' ip a'
scottjl 2017-03-02 07:15:51
Camron: change your interfaces file from ens160 to eth0
shubjero 2017-03-02 07:16:02
I just did kernel upgrades for about 100 servers. Was updating from 3.13.0-107 to 3.13.0-111 but for about two dozen servers I'm now only getting offered 3.13.0-110 from the ubuntu repository for Trusty. Anyone know whats going on?
BluesKaj 2017-03-02 07:16:15
ok , I can't argue since I havent run 16.04 in almost a yr ...on 17.04 bata 1 atm :-)
Camron 2017-03-02 07:16:54
the server is on a vmware server
nacc 2017-03-02 07:16:54
shubjero: 111 is only in -proposed. Why are you running proposed on 100 servers?
scottjl 2017-03-02 07:17:00
change your "ens160" in your interfaces file to "eth0"
shubjero 2017-03-02 07:17:21
nacc: I'm not running proposed. Perhaps the ubuntu mirror accidentlly pushed -111 ?
shubjero 2017-03-02 07:17:24
because its gone now
k1l 2017-03-02 07:17:38
shubjero: do you have proposed enabled? that is not good because that is the testing bed for the automated testings
nacc 2017-03-02 07:17:43
shubjero: that seems unlikely
k1l 2017-03-02 07:17:48
!info linux-generic trusty
ubottu 2017-03-02 07:17:50
linux-generic (source: linux-meta): Complete Generic Linux kernel and headers. In component main, is optional. Version 3.13.0.111.119 (trusty), package size 1 kB, installed size 30 kB
nacc 2017-03-02 07:17:59
ah maybe it just migrated?
shubjero 2017-03-02 07:18:22
# grep -i proposed /etc/apt/sources.list
shubjero 2017-03-02 07:18:22
root@compute5-r5:~#
shubjero 2017-03-02 07:18:25
nope!
nacc 2017-03-02 07:18:25
rmadison says that's still in trusty-proposed, but the archive might be updating right now
Camron 2017-03-02 07:18:26
when editing the file from default the ens160 was in place of eth0
shubjero 2017-03-02 07:18:33
uname -a
shubjero 2017-03-02 07:18:34
Linux compute5-r5 3.13.0-111-generic #158-Ubuntu SMP Wed Feb 22 16:12:03 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
k1l 2017-03-02 07:18:38
shubjero: different mirrors?
shubjero 2017-03-02 07:19:04
deb http://archive.ubuntu.com/ubuntu
k1l 2017-03-02 07:19:32
shubjero: -security enabled on all?
shubjero 2017-03-02 07:19:44
deb http://archive.ubuntu.com/ubuntu trusty-security main restricted universe multiverse
shubjero 2017-03-02 07:19:56
we're using this repo consistently across all servers
Camron 2017-03-02 07:20:15
i made a copy of the interface file if i copy it back it will work find using dhcp
shubjero 2017-03-02 07:20:38
we noticed a change midway through our ansible runs of updating kernels that all of a sudden 111 was no longer being presented
aprell 2017-03-02 07:20:40
Hi, whenever my ubuntu clients connects to my openvpn server, all network activity on the client slows down. Like getting a "resolving host" message in browser for 15 seconds before going through. This isn't even tunneling over the vpn; simply having openvpn running and connected causes this, and terminating it immediately fixes the problem.
k1l 2017-03-02 07:20:40
can you compare a "apt-cache policy linux-generic" from one working server and one not working server?
scottjl 2017-03-02 07:21:02
Camron: if your "ifconfig -a" doesn't show ens160 then that isn't the proper name of your interface. if it shows eth0, then that's what you should use in the config file
scottjl 2017-03-02 07:21:20
Camron: it's possible the interface was renamed on you
shubjero 2017-03-02 07:21:30
k1l: https://paste.ee/p/WVqYc
Camron 2017-03-02 07:21:50
renamed from the begining of the install... this is a new install
akik 2017-03-02 07:21:52
!cookie | scottjl
ubottu 2017-03-02 07:21:52
scottjl: Wow! You're such a great helper, you deserve a cookie!
scottjl 2017-03-02 07:22:16
akik: i'm on a diet.
k1l 2017-03-02 07:22:31
shubjero: can you run apt-get update on that amchine that doesnt work and test it again?
xangua 2017-03-02 07:22:36
No gluten cookie
aprell 2017-03-02 07:22:42
On a windows client, no problem with the vpn. I had a sinilar problem before with another vpn service on linux and remember it was related to resolv.conf. Any ideas for diagnosing this?
k1l 2017-03-02 07:23:36
shubjero: looks like there was pushed a 110 to security just 20 minutes ago
shubjero 2017-03-02 07:24:02
k1l: yeah man, someones messing with the repo's lol
Camron 2017-03-02 07:24:07
ens160 shows up
BluesKaj 2017-03-02 07:24:22
systemd at work there
akik 2017-03-02 07:25:15
Camron: how did ens160 show up? where did eth0 go?
Welastevil 2017-03-02 07:25:58
hi
Welastevil 2017-03-02 07:26:09
Im havin problem installing steamlauncher
arooni 2017-03-02 07:26:12
anyway to uninstall tracker-minus-fs ? it seems like it dominates cpu on each system startup.
BluesKaj 2017-03-02 07:26:38
Camron, does, ip a | grep inet, show ens160 ?
scottjl 2017-03-02 07:26:43
akik: it ran away with the cookie
Welastevil 2017-03-02 07:26:54
Its short so Im not pastbin it ok?
Welastevil 2017-03-02 07:27:02
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
Welastevil 2017-03-02 07:27:04
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Welastevil 2017-03-02 07:27:06
y
ducasse 2017-03-02 07:27:40
Welastevil: do you see the question in that error message?
ducasse 2017-03-02 07:28:11
Welastevil: is another apt/dpkg running?
akik 2017-03-02 07:28:38
Camron: are you trying to fix your problem on multiple channels? people use their time to help you
k1l 2017-03-02 07:29:00
shubjero: you can ask in #ubuntu-kernel
shubjero 2017-03-02 07:29:04
ok
Welastevil 2017-03-02 07:29:16
yeas
scottjl 2017-03-02 07:29:20
akik he's only in #ubuntu
Welastevil 2017-03-02 07:29:20
but I dont know the answer
BluesKaj 2017-03-02 07:29:32
unattended-upgrades no doubt
Camron 2017-03-02 07:29:40
inet addr:127.0.0.1 Mask:255.0.0.0 int6 addr: ::1/128 Scope:Host
ducasse 2017-03-02 07:29:58
Welastevil: are you running software center while installing in a terminal, for example?
Welastevil 2017-03-02 07:30:12
mmm maybe!
Welastevil 2017-03-02 07:30:15
let me check
Camron 2017-03-02 07:30:42
when I use VirtualBox it used wth0 when I use vmware it used ens160
Welastevil 2017-03-02 07:30:45
nope
Camron 2017-03-02 07:31:04
eth0
Welastevil 2017-03-02 07:31:24
not that I can see
ducasse 2017-03-02 07:31:39
Welastevil: ok, it could be an automatic repo update. try again in a minute or two.
Welastevil 2017-03-02 07:32:17
ok
Welastevil 2017-03-02 07:32:25
and it its not working any way?
Welastevil 2017-03-02 07:32:28
any sugestions?
ducasse 2017-03-02 07:33:10
Welastevil: if it still doesn't work, use pgrep and pkill to find the stray dpkg/apt process, and kill it.
akik 2017-03-02 07:33:21
Camron: use the interface name that your system sees in the configuration file "ifconfig -a"
Welastevil 2017-03-02 07:33:35
wow
akik 2017-03-02 07:33:48
Camron: "ifconfig -a" lists all the network interfaces that your system sees
Welastevil 2017-03-02 07:34:20
sorry man
Welastevil 2017-03-02 07:34:26
dont know how to use that
anddam 2017-03-02 07:35:09
scottjl: how can you possibly know that?
aotaointbin 2017-03-02 07:35:22
so, i have a user account where i can use sudo without a password.
ducasse 2017-03-02 07:35:29
Welastevil: try 'pkill dpkg'
aotaointbin 2017-03-02 07:35:31
but when i sudo -u otheruser, it prompts for a password.
scottjl 2017-03-02 07:35:34
anddam: uhhh. /whois camron
anddam 2017-03-02 07:36:02
scottjl: whois will only list the channels that you and the target share
aotaointbin 2017-03-02 07:36:16
what do i do with sudoers to make it passwordless for other things?
Welastevil 2017-03-02 07:36:48
ok!
Welastevil 2017-03-02 07:36:52
now it works
Welastevil 2017-03-02 07:36:59
but I got stuck on a screem
anddam 2017-03-02 07:37:30
scottjl: that's on freenode, at least. It's been like that since several years due to security reasons
ducasse 2017-03-02 07:37:36
Welastevil: that says what?
Welastevil 2017-03-02 07:37:45
got it!
Welastevil 2017-03-02 07:37:48
got it
anddam 2017-03-02 07:37:48
Aurorasaura: hint, "NOPASSWD"
Welastevil 2017-03-02 07:37:50
thank youuuu
aotaointbin 2017-03-02 07:37:57
yea i see that already.
ducasse 2017-03-02 07:38:03
Welastevil: np :)
anddam 2017-03-02 07:38:03
Aurorasaura: wrong nick
arooni 2017-03-02 07:38:10
spotify doesnt seem to obey media binding keys on ubuntu 16.04
scottjl 2017-03-02 07:38:13
anddam: ah. a freenode thing then. because that's not rfc spec
aotaointbin 2017-03-02 07:38:17
my user account is in sudoers with useraccount ALL=(ALL) NOPASSWD: SHUTDOWN_CMDS
Welastevil 2017-03-02 07:38:19
oh no exactly
Welastevil 2017-03-02 07:38:25
configuring stem
aotaointbin 2017-03-02 07:38:33
trying to keep the permissions as narrow as possible
Welastevil 2017-03-02 07:38:40
at the terminal... but no key that I press passes it
aotaointbin 2017-03-02 07:38:50
(i.e. trying to avoid useraccount ALL=(ALL:ALL) ALL
ducasse 2017-03-02 07:39:03
Welastevil: is it stuck or is there an error message?
anddam 2017-03-02 07:39:16
aotaointbin: seems wise
Welastevil 2017-03-02 07:39:16
no error
ducasse 2017-03-02 07:39:49
Welastevil: where are you doing this, in ubuntu software or a terminal?
aotaointbin 2017-03-02 07:40:04
ah, so, do i define a new alias Cmnd_Alias SUDO_CMD = /usr/bin/sudo
aotaointbin 2017-03-02 07:40:23
and then just make it useraccount ALL=(ALL) NOPASSWD: SHUTDOWN_CMDS | SUDO_CMD
Welastevil 2017-03-02 07:40:24
terminal
Welastevil 2017-03-02 07:40:37
because could nou do from the sftware update
ducasse 2017-03-02 07:40:59
Welastevil: pastebin the whole thing on paste.ubuntu.com
akik 2017-03-02 07:41:51
i wish Camron would update his status with any debugging info
Welastevil 2017-03-02 07:42:00
now its done!
Welastevil 2017-03-02 07:42:05
sorry disturbing
Welastevil 2017-03-02 07:42:08
)))
Welastevil 2017-03-02 07:42:11
my fault...
ducasse 2017-03-02 07:43:09
Welastevil: ok, good.
Welastevil 2017-03-02 07:43:24
now its installed
Welastevil 2017-03-02 07:43:46
with a link at my desktop area bot not lounching
anddam 2017-03-02 07:44:44
I installed nfs-kernel-server and it pulled in keyutils libnfsidmap2 libtirpc1 nfs-common rpcbind