Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ADSL Setup Ok but modprobe is trying to locate ...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
atze
n00b
n00b


Joined: 14 Jul 2002
Posts: 55

PostPosted: Sun Jul 14, 2002 4:12 pm    Post subject: ADSL Setup Ok but modprobe is trying to locate ... Reply with quote

Hi everybody,

i've just emerged the rp-pppoe package and configured everything propably. While trying to connect modprobe says "Can't locate module tty-ldisc-3" ... any idea?

Do I need special kernel-configuration to make adsl work?
Back to top
View user's profile Send private message
atze
n00b
n00b


Joined: 14 Jul 2002
Posts: 55

PostPosted: Sun Jul 14, 2002 4:33 pm    Post subject: Reply with quote

ok, I now figured out that the kernel MUST be compiled with several options to run ADSL.

But here's the next problem:
Trying to emerge the rp-pppoe failed! I had already a fresh copy emerg but compiling the new kernel I thought it woud be good to emerge it again ... but it failed the first time! Retrying helped, but is it really installed? How can I check it out? Is it the option "R"?
Back to top
View user's profile Send private message
atze
n00b
n00b


Joined: 14 Jul 2002
Posts: 55

PostPosted: Sun Jul 14, 2002 5:02 pm    Post subject: Reply with quote

I compiled my kernel with pppoe support and some other network options ... BUT IT STILL DO NOT WORK!!!

I still get the error from modprobe "Can't locate module tty-ldisc-3"!!


Has anyone an idea about that??? PLEASE!!!


sc Atze
Back to top
View user's profile Send private message
eric.cheminot
n00b
n00b


Joined: 03 Jul 2002
Posts: 47

PostPosted: Sun Jul 14, 2002 5:29 pm    Post subject: Reply with quote

try to add these aliases (excerpt from SpeedTouch howto):

just add these lines to /etc/modules.conf
==============
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-13 n_hdlc
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
==============

-ec
Back to top
View user's profile Send private message
atze
n00b
n00b


Joined: 14 Jul 2002
Posts: 55

PostPosted: Sun Jul 14, 2002 6:14 pm    Post subject: Reply with quote

This was already written in the file!

Well, another question: What option do I have to turn on to get the module made? I can't find it anywhere ... maybe it wasn't compiled?

