View previous topic :: View next topic |
Author |
Message |
GilGalaad n00b

Joined: 12 Jun 2002 Posts: 23 Location: Pisa, Italy
|
Posted: Wed Jun 12, 2002 3:40 am Post subject: pppoe support |
|
|
i have a dsl connection, with an alcatel speed touch home ETHERNET modem.
is it possibile to access the internet during install?
i have no router, so setting up eth0 with ifconfig is not enough.
if there's no pppoe support during install (as i think), there's a "tricky" way for me to get connected? or the support IS present and i'm so blind?
thank you |
|
Back to top |
|
 |
acidreign Tux's lil' helper

Joined: 21 Apr 2002 Posts: 122 Location: Brisbane, Australia
|
Posted: Wed Jun 12, 2002 4:09 am Post subject: This depends. |
|
|
This all depends on how your modem has been setup, what kind it is (USB or ETHERNET) and the authentication methods used by your provider.
I have the same modem, in an ethernet setup, currently in a bridge configuration.
If you can configure your modem as a "BRIDGE" and the modem itself logs in, ie.. you dont need a machine to run the pppoe client, just ask for a dhcp address, and you can continue the install just like the documentation mentions.
Perhaps provide some more information and we can help you more effectively. |
|
Back to top |
|
 |
GilGalaad n00b

Joined: 12 Jun 2002 Posts: 23 Location: Pisa, Italy
|
Posted: Wed Jun 12, 2002 5:00 am Post subject: i found |
|
|
deeply searching in other pages of the forum i found informations that probably will help me.
anyway, my modem is ethernet (i told that i must ifconfig up eth0...) but my provider requires pppoe, the modem cannot login itself.
but, as you probably know, this alcatel modem can be turned to a router, writing some string while in "expert mode". i tried and succeded, but i could not connect to my provider, even following instruction on provider website, dunno why, so i downgraded again to normal modem.
anyway, i case i will fail to connect using rp-ppoe as explained in other topic of the forum, can you explain better how to configure my modem as a bridge? |
|
Back to top |
|
 |
faithfull n00b


Joined: 06 Jun 2002 Posts: 67
|
|
Back to top |
|
 |
GilGalaad n00b

Joined: 12 Jun 2002 Posts: 23 Location: Pisa, Italy
|
Posted: Wed Jun 12, 2002 11:34 am Post subject: Re: Yes I know the way, but ... |
|
|
faithfull wrote: | Download this packages:
(cut)
Good luck! |
exactly what i planned to do...
but why stage 3?
can't i do the same with x86 iso? |
|
Back to top |
|
 |
faithfull n00b


Joined: 06 Jun 2002 Posts: 67
|
Posted: Wed Jun 12, 2002 3:39 pm Post subject: Re: Yes I know the way, but ... |
|
|
GilGalaad wrote: |
exactly what i planned to do...
but why stage 3?
can't i do the same with x86 iso? |
No, in ix86 iso you don't have already the gcc compiler so it is impossible to emerge ppp and rp-pppoe.
I tried also with stage2 but too much dependecies are unresolved at this point, so you obviously need the 686 ISO and the stage 3.
If you have an older machine or a K7 after the adls-start command you can exec the /usr/portage/scripts/bootstrap.sh but I dont' guarantee for that.
Remember if you try this last way to tune /etc/make.conf for your needs. |
|
Back to top |
|
 |
GilGalaad n00b

Joined: 12 Jun 2002 Posts: 23 Location: Pisa, Italy
|
Posted: Wed Jun 12, 2002 4:02 pm Post subject: Re: Yes I know the way, but ... |
|
|
[quote="faithfull"] GilGalaad wrote: |
No, in ix86 iso you don't have already the gcc compiler so it is impossible to emerge ppp and rp-pppoe.
I tried also with stage2 but too much dependecies are unresolved at this point, so you obviously need the 686 ISO and the stage 3.
If you have an older machine or a K7 after the adls-start command you can exec the /usr/portage/scripts/bootstrap.sh but I dont' guarantee for that.
Remember if you try this last way to tune /etc/make.conf for your needs. |
yes. i succeded!
really really thank you for helping.
too bad i must use stage3, because i have an athlon xp, and i think i could gain somethung using -march=athlon instead of i686...but i don't think it's SO important :) |
|
Back to top |
|
 |
