Suggestion for better beginner

Here you can discuss every aspect of Debian. Note: not for support requests!

Re: Suggestion for better beginner

Postby GarryRicketson » 2019-07-18 16:03

That is really what it boils down to, it is what one prefers, there are no technical reasons one method is best or better. So that is probably why the videos don't try to clarify on that.
Most people will say it is best to use 'sudo', instead of 'su -', and there are ways to access the system as root, even when there is no password available. If one digs through the posts on this forum , (search foo), there are some threads on that, and a couple where they had problems with "sudo" , not working, like I said, it can be handy to be able to just use "su - ", if and when for some reason "sudo" does not work.
When I started using Unix, "sudo" did not exist, later they started using it on OpenBsd, but it was deprecated when, "doas" was developed, Linux still uses "sudo". All though it (sudo) is still available for OpenBsd as well, guess that is kind of a different topic, though:
https://en.wikipedia.org/wiki/Sudo
========================
https://en.wikipedia.org/wiki/Su_(Unix)
===============
https://www.beyondtrust.com/blog/entry/unix-linux-privileged-management-should-you-sudo
================
https://kb.iu.edu/d/amyi
============
Many do argue that it is best to use 'sudo', this applies especially to systems with multi-administrators, me, I am the only one using this PC, it all depends on what one prefers.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Suggestion for better beginner

Postby stevepusser » 2019-07-18 18:41

You probably just need the firmware deb file, but which one depends on your hardware. Do you know what chip you have? If not, type "lspci" in the terminal, then copy and paste the output here, then highlight that and hit the "code" button.

Or if you have the MX Linux ISO, you can make a LiveUSB, and assuming it boots into a Live session, run "Quick System Info" from the menu and give us the output of that.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.8, Telegram-desktop 1.8.15, Pale Moon 28.7.2, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11308
Joined: 2009-10-06 05:53

Re: Suggestion for better beginner

Postby Deb-fan » 2019-07-18 20:03

What we need is one of those machines from Matrix, where you can learn kung-fu in 20secs.:) OP would stick with Debian. Make a post asking for help resolving your wireless issues and if you don't like Gnome, obviously you can pick something else. No matter what you go with, it'll require effort and learning.
Deb-fan
 
Posts: 445
Joined: 2012-08-14 12:27

Re: Suggestion for better beginner

Postby theblueplll » 2019-07-18 21:53

Since no one said it I am going to.

Dual boot is famous for causing problems.
Maybe not today tomorrow or next week but in my experience eventually something will happen.

If you can at least have the 2 OS on seperate drives.

However whatever you decide I wish you luck,

Don't just give up on Linux when something becomes hard either you'll be happy you took the time to learn in the long run.
theblueplll
 
Posts: 154
Joined: 2019-04-29 01:17

Re: Suggestion for better beginner

Postby sunrat » 2019-07-18 23:59

piperdan wrote:Option 1 (a few more steps for the proprietary wireless driver which I used when I installed Stretch).
- Download a copy of the proprietary wireless driver that you have, hopefully one of those listed here: https://packages.debian.org/stretch/firmware-iwlwifiand store a download of the firmware-iwlwifi file on an SD card, and insert it into the SD slot of your computer.


Firmware is different from a driver. Drivers are kernel modules whereas firmware is tiny code which is loaded to the device at boot time.
Best to identify your wireless device with lspci (or lsusb if it's a usb device) as mentioned by stevepusser, then post that info here so we can advise the correct firmware.

Option 2 (easy - peasy, which I used when I installed Buster)
- Just download and install an unofficial non-free iso image from https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/.


This is probably the easier option for a new user. Reinstall from the non-free iso will often have the firmware needed and it may work out of the box.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2920
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Suggestion for better beginner

Postby eor2004 » 2019-07-19 05:18

Phiver wrote:
eor2004 wrote:Hi, I think you have to learn how to edit your "/ect/apt/sources.list", because you have to add the "contrib" and "non-free" repositories, so you are able to get the drivers you need for your Wi-Fi card, that's the first thing you should do, second thing you should do is learn how to get info on your hardware, like using a command in the terminal like "inxi -Fxxx" or using a program like "hard info", hope this helps you get on your way.


Yeah I tried editing that according to a guide, but again, i felt like it assumed I already had some basic knowledge that I don't have. I found this list, but when I clicked on it, it said I didn't have the software to edit it. Kind of like in windows when you try to open a file that it doesn't recognize, and it asks what program you would like to use to open it. When I clicked this file in Debian, it asked me that, but the list of available programs was empty. So yeah, even making this adjustment to /ect/apt/sources.list felt beyond my skill level. I would need a very very laymans baby step by baby step guide on this I assume.


You have to use a Text Editor like Leafpad, Mousepad or Gedit, open it as root, navigate to sources.list folder, open the "sources.list" Text file and edit it accordingly!
OS: Debian 10 Buster 64-bit DE: MATE 1.20 CPU: AMD Phenom II X4 925 @ 2.8GHZ RAM: 8GB CORSAIR XMS2 PC2-6400U DDR2 (CM2X2048-6400C5C) GPU: ATI Radeon HD 3200 Mobo: Gigabyte GA-MA78GPM-DS2H HDD: Hitachi 2TB (HUA723020ALA641) 7200RPM
User avatar
eor2004
 
Posts: 201
Joined: 2013-10-01 22:49
Location: Puerto Rico

Re: Suggestion for better beginner

Postby Phiver » 2019-07-19 12:11

stevepusser wrote:You probably just need the firmware deb file, but which one depends on your hardware. Do you know what chip you have? If not, type "lspci" in the terminal, then copy and paste the output here, then highlight that and hit the "code" button.

Or if you have the MX Linux ISO, you can make a LiveUSB, and assuming it boots into a Live session, run "Quick System Info" from the menu and give us the output of that.


This is what I got:

scott@debian:~$ ispci
bash: ispci: command not found
scott@debian:~$
Phiver
 
Posts: 10
Joined: 2019-07-18 12:14

Re: Suggestion for better beginner

Postby GarryRicketson » 2019-07-19 12:27

Please use code boxes, and the command is :
Code: Select all
 lspci

Not
Code: Select all
 ispci
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Suggestion for better beginner

Postby Phiver » 2019-07-19 12:47

not sure how to do a code box.
b
Phiver
 
Posts: 10
Joined: 2019-07-18 12:14

Re: Suggestion for better beginner

Postby Phiver » 2019-07-19 12:49

Code: Select all
<pre>00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
02:00.0 Network controller: Intel Corporation Wireless 3160 (rev 93)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
04:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)</pre>
Phiver
 
Posts: 10
Joined: 2019-07-18 12:14

Re: Suggestion for better beginner

Postby sunrat » 2019-07-19 14:30

Code: Select all
02:00.0 Network controller: Intel Corporation Wireless 3160 (rev 93)


This line tells you it is Intel Corporation Wireless 3160. So you do an internet search for "debian Intel Corporation Wireless 3160" and the first result is the wiki page which says you need to install the package firmware-iwlwifi.

https://wiki.debian.org/iwlwifi
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2920
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Suggestion for better beginner

Postby Head_on_a_Stick » 2019-07-20 09:58

Phiver wrote:
eor2004 wrote:Hi, I think you have to learn how to edit your "/ect/apt/sources.list", because you have to add the "contrib" and "non-free" repositories, so you are able to get the drivers you need for your Wi-Fi card, that's the first thing you should do, second thing you should do is learn how to get info on your hardware, like using a command in the terminal like "inxi -Fxxx" or using a program like "hard info", hope this helps you get on your way.


Yeah I tried editing that according to a guide, but again, i felt like it assumed I already had some basic knowledge that I don't have. I found this list, but when I clicked on it, it said I didn't have the software to edit it. Kind of like in windows when you try to open a file that it doesn't recognize, and it asks what program you would like to use to open it. When I clicked this file in Debian, it asked me that, but the list of available programs was empty. So yeah, even making this adjustment to /ect/apt/sources.list felt beyond my skill level. I would need a very very laymans baby step by baby step guide on this I assume.

