Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Wifi and Ethernet

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: [SOLVED Wifi] Ethernet Issue Continues

#21 Post by stevepusser »

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.
MX Linux packager and developer

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

Re: [SOLVED Wifi] Ethernet Issue Continues

#22 Post by acer-manjaro »

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

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: [SOLVED Wifi] Ethernet Issue Continues

#23 Post by GarryRicketson »

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

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

Re: [SOLVED Wifi] Ethernet Issue Continues

#24 Post by acer-manjaro »

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 ?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: [SOLVED Wifi] Ethernet Issue Continues

#25 Post by stevepusser »

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?
MX Linux packager and developer

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

Re: [SOLVED Wifi] Ethernet Issue Continues

#26 Post by acer-manjaro »

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

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: [SOLVED Wifi] Ethernet Issue Continues

#27 Post by dilberts_left_nut »

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
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: [SOLVED Wifi] Ethernet Issue Continues

#28 Post by stevepusser »

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
MX Linux packager and developer

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

Re: [SOLVED] Wifi and Ethernet [CLOSED]

#29 Post by acer-manjaro »

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.

Post Reply