faithfull n00b


Joined: 06 Jun 2002 Posts: 67
|
Posted: Wed Jun 12, 2002 6:04 pm Post subject: Re: Yes I know the way, but ... |
|
|
GilGalaad wrote: |
yes. i succeded!
really really thank you for helping.
too bad i must use stage3, because i have an athlon xp, and i think i could gain somethung using -march=athlon instead of i686...but i don't think it's SO important  |
Glad to help! If you want you can try the script bootstrap.sh, if it works you'll find the difference! |
|
Back to top |
|
 |
delta407 Bodhisattva


Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Jun 12, 2002 6:24 pm Post subject: Re: Yes I know the way, but ... |
|
|
faithfull wrote: | I don't suggest to connect to the net in the installation phase because you are not protected. But if you think that I'm too much paranoid the process is this: |
Errm... protected from what? The installer doesn't have any services running, and the Linux TCP/IP stack isn't exactly untested. There shouldn't be anything remotely exploitable, unless you enable it specifically.
Besides, most script kiddies are looking for insecure NetBIOS implementations, bad web servers, or misconfigured FTPs. |
|
Back to top |
|
 |
faithfull n00b


Joined: 06 Jun 2002 Posts: 67
|
Posted: Wed Jun 12, 2002 6:56 pm Post subject: Re: Yes I know the way, but ... |
|
|
delta407 wrote: |
Errm... protected from what? The installer doesn't have any services running, and the Linux TCP/IP stack isn't exactly untested. There shouldn't be anything remotely exploitable, unless you enable it specifically.
Besides, most script kiddies are looking for insecure NetBIOS implementations, bad web servers, or misconfigured FTPs. |
Right, I forget that this distro is not RedHat!  |
|
Back to top |
|
 |
rieger Tux's lil' helper


Joined: 14 Jun 2002 Posts: 136 Location: The Netherlands
|
Posted: Fri Jun 14, 2002 6:40 pm Post subject: |
|
|
Hi,
I trying to install Gentoo too
As I need PPPoE, I followed the instuctions as mentioned in this thread, however when I reach the "emerge ppp" command, emerge tries to find a site which contains the *pppoe4.tgz file.
This file I put (as mentioned) in the /usr/portage/distfiles, so somehow it cannot find it.
So I changed the SRC URI variable(or something like that) in the concerning ebuild file to point to /usr/portage/distfiles.
Now it still doesn't work because somehow it needs a tgz file instead of a tgz.tar file I presume. This is available in the distfiles dir :
ppp-2.4.1-pppoe4.tgz.tar
should this work, or do I have to un-tar the file first or something?
If so, what is the exact command to achieve this? I'm not that good with the tar options.
tia,
Lex _________________ haree |
|
Back to top |
|
 |
rieger Tux's lil' helper


Joined: 14 Jun 2002 Posts: 136 Location: The Netherlands
|
Posted: Fri Jun 14, 2002 6:48 pm Post subject: |
|
|
something else:
maybe I have to change something in /etc/make.conf, but this isn't present on my system.
everything else worked fine till step 10. _________________ haree |
|
Back to top |
|
 |
faithfull n00b


Joined: 06 Jun 2002 Posts: 67
|
Posted: Sat Jun 15, 2002 11:59 am Post subject: |
|
|
rieger wrote: | Hi,
I trying to install Gentoo too
As I need PPPoE, I followed the instuctions as mentioned in this thread, however when I reach the "emerge ppp" command, emerge tries to find a site which contains the *pppoe4.tgz file.
This file I put (as mentioned) in the /usr/portage/distfiles, so somehow it cannot find it.
So I changed the SRC URI variable(or something like that) in the concerning ebuild file to point to /usr/portage/distfiles.
Now it still doesn't work because somehow it needs a tgz file instead of a tgz.tar file I presume. This is available in the distfiles dir :
ppp-2.4.1-pppoe4.tgz.tar
|
I belive that your browser recognized the type of file you download, so he put the "appropriate extension" in tail of the name.
The resolution for this problem is rename the file "ppp-2.4.1-pppoe4.tgz.tar" in "ppp-2.4.1-pppoe4 .tgz". |
|
Back to top |
|
 |
