[SOLVED] Wifi and Ethernet

New to Debian (Or Linux in general)? Ask your questions here!

Re: HELP No Wifi or Ethernet

Postby acer-manjaro » 2017-05-08 09:47

phenest wrote:Now restart your computer. Any wireless?


Yes, It connected to Wifi & to a Hotspot

SOLUTION
phenest wrote:Run as root:
Code: Select all
dpkg -i firmware-iwlwifi_0.43_all.deb




Thanks It worked
acer-manjaro
 
Posts: 28
Joined: 2017-05-07 15:55

Re: HELP No Wifi or Ethernet

Postby acer-manjaro » 2017-05-08 10:28

stevepusser wrote:That particular Broadcom ethernet card also requires non-free firmware. The package is "firmware-linux-nonfree" for Jessie.



My Ethernet is not found in that list. [BCM5787M] But although there are a few that share the tg3 kernel.

Should I install that ?

Is this code alright ?

Code: dpkg -i firmware-linux-nonfree_0.43_all.deb
acer-manjaro
 
Posts: 28
Joined: 2017-05-07 15:55

Re: [SOLVED Wifi] Ethernet Issue Continues

Postby phenest » 2017-05-08 17:35

There's only one way to find out. Install it. It can't hurt.
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: [SOLVED Wifi] Ethernet Issue Continues

Postby stevepusser » 2017-05-08 18:39

Now that you have a connection on wifi, you can just get packages from the Debian repositories.

First you should check that your list of the repos was set up correctly--you can look at the contents of /etc/apt/sources.list with a text editor, or just with

Code: Select all
cat /etc/apt/sources.list
Cut and paste the output here.

Instructions to add the non-free section of the repo and install that package can be found in the wiki here: https://wiki.debian.org/AtiHowTo, since it also contains firmware for AMD graphics.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8903
Joined: 2009-10-06 05:53

Re: [SOLVED Wifi] Ethernet Issue Continues

Postby acer-manjaro » 2017-05-10 16:16

stevepusser wrote:Now that you have a connection on wifi, you can just get packages from the Debian repositories.

First you should check that your list of the repos was set up correctly--you can look at the contents of /etc/apt/sources.list with a text editor, or just with

Code: Select all
cat /etc/apt/sources.list
Cut and paste the output here.

Instructions to add the non-free section of the repo and install that package can be found in the wiki here: https://wiki.debian.org/AtiHowTo, since it also contains firmware for AMD graphics.


Code: Select all
# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170117-02:06]/ jessie contrib main non-free

deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170117-02:06]/ jessie contrib main non-free

deb http://ftp.us.debian.org/debian/ jessie main
deb-src http://ftp.us.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
deb http://downloads.sourceforge.net/project/xenlism-wildfire/repo deb/
acer-manjaro
 
Posts: 28
Joined: 2017-05-07 15:55

Re: [SOLVED Wifi] Ethernet Issue Continues

Postby stevepusser » 2017-05-10 20:49

Since the firmware package is non-free, you are going to have to edit /etc/apt/sources.list as sysadmin (root or sudo) and change this line

Code: Select all
deb http://ftp.us.debian.org/debian/ jessie main


to

Code: Select all
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free


Save the file and refresh the package database with

Code: Select all
apt-get update


as root or with sudo. Then it should appear as installable.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8903
Joined: 2009-10-06 05:53

Re: [SOLVED Wifi] Ethernet Issue Continues

Postby acer-manjaro » 2017-05-11 12:12

stevepusser wrote:Since the firmware package is non-free, you are going to have to edit /etc/apt/sources.list as sysadmin (root or sudo) and change this line

Code: Select all
deb http://ftp.us.debian.org/debian/ jessie main


to

Code: Select all
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free


Save the file and refresh the package database with

Code: Select all
apt-get update


as root or with sudo. Then it should appear as installable.


Is this how I should edit ? I got this from Ubuntu forum.


Open your source.list using your favorite text editor, ie

sudo nano /etc/apt/sources.list

locate http://us.archive.ubuntu.com/ubuntu and replace it with http://archive.ubuntu.com/ubuntu.


What are the commands to find & replace the url
acer-manjaro
 
Posts: 28
Joined: 2017-05-07 15:55

Re: [SOLVED Wifi] Ethernet Issue Continues

Postby GarryRicketson » 2017-05-11 12:46

If you are using Debian , you should not be using Ubuntu sources, Ubuntu is NOT Debian.
Steve has explained this very clearly, why don't you just follow his intsructions ?

by acer-manjaro »What are the commands to find & replace the url


The url's are in a file named "sources.list"
sources.list is located in the directory /etc/apt
So you first open a terminal, then you type:
Code: Select all
cd /etc/apt

You can use this command,
Code: Select all
nano sources.list

nano is a text editor, or you can use any editor you want, but you must be using
sudo or logged in as root. To login as root,
type
Code: Select all
 su

you will be promted for your password, type in your password,
then open the file,
Code: Select all
nano sources.list

you will see the various lines that are urls,...you then simply edit the line,
as needed.
It would be to your advantage to read some tutorials on the basic linux commands.
basic linux commands
Pick any tutorial you want.
There also is this, it explains about editing the sources.list file,..
https://wiki.debian.org/SourcesList
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4357
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: [SOLVED Wifi] Ethernet Issue Continues

Postby acer-manjaro » 2017-05-11 15:56

GarryRicketson wrote: you will see the various lines that are urls,...you then simply edit the line,
as needed.
It would be to your advantage to read some tutorials on the basic linux commands.
basic linux commands
Pick any tutorial you want.
There also is this, it explains about editing the sources.list file,..
https://wiki.debian.org/SourcesList


Thanks that helped

Code: Select all
# deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 L$

deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIV$

deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-$

# jessie-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non$
deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib$
deb http://downloads.sourceforge.net/project/xenlism-wildfire/repo d$




Is that all ?
acer-manjaro
 
Posts: 28
Joined: 2017-05-07 15:55

Re: [SOLVED Wifi] Ethernet Issue Continues

Postby stevepusser » 2017-05-11 18:02

What? How are you editing the file to get the messed up characters at the end of the lines, such as non-$ instead of non-free?

OK, you are a complete beginner, and we all have been there before. Is there some reason you are starting with Debian, which is not newbie-friendly, instead of one of the many Debian derivatives that have gone to great effort to make Debian easier for beginners?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8903
Joined: 2009-10-06 05:53

Re: [SOLVED Wifi] Ethernet Issue Continues

Postby acer-manjaro » 2017-05-12 09:36

stevepusser wrote:What? How are you editing the file to get the messed up characters at the end of the lines, such as non-$ instead of non-free?

OK, you are a complete beginner, and we all have been there before. Is there some reason you are starting with Debian, which is not newbie-friendly, instead of one of the many Debian derivatives that have gone to great effort to make Debian easier for beginners?


Wifi iwl3945 support only in debian
acer-manjaro
 
Posts: 28
Joined: 2017-05-07 15:55

Re: [SOLVED Wifi] Ethernet Issue Continues

Postby dilberts_left_nut » 2017-05-12 09:48

stevepusser wrote:What? How are you editing the file to get the messed up characters at the end of the lines, such as non-$ instead of non-free?

By copying from a truncated unwrapped line in nano in a smallish x-terminal :D
The lines are likely OK if proper care has been taken typing them.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 4690
Joined: 2009-10-05 07:54
Location: enzed

Re: [SOLVED Wifi] Ethernet Issue Continues

Postby stevepusser » 2017-05-12 17:00

OK, there's other ways to edit the file than to do it in root.

Acer-manjaro, did you enable sudo when the installer asked about that?
Are you using the default GNOME 3 desktop with its default "gedit" text editor?

If so, let's just edit that a copy of that file as a normal user, then copy it back over the original.

Open the terminal program and enter
Code: Select all
cp /etc/apt/sources.list sources.list
gedit sources.list


Fix the mangled end of those lines in your file, they should end with main contrib non-free

Save the file in gedit, close gedit, and then copy your edited version over the mangled version in /etc/apt:

Code: Select all
sudo cp sources.list /etc/apt/sources.list


if you have a root account and don't have sudo, use
Code: Select all
su -c 'cp sources.list /etc/apt/sources.list'


This is all you need in it for now--I left out the mangled sourceforge one because I don't know how it's supposed to end:

Code: Select all
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
# deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
# deb-src http://security.debian.org/ jessie/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
# deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib non-free
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8903
Joined: 2009-10-06 05:53

Re: [SOLVED] Wifi and Ethernet [CLOSED]

Postby acer-manjaro » 2017-05-13 13:53

phenest wrote:There's only one way to find out. Install it. It can't hurt.


Yep, It worked.

firmware-iwlwifi_0.43_all.deb
&
firmware-linux-nonfree_0.43_all.deb
Solved the Wifi & Ethernet issue. (respectively)

My sincere thanks to all how helped in this post.
acer-manjaro
 
Posts: 28
Joined: 2017-05-07 15:55

Previous

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable