LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-12-2011, 01:01 AM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,378

Rep: Reputation: Disabled
can't access my network in new Debian Live installation


I decided to try out the Debian Live CD, installing a copy on my HD. OK...so the first thing I must do is access my wireless network, after which I guess I can start downloading software with apt-get. I've never tried accessing my network from a command line without wicd, and this Debian CD didn't have it, so I went to my Linux partition that had a working connection and read up on the commands to manually access the network. Ifconfig, iwlist, iwconfig, dhclient.

After some Googling I found this website http://www.ghacks.net/2009/04/14/con...-command-line/, went back to the new Debian installation, and tried the commands. "Ifconfig wlan0 up" resulted in "Error--failed to request firmware." I'm not sure whether that means the distro doesn't include firmware for my wireless card (Linksys WMP54G v.4, chipset Ralink RT2561) or the system didn't try to use the firmware (taken literally, it seems to mean that).

I tried "Dhclient wlan0" to see what would happen. It gave the same error message.

The system apparently doesn't even know ifconfig or iwlist; both produced "command not found."

So I'm at a loss. I have no idea how I'm supposed to get online to download and install software with this Debian installation. This seems to be beyond my very limited command line experience. How disappointing.
 
Old 10-12-2011, 02:16 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,770

Rep: Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933
You need to down load the firmware. iwlist and iwconfig are part of the wireless-tools package.
http://wiki.debian.org/rt61pci
 
Old 10-12-2011, 02:30 AM   #3
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,378

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
You need to down load the firmware. iwlist and iwconfig are part of the wireless-tools package.
http://wiki.debian.org/rt61pci
You understand my problem, don't you? I can't download anything in this Debian installation because it can't get online. I used to face this circular problem all the time, before I learned how to easily connect to my network on distros that have a wireless network manager (Networkmanager or Wicd). I'll have to download the firmware from my other installation (this one), copy it over, and then install it. Ehh...I guess I can handle it. What a mess. I wonder whether the liveCD included no wireless card firmware at all, or whether the liveCD's designers thought my particular wireless card wasn't very common.

Last edited by newbiesforever; 10-12-2011 at 02:46 AM.
 
Old 10-12-2011, 03:27 AM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
rt61 is in the non-free section, so you need to enable the non-free repos by editing /etc/apt/sources.list
The live-cd has network capabilities somehow you need to use it to get connection & edit sources.list, update & install firmware.
I saw a tutorial on it but can't find it.

Last edited by EDDY1; 10-12-2011 at 03:33 AM.
 
Old 10-12-2011, 11:45 AM   #5
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,378

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by EDDY1 View Post
rt61 is in the non-free section, so you need to enable the non-free repos by editing /etc/apt/sources.list
The live-cd has network capabilities somehow you need to use it to get connection & edit sources.list, update & install firmware.
I saw a tutorial on it but can't find it.
OK...I'll look for this tutorial.
 
Old 10-12-2011, 01:39 PM   #6
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,378

Original Poster
Rep: Reputation: Disabled
I should apologize for probably causing confusion. I am referring to the Debian liveCD, not "Debian Live," the process of making your own customized iso from scripts.
 
Old 10-12-2011, 01:40 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You can't connect via ethernet connection?
 
Old 10-12-2011, 02:27 PM   #8
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,378

Original Poster
Rep: Reputation: Disabled
There isn't an ethernet connection. I think my motherboard has an ethernet card, but my network is wireless. I use a wireless PCI card and the router is in another room.
 
Old 10-12-2011, 08:35 PM   #9
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Get the packages you need from your install that works. Put them on your new install. Boot to it and install with gdebi.
 
Old 10-12-2011, 09:21 PM   #10
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
Quote:
Where is the CD image with non-free?
Debian has a quite strict view with regard to the licenses of software: Only software that is Free in the sense of the Debian Free Software Guidelines is allowed into the actual distribution. All the other, non-free software (for example, software for which source code is not available) is not supported officially.
The official CDs may freely be used, copied and sold by anyone anywhere in the world. Packages of the non-free category have restrictions that conflict with this, so these packages are not placed on the official CDs.
Sometimes, someone is kind enough to create unofficial non-free CDs. If you cannot find any links on this website, you can try asking on the debian-cd mailing list.
http://www.debian.org/CD/faq/#nonfree


Maybe this will help you understand what is going on with Debian. If you take widget's suggestion that should work.
 