rieger Tux's lil' helper


Joined: 14 Jun 2002 Posts: 136 Location: The Netherlands
|
Posted: Sat Jun 15, 2002 4:56 pm Post subject: |
|
|
it worked!
I finally got it working, I can get back in with Grub (gentoo and xp)
however, now I cannot connect to internet anymore with "adsl-start"
modprobing 8139too fails (says it cannot find the module)
other messages mentioned something about ppp not being included in the kernel config. I did not find anything about that when doing the menuconfig.
Also during boot, I have a lot of messages xxxx: runscript.sh : command not found.
that seems not okay, any clue what this is? _________________ haree |
|
Back to top |
|
 |
faithfull n00b


Joined: 06 Jun 2002 Posts: 67
|
Posted: Sat Jun 15, 2002 5:11 pm Post subject: |
|
|
rieger wrote: | it worked!
I finally got it working, I can get back in with Grub (gentoo and xp)
however, now I cannot connect to internet anymore with "adsl-start"
modprobing 8139too fails (says it cannot find the module)
other messages mentioned something about ppp not being included in the kernel config. I did not find anything about that when doing the menuconfig.
Also during boot, I have a lot of messages xxxx: runscript.sh : command not found.
that seems not okay, any clue what this is? |
You MUST enable these options (as a modules if you want) in the kernel:
Network device support-->PPP (point-to-point protocol) support
Network device support-->PPP over Ethernet (EXPERIMENTAL)
There also some interesting features that you could enable (depending on your ISP directives):
Network device support-->PPP Deflate compression
Network device support-->PPP BSD-Compress compression
Ok that's all (i suppose)!  |
|
Back to top |
|
 |
rieger Tux's lil' helper


Joined: 14 Jun 2002 Posts: 136 Location: The Netherlands
|
Posted: Sun Jun 16, 2002 12:42 am Post subject: |
|
|
faithfull wrote: |
You MUST enable these options (as a modules if you want) in the kernel:
Network device support-->PPP (point-to-point protocol) support
Network device support-->PPP over Ethernet (EXPERIMENTAL)
There also some interesting features that you could enable (depending on your ISP directives):
Network device support-->PPP Deflate compression
Network device support-->PPP BSD-Compress compression
Ok that's all (i suppose)!  |
did it.
still no network connection.
and during startup (& shutdown) every command in runscript.sh seems to give "Command not found"
 _________________ haree |
|
Back to top |
|
 |
rieger Tux's lil' helper


Joined: 14 Jun 2002 Posts: 136 Location: The Netherlands
|
Posted: Sun Jun 16, 2002 12:49 am Post subject: |
|
|
by the way, I did the following when compiled the new kernel.
mounted /boot to /dev/hda6 (which was /mnt/gentoo/boot during install)
and copied bzImage to /boot.
for safety I added another entry in menu.lst which points to bzImage.orig (I figured that would work if the new kernel would fail to boot)
But searching the web for kernel issues I find some info about lilo and vmlinuz, that lilo should be rerun to actually ' activate' the new kernel.
I'm using Grub; does above also apply to Grub?
I am hoping (now) that copying the bzImage to /boot would do it, but now I'm having doubts. _________________ haree |
|
Back to top |
|
 |
faithfull n00b


Joined: 06 Jun 2002 Posts: 67
|
Posted: Sun Jun 16, 2002 8:31 am Post subject: what a mess!!! |
|
|
rieger wrote: |
... searching the web for kernel issues I find some info about lilo and vmlinuz, that lilo should be rerun to actually ' activate' the new kernel.
I'm using Grub; does above also apply to Grub?
|
No this not apply to grub, every change to the boot files and the configuration files is immediately active.
rieger wrote: | did it.
still no network connection.
and during startup (& shutdown) every command in runscript.sh seems to give "Command not found" |
Umm ... I cannot figure how this could be ...
Maybe this happens because the script expects to "insmod" the PPP(oE) modules try to compile these as a modules. |
|
Back to top |
|
 |
rieger Tux's lil' helper


