LinuxQuestions.org
Help answer threads with 0 replies.
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 04-06-2006, 06:51 PM   #1
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Rep: Reputation: 30
Can't configure a PPPOE network conection during installation.


Hi. When I install Debian Sarge there are 2 stages in the installation. One after the boot and another one after the reboot. I just downloaded Debian testing and the installation don't have a reboot time. Everything is done after the boot.

So, the only way I could install a PPPOE network, connect to the repositories, download security updates, etc etc, was after the reboot, open a terminal and type pppoeconf!!! Now, there isn't a reboot time. apt is configured after the boot and not after the reboot, so This command (pppoeconf) isn't being accepted by the shell. I have to skip a few stages to install Debian, and at the end I am sent to a terminal and not to GNOME or KDE as I was supposed to be sent.

This is really pissing me off because I bought a new network card just to install debian. Debian didn't have any drivers for my onboard network card, I bought a new one and now I still can't install it!

Hope someone can help me here. THank you.
 
Old 04-06-2006, 07:20 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Here's a guide where they install using pppoe.

Here's a guide for soemthing else that tells you how to install pppoe.

Last edited by pljvaldez; 04-06-2006 at 07:22 PM.
 
Old 04-06-2006, 07:48 PM   #3
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
This guide doesn't solve my problem. I don't know if you red it but the way It teaches you to install a PPPOE network connection is the same way I just explained above and said that doesn't work over the conditions I also mentioned above.
Anyway, thank you.
 
Old 04-06-2006, 10:32 PM   #4
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
I haven't tried the latest installer so I don't know what has changed but I'd imagine that the basic installation procedure would still be something like this:

(1) Install Debian.
(2) Log in and type "su" to become root.
(3) Run "pppoeconf" to set up network connection.
(4) Run "apt-setup" to configure APT.
(5) Run "tasksel" to install GNOME and KDE.

Hope this helps.
 
Old 04-06-2006, 10:53 PM   #5
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
Hi. When I installed sarge I did almost everything like you. The differences are:

1) I ran "pppoeconf" from a terminal during the installation (while the installer was running). I think you're saying you did it at the end of the installation
2) I didn't run apt-setup. The installer does that all by itself. It askes me about what I want to use as a repository and there I have the options to choose as many cds as I have, and all FTP and HTTP repositories listed and separated by contry. The installer I'm using doesn't do that. It offers me only the FTP and HTTP.
3)I didn't run tasksel (never heard about it). GNOME and KDE started after the installation. No need to install them by any special method.

Another problem now is that I can't use pppoeconf, Neither after the boot from the DVD nor from the shell I'm sent to, at the end of the installation, after the reboot. The command isn't recognized.

So, I'm really lost. Thank you.
 
Old 04-07-2006, 01:15 AM   #6
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Try whereis pppoeconf to see if it is installed. It might just be out of your path...
 
Old 04-07-2006, 06:28 AM   #7
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
OK, you've installed Debian, logged in, used "su" to become root but Debian fails to execute "pppoeconf". If pljvaldez's suggestion (whereis pppoeconf) doesn't give any results, then the installer has, for some strange reason, failed to install the pppoeconf package.

If you still have the older version of Debian installer around, you can install pppoeconf from there. Insert the old installer cd to your cdrom drive and type (still as root) "apt-cdrom". There is some dialog and then "apt-cdrom" will add a line like this to /etc/apt/sources.list:

deb file:///cdrom/ testing main

Now you can run (as root) "apt-get install pppoeconf" and APT should install pppoeconf from your (old) installer cd.

Next, run (as root) "ifconfig" to see if your netcard (it's probably eth0) is listed. If eth0 (or eth1) is listed by "ifconfig", you can now run (as root) "pppoeconf" to set up network connection.

Next, you need to configure APT so that APT knows where to fetch the packages you wish to install. To configure APT, you can run (as root) "apt-setup". "apt-setup" will give you the exactly same dialog that the installer gives when your netcard is configured during the installation. "apt-setup" will add a line like this to /etc/apt/sources.list:

deb http://ftp.us.debian.org/debian/ testing main

(The above is the United States APT repository. You should choose a mirror geographically close to you. The full list of Debian mirrors is available here: http://www.debian.org/mirror/mirrors_full )

You can also add the repository manually using the nano text editor (type as root "nano /etc/apt/sources.list"). LinuxQuestions has a sticky thread about alternative sources.list entries that you can add: http://www.linuxquestions.org/questi...d.php?t=330913

Next, run (as root) "apt-get update" to make sure that APT's package database is up-to-date. Then run (as root) "tasksel". "tasksel" will pop up the exactly same dialog that the installer cd gives you when you've successfully configured network connection and APT during the actual installation.

So you see, it's possible to configure network after installation and still get the exactly same dialogs that the installer would have given you if you had managed to configure network during installation.

If all goes well, you can then reboot and you should be greeted by a GUI login screen that allows you to start GNOME or KDE.

EDIT:
When you run "ifconfig", check also if it lists the "lo" (loopback) interface. Because you didn't configure network during installation, it's possible that Debian hasn't configured the loopback interface. KDE and GNOME expect that the loopback interface is configured -- otherwise they may fail to start.

So if "ifconfig" doesn't list "lo", you should edit /etc/network/interfaces with the nano text editor (just type as root "nano /etc/network/interfaces") and add these two lines:

auto lo
iface lo inet loopback

Then exit nano saving changes (press Ctrl and x at the same time, then press y, then Enter).

Last edited by Dead Parrot; 04-07-2006 at 06:59 AM.
 
Old 04-07-2006, 10:54 AM   #8
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
Uou.. A very complete explanation. I'll try right now everything you said.

About the Whereis, I used find instead, and the only thing I found was a pppoeconf.deb inside the DVD and not installed. When I tried to run a dpkg -i pppoeconf.deb, it failed because of dependences.

I'll try to use apt-cdrom. The rest about apt I have no doubt and I'm very confident to use it.

I'll return to you in a few minutes with the result.
Thank you.
 
Old 04-07-2006, 11:56 AM   #9
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
It didn't work.

1) I boot with the special parameter EXPERT. This way I can choose any step I want to make, I can go back, and the installation just ends if I choose it to end.
2) During the installation, after each step I tried to run apt-get install pppoeconf. I couldn't do that because during the installation the only apt commands that I get are: apt-setup, apt-setup verify and apt-install. I tried all of them and they don't seem to work.
3) I couldn't run pppoeconf or install during the installation. After the reboot, pppoeconf is available in the shell I'm sent. I typed pppoeconf and my network connection was configured perfectly.
4) There was no loop back at /etc/network/interfaces. I added it as you requested.
5)tasksel showed me the exactly screen I got during the installation. I left it as before with servers, mail and data base unmarked. I just selected the basic.
6) After I pressed ENTER, tasksel made a quick check, and nothing else was installed.
7) apt-setup was not available after the reboot.
8) I tried to run apt-get install x-window-system kde kdm but I got an error. IT says I need to run apt-get update (I think. I don't remember)
9) I ran apt-get update and I got and error. It says some files are missing and that I need to run apt-get update to fix it, but I just did it!

