Re: ppp not found

2015-02-25 Thread A Y
I did exactly as you asked, but everything is the same.
Is it possible that the USB modem doesn't like the Lenovo USB port?
If you don't have any further suggestions, I would like to install OpenBSD on
my PC and try the connection.
I don't like to do that because this means that I have to remove Windows,
install/try OpenBSD and then re-install Windows. But I have to I guess.



Re: ppp not found

2015-02-25 Thread David Coppa
On Wed, Feb 25, 2015 at 12:35 PM, A Y afyous...@hotmail.com wrote:
 I did exactly as you asked, but everything is the same.
 Is it possible that the USB modem doesn't like the Lenovo USB port?
 If you don't have any further suggestions, I would like to install OpenBSD on
 my PC and try the connection.
 I don't like to do that because this means that I have to remove Windows,
 install/try OpenBSD and then re-install Windows. But I have to I guess.


What are the logs from pppd now?

# grep ppp /var/log/*

ciao,
David



Re: ppp not found

2015-02-25 Thread A Y
# grep ppp /var/log/*
.Failed to open /dev/cuaU2: device not configured..



Re: ppp not found

2015-02-25 Thread David Coppa
On Wed, Feb 25, 2015 at 9:18 AM, A Y afyous...@hotmail.com wrote:
 #dmesg | grep -B 1 ucom
 same as your example but different port and different addr.
 #ls -l /dev/cuaU*crw-rw 1 uucp dialer 66, 128 Feb 24 9:46
 /dev/cuaU0crw-rw 1 uucp dialer 66, 129 Feb 24 9:46 /dev/cuaU1crw-rw 1
 uucp dialer 66, 130 Feb 24 9:46 /dev/cuaU2crw-rw 1 uucp dialer 66, 131 Feb
 24 9:46 /dev/cuaU3
 #grep com /var/log/messagesSorry, I couldn't post all the output but I noticed
 the following:com0 at isa0 portucom0 at umsm0ucom1 at umsm1ucom2 at umsm2
 #ifconfig ppp0 ...umsm0: this device is not using CDC notify message in intr
 pipe.Please send your dmesg to b...@openbsd.org, thanks

Replace /dev/cuaU0 with /dev/cuaU2 into the
/etc/ppp/peers/mobinil file and it should work.



Re: ppp not found

2015-02-25 Thread A Y
#dmesg | grep -B 1 ucom
same as your example but different port and different addr.
#ls -l /dev/cuaU*crw-rw 1 uucp dialer 66, 128 Feb 24 9:46
/dev/cuaU0crw-rw 1 uucp dialer 66, 129 Feb 24 9:46 /dev/cuaU1crw-rw 1
uucp dialer 66, 130 Feb 24 9:46 /dev/cuaU2crw-rw 1 uucp dialer 66, 131 Feb
24 9:46 /dev/cuaU3
#grep com /var/log/messagesSorry, I couldn't post all the output but I noticed
the following:com0 at isa0 portucom0 at umsm0ucom1 at umsm1ucom2 at umsm2
#ifconfig ppp0 ...umsm0: this device is not using CDC notify message in intr
pipe.Please send your dmesg to b...@openbsd.org, thanks



Re: ppp not found

2015-02-24 Thread Stuart Henderson
On 2015-02-23, A Y afyous...@hotmail.com wrote:
 /etc/ppp/peers/vodafone.chat provides details for a specific ISP. How do I
 know what to write for my ISP? I read about the chat script but it doesn't
 tell me any specifics that is related to my ISP. Or, maybe this is not related
 to the ISP.

The chat script mostly depends on the modem. The only line in that
example relating to the isp is the one with web.omnitel.it, you should
replace that with your provider's APN.



Re: ppp not found

2015-02-24 Thread David Coppa
On Tue, Feb 24, 2015 at 12:21 PM, A Y afyous...@hotmail.com wrote:

 umsm0: this device is not using CDC notify message in intr pipe

By experience, you can usually ignore this warning.

Be sure that your /etc/resolv.conf contains a valid nameserver line.
Try to ping, e.g., www.google.com

Ciao
David
-- 
If you try a few times and give up, you'll never get there. But if
you keep at it... There's a lot of problems in the world which can
really be solved by applying two or three times the persistence that
other people will.
-- Stewart Nelson



