[leaf-user] Speedtouch usb + pppoe?
Hi all, I am trying to get a pppoe connection working over an alcatel speedtouch usb adsl modem on a bering uclibc 1.1. I have followed the directions in the bering users guide for the speedtouch but I am stumbled on what I have to do next to use pppoe? Anyone already tried this? If so any pointers would be greatly appreciated. Kim OPpalfens smime.p7s Description: S/MIME cryptographic signature
Re: [leaf-user] Bering lost it's NICs
Le Samedi 13 Septembre 2003 21:38, Francois BERGERET a écrit : > Dear Leaf Users and developpers, > > Always searching how to resolve this problem... > We are several to have it and not read any solution to correct it. > For now, I can say that when this problem occures, the "manual" solution, > excepting a complete reboot of my Soekris/Bering card, is to delete the > default route, which have switched curiously from ppp0 to ipsec0, and to > add a new default route assigning ppp0 again ! And Bering works again, > always alive ! > > So, how can I do that automaticaly ? > May be this occures with a little drop of my IPS link ? > If yes, just to survey the up/down of ppp0 and del/add default route > systematicaly when ppp0 is up again could resolve this ? But, to do that > correctly, how to assign the IP address of mu ISP gateway which is not > always the same at each PPPoE connection ? I have tempt an idiot command > with %defaultroute, but, this variable seems to be not authorized at this > place... What could be the correct solution ? > > Any idea guys ? François: For what it is worth this little script will check every IPDELAY seconds (default 60) if ppp is up and if the IP address has changed. Commands can then be executed. Jacques !/bin/sh # # Check every IPDELAY seconds that IP exists for ppp0 (better than ping...); # and that IP has not changed # this is obtained by scanning "ip addr show ppp0" return (function getip()). # if ppp0 is down or IP has changed, then a script can be executed. # Adapted by J. Nilo from a script by T. Nkaoua IPDELAY=60 # Check IPs from ip getip() { IP=`ip addr show ppp0 | grep inet | cut -f1 -d"p" | cut -f2 -d"t" | \ cut -f1-d"/"` } logger "Starting checkip: " OPLDIP=$IP while true; do sleep $IPDELAY getip if ! [ "$IP" ]; then logger "Checkip connection broken detection" # # Put any command here that you want to activate if ppp is down # # break else if [ "$OLDIP" != "$IP" ]; then logger IP has changed: new IP is $IP - old IP was $OLDIP OLDIP=$IP # # Put any command here that you want to activate if IP has changed # # fi done --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
[leaf-user] Re: Sagem 800 & Bering 1.2 configuration
If you have two NIC's with their module loaded BEFORE adiusbadsl in /etc/modules then they should be assigned eth0 and eth1 adisusbadsl will then assign eth2 for the Sagem 800 modem. This is normal. adictrl -i should return eth2 Are you sure you are loading all the necessary ppp & usb modules ? Comment out the ppp section of your interface file and execute all the commands manually #auto ppp0 #iface ppp0 inet ppp # pre-up startadsl # provider eagle # post-down stopadsl startadsl (then check the eth2 is up and usbdevfs is mounted) then provider eagle And try to see where your pb occurs Jacques Le Dimanche 14 Septembre 2003 00:58, vous avez écrit : > > I am currently configuring Bering with a Sagem 800 (eagle driver) as > > outlined in the documentation relating to the Bering Eagle package. > > My Bering box has two NIC's (3Com905's that I run from a single > > 3c59x.o module) and a S3 Trio VGA card. > > > > Our ISP uses PPPoA and CHAP so I assume that the Eagle > > configuration guide (chapter 8) should setup the USB Sagem 800 > > to work just fine ... > > > > Now, for some reason I am getting an extra interface (eth2) for which > > "adictrl -i" points to the USB modem ... "pon eagle" or "pppd" does > > not bring up ppp - instead I am getting error messages that pppoa > > has Input/output errors or pppd cannot set tty to ppp discipline... > > (throughout all this my ppp.log is empty) > > > >How looks like your /etc/interafces file ? > >Do you have more than one ethernet card ? > > > >Jacques > > My interfaces file has entries for lo, eth0, eth1 and ppp0. > > Has this mysterious third eth interface got something to do with > ppp.lrp? I read somewhere that it contains support for pppoe and > this might explain the assigning of the usb device to eth2 rather > than a usb handle? > > Regards, > Shango Oluwa > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.515 / Virus Database: 313 - Release Date: 01/09/2003 --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html