From: chas w. <3c...@gm...> - 2015-03-26 02:23:15
|
I don't happen to have any atm hardware right now, but using adummy, I get pretty far: # modprobe adummy # /sbin/pppd plugin pppoatm.so 8.32 nodetach debug Plugin pppoatm.so loaded. PPPoATM plugin_init PPPoATM setdevname_pppoatm - SUCCESS:8.32 using channel 3 Using interface ppp0 Connect: ppp0 <--> 8.32 sent [LCP ConfReq id=0x1 <magic 0xdae9c590>] sent [LCP ConfReq id=0x1 <magic 0xdae9c590>] sent [LCP ConfReq id=0x1 <magic 0xdae9c590>] If you leave that running and poke around in /proc/net/atm, you should see outgoing traffic: % cat /proc/net/atm/devices Itf Type ESI/"MAC"addr AAL(TX,err,RX,err,drop) [refcnt] 0 adummy 000000000000 0 ( 0 0 0 0 0 ) 5 ( 42 0 0 0 0 ) [2] [forgive me if my mailer wraps this wrong] Make sure the pppoatm module gets loaded into the kernel using lsmod lsmod | fgrep pppoatm You need both a userspace module for pppd and a kernel module pppoatm.ko On Wed, 2015-03-25 at 04:30 -0700, Pitta Keschi wrote: > Hi, I list below what I get trying to set up a pppoatm connection. > (on a 2.6.10 kernel) > > >From pppd point of view, after I issue 'pon dsl-provider': > > Plugin pppoatm.so loaded > PPPoATM plugin_init > PPPoATM setdevname - remove unwanted option > PPPoATM setdevname - pppoatm - SUCCESS myvpi.myvci > > pppd 2.4.2 started by root, uid 0 > connect(myvpi.myvci): Invalid argument > Exit > > I tried also using the format itfnum.myvpi.myvci but the result is > the same. > > BTW, I get something similar from atmdump, so > atmdump myvpi.myvci > bind: Invalid argument > > Finally, I ask you whether the function 'open', that actually is a field > in the structure atmdev_ops is the one that is supposed to be called when > we try to set up a pppoatm connection. If so, I put a printk at the beginning > of that function, and I saw no life. > > Any suggestions? > > Thank you all. > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Linux-atm-general mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-atm-general |