Minimal Debian Installed; Stuck At CLI
I just finished a netinstall of the latest Debian version. I wasn't able to connect to the Internet during the installation, so all I have is a minimal install and I don't know how to set up my system from here.
I'm using wi-fi at a public library (I'm typing this from Ubuntu on my second HD) and don't have network details, so I doubt that I can connect from the command line to download packages. How can I get a desktop environment for my Debian system? Once I get that, I can get online and download other packages. I hope... |
You will have to do it the other way around, to get a desktop you will need to have a working Internet connection.
So we should work on that first. To help you with that we need to know which WLAN hardware you use, please post the output of Code:
lspci |
|
This site does not work for me. Please post the output here using code-tags.
|
Code:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09) |
Centrino Wireless-N 1030
TobiSGD feel free to take over any time according to that hw, your Ubuntu should have a kernel module loaded called iwlwifi so Code:
lsmod | grep iwlwifi http://wireless.kernel.org/en/users/Drivers/iwlwifi https://wiki.debian.org/iwlwifi but you also need the firmware....(software to enable the hardware).... which is called firmware-iwlwifi http://packages.debian.org/search?ke...rmware-iwlwifi so if you don't already have your apt setup for non-free repo you should be able to download the file on Ubuntu as per http://packages.debian.org/wheezy/al...lwifi/download pick your country but if aussie you can try a direct link (or even not aussie) as per http://mirror.internode.on.net/pub/d...i_0.40_all.deb use root powers to copy into hard drive for mounted debian boot into debian takes you to console login login Code:
sudo dpkg -i /pathway2file/firmware-iwlwifi_0.40_all.deb if it works firmwware is unpacked and module has loaded report back if I have failed next you need a small graphical environment I suggest you install fluxbox and then choose a bigger one, if you need it, from a running WM environment https://wiki.debian.org/FluxBox |
Quote:
I'm confused about terminology. I need both firmware and a driver, correct? So what is a module, something else? I have installed the firmware, but I don't know how/where to get the driver. |
Drivers on Linux (unless compiled directly compiled into the kernel) are loaded as modules into the kernel, so a module and a driver usually are the same. The firmware is loaded by the driver after the module was loaded into the kernel.
The iwlwifi driver should be installed by default, so if you have the firmware installed, too, you should see your WLAN device when running iwconfig. |
Quote:
Quote:
|
I thought it would be installed by default. At this point it may be easier to start from the beginning, but use CD1 or DVD1 instead of the netinstall. This way you will get a graphical environment including necessary software for networking and just have to install the firmware later. Unless you have the possibility to get temporarily a wired Internet connection.
|
I have iwconfig now. I downloaded wireless-tools package and installed by usb. I was connected to the Internet for quite some time (was downloading and got interrupted), but I can't seem to re-connect. Or maybe that's not the problem. All I know is that when I try to update, I get an error that the sites in my sources.list could not be resolved.
|
|
I've already done that, except I eventually removed the line
Code:
auto wlan0 Code:
apt-get update |
Got my internet connection with a utility called ceni. Everything's good now. Thanks everyone.
|
I know you've solved this already but it seems you have gone a long way about it just to get a working desktop. Considering your dual booting you could have chrooted into the Debain system while using the Ubuntu system and finished the set up.
This is what I do. Note that if using Ubuntu to Chroot into Debian you will need to use sudo infront of each command instead of the "for i in /dev" command to get Debian mounted and chrooted. After that just use the normal Debian procedures as listed without sudo. Code:
#mounting |
All times are GMT -5. The time now is 07:30 PM. |