Re: Problem with speedtouch 330

2009-02-26 Thread Maciej Piechotka
> 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

The second problem was solved by changing gif0 to tun1 (tun0 was taken
by ppp).

Regard


signature.asc
Description: This is a digitally signed message part


Re: Problem with speedtouch 330

2009-02-26 Thread Maciej Piechotka
On Thu, 2009-02-26 at 15:10 +1100, Ian Smith wrote:
> On Tue, 24 Feb 2009 19:00:17 +0100 Maciej Piechotka  
> wrote:
> 
>  > 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'.
>  > 
>  > Regards
>  > 
>  > 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
>  > 
>  > adsl:
>  > set authname mjnys...@webnet24.pl
>  > set authkey 53T6gbDt
> 
> You should change this password, now that you've published it.
> 

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
> 
> It's 'accept', though the abbreviation does work (see below).
> 
>  > set sppeed sync
> 
> It's 'speed'.
> 

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
>  > 
>  > 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
> 
> See above (though this indicates a *different* misspelling of 'speed')
> 

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
> 
> Try 'redial'.  This log also doesn't match the config shown above.
> 

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


signature.asc
Description: This is a digitally signed message part


Re: Problem with speedtouch 330

2009-02-25 Thread Ian Smith
On Tue, 24 Feb 2009 19:00:17 +0100 Maciej Piechotka  
wrote:

 > 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'.
 > 
 > Regards
 > 
 > 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
 > 
 > adsl:
 > set authname mjnys...@webnet24.pl
 > set authkey 53T6gbDt

You should change this password, now that you've published it.

 > set device !"/usr/local/sbin/pppoa2 -vpi 0 -vci 35 -v 1 -d /dev/ugen0"
 > accep chap

It's 'accept', though the abbreviation does work (see below).

 > set sppeed sync

It's 'speed'.

 > set timeout 0
 > set reconnect 10 100
 > #enable lqr
 > #set lqrperiod 5
 > #set radial 15 1000
 > #set dial ""
 > add default HISADDR
 > #enable dns
 > 
 > 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

See above (though this indicates a *different* misspelling of 'speed')

 > 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

Try 'redial'.  This log also doesn't match the config shown above.

cheers, Ian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Problem with speedtouch 330

2009-02-24 Thread Maciej Piechotka
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'.

Regards

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

adsl:
set authname mjnys...@webnet24.pl
set authkey 53T6gbDt
set device !"/usr/local/sbin/pppoa2 -vpi 0 -vci 35 -v 1 -d /dev/ugen0"
accep chap
set sppeed sync
set timeout 0
set reconnect 10 100
#enable lqr
#set lqrperiod 5
#set radial 15 1000
#set dial ""
add default HISADDR
#enable dns

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
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
Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: set dial 
Feb 23 20:54:48 HOSTNAME ppp[961]: tun0: Command: adsl: add default
HISADDR
Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: PPP Started (background
mode).
Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: bundle: Establish
Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: deflink: closed ->
opening
Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: deflink: Connected!
Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: deflink: opening ->
dial
Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Chat: deflink: Dial attempt 1
of 1
Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: deflink: dial ->
carrier
Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: deflink: carrier ->
login
Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: Phase: deflink: login -> lcp
Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: LCP: FSM: Using "deflink" as a
transport
Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: LCP: deflink: State change
Initial --> Closed
Feb 23 20:54:48 HOSTNAME ppp[1025]: tun0: LCP: deflink: State change
Closed --> Stopped
Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP: deflink: LayerStart
Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP: deflink: SendConfigReq(1)
state = Stopped
Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP:  ACFCOMP[2]
Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP:  PROTOCOMP[2]
Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP:  ACCMAP[6] 0x
Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP:  MRU[4] 1500
Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP:  MAGICNUM[6] 0x643ab3ca
Feb 23 20:54:49 HOSTNAME ppp[1025]: tun0: LCP:  QUALPROTO[8] proto c025,
interval
Feb 23 20:54:58 HOSTNAME ppp[1025]: tun0: LCP: deflink: SendConfigReq(1)
state = Req-Sent
Feb 23 20:54:58 HOSTNAME ppp[1025]: tun0: LCP:  ACFCOMP[2]
Feb 23 20:54:58 HOSTNAME ppp[1025]: tun0: LCP:  PROTOCOMP[2]
Feb 23 20:54:58 HOSTNAME ppp[1025]: tun0: LCP:  ACCMAP[6] 0x
Feb 23 20:54:58 HOSTNAME ppp[1025]: tun0: LCP:  MRU[4] 1500
Feb 23 20:54:58 HOSTNAME ppp[1025]: tun0: LCP:  MAGICNUM[6] 0x643ab3ca
Feb 23 20:54:58 HOSTNAME ppp[1025]: tun0: LCP:  QUALPROTO[8] proto c025,
interval 5000ms
Feb 23 20:55:01 HOSTNAME ppp[1025]: tun0: LCP: deflink: SendConfigReq(1)
state = Req-Sent
Feb 23 20:55:01 HOSTNAME ppp[1025]: tun0: LCP:  ACFCOMP[2]
Feb 23 20:55:01 HOSTNAME ppp[1025]: tun0: LCP:  PROTOCOMP[2]
Feb 23 20:55:01 HOSTNAME ppp[1025]: tun0: LCP:  ACCMAP[6] 0x
Feb 23 20:55:01 HOSTNAME ppp[1025]: tun0: LCP:  MRU[4] 1500
Feb 23 20:55:01 HOSTNAME ppp[1025]: tun0: LCP:  MAGICNUM[6] 0x643ab3ca
Feb 23 20:55:01 HOSTNAME ppp[1025]: tun0: LCP:  QUALPROTO[8] proto c025,
interval 5000ms
Feb 23 20:55:04 HOSTNAME ppp[1025]: tun0: LCP: deflink: LayerFinish
Feb 23 20:55:04 HOSTNAME ppp[1025]: tun0: LCP: deflink: State change
Req-Sent --> Stopped
Feb 23 20:55:04 HOSTNAME ppp[1025]: tun0: LCP: deflink: State change
Stopped --> Closed
Feb 23 20:55:04 HOSTNAME ppp[1025]: tun0: Phase: deflink: Disconnected!
Feb 23 20:55:04 HOSTNAME ppp[1025]: tun0: Phase: deflink: lcp