[speedtouch] Re: Connected but can't surf
Have you tried checking the routing? Maybe it hasn't updated your default route. On Thu, 2002-04-25 at 17:47, Lee wrote: > > I've given up trying to connect using Mandrake. I switched to RedHat > 7.2 and can connect, if I run ifconfig ppp0 I get my new IP number. > I've tried pinging the dns number in my resolv.config but get no > response. Andrew Meredith ___ The Anvil Organisation Ltd. Director Tel: +44 (0) 1249 444240 | Email: [EMAIL PROTECTED] Mob: +44 (0) 7802 389007 | Web: http://www.anvil.org/ ___ The box says Win95 or better .. Must run under Linux then! -- Attached file included as plaintext by Listar -- -- File: signature.asc -- Desc: This is a digitally signed message part -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQA8yE+oZyovPzxbLYoRAjoFAJ4ye2PiXuzSHrlZSkI4VmctPVTT6QCfdw0Q oyEqZheFlPbtjkDOyzm1KSk= =ARN+ -END PGP SIGNATURE- Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]?subject=unsubscribe
[speedtouch] Dual line ADSL with Speedtouch 330
Hi Folks, I am having a problem getting a second Speedtouch 330 set up on my FC5 router/firewall. Up to press I have been using a pair of ADSL routers on two ethernet cards, which has been working ok, but would like to simplify the BoM and get more control over the WAN endpoints. Getting one Speedtouch 330 up and running was no issue, but the second one gets caught up with the first and in fact bings both lines down. I suspect the issue is that both ISPs use VPI=0, VCI=38 and as this is now presented in the same kernel, they are now clashing where they wouldn't in two separate boxes. As I doubt that I can get either ISP to change their settings, I suspect that this is game over for this approach ... but would like confirmation from someone who knows more about this stuff than I do. In case it is important, I am using the kernel drivers and PPPoA on Eclipse and PlusNET, with 8 IP addresses from each. Hope someone can help Andy M -- Andrew Meredith BEng CEng CITP MBCS MIEE The Anvil Organisation Ltd Director http://www.anvil.org/ --sip:[EMAIL PROTECTED] [EMAIL PROTECTED] +44 (0) 1249 460560 Need a Systems Administrator, just not a whole one? Try our "As you need it" support and training services Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: Dual line ADSL with Speedtouch 330
[EMAIL PROTECTED] wrote: > > VPI/VCI numbers are per interface, so this shouldn't be a problem. There is some hope then ! > However, I know that the pppd pppoatm plugin always uses the default > ATM interface, so that may be where you are having issues. Part of my due diligence was a poke around to see if I could specify a connection number as well as VPI/VCI in order to nail everything together. I was wondering if this was where the issue might break. > I wrote my > own plugin at one point, which you can try, if you want. Yes Please Andy M Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: Dual line ADSL with Speedtouch 330
Gilles Espinasse wrote: > I doubt this could be related to atm side. I don't know enough about ATM. > There was one distrib made at one time with the support of this type of > configuration en England. Excellent .. I don't suppose you know of any references I can use to pick this up. My searches so far have not brought this out. > It could be some usb related issue (bandwith or current used by the two > modems) > At which speed are link you use? The ADSLs are both MaxDSL, so float around up to 8MB. The USBs are both USB 2. > Are both modems on the same controller? Tried various .. just in case. > Wich pppd version do you use? ppp-2.4.3-6.2.1 > There was a change on ppp-2.4.3 to better support multilink (terminate only > when > no channel is connected). I am not trying to do multilink as such. The two DSLs are from different ISPs (deliberately .. redundancy) so there's no way I could bond them. Andy M Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: Dual line ADSL with Speedtouch 330
Gilles Espinasse wrote: > http://www.freestuffjunction.co.uk/bondedcd.shtml > But I suppose it is only for bonded links. Sadly > So the problem should be narrowed in the ppp related scripts or in your usb > hardware. I'm wondering if the pppoatm.so plugin would need another parameter for this layout to work. There is nothing to tell the two pppd instances which one has which modem. The suggestion from Matthew is that the second pppd tries to connect into the kernel and, knowing no better, crashes into the circuit set up by the first modem. > What is your usb controller? Many not so young hardwares have bugs not > workaround by linux. > > lspci -n | grep 0503 You grep didn't return anything, but here are the USB lines 00:10.0 Class 0c03: 1106:3038 (rev 81) 00:10.1 Class 0c03: 1106:3038 (rev 81) 00:10.2 Class 0c03: 1106:3038 (rev 81) 00:10.3 Class 0c03: 1106:3038 (rev 81) 00:10.4 Class 0c03: 1106:3104 (rev 86) 00:10.0 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev 81) 00:10.1 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev 81) 00:10.2 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev 81) 00:10.3 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller (rev 81) 00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: Dual line ADSL with Speedtouch 330
[EMAIL PROTECTED] wrote: > Could you also give the sequence of commands you execute and the error > messages you get when the system fails? The kernel does the firmware upload and line grabbing thing with no problem, across both modems. kernel: ADSL line is up (4800 Kib/s down | 448 Kib/s up) kernel: ADSL line is up (3328 Kib/s down | 832 Kib/s up) Then the scripting goes round and round and out pops: /usr/sbin/pppd ipparam ppp0 linkname ppp0 plugin pppoatm.so 0.38 noipdefault noauth default-asyncmap defaultroute hide-password nodetach mtu 1492 mru 1492 noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp user [EMAIL PROTECTED] lcp-echo-interval 10 lcp-echo-failure 2 If this is fired off with only one modem connected (either one) then the line comes up and all is well. If both are connected: pppd[14249]: Plugin pppoatm.so loaded. pppd[14249]: PPPoATM plugin_init pppd[14249]: PPPoATM setdevname_pppoatm - SUCCESS:0.38 pppd[14249]: pppd 2.4.2 started by root, uid 0 >> pppd[14249]: connect(0.38): Address already in use pppd[14249]: Exit. This (>>) line seems to come from the connect call in pppoatm.so if (connect(fd, (struct sockaddr *) &pvcaddr, sizeof(struct sockaddr_atmpvc))) fatal("connect(%s): %m", devnam); Digging futher into the code there is a third parameter, that is currently set to zero, the itf. According to the Linux ATM API Spec "itf is the number of the local interface (zero-based)". As it stands the argument parser rejects arguments with 3 fields (eg 1.0.38). I guess I need to cook up a patch to pppoatm that will take an optional 3rd argument, but first I will do a hardcoded variant that takes a 2 part field as normal, but sets the itf to 1. I will post my progress to this list. Thanks for the pointers everyone. Andy M Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: Dual line ADSL with Speedtouch 330
Sorry for replying to myself, but the thing never got off the starting blocks. Andrew Meredith wrote: > > Digging futher into the code there is a third parameter, that is > currently set to zero, the itf. According to the Linux ATM API Spec "itf > is the number of the local interface (zero-based)". > > As it stands the argument parser rejects arguments with 3 fields (eg > 1.0.38). > > I guess I need to cook up a patch to pppoatm that will take an optional > 3rd argument, but first I will do a hardcoded variant that takes a 2 > part field as normal, but sets the itf to 1. > > I will post my progress to this list. Sadly none. I did cook up a patched version of pppoatm.so and edited it into ifcfg-ppp1. I then dropped ppp0 and plugged in the second Speedtouch 330. The existing ADSL connection emmediately dropped and the pair of them seemed to then fight with each other, going up and down seemingly at random. There were times when they both announced they were up, but they didn't last long. I can tell the lines from each other because they have radically different upload speeds. I did try and run up both ppp0 & ppp1, but the lines were not up long enough to get any meaningful results re the itf patch. I guess at least part of this problem rests in the kernel code. Andy M Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] To reset a hung Speedtouch 330 via cron job
Hi There, A question I have had for years and to which I have found no answer is how do you reset the Speedtouch 330, without resorting to unplugging it and plugging it back in again. I have now found a way of doing this and have written a script to be run by cron that keeps the machine connected. I have attached it below. I hope the commentary is sufficient to explain what is going on. It is release as GPL. If you have any fixes or improvements I would hope you would return them to me. Cheers Andy M -- ___ Andrew Meredith BEng CEng CITP MBCS MIET http://www.anvil.organd...@anvil.org ___ -- Attached file included as plaintext by Listar -- -- File: ADSL-cron #!/bin/bash # # Author: Andrew Meredith # Date:1st March 2010 # Version: 1.0 # # License Terms: GPL # Copyright: Andrew Meredith (c) 1st March 2010 # # This script works around the instability of the Speedtouch 330 # by checking for presence of a working Internet connection and # if not present, puts the relevant USB port into hibernation # and then brings it back out again, thus causing the firmware # to be reloaded and the device rebooted. # # Check for live link by pinging two of the DNS root servers. # The odds of both being down are pretty remote. if ping -c 3 198.41.0.4 > /dev/null then logger -t ADSL-cron "Connection OK" exit 0 else if ping -c 3 192.228.79.201 > /dev/null then logger -t ADSL-cron "Connection OK" exit 0 else logger -t ADSL-cron "Connection DOWN" fi fi # If you have got to here, the two DNS servers are unreachable # which almost certainly means that the device has locked up # and the link is down. So now look for the code 4061 in the # USB devices products and note the DEV number. for file in /sys/bus/usb/devices/*/idProduct do if grep "^4061$" $file > /dev/null then DEV=` expr $file : '/sys/bus/usb/devices/\([0-9][0-9\-]*\)/idProduct' ` LEV=`cat /sys/bus/usb/devices/$DEV/power/level` fi done # Check that you've found the DEV number and if you did # then pull down the ppp0 interface, hibernate and revive # the USB port and then bring up ppp0. if [ "$DEV" != "" ] then logger -t ADSL-cron "Device: $DEV is $LEV" logger -t ADSL-cron "Dropping ppp0" ifdown ppp0 logger -t ADSL-cron "Resetting USB Device" echo -n suspend > /sys/bus/usb/devices/$DEV/power/level sleep 3 echo -n on > /sys/bus/usb/devices/$DEV/power/level logger -t ADSL-cron "Restarting ppp0" ifup ppp0 else logger -t ADSL-cron "Speedtouch 330 not found" exit 1 fi Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:speedtouch-requ...@ml.free.fr?subject=unsubscribe
[speedtouch] Invitation to connect on LinkedIn
LinkedIn I'd like to add you to my professional network on LinkedIn. - Andrew Andrew Meredith Senior Systems Administrator at Mango Solutions Swindon, United Kingdom Confirm that you know Andrew Meredith: https://www.linkedin.com/e/jnv293-h3hz27nf-6a/isd/7510044386/4FjfdZut/?hs=false&tok=2mSuOyhawkKRg1 -- You are receiving Invitation to Connect emails. Click to unsubscribe: http://www.linkedin.com/e/jnv293-h3hz27nf-6a/u2WaKTvtzzN9m136uhPYy6vVtIBXPpXRz4/goo/speedtouch%40ml%2Efree%2Efr/20061/I2546909652_1/?hs=false&tok=2Th2XWR5gkKRg1 (c) 2012 LinkedIn Corporation. 2029 Stierlin Ct, Mountain View, CA 94043, USA. Liste de diffusion modem ALCATEL SpeedTouch USB Pour se d�sinscrire : mailto:speedtouch-requ...@ml.free.fr?subject=unsubscribe