From owner-freebsd-questions@FreeBSD.ORG Thu Feb 26 17:24:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADA2D1065727 for ; Thu, 26 Feb 2009 17:24:53 +0000 (UTC) (envelope-from uzytkownik2@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.191]) by mx1.freebsd.org (Postfix) with ESMTP id 316D08FC22 for ; Thu, 26 Feb 2009 17:24:52 +0000 (UTC) (envelope-from uzytkownik2@gmail.com) Received: by mu-out-0910.google.com with SMTP id w1so248387mue.3 for ; Thu, 26 Feb 2009 09:24:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer; bh=mrhMu2HggvClzecLuME13AQhpaUxD/Ru6VSz509Oo2E=; b=FKNwtjU67iiMgNWFUC0scOBfJFjZVKYgHMgqW/aJJsB975cnL+Y/QXcSFSnPWs+13s t4psQDu7s37oLyuWrkyW6lesQNoSbGBOn/1m/4pNMDc0zWUkSKetxFrhKRM/BmQSQa50 jLMJRjUYQABRY6WJbLGOkbaY3rF6Zk3DIUlGo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer; b=tNvN4u1IH/heaOo7XJ5KRMmYyVZA6r3U1JF6J1FomcD2VhDa0F8HE3Cit/jf1a+C/v +dvdX2rCzKVp3N5/qu0GQqYrpKREIP0btt4qXbkeq2XJC9TH9iZlsekWknvw165F2H0w WQG3/17u0LjmzXuN1YMGfyxW99F2tj2hlqiGs= Received: by 10.103.246.1 with SMTP id y1mr769430mur.116.1235669092076; Thu, 26 Feb 2009 09:24:52 -0800 (PST) Received: from ?192.168.0.3? (87-205-161-252.adsl.inetia.pl [87.205.161.252]) by mx.google.com with ESMTPS id n10sm226813mue.9.2009.02.26.09.24.50 (version=SSLv3 cipher=RC4-MD5); Thu, 26 Feb 2009 09:24:50 -0800 (PST) From: Maciej Piechotka To: Ian Smith In-Reply-To: <20090226145851.G71460@sola.nimnet.asn.au> References: <20090224192338.43AF81065701@hub.freebsd.org> <20090226145851.G71460@sola.nimnet.asn.au> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-CSgp6/UzDZBB6lRp0Oir" Date: Thu, 26 Feb 2009 18:24:47 +0100 Message-Id: <1235669087.20963.37.camel@notebook.piechotka.com.pl> Mime-Version: 1.0 X-Mailer: Evolution 2.25.90 Cc: freebsd-questions@freebsd.org Subject: Re: Problem with speedtouch 330 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 17:24:55 -0000 --=-CSgp6/UzDZBB6lRp0Oir Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2009-02-26 at 15:10 +1100, Ian Smith wrote: > On Tue, 24 Feb 2009 19:00:17 +0100 Maciej Piechotka wrote: >=20 > > Hello. I have a problem with Speedtouch 330. I cannot connect with my > > IPS. In dmesg it is written that the modem_run cannot 'read interrupts= '. > >=20 > > Regards > >=20 > > ppp.conf: > > default: > > set log Phase Chat LCP IPCP CCP tun command > > ident user-ppp VERSION (built COMPILATIONDATE) > > set ifaddr 10.0.0.1/0 10.0.0.2/0 > >=20 > > adsl: > > set authname mjnysqqx@webnet24.pl > > set authkey 53T6gbDt >=20 > You should change this password, now that you've published it. >=20 I noticed it just after posting. Solved yesterday (although this is only the password valid for ppp to connect from this one specific line - not to worry much anyway). > > set device !"/usr/local/sbin/pppoa2 -vpi 0 -vci 35 -v 1 -d /dev/ugen0" I've changed it to: set device !"/usr/local/sbin/pppoa3 -c -m 1 -vpi 0 -vci 35" > > accep chap >=20 > It's 'accept', though the abbreviation does work (see below). >=20 > > set sppeed sync >=20 > It's 'speed'. >=20 Corrected. One of this 2 changes solved the problem. > > set timeout 0 > > set reconnect 10 100 > > #enable lqr > > #set lqrperiod 5 > > #set radial 15 1000 > > #set dial "" > > add default HISADDR > > #enable dns > >=20 > > ppp.log: > > Feb 23 20:54:33 HOSTNAME ppp[961]: Phase: Using interface: tun0 > > Feb 23 20:54:33 HOSTNAME ppp[961]: Phase: deflink: Created in closed > > state > > Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: default: ident > > user-ppp VERSION (built COMPILATIONDATE) > > Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: default: set ifaddr > > 10.0.0.1/0 10.0.0.2/0 > > Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set authname > > ******@webnet24.pl > > Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set authkey > > ******** > > Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set > > device !/usr/local/sbin/pppoa3 -vpi 0 -vci 35 -v 1 > > Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: accep chap > > Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set spped sync > > Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Warning: set spped: Invalid > > command > > Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Warning: set spped: Failed 1 >=20 > See above (though this indicates a *different* misspelling of 'speed') >=20 I notice it after sending. I've wrote about solving through gmane but it silently drop posts. > > Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set timeout 0 > > Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: enable lqr > > Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set lqrperiod = 5 > > Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set radial 15 > > 1000 > > Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Warning: set radial: Invalid > > command > > Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Warning: set radial: Failed 1 >=20 > Try 'redial'. This log also doesn't match the config shown above. >=20 Sorry. I tried many configurations and I mistaken the log. > cheers, Ian Regards and thanks for response I have now 2 problems: 1. I need to run modem_run -m -f /usr/local/libdata/speedtouch/ZZZL_3.012 before ppp starts first time. I tried to add attach event to udev but it didn't worked. I tried copy'n'paste the example for usbd from FreeBSD Handbook but it didn't work as well. I can assume that the device is attached from the beginning. 2. If I try to run sixxs-aiccu I get: [tun-start] Trying Configured TUN/TAP interface gif0... [tun-start] Trying TUN/TAP interface 0... [tun-start] Couldn't open device gif0 or /dev/tun*: Device busy (16) It seems that any other gif does not work eighter. I can create gif interfaces and if_gif module is loaded. Any ideas? (Sorry - the second question I will multipost on sixxs forum as I have no chances of cross-posting) Regards --=-CSgp6/UzDZBB6lRp0Oir Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (GNU/Linux) iEYEABECAAYFAkmm0F8ACgkQkWolkVsnmyVI1gCeNz+dXYIbAtv5pQQWhiam1UGH KV4AnRG/GfydS2A6SNFf+yamR3+vFdii =k9OO -----END PGP SIGNATURE----- --=-CSgp6/UzDZBB6lRp0Oir--