Re: ppp not found

2015-02-24 Thread A Y
1. While the machine is turned off.2. I inserted the USB modem in the USB 2.0
port.3. I turned the machine on.4. #dmesg
umsm0 at uhub0 port 2 configuration 1 interface 0 HUAWEI HUAWEI Mobile rev
2.00/1.02 addr 2umsm1 at uhub0 port 2 configuration 1 interface 1 HUAWEI
Technologies HUAWEI Mobile E353 Initial rev 2.00/1.02 addr 2
5. created the two following files:
# cat /etc/ppp/peers/mobinil
/dev/cuaU0debugcrtscts921600defaultroutenoauth:10.64.64.64connect
'/usr/sbin/chat -v -f /etc/ppp/peers/mobinil.chat'
# cat /etc/ppp/peers/mobinil.chat
ABORT NO CARRIERABORT NO DIALTONEABORT ERRORABORT NO ANSWERABORT
BUSYABORT Username/Password IncorrectTIMEOUT 15 ATZOK ATE1OK
ATQ0V1E1S0=0C1D2+FCLASS=0OK 'AT+CGDCONT=1,IP,mobinilweb'OK
ATDT*99***1#TIMEOUT 30CONNECT \d\c
6. # ifconfig ppp0 create  pppd file /etc/ppp/peers/mobinil
umsm0: this device is not using CDC notify message in intr pipe
What am I doing wrong?



Re: ppp not found

2015-02-24 Thread A Y
I checked for /etc/resolv.conf and couldn't find it. So I re-installed
OpenBSD to let the installer create it.
Here is the contents of this file:
#cat /etc/resolv.conflookup file bindnameserver ipnameserver addressnameserver
list
I can create a ppp0 interface through the following command:
#ifconfig ppp0 create  pppd file /etc/ppp/peers/mobinil
However, I cannot ping to www.google.com



FW: ppp not found

2015-02-24 Thread A Y
# cat /etc/ppp/peers/mobinil
/dev/cuaU0debugcrtscts921600defaultroutenoauth:10.64.64.64connect
'/usr/sbin/chat -v -f /etc/ppp/peers/mobinil.chat'
# cat /etc/ppp/peers/mobinil.chat
ABORT NO CARRIERABORT NO DIALTONEABORT ERRORABORT NO ANSWERABORT
BUSYABORT Username/Password IncorrectTIMEOUT 15 ATZOK ATE1OK
ATQ0V1E1S0=0C1D2+FCLASS=0OK 'AT+CGDCONT=1,IP,mobinilweb'OK
ATDT*99***1#TIMEOUT 30CONNECT \d\c
# grep chat /var/log/*
# grep pppd /var/log/*/var/log/daemon:Feb 24 10:03:59 ce pppd[15103]: pppd
2.3.5 started by ce, uid 0/var/log/daemon:Feb 24 10:03:59 ce pppd[15103]:
Failed to open /dev/cuaU0: Device not configured.
# cat /etc/resolv.conf
lookup file bindnameserver 213.131.64.119nameserver 41.196.200.23nameserver
137.117.214.6nameserver ns10.link.netnameserver ns11.link.netnameserver
ns12.link.net
I got the above nameservers from the mobinil website



Re: FW: ppp not found

2015-02-24 Thread Fred

On 02/24/15 17:42, A Y wrote:

# cat /etc/ppp/peers/mobinil
/dev/cuaU0debugcrtscts921600defaultroutenoauth:10.64.64.64connect
'/usr/sbin/chat -v -f /etc/ppp/peers/mobinil.chat'
# cat /etc/ppp/peers/mobinil.chat
ABORT NO CARRIERABORT NO DIALTONEABORT ERRORABORT NO ANSWERABORT
BUSYABORT Username/Password IncorrectTIMEOUT 15 ATZOK ATE1OK
ATQ0V1E1S0=0C1D2+FCLASS=0OK 'AT+CGDCONT=1,IP,mobinilweb'OK
ATDT*99***1#TIMEOUT 30CONNECT \d\c
# grep chat /var/log/*
# grep pppd /var/log/*/var/log/daemon:Feb 24 10:03:59 ce pppd[15103]: pppd
2.3.5 started by ce, uid 0/var/log/daemon:Feb 24 10:03:59 ce pppd[15103]:
Failed to open /dev/cuaU0: Device not configured.
# cat /etc/resolv.conf
lookup file bindnameserver 213.131.64.119nameserver 41.196.200.23nameserver
137.117.214.6nameserver ns10.link.netnameserver ns11.link.netnameserver
ns12.link.net
I got the above nameservers from the mobinil website



You are getting closer - but there is information missing to help solve 
the problem which is /dev/cuaU0 failing to be opened.


What is the output of: ls -l /dev/cuaU*
and: grep com /var/log/messages

hth

Fred



Re: ppp not found

2015-02-23 Thread A Y
The following is what I got from making a modem query under windows:
ATQ0V1E0 - OKAT+GMM - E173AT+FCLASS=? - COMMAND NOT SUPPORTAT#CLS=? - COMMAND
NOT SUPPORTEDAT+GCI? - COMMAND NOT SUPPORTAT+GCI=? - COMMAND NOT SUPPORTATI1 -
Manufacturer: huawei   Model: E173   Revision: 21.157.71.00.272
IMEI: 868402003229969   +GCAP: +CGSM,+DS,+ESATI2 - Manufacturer: huawei
Model: E173   Revision: 21.157.71.00.272   IMEI: 868402003229969
+GCAP: +CGSM,+DS,+ESATI3 - Manufacturer: huawei   Model: E173
Revision: 21.157.71.00.272   IMEI: 868402003229969   +GCAP:
+CGSM,+DS,+ESATI4 - Manufacturer: huawei   Model: E173   Revision:
21.157.71.00.272   IMEI: 868402003229969   +GCAP: +CGSM,+DS,+ESATI5 -
Manufacturer: huawei   Model: E173   Revision: 21.157.71.00.272
IMEI: 868402003229969   +GCAP: +CGSM,+DS,+ESATI6 - Manufacturer: huawei
Model: E173   Revision: 21.157.71.00.272   IMEI: 868402003229969
+GCAP: +CGSM,+DS,+ESATI7 - Manufacturer: huawei   Model: E173
Revision: 21.157.71.00.272   IMEI: 868402003229969   +GCAP:
+CGSM,+DS,+ES
What can I make out of this? How can this be translated to a chat script?



Re: ppp not found

2015-02-23 Thread Fred

On 02/23/15 21:00, A Y wrote:

The following is what I got from making a modem query under windows:
ATQ0V1E0 - OKAT+GMM - E173AT+FCLASS=? - COMMAND NOT SUPPORTAT#CLS=? - COMMAND
NOT SUPPORTEDAT+GCI? - COMMAND NOT SUPPORTAT+GCI=? - COMMAND NOT SUPPORTATI1 -
Manufacturer: huawei   Model: E173   Revision: 21.157.71.00.272
IMEI: 868402003229969   +GCAP: +CGSM,+DS,+ESATI2 - Manufacturer: huawei
Model: E173   Revision: 21.157.71.00.272   IMEI: 868402003229969
+GCAP: +CGSM,+DS,+ESATI3 - Manufacturer: huawei   Model: E173
Revision: 21.157.71.00.272   IMEI: 868402003229969   +GCAP:
+CGSM,+DS,+ESATI4 - Manufacturer: huawei   Model: E173   Revision:
21.157.71.00.272   IMEI: 868402003229969   +GCAP: +CGSM,+DS,+ESATI5 -
Manufacturer: huawei   Model: E173   Revision: 21.157.71.00.272
IMEI: 868402003229969   +GCAP: +CGSM,+DS,+ESATI6 - Manufacturer: huawei
Model: E173   Revision: 21.157.71.00.272   IMEI: 868402003229969
+GCAP: +CGSM,+DS,+ESATI7 - Manufacturer: huawei   Model: E173
Revision: 21.157.71.00.272   IMEI: 868402003229969   +GCAP:
+CGSM,+DS,+ES
What can I make out of this? How can this be translated to a chat script?


Hi AY,

This old post from mailing list might be of some use:

http://marc.info/?l=openbsd-miscm=123638536119595

Cheers

Fred



Re: ppp not found

