Can't configure a PPPOE network conection during 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 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!
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.
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.
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.
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:
(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.
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.
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.
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.
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:
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.