Conclusion: pppoe can't be configured during the installation. I couldn't install kde through apt. Apt don't work as it should if I skip the steps to configure it during the installation.
 
Old 04-07-2006, 12:06 PM   #10
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
I think what he is suggesting is to go through the setup with the CD/DVD and install a base system (i.e. no kde/gnome, bare minimum system -- approximately 140MB). Then afterward, go add your CD to the /etc/sources.list (if it's not already there). Then you should be able to install pppoeconf from the CD repository. After that, you should be able to get pppoe to work and then you can change your /etc/sources.list to a network repository, apt-get update, and then install the other parts of the system you want.
 
Old 04-07-2006, 12:18 PM   #11
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
7) apt-setup was not available after the reboot.
It's possible, even likely, that APT is not yet configured on your Debian system and this is why apt-get fails to install packages. But you don't necessarily need "apt-setup". "apt-setup" is only a tool that helps you to write the correct line to APT's config file /etc/apt/sources.list. You can write this line just as easily yourself using the nano text editor (type as root "nano /etc/apt/sources.list"). The line you should add to /etc/apt/sources.list looks like this:

deb http://ftp.us.debian.org/debian/ testing main

After adding the above line, exit nano saving changes (press Ctrl and x at the same time, then press y, then Enter).

Then run as root "apt-get update".

After that you should be able to use tasksel and apt-get.

Note: the above sources.list line tells APT to fetch packages from the United States Debian mirror. You can change the mirror if you don't live in the US. The full list of available Debian mirrors is here: http://www.debian.org/mirror/mirrors_full
 
Old 04-07-2006, 02:50 PM   #12
doraimom
Member
 
Registered: Nov 2005
Posts: 288

Original Poster
Rep: Reputation: 30
Hi again.
I just red a manual to change my DLS modem to a ROUTER. After a lot of pain and time I did it.
Then I installed Debian, connecting to the repositories perfectly. Even doing this the installation wasn't like I was used to. I was sent again to the shell after the reboot and not to GUI.. Apt can't install neither Gnome nor KDE. It says that are some dependences that It cannot solve. I tried it using apt from shell and using Synaptic after typing STARTX(I was sent to a strange GUI with nothing at all, no icons, no images, nothing). I think this release is with some bugs.

Thank you for all your time, advices, kindness but I think I'll try to adapt myself to a new distro, but that won't be easy to do because most of distros released today are with some kind of BUG for the 64 bits arquiteture. I have already found bugs in Fedora 5 for 64bits, Ubuntu for 64 bits and Suse Eval 64 bits.

Last edited by doraimom; 04-07-2006 at 02:54 PM.
 
Old 04-07-2006, 03:45 PM   #13
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
I have no idea what is the present state of Debian for AMD64 but it hasn't yet been accepted as part of the official release, so it's kind of expected that it's still buggy.

If you still wish to continue testing Debian, you could try "apt-get install kde-core kdm" or "apt-get install gnome-core gdm". "kde-core" and "gnome-core" only install the core packages that are needed for running these desktop environments. They have less dependencies than the actual "kde" and "gnome" packages, so you might succeed in installing these core packages even if "kde" or "gnome" have missing dependencies.

If you want to use the "startx" command to start KDE, you should first use (as normal user) this command:

echo "exec startkde" > .xinitrc

This will write the "exec startkde" line to the .xinitrc file in your home directory and "startx" command will check this file to know which X session you want it to start. If you want to start GNOME, you should type:

echo "exec gnome-session" > .xinitrc

before typing "startx".

Last edited by Dead Parrot; 04-07-2006 at 03:48 PM.
 
  


Reply


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
Installing a Brother MFC-5440CN through a network conection boricuamed Linux - Hardware 1 02-17-2007 03:18 PM
Inspiron 6000 doesn't get network conection:Distro::FC4 gopiindiaever Linux - Newbie 7 03-13-2006 12:31 PM
Configure my PPPoE Bilal84 Linux - Networking 2 05-06-2005 02:26 PM
rp-pppoe configure file can't run jimesh Linux - Networking 1 08-03-2004 02:16 AM
Gentoo network installation and PPPoE ADSL psterr Linux - Software 0 02-20-2002 12:30 PM

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

All times are GMT -5. The time now is 09:02 PM.

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