pppoatm: tring to insert module pppoatm.o, although plugin pppoatm.so is loaded.
Hi,
I'm working on pppoatm. Recently i have downloaded ppp-2.4.3. I'm running into problem, its will be great if someone answer my questions.Thank you in advance.
1) Why ppp0 interface is not created ?
2) why its trying to insert module, when i added it as plugin.
3) I'm using ppp-2.4.3, linux kernel 2.4.18, any issues with this combination ?
kernel conf:
Networking Options:
[*]Asynchronous Transfer Mode (ATM) (EXPERIMENTAL) [*]Classical IP over ATM
[*]RFC 2684 Bridging
Network Device Support:
<*> PPP (point-to-point protocol) support
<*>PPP support for async serial ports
<*>PPP over ATM (EXPERIMENTAL)
file: /etc/ppp/options
----------8<---------------8<------------------
user pppoa_user46lc
name user
defaultroute
-detach
nobsdcomp
nodeflate
nopcomp
novj
novjccomp
noipdefault
noaccomp -am
#refuse-chap
+chap
plugin pppoatm.so 46.62
persist
maxfail 0
console output:
----------8<---------------8<------------------
# pppd
do_cpu() called w/ EPC = 00436030
Algorithmics/MIPS FPU Emulator v1.4do_cpu() called w/ EPC = 00436040do_cpu() called w/ EPC = 0043605cdo_cpu() called w/ EPC = 00436070
Plugin pppoatm.so loaded.
PPPoATM plugin_init
PPPoATM setdevname_pppoatm - SUCCESS:46.62
insmod: pppoatm.o: no module by that name foundsetsockopt(SO_ATMQOS): Invalid argument
----------8<---------------8<------------------
Regards & Thanks,
Sadiq Shaikh
----- Original Message -----
From: "Sadiq Shaikh" <[email protected]>
To: <[email protected]>
Sent: Tuesday, December 28, 2004 12:54 AM
Subject: pppoatm: tring to insert module pppoatm.o, although plugin pppoatm.so is loaded.
Quoted 7 lines
Hi,
I'm working on pppoatm. Recently i have downloaded ppp-2.4.3. I'm running into problem, its will be great if someone answer my questions.Thank you in advance.
1) Why ppp0 interface is not created ?
because of 2)
Quoted 1 line
2) why its trying to insert module, when i added it as plugin.
You need both a module for the kernel and a plugin for pppd
Quoted 3 lines
3) I'm using ppp-2.4.3, linux kernel 2.4.18, any issues with this combination ?
CONFIG_PPPOATM=m is available on my rh7.3 2.4.18-3 .config, I don't know for a standard kernel.
I don't know what is the driver you try to support but if it compile on 2.4.18 and is old, you may need small changes with 2.4.20, 2.4.21 and 2.4.22. Later no more changes than in 2.4.22 should be necessary if I remember well.
Hi,
Thank you, it did help me. I could do some progress.
Now I'm seeing this error "setsockopt(SO_ATMQOS): Invalid argument" on console. Whats going wrong now. when i trace it, i found optname
value for setsockopt is userland is different than in kernel.
Although i use SO_ATMQOS in pppd/plugins/pppoatm.c
Also do i need to apply patches to kernel since i'm using 2.4.18 ? If yes, where i can get those patches ?
Thank you in Advance,
-sadiq.
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Gilles Espinasse
Sent: Monday, December 27, 2004 11:47 AM
To: Sadiq Shaikh
Cc: PPP mailing list
Subject: Re: pppoatm: tring to insert module pppoatm.o, although plugin pppoatm.so is loaded.
----- Original Message -----
From: "Sadiq Shaikh" <[email protected]>
To: <[email protected]>
Sent: Tuesday, December 28, 2004 12:54 AM
Subject: pppoatm: tring to insert module pppoatm.o, although plugin pppoatm.so is loaded.
Quoted 7 lines
Hi,
I'm working on pppoatm. Recently i have downloaded ppp-2.4.3. I'm running into problem, its will be great if someone answer my questions.Thank you in advance.
1) Why ppp0 interface is not created ?
because of 2)
Quoted 1 line
2) why its trying to insert module, when i added it as plugin.
You need both a module for the kernel and a plugin for pppd
Quoted 3 lines
3) I'm using ppp-2.4.3, linux kernel 2.4.18, any issues with this combination ?
CONFIG_PPPOATM=m is available on my rh7.3 2.4.18-3 .config, I don't know for a standard kernel.
I don't know what is the driver you try to support but if it compile on 2.4.18 and is old, you may need small changes with 2.4.20, 2.4.21 and 2.4.22. Later no more changes than in 2.4.22 should be necessary if I remember well.
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html