2015-02-23 Thread A Y
/etc/ppp/peers/vodafone.chat provides details for a specific ISP. How do I
know what to write for my ISP? I read about the chat script but it doesn't
tell me any specifics that is related to my ISP. Or, maybe this is not related
to the ISP.
 From: dco...@gmail.com
 Date: Mon, 23 Feb 2015 10:40:36 +0100
 Subject: Re: ppp not found
 To: afyous...@hotmail.com
 CC: misc@openbsd.org

 On Mon, Feb 23, 2015 at 9:56 AM, A Y afyous...@hotmail.com wrote:
  Hi all,
  I installed OpenBSD -current and tried to run ppp command, but I got
this
  error:
  ksh: ppp: not found
  I also didn't find /etc/ppp/ppp.conf.sample
  Was there something, in the installation, that I should have done?
 
  I am trying to connect to the internet using a USB modem.

 Userland ppp has been removed, because it was buggy and unmaintained.

 You should use /usr/sbin/pppd.

 For pointers, have a look at, e.g.:

 http://marc.info/?l=openbsd-miscm=128816834527997

 Ciao!
 David
 --
 If you try a few times and give up, you'll never get there. But if
 you keep at it... There's a lot of problems in the world which can
 really be solved by applying two or three times the persistence that
 other people will.
 -- Stewart Nelson



Re: ppp not found

2015-02-23 Thread David Coppa
On Mon, Feb 23, 2015 at 6:17 PM, A Y afyous...@hotmail.com wrote:
 /etc/ppp/peers/vodafone.chat provides details for a specific ISP. How do I
 know what to write for my ISP? I read about the chat script but it doesn't
 tell me any specifics that is related to my ISP. Or, maybe this is not related
 to the ISP.

A working trick is recording the commands from a successful connection
to your ISP under Windows:

https://technet.microsoft.com/en-us/library/cc771018%28v=ws.10%29.aspx


 From: dco...@gmail.com
 Date: Mon, 23 Feb 2015 10:40:36 +0100
 Subject: Re: ppp not found
 To: afyous...@hotmail.com
 CC: misc@openbsd.org

 On Mon, Feb 23, 2015 at 9:56 AM, A Y afyous...@hotmail.com wrote:
  Hi all,
  I installed OpenBSD -current and tried to run ppp command, but I got
 this
  error:
  ksh: ppp: not found
  I also didn't find /etc/ppp/ppp.conf.sample
  Was there something, in the installation, that I should have done?
 
  I am trying to connect to the internet using a USB modem.

 Userland ppp has been removed, because it was buggy and unmaintained.

 You should use /usr/sbin/pppd.

 For pointers, have a look at, e.g.:

 http://marc.info/?l=openbsd-miscm=128816834527997

 Ciao!
 David
 --
 If you try a few times and give up, you'll never get there. But if
 you keep at it... There's a lot of problems in the world which can
 really be solved by applying two or three times the persistence that
 other people will.
 -- Stewart Nelson




-- 
If you try a few times and give up, you'll never get there. But if
you keep at it... There's a lot of problems in the world which can
really be solved by applying two or three times the persistence that
other people will.
-- Stewart Nelson



ppp not found

2015-02-23 Thread A Y
Hi all,
I installed OpenBSD -current and tried to run ppp command, but I got this
error:
ksh: ppp: not found
I also didn't find /etc/ppp/ppp.conf.sample
Was there something, in the installation, that I should have done?

I am trying to connect to the internet using a USB modem.

Thank you



Re: ppp not found

2015-02-23 Thread David Coppa
On Mon, Feb 23, 2015 at 9:56 AM, A Y afyous...@hotmail.com wrote:
 Hi all,
 I installed OpenBSD -current and tried to run ppp command, but I got this
 error:
 ksh: ppp: not found
 I also didn't find /etc/ppp/ppp.conf.sample
 Was there something, in the installation, that I should have done?

 I am trying to connect to the internet using a USB modem.

Userland ppp has been removed, because it was buggy and unmaintained.

You should use /usr/sbin/pppd.

For pointers, have a look at, e.g.:

http://marc.info/?l=openbsd-miscm=128816834527997

Ciao!
David
-- 
If you try a few times and give up, you'll never get there. But if
you keep at it... There's a lot of problems in the world which can
really be solved by applying two or three times the persistence that
other people will.
-- Stewart Nelson