LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-21-2010, 11:24 AM   #31
neil2010
Member
 
Registered: Sep 2010
Location: The Lake District Cumbria England
Distribution: Debian 5
Posts: 32

Original Poster
Rep: Reputation: 0

apt-get install linux-image-2.6-i686
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-image-2.6-i686
 
Old 09-21-2010, 11:33 AM   #32
neil2010
Member
 
Registered: Sep 2010
Location: The Lake District Cumbria England
Distribution: Debian 5
Posts: 32

Original Poster
Rep: Reputation: 0
# Backported packages for Debian Lenny
deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free

# deb cdrom:[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 DVD Binary-1 20100904-19:12]/ lenny contrib main


deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib
 
Old 09-21-2010, 11:38 AM   #33
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860
OK, my error, the correct command should be apt-get -t lenny-backports install linux-image-2.6-686
 
Old 09-21-2010, 11:41 AM   #34
neil2010
Member
 
Registered: Sep 2010
Location: The Lake District Cumbria England
Distribution: Debian 5
Posts: 32

Original Poster
Rep: Reputation: 0
apt-get -t lenny-backports install linux-image-2.6-686Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
linux-image-2.6-686: Depends: linux-image-2.6.32-bpo.5-686 but it is not going to be installed
E: Broken packages
 
Old 09-21-2010, 11:44 AM   #35
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860
OK, then try apt-get dist-upgrade first, maybe this helps. If not, try apt-get -t lenny-backports install linux-image-2.6.32-bpo.5-686
 
Old 09-21-2010, 11:48 AM   #36
neil2010
Member
 
Registered: Sep 2010
Location: The Lake District Cumbria England
Distribution: Debian 5
Posts: 32

Original Poster
Rep: Reputation: 0
apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


apt-get -t lenny-backports install linux-image-2.6.32-bpo.5-686
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
linux-image-2.6.32-bpo.5-686: Depends: linux-base (>= 2.6.32-23~bpo50+1) but it is not going to be installed
E: Broken packages
 
Old 09-21-2010, 11:51 AM   #37
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860
I don't have a clue anymore. I think after all that it would be better to install Squeeze, you don't have to use backports than.
 
Old 09-21-2010, 11:55 AM   #38
neil2010
Member
 
Registered: Sep 2010
Location: The Lake District Cumbria England
Distribution: Debian 5
Posts: 32

Original Poster
Rep: Reputation: 0
ok many thanks for all your help. You have helped me learn quite a lot in my first 24 hours of linux.

If i get it working i will post what i did in here.

Thanks again.

Peace

Neil.
 
Old 09-21-2010, 01:53 PM   #39
neil2010
Member
 
Registered: Sep 2010
Location: The Lake District Cumbria England
Distribution: Debian 5
Posts: 32

Original Poster
Rep: Reputation: 0
ok think i have almsot got there...this is how far i have got now.(i have done another clean install of debian)


first i went to

debian:/home/neil# nano /etc/apt/sources.list

and added

# Backported packages for Debian Lenny
deb http://backports.debian.org/debian-backports lenny-backports main contrib non-free

and saved the changes

then

debian:/home/neil# aptitude update

Writing extended state information... Done
Ign cdrom://[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 DVD Binary-1 20100904-19:12] lenny Release.gpg
Ign cdrom://[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 DVD Binary-1 20100904-19:12] lenny/contrib Translation-en_GB
Ign cdrom://[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 DVD Binary-1 20100904-19:12] lenny/main Translation-en_GB
Ign cdrom://[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 DVD Binary-1 20100904-19:12] lenny Release
Ign cdrom://[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 DVD Binary-1 20100904-19:12] lenny/contrib Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 DVD Binary-1 20100904-19:12] lenny/main Packages/DiffIndex
Hit http://security.debian.org lenny/updates Release.gpg
Ign http://security.debian.org lenny/updates/main Translation-en_GB
Ign http://security.debian.org lenny/updates/contrib Translation-en_GB
Hit http://security.debian.org lenny/updates Release
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Sources/DiffIndex
Hit http://security.debian.org lenny/updates/main Packages
Hit http://security.debian.org lenny/updates/contrib Packages
Hit http://security.debian.org lenny/updates/main Sources
Hit http://security.debian.org lenny/updates/contrib Sources
Get:1 http://backports.debian.org lenny-backports Release.gpg [835B]
Ign http://backports.debian.org lenny-backports/main Translation-en_GB
Ign http://backports.debian.org lenny-backports/contrib Translation-en_GB
Ign http://backports.debian.org lenny-backports/non-free Translation-en_GB
Get:2 http://backports.debian.org lenny-backports Release [74.3kB]
Get:3 http://backports.debian.org lenny-backports/main Packages [476kB]
Get:4 http://backports.debian.org lenny-backports/contrib Packages [1886B]
Get:5 http://backports.debian.org lenny-backports/non-free Packages [7568B]
Fetched 560kB in 3s (144kB/s)
Reading package lists... Done

Current status: 1562 new [+1562].
debian:/home/neil# aptitude -t lenny-backports install linux-image-2.6-$(uname -r | sed 's,.*-,,') firmware-ralink wireless-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following NEW packages will be installed:
firmware-linux-free{a} firmware-ralink libuuid-perl{a} linux-base{a}
linux-image-2.6.32-bpo.5-686{a} wireless-tools
The following packages will be upgraded:
linux-image-2.6-686
1 packages upgraded, 6 newly installed, 0 to remove and 96 not upgraded.
Need to get 27.2MB/27.3MB of archives. After unpacking 78.6MB will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
Media Change: Please insert the disc labeled 'Debian GNU/Linux 5.0.6 _Lenny_ - Official i386 DVD Binary-1 20100904-19:12' in the drive '/cdrom/' and press [Enter].

Get:1 http://backports.debian.org lenny-backports/main linux-base 2.6.32-23~bpo50+1 [157kB]
Get:2 http://backports.debian.org lenny-backports/main linux-image-2.6.32-bpo.5-686 2.6.32-23~bpo50+1 [26.9MB]
Get:3 http://backports.debian.org lenny-backports/main firmware-linux-free 2.6.32-23~bpo50+1 [139kB]
Get:4 http://backports.debian.org lenny-backports/non-free firmware-ralink 0.24~bpo50+1 [18.9kB]
Get:5 http://backports.debian.org lenny-backports/main linux-image-2.6-686 2.6.32+27~bpo50+1 [3138B]
Fetched 27.2MB in 2min32s (179kB/s)
Preconfiguring packages ...
Selecting previously deselected package libuuid-perl.
(Reading database ... 88526 files and directories currently installed.)
Unpacking libuuid-perl (from .../libuuid-perl_0.02-3+b1_i386.deb) ...
Selecting previously deselected package linux-base.
Unpacking linux-base (from .../linux-base_2.6.32-23~bpo50+1_all.deb) ...
Selecting previously deselected package linux-image-2.6.32-bpo.5-686.
Unpacking linux-image-2.6.32-bpo.5-686 (from .../linux-image-2.6.32-bpo.5-686_2.6.32-23~bpo50+1_i386.deb) ...
Selecting previously deselected package firmware-linux-free.
Unpacking firmware-linux-free (from .../firmware-linux-free_2.6.32-23~bpo50+1_all.deb) ...
Selecting previously deselected package firmware-ralink.
Unpacking firmware-ralink (from .../firmware-ralink_0.24~bpo50+1_all.deb) ...
Preparing to replace linux-image-2.6-686 2.6.26+17+lenny1 (using .../linux-image-2.6-686_2.6.32+27~bpo50+1_i386.deb) ...
Unpacking replacement linux-image-2.6-686 ...
Selecting previously deselected package wireless-tools.
Unpacking wireless-tools (from .../wireless-tools_29-1.1_i386.deb) ...
Processing triggers for man-db ...
Setting up libuuid-perl (0.02-3+b1) ...
Setting up linux-base (2.6.32-23~bpo50+1) ...
Setting up linux-image-2.6.32-bpo.5-686 (2.6.32-23~bpo50+1) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-bpo.5-686
Running update-grub.
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.32-bpo.5-686
Found kernel: /boot/vmlinuz-2.6.26-2-686
Updating /boot/grub/menu.lst ... done

Setting up firmware-linux-free (2.6.32-23~bpo50+1) ...
Setting up firmware-ralink (0.24~bpo50+1) ...
Setting up linux-image-2.6-686 (2.6.32+27~bpo50+1) ...
Setting up wireless-tools (29-1.1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done

Current status: 96 updates [-1].

*after installing all the updates from disc i then rebooted (remove disc)

then went back to terminal


debian:/home/neil# modprobe rt2870sta
debian:/home/neil# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 Ralink STA ESSID:"" Nickname:""
Mode:Auto Frequency=2.412 GHz
Link Quality=10/100 Signal level:0 dBm Noise level:-143 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

debian:/home/neil# ifconfig wlan0 up
SIOCSIFFLAGS: Operation not permitted
debian:/home/neil#
 
Old 09-21-2010, 02:16 PM   #40
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860
Wow, I wonder why it is working now. I recommend to use a graphical tool to do the rest, like wicd or gnome-network-manager.
I have to say that you did it well, many had given up with this sort of problems right at the beginning and had thought: "Linux sucks, I will stick with Windows!"
Congratulations and have a lot of fun with your Debian.
 
Old 09-21-2010, 02:36 PM   #41
neil2010
Member
 
Registered: Sep 2010
Location: The Lake District Cumbria England
Distribution: Debian 5
Posts: 32

Original Poster
Rep: Reputation: 0
Thank you. Your help was immense and extremely appreciated.

I have gone this route for wifi config....

$ su
# aptitude update
# aptitude install network-manager-gnome

Am having a little difficulty with it finding my router but i will keep trying!


Peace.

Neil.

Last edited by neil2010; 09-21-2010 at 02:39 PM.
 
Old 09-22-2010, 05:09 PM   #42
banditman
LQ Newbie
 
Registered: May 2010
Posts: 17
Blog Entries: 1

Rep: Reputation: 1
wicd seems to work best for me never had much luck with reliability and network-manager it kept dropping the connection.
Try apt-get install wicd wicd-client for a better setup imho!
 
Old 09-23-2010, 09:37 PM   #43
neil2010
Member
 
Registered: Sep 2010
Location: The Lake District Cumbria England
Distribution: Debian 5
Posts: 32

Original Poster
Rep: Reputation: 0
SOLVED:

I tried both wicd and NetworkManager and had no success. I then played around with the router settings for an eternity and decided to post a question asking about a getting a better router.
This led to a post advising me that usb adapters are problematic so i decided to swap my main windows wireless pc card (idimax wireless lan Pci card EW-7128g) over to my linux pc. Then i followed the instructions for Ralink RT2500 devices http://wiki.debian.org/fr/WiFi/rt2500I


Then after i installed the NetworkManager my router was immediately visable.

Last edited by neil2010; 09-23-2010 at 09:41 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb device driver for wireless network adapter lordofring Programming 1 06-30-2005 03:28 AM
wireless USB network adapter in debian SCX Linux - Wireless Networking 1 08-30-2004 01:54 PM
wireless USB network adapter in debian SCX Linux - Wireless Networking 0 08-30-2004 11:11 AM
no driver for 54mbps sitecom usb wireless adapter orbitalistic Linux - Hardware 1 08-10-2004 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration