[SOLVED] can't access my network in new Debian Live installation
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
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.
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.
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.