Old 10-13-2011, 12:27 AM   #11
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,378

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by widget View Post
Get the packages you need from your install that works. Put them on your new install. Boot to it and install with gdebi.
Before doing as you suggest, I went to the Debian installation I'm working on and checked whether it had gdebi at all. Apparently it doesn't. It doesn't know the command, even as root. This is getting ridiculous. Is the Debian liveCD stripped of everything I might need to establish a network connection? I realize that the designers meant for the user to choose almost all software and therefore they don't include much on the CD, but since a user of any distro can't download software without having an internet connection first, to not include a means of connecting (or to make it very difficult for a non-expert) seems counterproductive.
 
Old 10-13-2011, 11:16 AM   #12
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
Quote:
Originally Posted by newbiesforever View Post
Before doing as you suggest, I went to the Debian installation I'm working on and checked whether it had gdebi at all. Apparently it doesn't. It doesn't know the command, even as root. This is getting ridiculous. Is the Debian liveCD stripped of everything I might need to establish a network connection? I realize that the designers meant for the user to choose almost all software and therefore they don't include much on the CD, but since a user of any distro can't download software without having an internet connection first, to not include a means of connecting (or to make it very difficult for a non-expert) seems counterproductive.
If it doesn't have gdebi-gtk the ' dpkg -i ' will do the same thing.
 
Old 10-13-2011, 12:28 PM   #13
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
DebianLive does not contain non-free firmware. If you have your heart set on using a command line environment only you are going to have to install the firmware either by follwing Widget's suggestion, only using dpkg instead of gdebi as 62chevy said, or by using a flash drive and copying it over and again using dpkg, or install DebianLive with a desktop envorinment and using gdebi.

There are 2 other ways, make your own DebianLive with the required firmware, or get the firmware ready on a flash drive and reinstall DebianLive it should ask you if you want to install non-free firmware and if you have it on the flash drive it should locate it for you and install it.
 
Old 10-13-2011, 03:59 PM   #14
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,378

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by k3lt01 View Post
DebianLive does not contain non-free firmware. If you have your heart set on using a command line environment only you are going to have to install the firmware either by follwing Widget's suggestion, only using dpkg instead of gdebi as 62chevy said, or by using a flash drive and copying it over and again using dpkg, or install DebianLive with a desktop envorinment and using gdebi.

There are 2 other ways, make your own DebianLive with the required firmware, or get the firmware ready on a flash drive and reinstall DebianLive it should ask you if you want to install non-free firmware and if you have it on the flash drive it should locate it for you and install it.
Oh, no...I mean to use a GUI. The only reason I'm fooling around with a command line when I have minimal experience with one is because this Debian liveCD doesn't appear to include X or a desktop manager. (I typed "startx," but it didn't work. I didn't think it would, because if it came with X, why wouldn't it start X automatically?) Anyway, I'll do as suggested.
 
Old 10-13-2011, 04:33 PM   #15
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
The live CD for Debian Squeeze includes all the needed Xorg stuff needed to run your system. The "standard" CD includes the Gnome Desktop Environment. That should include gdebi.

The whole point of having a Live CD is so that folks can try out the release without installing the OS. Then you can install it if you like it. After installing it should be pretty much the same as you experienced in the Live Session.

I think you have more problems than you think. Even though the Live Session worked (I am assuming that it did) did you check the md5sum of the image you downloaded (the ISO file)?

The Debian installer is very reliable, at least for the stable release (Squeeze). It would be good to know if that ISO was correct.

Did you try booting to "recovery"? This could be the way you are getting to the tty prompt but I do not know that. Recovery mode can, at times, fix things on its own.

If you have not changed your sources.list, or the installer didn't, you may be able to try installing the missing parts from it to at least get you a working system.

I think I would be a lot more interested in getting a working, if not connected, system before worrying too much about anything else.
 
  


Reply



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
LXer: Web Based Ubuntu And Debian Custom Installation / Live CD Creation Service LXer Syndicated Linux News 0 01-16-2010 08:00 PM
Installation of Debian Etch Live flipje66 Debian 4 10-15-2007 01:48 AM
Debian etch live installation on USB Memory key. jaisuvyas Debian 1 07-19-2007 03:26 PM
Live CD to access Debian files today53 Ubuntu 2 07-23-2006 02:36 AM
Debian Woody: Can't access internet through router, but can access network computers marales314 Linux - Networking 3 06-09-2006 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:41 AM.

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
Open Source Consulting | Domain Registration