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

 

 

 

Configuring wifi in debian jessie

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
dev?l
Posts: 19
Joined: 2017-03-09 19:12

Configuring wifi in debian jessie

#1 Post by dev?l »

Hi guys this is an update on the previous session installing Debian once again. I must confess i really like this challenge especially the steap learning curve. However after i have everything up and running i will post here details of what i did and at what time and some resources where i digged to learn few specs. The previous post were about the User interfaces. Now i have that fixed.

Another scenario kicked off from there. I cant configure the wifi settings. I looked at this tutorial link:
http://www.debianuserforums.org/viewtopic.php?f=9&t=388
https://wiki.debian.org/WiFi/HowToUse

and then edited my sources.list file like this

Code: Select all

nano /etc/apt/sources.list
and now the sources.list file looks like this:

Code: Select all

deb http://security.debian.org/ jessie/updates main contrib  non-free
deb-src http://security.debian.org/ jessie/updates main contrib  non-free
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://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
then i ran:

Code: Select all

su
apt-get update
but it is returning unable to fetch errors like this:

Code: Select all

Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie InRelease
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie Release.gpg
Err http://security.debian.org jessie/updates InRelease                  
Err http://ftp.us.debian.org jessie InRelease                            
Err http://ftp.us.debian.org jessie-updates InRelease                    
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie Release
Err http://ftp.us.debian.org jessie Release.gpg
  Could not resolve 'ftp.us.debian.org'
Err http://security.debian.org jessie/updates Release.gpg
  Could not resolve 'security.debian.org'
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie/main amd64 Packages/DiffIndex
Err http://ftp.us.debian.org jessie-updates Release.gpg
  Could not resolve 'ftp.us.debian.org'
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie/main Translation-en_US
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie/main Translation-en
Reading package lists... Done
W: Failed to fetch http://security.debian.org/dists/jessie/updates/InRelease  
W: Failed to fetch http://ftp.us.debian.org/debian/dists/jessie/InRelease  
W: Failed to fetch http://ftp.us.debian.org/debian/dists/jessie-updates/InRelease  
W: Failed to fetch http://security.debian.org/dists/jessie/updates/Release.gpg  Could not resolve 'security.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/jessie/Release.gpg  Could not resolve 'ftp.us.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/jessie-updates/Release.gpg  Could not resolve 'ftp.us.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Ok in the error msg i inderstand that part of the errors here is this.

Code: Select all

ftp.us.debian.org
Ok i changed in the sources.list file this code:

Code: Select all

[color=#FF


deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44]/ jessie main
to this:

Code: Select all

deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44]/ jessie main contrib non-free
and then its returning this error:

Code: Select all

Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie InRelease
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie Release.gpg
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie Release
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie/main amd64 Packages/DiffIndex
Err cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie/contrib amd64 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie/non-free amd64 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie/contrib Translation-en_US
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie/contrib Translation-en
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie/main Translation-en_US
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie/main Translation-en
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie/non-free Translation-en_US
Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44] jessie/non-free Translation-en
Err http://security.debian.org jessie/updates InRelease                  
  
Err http://ftp.us.debian.org jessie InRelease                            
Err http://ftp.us.debian.org jessie-updates InRelease                    
Err http://security.debian.org jessie/updates Release.gpg                
  Could not resolve 'security.debian.org'
Err http://ftp.us.debian.org jessie Release.gpg
  Could not resolve 'ftp.us.debian.org'
Err http://ftp.us.debian.org jessie-updates Release.gpg
  Could not resolve 'ftp.us.debian.org'
Reading package lists... Done
W: Failed to fetch http://security.debian.org/dists/jessie/updates/InRelease  
W: Failed to fetch http://ftp.us.debian.org/debian/dists/jessie/InRelease  
W: Failed to fetch http://ftp.us.debian.org/debian/dists/jessie-updates/InRelease  
W: Failed to fetch cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44]/dists/jessie/contrib/binary-amd64/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
W: Failed to fetch cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170116-23:44]/dists/jessie/non-free/binary-amd64/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
W: Failed to fetch http://security.debian.org/dists/jessie/updates/Release.gpg  Could not resolve 'security.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/jessie/Release.gpg  Could not resolve 'ftp.us.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/jessie-updates/Release.gpg  Could not resolve 'ftp.us.debian.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.
i realised after i restarted the pc immidieately after grub2 menu, i saw something like this:

Code: Select all

iwifi 8000 ....the rest was too quick
I dont know if i am doing something wrong. It will still return the same error. Perhaps would someone try helping out here. At this point i am not sure what to do.... Thank you in advance and oppologies for disturbing the peaceful sunday...

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Configuring wifi in debian jessie

#2 Post by bw123 »

It's okay, you need to complete your wifi setup before you try to use apt. The sources.list doesn't configure wifi, it configure package management, which requires a network connection, or a local source.

Just do the wifihowtouse steps for your setup until you get ping working. It's basically ID the hardware, install the firmware, then configure.

After you get ping to some basic http address resolved, then you can edit your sources.list and use update and other apt commands. Go slow, there are a lot of different ways to do it because of all the different hardware out there, so advice for one type of wifi device won't work on all of them.
resigned by AI ChatGPT

dev?l
Posts: 19
Joined: 2017-03-09 19:12

Re: Configuring wifi in debian jessie

#3 Post by dev?l »

@bw123...Thanx man...and apollogies for not being able to reply on time...I read your post but then i thought to get back here with no empty hands.... :D ...Your simple words did actually serve like a tutorial really....I went and manually downloaded the non-free firmware and then mixed it with b43-fwcutter_amd64 and then all the magic happened....Right now i have a very strong wifi on this workhorse.... I realised Debian is quiet different from most distros...
During this few weeks i have learnt a lot of things from these distros than i ever did for the last three years....Thanks for for your advice it really helped...
After i got the network-bar up, i did not even need to do any

Code: Select all

apt-get update 
command. All the updates just automatically sprang up for themselves....Hmmmm am very happy now...Once again thanks bro....everything is fine now....

Post Reply