LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 01-06-2014, 04:26 PM   #1
starkid
LQ Newbie
 
Registered: Jan 2012
Location: California
Distribution: Ubuntu 11.10 x64/Debian 7.3.0 x64
Posts: 24

Rep: Reputation: Disabled
Exclamation 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...
 
Old 01-06-2014, 04:39 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
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
You can run that command on your Ubuntu system, no need to reboot.
 
Old 01-06-2014, 04:48 PM   #3
starkid
LQ Newbie
 
Registered: Jan 2012
Location: California
Distribution: Ubuntu 11.10 x64/Debian 7.3.0 x64
Posts: 24

Original Poster
Rep: Reputation: Disabled
output:

http://goo.gl/R3aa2x
 
Old 01-06-2014, 05:38 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
This site does not work for me. Please post the output here using code-tags.
 
Old 01-06-2014, 05:40 PM   #5
starkid
LQ Newbie
 
Registered: Jan 2012
Location: California
Distribution: Ubuntu 11.10 x64/Debian 7.3.0 x64
Posts: 24

Original Poster
Rep: Reputation: Disabled
Code:
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 (rev b5)
00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation HM67 Express Chipset Family LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation Device 1246 (rev a1)
03:00.0 Network controller: Intel Corporation Centrino Wireless-N 1030 (rev 34)
04:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)
0a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
 
Old 01-07-2014, 12:29 AM   #6
aus9
Guru
 
Registered: Oct 2003
Posts: 5,056

Rep: Reputation: Disabled
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
should also work when you boot into debian

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
sudo apt-get update
or su to root if you have disabled sudo daemon

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

Last edited by aus9; 01-07-2014 at 12:31 AM.
 
Old 01-07-2014, 02:50 PM   #7
starkid
LQ Newbie
 
Registered: Jan 2012
Location: California
Distribution: Ubuntu 11.10 x64/Debian 7.3.0 x64
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by aus9 View Post
so
Code:
lsmod | grep iwlwifi
should also work when you boot into debian
This command gives me no output on Ubuntu.

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.
 
Old 01-07-2014, 02:57 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
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.
 
Old 01-07-2014, 03:04 PM   #9
starkid
LQ Newbie
 
Registered: Jan 2012
Location: California
Distribution: Ubuntu 11.10 x64/Debian 7.3.0 x64
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
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.
So...what exactly do I have to do after installing the firmware? Does all this loading happen automatically?

Quote:
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.
I've tried using iwconfig previously. It is apparently not installed.
 
Old 01-07-2014, 04:11 PM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
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.
 
Old 01-07-2014, 07:18 PM   #11
starkid
LQ Newbie
 
Registered: Jan 2012
Location: California
Distribution: Ubuntu 11.10 x64/Debian 7.3.0 x64
Posts: 24

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-07-2014, 07:38 PM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
Try this: https://wiki.debian.org/WiFi/HowToUse#Command_Line
 
Old 01-07-2014, 07:44 PM   #13
starkid
LQ Newbie
 
Registered: Jan 2012
Location: California
Distribution: Ubuntu 11.10 x64/Debian 7.3.0 x64
Posts: 24

Original Poster
Rep: Reputation: Disabled
I've already done that, except I eventually removed the line

Code:
auto wlan0
from my /etc/network/interfaces file because it was taking forever at boot. I start it with ifup wlan0 at the command line. When I type iwconfig, it shows the named network, but
Code:
apt-get update
is still not working.
 
Old 01-09-2014, 07:21 PM   #14
starkid
LQ Newbie
 
Registered: Jan 2012
Location: California
Distribution: Ubuntu 11.10 x64/Debian 7.3.0 x64
Posts: 24

Original Poster
Rep: Reputation: Disabled
Got my internet connection with a utility called ceni. Everything's good now. Thanks everyone.
 
Old 01-09-2014, 08:17 PM   #15
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,680

Rep: Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558
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
mkdir /mnt/temp
mount /dev/sda1 /mnt/temp
for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt/temp$i; done
cp /etc/resolv.conf /mnt/temp/etc/resolv.conf
chroot /mnt/temp

#Unmounting
for i in /dev/pts /dev /proc /sys; do sudo umount /mnt/temp$i ; done

#Some repair commands
apt-get update
apt-get upgrade
apt-get install -f
dpkg --configure -a
apt-get dist-upgrade
 
  


Reply

Tags
debian


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
minimal linux distro for USB (just CLI and command line tools) shuuichi Linux - Newbie 8 10-15-2013 03:59 PM
gentoo install-minimal iso stuck at (none) Login: mshlinux Gentoo 4 07-31-2013 09:59 AM
[SOLVED] Recently installed Debian via transmission (minimal line bash) EDDY1 Linux - Newbie 29 08-29-2010 01:58 AM
Stuck at CLI gloomz cAos 5 12-12-2006 11:50 AM
Stuck with CLI on post install Kyl3 Fedora - Installation 4 07-26-2004 01:20 PM


All times are GMT -5. The time now is 12:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration