awal1 2017-01-29 17:45:39
budder: run: cat /etc/apt/sources.list copy and paste the output in paste.debian.net
budder 2017-01-29 17:45:51
I doon't know what you are telling me to run. the next step in the wiki says # aptitude update
budder 2017-01-29 17:45:51
# aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-legacy-304xx-kernel-dkms
budder 2017-01-29 17:45:58
which is what I did
awal1 2017-01-29 17:47:24
I just wanted to know if the file you edited is all correct, budder
awal1 2017-01-29 17:48:00
just type in terminal: cat /etc/apt/sources.list and paste what you get with that
budder 2017-01-29 17:48:05
awal1 i am using a different computer
budder 2017-01-29 17:48:27
the pc running debian the resolution is terrible i can barely use it
RickHull 2017-01-29 17:49:00
eh, you should be able to fix the res without the nvidia driver
budder 2017-01-29 17:49:14
step 3 says Create an Xorg server configuration file.
budder 2017-01-29 17:49:25
https://wiki.debian.org/NvidiaGraphicsDrivers#configure
budder 2017-01-29 17:50:20
it says "Install the nvidia-xconfig package, then run it with sudo."
awal1 2017-01-29 17:50:27
budder, I never had nvidia and no much clue about it, follow the wiki and still asking here; I just wanted to help you in a very basic thing: set correctly your sources file
budder 2017-01-29 17:52:28
okay i appreciate your help. i am following instructions on wiki and asking here. it now says "Install the nvidia-xconfig package, then run it with sudo." how do i install that package?
jelly 2017-01-29 17:55:01
you don't actually need the whole file
jelly 2017-01-29 17:55:11
!nvidia dkms
dpkg 2017-01-29 17:55:11
For Debian 7 "Wheezy" and later systems. Ask me about and . «aptitude -r install linux-headers-`uname -r|sed 's,[^-]*-[^-]*-,,'` nvidia-kernel-dkms && mkdir /etc/X11/xorg.conf.d ; echo -e 'Section "Device"\n\tIdentifier "My GPU"\n\tDriver "nvidia"\nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf». Restart your system to enable the blacklist.
jelly 2017-01-29 17:55:33
that one small bit is enough
jelly 2017-01-29 17:55:40
mkdir /etc/X11/xorg.conf.d ; echo -e 'Section "Device"\n\tIdentifier "My GPU"\n\tDriver "nvidia"\nEndSection' > /etc/X11/xorg.conf.d/20-nvidia.conf
jelly 2017-01-29 17:56:16
budder: ^^ instead of installing nvidia-xconfig at all
notmike 2017-01-29 17:57:25
I screwed up my iptables and now had to mount my HD in a VM. Where is the file that holds my iptables rules?
awal1 2017-01-29 17:58:31
budder: follow jelly and you'll be done shortly :P
budder 2017-01-29 17:59:38
i didn't understand what jelly said lmao
jelly 2017-01-29 18:00:05
budder: it's a command to run as root, that creats a file at /etc/X11/xorg.conf.d/20-nvidia.conf
jelly 2017-01-29 18:01:18
notmike: look under /etc/iptables/ if you have iptables-persistent package
budder 2017-01-29 18:01:32
goddamit
budder 2017-01-29 18:02:02
i followed all the instructions. created the Xorg server config file. restarted
budder 2017-01-29 18:02:15
but error messages says can't boot :(
budder 2017-01-29 18:03:08
"a problem has occcurred and the system can't recover. please log out and try again"
klys 2017-01-29 18:05:09
budder, ls /usr/lib/xorg/modules/drivers/nvidia_drv.so
klys 2017-01-29 18:05:20
budder, also lsmod | grep nvidia
budder 2017-01-29 18:05:37
kyls i can't boot into debian
budder 2017-01-29 18:05:42
klys
klys 2017-01-29 18:06:05
you mean X won't start or the kernel panics in text mode?
klys 2017-01-29 18:06:25
budder is it just not giving you graphics
jelly 2017-01-29 18:06:59
budder: does the machine answer to ping?
budder 2017-01-29 18:07:28
klys i don't know what X is
budder 2017-01-29 18:07:44
jelly: what is ping
klys 2017-01-29 18:08:03
budder, linux boots and gives you a prompt in text mode, then X starts as the screen becomes graphical (or is supposed to.)
n1b 2017-01-29 18:08:29
What is a good brand of laptop for using linux on?
jelly 2017-01-29 18:08:31
budder: it's a command to check whether ip network functionality is up
budder 2017-01-29 18:08:39
klys: pc boots, i select linux, i see some commands, and then get the error. just tried again
klys 2017-01-29 18:08:41
n1b, toshiba portege m700
klys 2017-01-29 18:09:15
budder, is the error displayed graphically?
budder 2017-01-29 18:09:25
klys yes
jelly 2017-01-29 18:09:45
sounds like some gdm or gnome thing
klys 2017-01-29 18:09:49
budder, time to knock out X and debug then
klys 2017-01-29 18:10:08
when you see the error, press ctrl+alt+F1 and login
klys 2017-01-29 18:10:53
budder, when you see the error, press ctrl+alt+F1 and login
budder 2017-01-29 18:11:38
klys okay let me try again
budder 2017-01-29 18:12:22
okay
budder 2017-01-29 18:12:30
in
klys 2017-01-29 18:12:34
good
klys 2017-01-29 18:12:49
now $ su
klys 2017-01-29 18:13:09
then # less /var/log/xorg.0.log
budder 2017-01-29 18:13:11
k
klys 2017-01-29 18:13:39
actually it's Xorg
budder 2017-01-29 18:14:03
k
klys 2017-01-29 18:14:10
then look for lines that say EE
budder 2017-01-29 18:14:21
what does that stand for, electrical error?
klys 2017-01-29 18:14:27
just "error"
budder 2017-01-29 18:14:57
okay
n1b 2017-01-29 18:15:01
means no screens were found
budder 2017-01-29 18:15:09
i'm gonna start from the beginning because idk where to start from
klys 2017-01-29 18:15:16
press q when you finish finding the error
klys 2017-01-29 18:15:30
and run this command: lsmod | grep nvidia
notmike 2017-01-29 18:15:51
jelly: if I don't have iptables-persistent, would the rules revert on reboot?
notmike 2017-01-29 18:16:08
because it seems they haven't. I can't ping or ssh
klys 2017-01-29 18:16:10
budder, the nvidia driver is not installed by default so you'll just end up doing the same things.
budder 2017-01-29 18:16:31
2.450] markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unkonwn.
budder 2017-01-29 18:16:50
that's the only place it says EE
klys 2017-01-29 18:17:22
oh? ok then X started except there was another error, i don't know exactly what error yet
klys 2017-01-29 18:17:45
did the lsmod command generate output?
jelly 2017-01-29 18:17:49
notmike: there's half a dozen iptables wrappers packaged, you'll have to figure out which one you installed
notmike 2017-01-29 18:18:33
I don't think I installed any. I just have a bash file on that interface that runs pre-up and I can edit
jelly 2017-01-29 18:19:17
notmike: so you have your own thing. You should be able to figure out where it reads the rules from then
budder 2017-01-29 18:19:20
klys lsmod didn't do anything
budder 2017-01-29 18:19:29
lsmod | grep nvidia
budder 2017-01-29 18:19:31
is that correct?
notmike 2017-01-29 18:19:33
jelly: standby I'll get a copy
klys 2017-01-29 18:19:38
budder, then nvidia-kernel-dkms is not installed properly.
klys 2017-01-29 18:19:45
budder, apt-get -f install
jelly 2017-01-29 18:20:00
notmike: debian does not save or restore the rules automagically, unless you install something to do just that
jelly 2017-01-29 18:20:08
no firewall by default
budder 2017-01-29 18:20:29
klys 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded
klys 2017-01-29 18:20:45
budder, apt-get install nvidia-kernel-dkms
klys 2017-01-29 18:20:48
(again)
notmike 2017-01-29 18:22:14
the way I have it setup auto eth0 --> pre-up firewall-rules.sh I think it is applying after boot as soon as the if auto ups
budder 2017-01-29 18:22:23
klys manual config required, NVIDIA driver not configed, needs enabled in xorg.conf before used
budder 2017-01-29 18:22:36
i said okay
klys 2017-01-29 18:23:13
budder, cat /etc/X11/xorg.conf.d/*nvidia*
klys 2017-01-29 18:23:30
if it says something then you have done your manual config.
klys 2017-01-29 18:24:07
it might wait a minute compiling the module for your kernel.
budder 2017-01-29 18:24:10
no such file or dir
budder 2017-01-29 18:24:16
wait
budder 2017-01-29 18:24:38
it still says root@debian:/home/me#
klys 2017-01-29 18:24:44
yes
budder 2017-01-29 18:24:45
then i put cat /etc/
budder 2017-01-29 18:24:54
and it said no such file or dir
klys 2017-01-29 18:25:09
# dpkg -l nvidia-kernel-dkms
klys 2017-01-29 18:25:16
do you get a line that starts with ii
budder 2017-01-29 18:25:44
yes
budder 2017-01-29 18:26:01
ii nvidia -kernel - 340.101-1
klys 2017-01-29 18:26:09
ok, find /lib/modules/`uname -r`/updates
budder 2017-01-29 18:26:18
wut
klys 2017-01-29 18:26:22
do you see a couple of .ko files?
klys 2017-01-29 18:26:29
# find /lib/modules/`uname -r`/updates
klys 2017-01-29 18:27:18
also you might try # find /lib/modules/`uname -r` | grep nvidia
budder 2017-01-29 18:27:20
no such file or dir
klys 2017-01-29 18:27:30
try that instead
budder 2017-01-29 18:27:55
no such file or dir
budder 2017-01-29 18:27:58
is there a space
klys 2017-01-29 18:28:09
erm, there are a few spaces
budder 2017-01-29 18:28:11
between -r' and |
klys 2017-01-29 18:28:16
yes
budder 2017-01-29 18:28:21
okay i did
klys 2017-01-29 18:28:30
did you see the .ko files?
budder 2017-01-29 18:28:42
no such file or directory
klys 2017-01-29 18:29:18
perhaps we will have to find you a package, i'm not exactly sure, will investigate now.
budder 2017-01-29 18:29:35
you know what
budder 2017-01-29 18:29:36
forget it
budder 2017-01-29 18:29:45
this has taken up far too much time
budder 2017-01-29 18:30:04
i will try again tomorrow. should i reinstall debian?
klys 2017-01-29 18:30:16
budder, # apt-get install nvidia-driver
klys 2017-01-29 18:30:39
budder, please don't reinstall, you can't start over that easily.
klys 2017-01-29 18:30:44
https://packages.debian.org/jessie/nvidia-kernel-dkms
klys 2017-01-29 18:30:59
I just looked at that and maybe you don't have the driver installed
budder 2017-01-29 18:31:17
i just rebooted
budder 2017-01-29 18:31:21
selected debian
budder 2017-01-29 18:31:28
and it is just a blinking cursor now
notmike 2017-01-29 18:32:12
nm jelly I fixed it. Thanks
budder 2017-01-29 18:34:13
klys it is so jacked up right now
budder 2017-01-29 18:34:17
why not just reinstall tomorrow?
klys 2017-01-29 18:34:17
budder, look here: https://packages.debian.org/jessie/i386/nvidia-kernel-dkms/filelist -- this means you should # cd /usr/src/nvidia-current-340.101; make; make install (I was thinking the postinst script would do that automatically, though you can do it manually to make sure)
budder 2017-01-29 18:36:10
klys i don't understand any of that
klys 2017-01-29 18:36:25
budder, # cd /usr/src/nvidia-*
klys 2017-01-29 18:36:29
# make
klys 2017-01-29 18:36:42
and come back and tell us if it did its job
budder 2017-01-29 18:38:10
kyls i ran apt-get purge nvidia.
budder 2017-01-29 18:38:24
klys and i can boot now again into debian
budder 2017-01-29 18:39:12
but shitty resolution again
klys 2017-01-29 18:39:16
there is no package called nvidia
budder 2017-01-29 18:39:37
https://wiki.debian.org/NvidiaGraphicsDrivers
budder 2017-01-29 18:39:47
can you walk me thru that plz
klys 2017-01-29 18:39:51
sure
klys 2017-01-29 18:40:59
have you run apt-get install nvidia-driver yet
budder 2017-01-29 18:42:42
no
budder 2017-01-29 18:42:46
okay where to start?
budder 2017-01-29 18:42:59
that guide says to start by adding those lines
klys 2017-01-29 18:43:23
https://wiki.debian.org/NvidiaGraphicsDrivers#Debian_8_.22Jessie.22 step 2 you did step 1 earlier
n1b 2017-01-29 18:43:38
Is pgrep the same as ps aux | grep x
klys 2017-01-29 18:44:40
n1b, ps aux has a lot more columns than pgrep
klys 2017-01-29 18:44:51
pgrep just shows you the matching pids