LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   wifi working in wheezy but not jessie (https://www.linuxquestions.org/questions/linux-newbie-8/wifi-working-in-wheezy-but-not-jessie-4175544208/)

StefanP 06-01-2015 05:55 PM

wifi working in wheezy but not jessie
 
I just installed on my Sony Vaio "Jessie" and my wifi doesn't work.
When I was using "wheezy" after installation I did the following:

add line to Sources.list:
deb http://http/debian.net/debian/ wheezy main contrib non-free

do followwing commands:
# apt-get update && apt-get install firmware-iwlwifi
# modprobe -r iwl4965
# modprobe iwl4965
# aptitude update
# aptitude install plasma-widget-networkmanagement

I tried to do the same in "Jessie"

add line to Sources.list:
deb http://http/debian.net/debian/ jessie main contrib non-free

but it didn't work. Any ideas?

ordealbyfire83 06-01-2015 06:22 PM

What exactly didn't work? Have you gotten beyond editing your sources.lst? If not you might want to double check that apt line (maybe you need http://http.debian [...] i.e. a dot after the second http instead of a slash?)

JeremyBoden 06-01-2015 06:25 PM

I'm fairly sure that sources.list has moved to /etc/apt/sources.list.d/official-package-repositories.list
I believe that any *.list files will also be processed if they are in /etc/apt/sources.list.d/

(At least this is true for the Debian edition of Mint).
Mine read:-
Code:

deb http://packages.linuxmint.com betsy main upstream import

deb http://ftp.us.debian.org/debian jessie main contrib non-free
deb http://ftp.us.debian.org/debian jessie-updates main contrib non-free
deb http://security.debian.org jessie/updates main contrib non-free
deb http://www.deb-multimedia.org jessie main non-free

deb http://extra.linuxmint.com betsy main

I think you should ignore the stuff in red. :)

ordealbyfire83 06-01-2015 06:43 PM

That all looks fine. The package you're looking for in in the non-free repository so if apt-get cannot find it, then your lists aren't getting parsed. Could you post the output of
Code:

apt-get install firmware-iwlwifi

StefanP 06-01-2015 07:00 PM

worked better with the dot, but after rebooting the system I got blank screen. I have to reinstall "Jessie" cause nothing works now... I edited too many lines in Sources.list.. I will try to add only that line see what happens

ordealbyfire83 06-01-2015 07:31 PM

Did you install more than just the firmware? That firmware alone probably wouldn't cause that many issues. Otherwise you could mount that partition externally, chroot in and remove the firmware package.

Likewise you could just copy/paste the firmware for your particular driver. This package contains firmware for a lot of intel wifi cards that you probably don't need. This is a list of what should be installed and you could see what you actually need.

Rather than reinstall you could just undo your edits to the apt lines and then update. If you do opt to reinstall, it might be worth trying just to put all of your apt lines in /etc/apt/sources.list. Or for this package you could just download the deb and install it as it shouldn't carry any dependencies, except your kernel, of course.

StefanP 06-01-2015 08:43 PM

I reinstalled jessie and only added following to Sources.list

deb http://http.debian.net/debian/ jessie main contrib non-free

(with the dot and not the forwardslash)

then I run the followwing commands:
# apt-get update
# apt-get install firmware-iwlwifi
# modprobe -r iwl4965
# modprobe iwl4965
# aptitude update
# aptitude install plasma-widget-networkmanagement

This time it worked. Thanks for the "dot" idea


All times are GMT -5. The time now is 02:21 PM.