Joined: 14 Jun 2002 Posts: 136 Location: The Netherlands
|
Posted: Sun Jun 16, 2002 2:18 pm Post subject: Re: what a mess!!! |
|
|
faithfull wrote: |
Maybe this happens because the script expects to "insmod" the PPP(oE) modules try to compile these as a modules. |
insmod?
insert modules or something?
I'm still a newbie...
I found om some other pages to add an alias to modules.conf:
alias eth0 8139too
modprobe eth0 is working, so this should work, but still no connection. _________________ haree |
|
Back to top |
|
 |
faithfull n00b


Joined: 06 Jun 2002 Posts: 67
|
Posted: Sun Jun 16, 2002 3:11 pm Post subject: Re: what a mess!!! |
|
|
rieger wrote: | faithfull wrote: |
Maybe this happens because the script expects to "insmod" the PPP(oE) modules try to compile these as a modules. |
insmod?
insert modules or something?
I'm still a newbie...
I found om some other pages to add an alias to modules.conf:
alias eth0 8139too
modprobe eth0 is working, so this should work, but still no connection. |
Yes, insert module with the "insmod" or "modprobe" commands (you could use always modprobe).
But I meant to insert PPP modules and not those of your network interface.
Example: "8390too" is the driver for your NIC; "ppp_generic", "ppp_async" are modules for the PPP connection.
You probably must compile the kernel with these options as a modules.
This means that you must reconfigure and recompile your kernel with the options that I suggest you as a modules (press 'm' instead of 'y' on the configuration tool (of the kernel)). |
|
Back to top |
|
 |
rieger Tux's lil' helper


Joined: 14 Jun 2002 Posts: 136 Location: The Netherlands
|
Posted: Sun Jun 16, 2002 3:35 pm Post subject: |
|
|
okay.
I've have them now as <*> but I'll give it a try with <M> now.
 _________________ haree |
|
Back to top |
|
 |
rieger Tux's lil' helper


Joined: 14 Jun 2002 Posts: 136 Location: The Netherlands
|
Posted: Sun Jun 16, 2002 7:48 pm Post subject: |
|
|
did not work either.
so I did the stage3 install again to make sure I did not overlook something. but still the same (during install the rp-pppoe thing works excellent, and after rebooting doesn't )
In some other forum (alt.os.linux.gentoo) I 'm asking about the "command not found messages" which come from runscript.sh during boot.
Some guy said to post dmseg output. When looking at that I see the following:
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
8139too Fast Ethernet driver 0.9.24
PCI: Found IRQ 11 for device 00:09.0
IRQ routing conflict for 00:07.5, have irq 9, want irq 11
eth0: RealTek RTL8139 Fast Ethernet at 0xe0804000, 00:10:a7:03:6f:88, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139B'
this looks like the kernel has compiled en during boot loads everything correct.
I'm lost. _________________ haree |
|
Back to top |
|
 |
faithfull n00b


Joined: 06 Jun 2002 Posts: 67
|
Posted: Sun Jun 16, 2002 8:02 pm Post subject: |
|
|
rieger wrote: | did not work either.
so I did the stage3 install again to make sure I did not overlook something. but still the same (during install the rp-pppoe thing works excellent, and after rebooting doesn't )
|
Try this: reboot from CD mount your gentoo partition start rp-pppoe and see if it works.
If the connection works then it's a kernel configuration problem (and if you send me the dedailed configuration of your box I can try to make a config for you), otherwise ... I don't know  |
|
Back to top |
|
 |
rieger Tux's lil' helper


Joined: 14 Jun 2002 Posts: 136 Location: The Netherlands
|
Posted: Sun Jun 16, 2002 8:39 pm Post subject: |
|
|
that didn't work.
message about not finding some net modules.
but what really strange is.
some script points to lib/modules/2.4.19-gentoo-r7/*
while I've installed/compiled kernel 2.4.19-gentoo-r5, so there is no *r7 directory.
very odd _________________ haree |
|
Back to top |
|
 |
faithfull n00b


Joined: 06 Jun 2002 Posts: 67
|
Posted: Sun Jun 16, 2002 8:52 pm Post subject: |
|
|
rieger wrote: | that didn't work.
message about not finding some net modules.
but what really strange is.
some script points to lib/modules/2.4.19-gentoo-r7/*
while I've installed/compiled kernel 2.4.19-gentoo-r5, so there is no *r7 directory.
very odd |
Ok send me your DEDAILED configuration. |
|
Back to top |
|
 |
|