To edit /etc/apt/sources.list use
Code: Select all
# apt edit-sources
Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10688
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Suggestion for better beginner

Postby GarryRicketson » 2019-07-20 13:27

Suggestion for better beginner


The best beginners do some searches, and read documentation, there are plenty of
beginners guides , that explain about the basic linux commands, how to use them, etc.
My suggestion is do some searches and read some of them.
I would need a very very laymans baby step by baby step guide on this I assume.

And stop assuming so many things.
I used these keywords, copy / paste them into your favourite search engine:
Code: Select all
Step by step guide to linux commands

There are literally 100's, the first one:
http://linuxcommand.org/lc3_learning_the_shell.php
This is a very good one. There are others, just take your pick. I admit, it is a little frustrating, and more so since so many of these sites in the results are full of advertisements, and that is annoying,... but anyway, the problem is when a beginner has a problem with the system, but then it turns out they need a "step by step" beginners guide, and every little command needs explaining, well they derail their own topic, and we have to start explaining every basic command,etc. A better beginner , does a search, asking about any specific command that they do not understand.
So with that said, here is a example using the method shown by H_O_A_S:
I have added some additional commands that you might find useful:
Code: Select all
garry@debian:~$ lsb_release -a
No LSB modules are available.
Distributor ID:   Debian
Description:   Debian GNU/Linux bullseye/sid
Release:   testing
Codename:   bullseye
garry@debian:~$ su -
Password:
root@debian:~# apt edit-sources

Select an editor.  To change later, run 'select-editor'.
  1. /bin/nano        <---- easiest
  2. /usr/bin/vim.tiny

Choose 1-2 [1]:
 

I select "nano", it is easier then "vim".
I used the 'lsb_release -a ' command, this is use full when posting output, because that way every one sees what version of Debian is being used , etc.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Suggestion for better beginner

Postby GarryRicketson » 2019-07-20 14:03

There also is this, right here on this forum : Beginner's Guide
It is some what outdated, but still contains a lot of use full info for beginners.
Also, note where you post, you posted a general discussion topic, and that is fine:
General Discussion
Here you can discuss every aspect of Debian. Note: not for support requests!

This is the category for general discussions,...but then you change the topic to a support question, this is not good practice, and it leads to a rather confusing discussion:
Postby Phiver »To summarize, I have not been able to get it to access my wifi. I can only connect to the internet wired. I have looked at and tried to follow a lot of the guides on the wiki here, and elsewhere on the internet, but have had no luck getting it to work. I find that the guides I have found seem to assume that a reader already has some basic Linux and terminal knowledge. Everything I have tried to do in the terminal it just says there is an error or some sort, or an unknown command.

We, do understand , being new to the forum, and a beginner, so no problem and I am being critical, but not just to be mean or put any one down, it is intended to try to help you or any other "beginner", become a better beginner.
Ahh, I missed this:
Postby Phiver » Would not wish what on your worst enemy? Linux mint?

Yeah I check out distro watch, but it's meh... I don't feel like it really gives me a good idea of what will work for me and my purposes.

Yes, "Linux Mint", I would not suggest it to my worst enemy,...I did try it years ago, and also, even though I suggested "distro watch", I agree "meh, I don't feel like it really gives me a good idea of what will work for me and my purposes.",.....
I still think for starters the MX linux would be your best start, you can all ways try something else later.
All though I do have Debian, on several VM's, and also on 1 drive, Linux really is not suited for my purposes, and I use a entirely different OS, for my main system, but that would be another topic.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Suggestion for better beginner

Postby Debianuser42 » 2019-07-22 08:08

I would recommend any of the beginner distros {*buntu, Mint, Zorin,...}. Then when you become tired of bugs and have a bit more time to invest, come back to rock-solid Debian.
If you have a Linux User Group in your nabourhood you could also show up there with your computer and let them install your wifi driver.
Debianuser42
 
Posts: 2
Joined: 2019-07-21 08:14

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable