LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Debian help - No internet/gui (https://www.linuxquestions.org/questions/linux-newbie-8/debian-help-no-internet-gui-4175489944/)

unforgivenhero 01-02-2014 07:55 PM

Debian help - No internet/gui
 
Hello all,

I'm new to linux and decided to install basic debian via cd (no network install).
However, now that it's installed, I have tried using the internet and starting the gui, but neither work.

I've tried using a wired connection directly to my router, but the internet still won't work (tried pinging sites and downloading packages).

Additionally, commands like startx, X, sudo and more all do not work, which I thought work by default for linux.

Does anyone know how to setup a wired internet connection in Debian? I presume I could then get gnome which the installer didn't install after all.

Thanks in advance!

frankbell 01-02-2014 08:25 PM

What do you mean by "basic Debian." A search of the Debian website turns up no definition for the term as an installation type.

jamison20000e 01-02-2014 08:36 PM

Hi. If you used a netinst you only get ruffly 200mb of software no GUI so you will have to configure net from CLI then aptitude or apt in KDE or other...
https://wiki.debian.org/NetworkConfiguration
http://www.tldp.org/LDP/intro-linux/...ect_10_02.html
best wishes and have fun. :)

descendant_command 01-02-2014 08:46 PM

https://wiki.debian.org/NetworkConfiguration

unforgivenhero 01-02-2014 08:52 PM

I meant the version of Debian from Debian.org, not like debian mint.

I've read that article, but I can't use the manual config. since the auto command is unrecognized.
I've read somewhere that editing the sources file might be the trick, but what would that accomplish?

unforgivenhero 01-02-2014 09:00 PM

I meant the version of Debian from Debian.org, not like debian mint.

I've read that article, but I can't use the manual config. since the auto command is unrecognized.
I've read somewhere that editing the sources file might be the trick, but what would that accomplish?

Randicus Draco Albus 01-02-2014 09:05 PM

Quote:

Originally Posted by unforgivenhero (Post 5090916)
I've tried using a wired connection directly to my router, but the internet still won't work (tried pinging sites and downloading packages).

A wired connection should work, but you have provided no information to diagnose the problem. Are you using Network Manager, Wicd or manually configuring the connection? Is the connection DHCP or static?

Quote:

Additionally, commands like startx, X, sudo and more all do not work, which I thought work by default for linux.
What is default is different for every system. If you get a terminal display when the system boots and startx does nothing, it means you did not install a GUI. My guess is you de-selected "graphical environment" (Or something similar. I forget the exact term used.) during installation. You will now need to install Xorg, a GUI, and a display manager if you do not want to startx every time you log in.

Sudo is not working, because it is not enabled by default. Debian is a universal system designed to be used for any purpose. Sudo is used to give limited root access to individual users on a multi-user system, so is not needed by most people, and therefore, not enabled by default.

unforgivenhero 01-02-2014 09:12 PM

Quote:

Originally Posted by Randicus Draco Albus (Post 5090954)
A wired connection should work, but you have provided no information to diagnose the problem. Are you using Network Manager, Wicd or manually configuring the connection? Is the connection DHCP or static?

Manual configuration, trying to get the auto command working.

jdkaye 01-03-2014 04:46 AM

Quote:

Originally Posted by unforgivenhero (Post 5090951)
I meant the version of Debian from Debian.org, not like debian mint.

I've read that article, but I can't use the manual config. since the auto command is unrecognized.

This means you have to edit your /etc/network/interfaces file and use the suggested content for that file.
You need to edit that file as root (the Debian way) or using sudo. You can use emacs or nano to do the editing in a terminal.
jdk

unforgivenhero 01-03-2014 11:58 AM

I edited the interfaces file as root by adding the two lines:

iface eth0 inet dhcp
auto eth0

I then saved, rebooted and tried pinging google.com but I got unknown host.

I've also tried adding allow-hotplug eth0 to the above but nothing happened again.

Finally, I tried running the command: ifdown eth0 && ifup eth0, then ping google.com, but still unknown host.

Any ideas?

Edit:

I should add running the command: ifdown eth0 && ifup eth0, I get eth0 not recognized.

jamison20000e 01-03-2014 01:03 PM

Do you have another way to download non-free firmware:
https://wiki.debian.org/Firmware
http://packages.debian.org/source/wh...rmware-nonfree

also what is your hardware? I have non-free wifi drivers as a .deb file on a data CD and do:then reboot...

unforgivenhero 01-03-2014 04:20 PM

I'm trying to set up an ethernet connection, not wifi. I don't see why this would require any firmware.

descendant_command 01-03-2014 07:33 PM

For the same reason a 'closed' wifi chip would ...

Post the ethernet section of 'lspci -k'

unforgivenhero 01-03-2014 07:50 PM

Ethernet Controller: Atheros Communications Inc. Device e091 (rev 13)
Subsystem: Micro-Star International Co., Ltd. Device 10be

jamison20000e 01-03-2014 08:16 PM

The second link was close to what you may need, not knowing what the hardware was but the 'I have' part was an example for you on what I did. So, perhaps find non-free-eth-all.deb:
http://ubuntuforums.org/showthread.php?t=2003542
http://www.debian-fr.org/probleme-wi...ie-t46231.html + https://translate.google.com/

does it showup in, run as su or sudo:
Code:

ifconfig
?


All times are GMT -5. The time now is 05:04 PM.