All I know, is that "tty-disc-3" is for the PPP, correct? And this option was turned on for compiling ... BUT I CANT LOCATE THE MODULE ... :(
Back to top
View user's profile Send private message
dmcaul
n00b
n00b


Joined: 14 Apr 2002
Posts: 16
Location: Ireland

PostPosted: Sun Jul 14, 2002 11:03 pm    Post subject: Reply with quote

I had a similar problem (exact same error, but just standard ppp), and it turned out I'd gotten the ppp_generic module, but missed the ppp_async module.
From that list of aliases: "alias tty-ldisc-3 ppp_async", the one that modprobe complains about, it looks like ppp_async wasn't compiled as a module, even if other ppp options were.
Hope that helps.
_________________
Programming Tips: Cd wrttn wtht vwls s mch trsr.
Back to top
View user's profile Send private message
atze
n00b
n00b


Joined: 14 Jul 2002
Posts: 55

PostPosted: Mon Jul 15, 2002 8:19 am    Post subject: Reply with quote

Well I compiled the PPP into the kernel ... is that the problem? Shall I compile it as module?
Back to top
View user's profile Send private message
WarMachine
Apprentice
Apprentice


Joined: 15 Jul 2002
Posts: 181

PostPosted: Wed Jul 24, 2002 5:51 pm    Post subject: Reply with quote

I have the same issue, I've followed all the guides I can find and I'm still getting the can't locate module error. I'm on bellsouth ADSL, with the speedtouch home ethernet modem, and using rp-pppoe as a PPPoE client.

edit: I compiled everything needed into the kernel, well not EVERYTHING just the things I needed I compiled into the kernel
Back to top
View user's profile Send private message
WarMachine
Apprentice
Apprentice


Joined: 15 Jul 2002
Posts: 181

PostPosted: Thu Jul 25, 2002 12:35 am    Post subject: Reply with quote

I searched the forums to no avail, someone here has to have some sort of advice
Back to top
View user's profile Send private message
WarMachine
Apprentice
Apprentice


Joined: 15 Jul 2002
Posts: 181

PostPosted: Fri Jul 26, 2002 7:16 am    Post subject: Reply with quote

I'm going to compile another kernel (already tried once before with no results). I'm really quite stuck here except for asking someone to send me their module so I can place it where it needs to be, comiple, whatever. Google got me some results, none really helpful and a bunch not in english. This seems to be a pretty widespread issue, the answer has to be around somewhere.
Back to top
View user's profile Send private message
WarMachine
Apprentice
Apprentice


Joined: 15 Jul 2002
Posts: 181

PostPosted: Fri Jul 26, 2002 4:06 pm    Post subject: Reply with quote

Interesting, when I modprobe for tty-ldisc-3 I get

root@gentoo-linux warmachine # modprobe tty-ldisc-3
/lib/modules/2.4.18/kernel/drivers/net/ppp_generic.o: unresolved symbol sk_run_filter
/lib/modules/2.4.18/kernel/drivers/net/ppp_generic.o: unresolved symbol sk_chk_filter
/lib/modules/2.4.18/kernel/drivers/net/ppp_generic.o: insmod /lib/modules/2.4.18/kernel/drivers/net/ppp_generic.o failed
/lib/modules/2.4.18/kernel/drivers/net/ppp_generic.o: insmod tty-ldisc-3 failed

Tried that on 2 different kernels and got the same results. I'm using the vanilla-sources, I wonder if the gentoo-sources might help, or possibly a different set of sources?
Back to top
View user's profile Send private message
Swishy
Guru
Guru


Joined: 06 Jun 2002
Posts: 491
Location: NZ

PostPosted: Fri Jul 26, 2002 4:51 pm    Post subject: Reply with quote

atze wrote:
ok, I now figured out that the kernel MUST be compiled with several options to run ADSL.

But here's the next problem:
Trying to emerge the rp-pppoe failed! I had already a fresh copy emerg but compiling the new kernel I thought it woud be good to emerge it again ... but it failed the first time! Retrying helped, but is it really installed? How can I check it out? Is it the option "R"?


I had problem with this to , you dont have two kernel versions installed do you ???I had emerged stock 2.4.18 kernel and compiled created bzimage etc rebooted then went to recompile and install my modem drivers and ppp but the linux symlink was pointing to my gentoo sources kernel not the 2.4.18 so the modules were compiled/installed to the wrong kernel :roll: hope this might help......
_________________
Theres no substitute for C.I.
Back to top
View user's profile Send private message
WarMachine
Apprentice
Apprentice


Joined: 15 Jul 2002
Posts: 181

PostPosted: Fri Jul 26, 2002 7:13 pm    Post subject: Reply with quote

Swishy wrote:


I had problem with this to , you dont have two kernel versions installed do you ???I had emerged stock 2.4.18 kernel and compiled created bzimage etc rebooted then went to recompile and install my modem drivers and ppp but the linux symlink was pointing to my gentoo sources kernel not the 2.4.18 so the modules were compiled/installed to the wrong kernel :roll: hope this might help......


So how do I check and change that symlink, where is it?
Because as I said, I re-did my kernel tiwce, but with the same source (different modules in each)
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Fri Jul 26, 2002 7:21 pm    Post subject: Reply with quote

You must have ppp_async compiled as a kernel module.
That's probably all.
Back to top
View user's profile Send private message
WarMachine
Apprentice
Apprentice


Joined: 15 Jul 2002
Posts: 181

PostPosted: Fri Jul 26, 2002 8:35 pm    Post subject: Reply with quote

AlterEgo wrote:
You must have ppp_async compiled as a kernel module.
That's probably all.


This is done, and I checked on the symlink which is done correctly. I'm back at the start with no leads
Back to top
View user's profile Send private message
Keyed
Tux's lil' helper
Tux's lil' helper


Joined: 26 Jul 2002
Posts: 135
Location: Tennessee

PostPosted: Sat Jul 27, 2002 4:43 pm    Post subject: Reply with quote

WarMachine wrote:
AlterEgo wrote:
You must have ppp_async compiled as a kernel module.
That's probably all.


This is done, and I checked on the symlink which is done correctly. I'm back at the start with no leads


I have my SpeedTouch USB ADSL modem working with Gentoo. I would have to check my exact config, but it was straight down the list from the instructions. My kernel is gentoo-2.4.19-r7.
Back to top
View user's profile Send private message
WarMachine
Apprentice
Apprentice


Joined: 15 Jul 2002
Posts: 181

PostPosted: Sun Jul 28, 2002 4:19 pm    Post subject: Reply with quote

Problem solved! (kind of)

I've got the adsl connecting. I turned basically everything under PPP support to module instead of compiling it into the kernel. There were two options that could only be compiled directly into the kernel that I thought I either wouldn't be using or might cause conflicts, so I left them out altogether. I also went into the other networking options and turned off something that allowed a faster tranfer between NIC's for networking. I didn't need it ATM, and might not at all (there were some possible conflicts listed with this otion).

So what's the issues?
This machine isn't acting as the gateway yet and unless I have rp-pppoe connected, I can't get DNS on it for some reason. I can ping direct IP's of sites, but when I try their domain name, I get an error saying it can't be looked up. Not that big of a deal, I'm just using that machine for backup and occasionally IRC now.
Also, I need to change settings with the way eth0 is brought up on boot (currently gets an IP from the DHCP on the router). It does need to be brought up to do adsl-start, so what changes do I make to the configuration file to simply bring it up so that adsl-start can be done later in boot?
Back to top
View user's profile Send private message
WarMachine
Apprentice
Apprentice


Joined: 15 Jul 2002
Posts: 181

PostPosted: Tue Jul 30, 2002 3:22 am    Post subject: Reply with quote

meh my dns works now on the existing lan, don't get it but whatever
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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