Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] PPPoE & ADSL
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mihabakon
n00b
n00b


Joined: 04 Oct 2003
Posts: 55
Location: Ribnica, SLOVENIA

PostPosted: Sat Oct 18, 2003 11:07 am    Post subject: [SOLVED] PPPoE & ADSL Reply with quote

Hi

I've just finished installing Gentoo from stage1 and at the end I chose LILO as my bootloader. At reboot the system fails to bring up my eth0 and if I try to load it manually I can't (because /lib/modules/*/kernel/drivers/net is practically empty - only one file dummy.o). At boot I'm also prompted to build DEVFS???

I thank you in advance

miha


Last edited by mihabakon on Sun Oct 19, 2003 4:55 pm; edited 4 times in total
Back to top
View user's profile Send private message
ank
Apprentice
Apprentice


Joined: 06 Aug 2003
Posts: 185
Location: Maribor, Slovenia

PostPosted: Sat Oct 18, 2003 11:20 am    Post subject: Reply with quote

You shuld compile support for your ethernet card in kernel as a module. And then add a line in /etc/modules.autoload/kernel-2.4 (or what kernel you use) which describe module for your ethernet card. In mine case this line is: 8139too
Back to top
View user's profile Send private message
mihabakon
n00b
n00b


Joined: 04 Oct 2003
Posts: 55
Location: Ribnica, SLOVENIA

PostPosted: Sat Oct 18, 2003 11:26 am    Post subject: Reply with quote

so should I run "# make menuconfig" again??? and then also again emerge system logger, cron deamon ...???

p.s. "ank" glede na to, da si iz slovenije a se tu lahko uporablja tudi druge jezike razen angleščine???
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sat Oct 18, 2003 11:44 am    Post subject: Reply with quote

no, you just need to run make menuconfig, select the kernel module you want, then recompile the kernel (make dep && make clean bzImage modules modules_install), copy the kernel to the /boot partition and reboot
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
ank
Apprentice
Apprentice


Joined: 06 Aug 2003
Posts: 185
Location: Maribor, Slovenia

PostPosted: Sat Oct 18, 2003 11:56 am    Post subject: Reply with quote

Miha slovenščino lahko uporabljaš tukaj: https://forums.gentoo.org/viewforum.php?f=15

Ne pozabi pa tudi glasovati za slovenski oddelek na forumu: https://forums.gentoo.org/viewtopic.php?t=83825&highlight=

LP

Andrej
Back to top
View user's profile Send private message
mihabakon
n00b
n00b


Joined: 04 Oct 2003
Posts: 55
Location: Ribnica, SLOVENIA

PostPosted: Sat Oct 18, 2003 12:02 pm    Post subject: Reply with quote

what about this message at boot "that I didn't compile DEVFS support"???
Back to top
View user's profile Send private message
ank
Apprentice
Apprentice


Joined: 06 Aug 2003
Posts: 185
Location: Maribor, Slovenia

PostPosted: Sat Oct 18, 2003 12:07 pm    Post subject: Reply with quote

Here are the options that you must add to kernel:
Code listing 16.6: make menuconfig options

Code maturity level options --->
[*] Prompt for development and/or incomplete code/drivers"
(You need this to enable some of the options below)
...

File systems --->
<*> Reiserfs support
(Only needed if you are using reiserfs)
...
<*> Ext3 journalling file system support
(Only needed if you are using ext3)
...
[*] Virtual memory file system support (former shm fs)
(Required for Gentoo Linux)
...
<*> JFS filesystem support
(Only needed if you are using JFS)
...
[*] /proc file system support
(Required for Gentoo Linux)
[*] /dev file system support (EXPERIMENTAL)
[*] Automatically mount at boot
(Required for Gentoo Linux)
[ ] /dev/pts file system for Unix98 PTYs
(Uncheck this, it is not needed unless you use a 2.6 kernel)
...
<*> Second extended fs support
(Only needed if you are using ext2)
...
<*> XFS filesystem support
(Only needed if you are using XFS)

apperently you didnt add [*] /dev file system support (EXPERIMENTAL)
Back to top
View user's profile Send private message
mihabakon
n00b
n00b


Joined: 04 Oct 2003
Posts: 55
Location: Ribnica, SLOVENIA

PostPosted: Sat Oct 18, 2003 12:19 pm    Post subject: Reply with quote

... and what exactly is this "DEVFS" support for anyway???
Back to top
View user's profile Send private message
ank
Apprentice
Apprentice


Joined: 06 Aug 2003
Posts: 185
Location: Maribor, Slovenia

PostPosted: Sat Oct 18, 2003 12:22 pm    Post subject: Reply with quote

Use Google:

http://www.atnf.csiro.au/people/rgooch/linux/docs/devfs.html
Back to top
View user's profile Send private message
mihabakon
n00b
n00b


Joined: 04 Oct 2003
Posts: 55
Location: Ribnica, SLOVENIA

PostPosted: Sat Oct 18, 2003 1:30 pm    Post subject: Reply with quote

I marked this: " [*] /dev file system support (EXPERIMENTAL) " and recompiled the kernel and I still get the same message

... but on the other hand I also checked (*) the option for my ethernet card and after recompiling the kernel eth0 works (via-rhine module), but adsl doesn't work (pre&during installation it did though), if I check "/var/log/everything/current" the log says: "system lacks kernel support for ppp" (I think I checked an option in "make menuconfig" for ppp, but there is no ppp.o module in my .../drivers/net, only ppp_generic.o and ppp_deflate.o)

what should/could I do???
Back to top
View user's profile Send private message
ank
Apprentice
Apprentice


Joined: 06 Aug 2003
Posts: 185
Location: Maribor, Slovenia

PostPosted: Sat Oct 18, 2003 3:45 pm    Post subject: Reply with quote

Well i dont use adsl so i dont know what to do to make them working. But i know there is an adsl support option in kernel. Did you add this support. And did you use adsl-setup script?

As always Google come handy: http://www.rhapsodyk.net/adsl/HOWTO/

Hope this HOWTO will help you.


p.s. Nice. With this post i become Tux's lil' helper but i stil feel like n00b sometimes
Back to top
View user's profile Send private message
mihabakon
n00b
n00b


Joined: 04 Oct 2003
Posts: 55
Location: Ribnica, SLOVENIA

PostPosted: Sat Oct 18, 2003 4:35 pm    Post subject: Reply with quote

aparently I don't have ppp support in kernel; I'll try to work on that some more!

... but what about DEVFS support? is it necessary? why doesn't it work in my case even though I checked the option shown in my previous post in this topic and recompiled the kernel???
Back to top
View user's profile Send private message
ank
Apprentice
Apprentice


Joined: 06 Aug 2003
Posts: 185
Location: Maribor, Slovenia

PostPosted: Sat Oct 18, 2003 4:56 pm    Post subject: Reply with quote

What method of compiling kernel you use: manual or with genkernel? If it is manual maybe you forget to add something important. And do you use hotplug to detect your hardware?

When you boot from live-CD (and all work well) you shuld do lsmod to see all modules that are used in your case. An then simply add that modules to kernel. And you didnt said what kernel you use.

First time i always use genkerne to give me a working kernel. Then i save the configuration and manualy compile kernel to add some things.
Back to top
View user's profile Send private message
mihabakon
n00b
n00b


Joined: 04 Oct 2003
Posts: 55
Location: Ribnica, SLOVENIA

PostPosted: Sat Oct 18, 2003 5:41 pm    Post subject: Reply with quote

OK - I have DEVFS support now!

I compile kernel with "make menuconfig" and then "make dep && ..."! I am recompiling it right now (I found an option for PPPoE) I hope it will work now!

...but anyway if I try it your way (boot from live CD and then "lsmod") how do I actually load the listed modules into the kernel???
Back to top
View user's profile Send private message
mihabakon
n00b
n00b


Joined: 04 Oct 2003
Posts: 55
Location: Ribnica, SLOVENIA

PostPosted: Sat Oct 18, 2003 5:59 pm    Post subject: Reply with quote

well I have PPPoE support now, but I still can't connect (ADSL-START), cause now the log says that it can't locate som "tty..." module ???
Back to top
View user's profile Send private message
ank
Apprentice
Apprentice


Joined: 06 Aug 2003
Posts: 185
Location: Maribor, Slovenia

PostPosted: Sat Oct 18, 2003 6:15 pm    Post subject: Reply with quote

You can add modules to kernel in two ways:

- from live cd mount your partitions and chroot to your system then as usually

and the easy way:

- write down on paper the name of modules and boot to your system and then compile kernel

BTW: Have you already vote for slovenian forum. The hook ask what will we do with such forum.
I mean he is a Veteran and he could help you a lot more than i could. And he could help in our language 8)
Back to top
View user's profile Send private message
mihabakon
n00b
n00b


Joined: 04 Oct 2003
Posts: 55
Location: Ribnica, SLOVENIA

PostPosted: Sun Oct 19, 2003 3:33 pm    Post subject: Reply with quote

list of my modules, if I boot from liveCD:

vfat (autoclean)
msdos (autoclean)
fat (autoclean) [vfat msdos]
via-rhine
mii [via-rhine]
floppy (autoclean)
serial (autoclean)
isa-pnp (autoclean) [serial]
cloop
usb-storage (unused)
hid (unused)
uhci (unused)
usbcore [usb-storage hid uhci]

and if I boot from the system I installed I only have "via-rhine" module in my lsmod list! which of the listed modules above are essential for my PPPoE connection (ADSL)???
Back to top
View user's profile Send private message
ank
Apprentice
Apprentice


Joined: 06 Aug 2003
Posts: 185
Location: Maribor, Slovenia

PostPosted: Sun Oct 19, 2003 4:15 pm    Post subject: Reply with quote

I thing you need mii too. In my case is (among others):

8139too 15464 1
mii 2480 0 [8139too]


Which mean mii reffers to 8139too (via-rhine in your case).The format is name, size, use count, list of referring modules.When Googling the net i found this: (8139too depends on mii, so > without this I don't have network.)

Dont ask me what mii is becourse i dont know (yet 8O ). I think that the name of module is mii.o and is somewhere in Network section in kernel.


p.s. I found somthing:
B.5. mii-tool

A key tool for determining if you are connected to the Ethernet, and if so, at what speed. The mii-tool program does not support all Ethernet devices, as some Ethernet devices have their own vendor-supplied tools to report the same information. Look like mii is important and have somthing to do with auto-negotiation
Back to top
View user's profile Send private message
mihabakon
n00b
n00b


Joined: 04 Oct 2003
Posts: 55
Location: Ribnica, SLOVENIA

PostPosted: Sun Oct 19, 2003 4:55 pm    Post subject: Reply with quote

:D :D :D

IT WORKS - yupi!

I added the rest of the "ppp ... " modules in the kernel and recompiled it and now ADSL connection works!!!

THANK YOU FOR ALL THE HELP
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum