RE: Problems getting my Huawei 0x140b USB modem to speak to internet

2013-06-30 Thread Manish Jain
Thanks for your help. But before I attempt disabling the cdrom, I would like to 
mention that I can already see the following devices (with corresponding .init 
and .lock files) :

cuaU0.0
cuaU0.1
cuaU0.2
cuau0

I am almost certain that cuaU0.0 is the modem. I will try disabling the the 
cdrom and then switch mode.

Thanks again 
Regards

Manish Jain

From: odhia...@gmail.com
Date: Sun, 30 Jun 2013 11:45:11 +0300
Subject: Re: Problems getting my Huawei 0x140b USB modem to speak to internet
To: bourne.ident...@hotmail.com

Hi Manish,

I seem to have missed the name - Huawei, sorry for that.

Anyway, this should be easy to resolve - I suppose.

With the virtual cd-rom (da0) presenting itself, FreeBSD will assume the modem 
is simply a mass storage device and leave it at that. You need to disable the 
virtual cd-rom in order to use the modem.


Use Hyperterminal or putty or minicom (does it still exist?) to disable it.
Here are the AT commands to do that:

1. To disable; AT^U2DIAG=0
2. To re-enable: AT^U2DIAG=1

After disabling, you should be able to see a device node for the modem - 
/dev/cuaU0.0 or something. They may be two devices or three. One of them is the 
modem



And here is a ppp.conf which you can use - just change the APN (safaricom) to 
your provider's APN, change authname/authkey and also change the device to what 
you'll have gotten from /dev/



Hope that helps!


u3g:
 set device /dev/cuaU0.0
 set server /var/run/3g-internet  0177
 set speed 921600
 set timeout 0


 set authname saf
 set authkey data
 set dial ABORT BUSY ABORT NO\\sTIMEOUT 2 \
   \\ \
   AT OK-AT-OK \
   AT+CFUN=1 OK-AT-OK \
   AT+CMEE=2 OK-AT-OK \
   AT+CSQ OK \


   AT+CGDCONT=1,\\\IP\\\,\\\safaricom\\\ OK \
   ATD*99# CONNECT
 set crtscts on
 disable vjcomp
 disable acfcomp
 disable deflate
 disable deflate24
 disable pred1


 disable protocomp
 disable mppe
 disable ipv6cp
 disable lqr
 disable echo
 #nat enable yes
 enable dns
 resolv writable
 set dns 8.8.8.8
 set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0


 add default HISADDR  # See ppp.link*




On 30 June 2013 01:00, Manish Jain bourne.ident...@hotmail.com wrote:


Hi,



I thought the manufacturer name was mentioned in the original message : Huawei 
(0x12d1). Underneath is an extract from /var/log/messages :



Jun 29 23:03:57 bourne kernel: u3g0: Found 3 ports.

Jun 29 23:03:57 bourne kernel: umass0: HUAWEI TECHNOLOGIES HUAWEI Mobile, 
class 0/0, rev 1.10/0.00, addr 2 on usbus1

Jun 29 23:03:57 bourne kernel: umass0:  SCSI over Bulk-Only; quirks = 0x

Jun 29 23:03:57 bourne kernel: umass0:0:0:-1: Attached to scbus0

Jun 29 23:03:57 bourne kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 
0 0 0 0 0 0

Jun 29 23:03:57 bourne kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI 
Status Error

Jun 29 23:03:57 bourne kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check 
Condition

Jun 29 23:03:57 bourne kernel: (probe0:umass-sim0:0:0:0): SCSI sense: UNIT 
ATTENTION asc:28,0 (Not ready to ready change, medium may have changed)

Jun 29 23:03:57 bourne kernel: cd0 at umass-sim0 bus 0 scbus0 target 0 lun 0

Jun 29 23:03:57 bourne kernel: cd0: HUAWEI Mass Storage 2.31 Removable CD-ROM 
SCSI-0 device

Jun 29 23:03:57 bourne kernel: cd0: 1.000MB/s transfers

Jun 29 23:03:57 bourne kernel: cd0: cd present [52352 x 2048 byte records]

Jun 29 23:03:57 bourne kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun 1

Jun 29 23:03:57 bourne kernel: da0: HUAWEI SD Storage 2.31 Removable Direct 
Access SCSI-2 device

Jun 29 23:03:57 bourne kernel: da0: 1.000MB/s transfers

Jun 29 23:03:57 bourne kernel: da0: 7580MB (15523840 512 byte sectors: 255H 
63S/T 966C)





Regards,



Manish Jain

+91-88064-38388



On 30-Jun-13 00:41, Odhiambo Washington wrote:


What is the manufacturer/model of the modem?



Is it detected by FreeBSD? Please show the /var/log/message entry for it.

I have never heard of usb_modeswitch.conf in FreeBSD!







On 29 June 2013 20:53, Manish Jain bourne.ident...@hotmail.com

mailto:bourne.ident...@hotmail.com wrote:



Hello All,



I have a a Huawei USB modem (product id 0x140b) which is connected

to my PC. I downloaded and installed Draisberghof's usb_modeswitch.



The following are the contents of my /etc/usb_modeswitch.conf :



DisableSwitching=0

EnableLogging=1

DefaultVendor=0x12d1

DefaultProduct=0x140b

TargetVendor=0x12d1

TargetProduct=0x1446

CheckSuccess=20

MessageEndpoint=0x0f


MessageContent=__555342431234567800__1106200100__00



When I run usb_modeswitch -c /etc/usb_modeswitch.conf, I get the

following message :



Looking for target devices ...

  No devices in target mode or class found

Looking for default devices ...

found matching product ID

adding device

  Found device in default mode, class or configuration (1)

Accessing device 010 on bus 000

Re: Problems getting my Huawei 0x140b USB modem to speak to internet

2013-06-30 Thread Odhiambo Washington
In that case, try disabling the cdrom and see if you make headway.


On 30 June 2013 13:29, Manish Jain bourne.ident...@hotmail.com wrote:

 Thanks for your help. But before I attempt disabling the cdrom, I would
 like to mention that I can already see the following devices (with
 corresponding .init and .lock files) :

 cuaU0.0
 cuaU0.1
 cuaU0.2
 cuau0

 I am almost certain that cuaU0.0 is the modem. I will try disabling the
 the cdrom and then switch mode.

 Thanks again 
 Regards

 Manish Jain

 --
 From: odhia...@gmail.com
 Date: Sun, 30 Jun 2013 11:45:11 +0300
 Subject: Re: Problems getting my Huawei 0x140b USB modem to speak to
 internet
 To: bourne.ident...@hotmail.com


 Hi Manish,

 I seem to have missed the name - Huawei, sorry for that.

 Anyway, this should be easy to resolve - I suppose.

 With the virtual cd-rom (da0) presenting itself, FreeBSD will assume the
 modem is simply a mass storage device and leave it at that. You need to
 disable the virtual cd-rom in order to use the modem.
 Use Hyperterminal or putty or minicom (does it still exist?) to disable it.
 Here are the AT commands to do that:

 1. To disable; AT^U2DIAG=0
 2. To re-enable: AT^U2DIAG=1

 After disabling, you should be able to see a device node for the modem -
 /dev/cuaU0.0 or something. They may be two devices or three. One of them is
 the modem

 And here is a ppp.conf which you can use - just change the APN (safaricom)
 to your provider's APN, change authname/authkey and also change the device
 to what you'll have gotten from /dev/

 Hope that helps!


 u3g:
  set device /dev/cuaU0.0
  set server /var/run/3g-internet  0177
  set speed 921600
  set timeout 0
  set authname saf
  set authkey data
  set dial ABORT BUSY ABORT NO\\sTIMEOUT 2 \
\\ \
AT OK-AT-OK \
AT+CFUN=1 OK-AT-OK \
AT+CMEE=2 OK-AT-OK \
AT+CSQ OK \
AT+CGDCONT=1,\\\IP\\\,\\\*safaricom*\\\ OK \
ATD*99# CONNECT
  set crtscts on
  disable vjcomp
  disable acfcomp
  disable deflate
  disable deflate24
  disable pred1
  disable protocomp
  disable mppe
  disable ipv6cp
  disable lqr
  disable echo
  #nat enable yes
  enable dns
  resolv writable
  set dns 8.8.8.8
  set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0
  add default HISADDR  # See ppp.link*




 On 30 June 2013 01:00, Manish Jain bourne.ident...@hotmail.com wrote:

 Hi,

 I thought the manufacturer name was mentioned in the original message :
 Huawei (0x12d1). Underneath is an extract from /var/log/messages :

 Jun 29 23:03:57 bourne kernel: u3g0: Found 3 ports.
 Jun 29 23:03:57 bourne kernel: umass0: HUAWEI TECHNOLOGIES HUAWEI Mobile,
 class 0/0, rev 1.10/0.00, addr 2 on usbus1
 Jun 29 23:03:57 bourne kernel: umass0:  SCSI over Bulk-Only; quirks =
 0x
 Jun 29 23:03:57 bourne kernel: umass0:0:0:-1: Attached to scbus0
 Jun 29 23:03:57 bourne kernel: (probe0:umass-sim0:0:0:0): TEST UNIT READY.
 CDB: 0 0 0 0 0 0
 Jun 29 23:03:57 bourne kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI
 Status Error
 Jun 29 23:03:57 bourne kernel: (probe0:umass-sim0:0:0:0): SCSI status:
 Check Condition
 Jun 29 23:03:57 bourne kernel: (probe0:umass-sim0:0:0:0): SCSI sense: UNIT
 ATTENTION asc:28,0 (Not ready to ready change, medium may have changed)
 Jun 29 23:03:57 bourne kernel: cd0 at umass-sim0 bus 0 scbus0 target 0 lun
 0
 Jun 29 23:03:57 bourne kernel: cd0: HUAWEI Mass Storage 2.31 Removable
 CD-ROM SCSI-0 device
 Jun 29 23:03:57 bourne kernel: cd0: 1.000MB/s transfers
 Jun 29 23:03:57 bourne kernel: cd0: cd present [52352 x 2048 byte records]
 Jun 29 23:03:57 bourne kernel: da0 at umass-sim0 bus 0 scbus0 target 0 lun
 1
 Jun 29 23:03:57 bourne kernel: da0: HUAWEI SD Storage 2.31 Removable
 Direct Access SCSI-2 device
 Jun 29 23:03:57 bourne kernel: da0: 1.000MB/s transfers
 Jun 29 23:03:57 bourne kernel: da0: 7580MB (15523840 512 byte sectors:
 255H 63S/T 966C)


 Regards,

 Manish Jain
 +91-88064-38388


 On 30-Jun-13 00:41, Odhiambo Washington wrote:

 What is the manufacturer/model of the modem?

 Is it detected by FreeBSD? Please show the /var/log/message entry for it.
 I have never heard of usb_modeswitch.conf in FreeBSD!



 On 29 June 2013 20:53, Manish Jain bourne.ident...@hotmail.com
 mailto:bourne.identity@**hotmail.com bourne.ident...@hotmail.com
 wrote:

 Hello All,

 I have a a Huawei USB modem (product id 0x140b) which is connected
 to my PC. I downloaded and installed Draisberghof's usb_modeswitch.

 The following are the contents of my /etc/usb_modeswitch.conf :

 DisableSwitching=0
 EnableLogging=1
 DefaultVendor=0x12d1
 DefaultProduct=0x140b
 TargetVendor=0x12d1
 TargetProduct=0x1446
 CheckSuccess=20
 MessageEndpoint=0x0f
 MessageContent=__**555342431234567800**__**
 1106200100**__00


 When I run usb_modeswitch -c /etc/usb_modeswitch.conf, I get the
 following message :

 Looking for target devices

Re: Problems getting my Huawei 0x140b USB modem to speak to internet

2013-06-30 Thread Manish Jain

Hello Odhiambo/All,

I installed and ran minicom. There are 2 devices which are possible 
candidates as the modem : cuaU0.0 and cuaU0.2


I symlinked modem to each of the 2 devices and ran minicom. With both 
devices, the AT command returns OK, but AT^U2DIAG=0 returns COMMAND NOT 
SUPPORT


Any tips on what to do next ?


Thanks 
Regards,

Manish Jain
+91-88064-38388

On 30-Jun-13 17:30, freebsd-questions-requ...@freebsd.org wrote:

Send freebsd-questions mailing list submissions to
freebsd-questions@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
freebsd-questions-requ...@freebsd.org

You can reach the person managing the list at
freebsd-questions-ow...@freebsd.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of freebsd-questions digest...


Today's Topics:

1. question, following error Shared object libc.so.6 not
   found, required by fortune (Rev Herbert Miller)
2. Re: question, following error Shared object libc.so.6 not
   found, required by fortune (Polytropon)
3. ALT key problem with Virtual Box? (Scott Ballantyne)
4. Re: ALT key problem with Virtual Box? (Polytropon)
5. Problems getting my Huawei 0x140b USB modem to speak to
   internet (Manish Jain)
6. Re: ALT key problem with Virtual Box? (Scott Ballantyne)
7. Baker Invites freebsd-questions@freebsd.org to spend holiday
   in Goa (John Baker)
8.  (Upali Kulasekara)
9. Re: your mail (Daniel Feenberg)
   10. RE: Problems getting my Huawei 0x140b USB modem to speak to
   internet (Manish Jain)
   11. Re: Problems getting my Huawei 0x140b USB modem to speak to
   internet (Odhiambo Washington)


--

Message: 1
Date: Sat, 29 Jun 2013 10:48:38 -0400
From: Rev Herbert Miller herbertmil...@me.com
To: questi...@freebsd.org
Subject: question, following error Shared object libc.so.6 not
found, required by fortune
Message-ID: 650f01ca-f62f-49e7-957f-9bfdc06d6...@me.com
Content-Type: text/plain; charset=us-ascii

I was trying to use the content management system for our website.  I needed to 
restart on terminal but I keep coming up with the following error:  I don't 
know programing at all, so don't know if this is something I can fix.


Shared object libc.so.6 not found, required by fortune

Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
root@psumc:/usr/local/tomcat5.5 # bin/startup.sh
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
root@psumc:/usr/local/tomcat5.5 # su -c 'killall -9 java'

--

Message: 2
Date: Sat, 29 Jun 2013 17:58:31 +0200
From: Polytropon free...@edvax.de
To: Rev Herbert Miller herbertmil...@me.com
Cc: questi...@freebsd.org
Subject: Re: question, following error Shared object libc.so.6 not
found, required by fortune
Message-ID: 20130629175831.b2bf7fcb.free...@edvax.de
Content-Type: text/plain; charset=US-ASCII

On Sat, 29 Jun 2013 10:48:38 -0400, Rev Herbert Miller wrote:

I was trying to use the content management system for our website.
I needed to restart on terminal but I keep coming up with the
following error:  I don't know programing at all, so don't know
if this is something I can fix.


In worst case, notify your system administrator.




Shared object libc.so.6 not found, required by fortune


This kind of error often indicates an incomplete system update
were libraries are out of date or missing. What way of system
update has been performed?




root@psumc:/usr/local/tomcat5.5 # bin/startup.sh
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program


That can be a side effect, maybe some accidentally overwritten
configuration file or a program that's unable to run due to a
missing dependency?

What happens if you manually define those variables to the proper
valies and try again, e. g.

# setenv JAVA_HOME=/usr/local/where your JAVA stuff is
# setenv JRE_HOME=/usr/local/where your runtime lives
# bin/startup,sh

Does this produce a different result?




root@psumc:/usr/local/tomcat5.5 # su -c 'killall -9 java'


That command doesn't make sense. The prompt indicates that you
are already root. The -c parameter for the su command is missing
an argument, the class. See man su for details, no programming
knowledge required. ;-)



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

Re: Problems getting my Huawei 0x140b USB modem to speak to internet

2013-06-30 Thread Odhiambo Washington
Hi Manish,

If you have a Windows PC, use putty.exe and point the config to the COM
port on which the modem is detected to be attached to.
That's how I do it, unfortunately.



On 30 June 2013 16:51, Manish Jain bourne.ident...@hotmail.com wrote:

 Hello Odhiambo/All,

 I installed and ran minicom. There are 2 devices which are possible
 candidates as the modem : cuaU0.0 and cuaU0.2

 I symlinked modem to each of the 2 devices and ran minicom. With both
 devices, the AT command returns OK, but AT^U2DIAG=0 returns COMMAND NOT
 SUPPORT

 Any tips on what to do next ?


 Thanks 
 Regards,

 Manish Jain
 +91-88064-38388

 On 30-Jun-13 17:30, 
 freebsd-questions-request@**freebsd.orgfreebsd-questions-requ...@freebsd.orgwrote:

 Send freebsd-questions mailing list submissions to
 freebsd-questions@freebsd.org

 To subscribe or unsubscribe via the World Wide Web, visit
 
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 or, via email, send a message with subject or body 'help' to
 
 freebsd-questions-request@**freebsd.orgfreebsd-questions-requ...@freebsd.org

 You can reach the person managing the list at
 
 freebsd-questions-owner@**freebsd.orgfreebsd-questions-ow...@freebsd.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of freebsd-questions digest...


 Today's Topics:

 1. question, following error Shared object libc.so.6 not
found, required by fortune (Rev Herbert Miller)
 2. Re: question, following error Shared object libc.so.6 not
found, required by fortune (Polytropon)
 3. ALT key problem with Virtual Box? (Scott Ballantyne)
 4. Re: ALT key problem with Virtual Box? (Polytropon)
 5. Problems getting my Huawei 0x140b USB modem to speak to
internet (Manish Jain)
 6. Re: ALT key problem with Virtual Box? (Scott Ballantyne)
 7. Baker Invites freebsd-questions@freebsd.org to spend holiday
in Goa (John Baker)
 8.  (Upali Kulasekara)
 9. Re: your mail (Daniel Feenberg)
10. RE: Problems getting my Huawei 0x140b USB modem to speak to
internet (Manish Jain)
11. Re: Problems getting my Huawei 0x140b USB modem to speak to
internet (Odhiambo Washington)


 --**--**
 --

 Message: 1
 Date: Sat, 29 Jun 2013 10:48:38 -0400
 From: Rev Herbert Miller herbertmil...@me.com
 To: questi...@freebsd.org
 Subject: question, following error Shared object libc.so.6 not
 found, required by fortune
 Message-ID: 
 650F01CA-F62F-49E7-957F-**9bfdc06d6...@me.com650f01ca-f62f-49e7-957f-9bfdc06d6...@me.com
 
 Content-Type: text/plain; charset=us-ascii

 I was trying to use the content management system for our website.  I
 needed to restart on terminal but I keep coming up with the following
 error:  I don't know programing at all, so don't know if this is something
 I can fix.


 Shared object libc.so.6 not found, required by fortune

 Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
 At least one of these environment variable is needed to run this program
 root@psumc:/usr/local/tomcat5.**5 # bin/startup.sh
 Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
 At least one of these environment variable is needed to run this program
 root@psumc:/usr/local/tomcat5.**5 # su -c 'killall -9 java'

 --

 Message: 2
 Date: Sat, 29 Jun 2013 17:58:31 +0200
 From: Polytropon free...@edvax.de
 To: Rev Herbert Miller herbertmil...@me.com
 Cc: questi...@freebsd.org
 Subject: Re: question, following error Shared object libc.so.6 not
 found, required by fortune
 Message-ID: 
 20130629175831.b2bf7fcb.**free...@edvax.de20130629175831.b2bf7fcb.free...@edvax.de
 
 Content-Type: text/plain; charset=US-ASCII

 On Sat, 29 Jun 2013 10:48:38 -0400, Rev Herbert Miller wrote:

 I was trying to use the content management system for our website.
 I needed to restart on terminal but I keep coming up with the
 following error:  I don't know programing at all, so don't know
 if this is something I can fix.


 In worst case, notify your system administrator.



  Shared object libc.so.6 not found, required by fortune


 This kind of error often indicates an incomplete system update
 were libraries are out of date or missing. What way of system
 update has been performed?



  root@psumc:/usr/local/tomcat5.**5 # bin/startup.sh
 Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
 At least one of these environment variable is needed to run this program


 That can be a side effect, maybe some accidentally overwritten
 configuration file or a program that's unable to run due to a
 missing dependency?

 What happens if you manually define those variables to the proper
 valies and try again, e. g.

 # setenv JAVA_HOME=/usr/local/where your JAVA stuff

Re: Problems getting my Huawei 0x140b USB modem to speak to internet

2013-06-30 Thread Manish Jain


Hello Odhiambo/All,

I seem to have made some progress but final success still eludes me. 
With modem symlinked to cuaU0.0, this is what happens is minicom :


AT^GETPORTMODE
^GETPORTMODE:TYPE:EV-DO:Qualcomm,MDM:0,DIAG:1,PCUI:2,CDROM:3

OK
AT^SETPORT=A1;1,2,3
COMMAND NOT SUPPORT

AT^GETPORTMODE succeeds, but with AT^U2DIAG/AT^SETPORT I get COMMAND 
NOT SUPPORT. So how to disable the CD mode and make FreeBSD treat it 
purely as a modem ? Some of the commands the modem supports (as reported 
by Windows' device manager) are as follows :


ATQ0V1E0 - OK
AT+GMM - EC156
AT+FCLASS=? - 0,2.0
AT#CLS=? - COMMAND NOT SUPPORT
   ^HRSSILVL:80
   ^HDRRSSI: 31
   ^HRSSILVL:60
   ^HDRRSSI: 31


Thanks for any help.

Regards,

Manish Jain
+91-88064-38388

On 30-Jun-13 19:41, Odhiambo Washington wrote:

Hi Manish,

If you have a Windows PC, use putty.exe and point the config to the COM
port on which the modem is detected to be attached to.
That's how I do it, unfortunately.



On 30 June 2013 16:51, Manish Jain bourne.ident...@hotmail.com
mailto:bourne.ident...@hotmail.com wrote:

Hello Odhiambo/All,

I installed and ran minicom. There are 2 devices which are possible
candidates as the modem : cuaU0.0 and cuaU0.2

I symlinked modem to each of the 2 devices and ran minicom. With
both devices, the AT command returns OK, but AT^U2DIAG=0 returns
COMMAND NOT SUPPORT

Any tips on what to do next ?


Thanks 
Regards,

Manish Jain
+91-88064-38388

On 30-Jun-13 17:30, freebsd-questions-request@__freebsd.org
mailto:freebsd-questions-requ...@freebsd.org wrote:

Send freebsd-questions mailing list submissions to
freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/__mailman/listinfo/freebsd-__questions
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
or, via email, send a message with subject or body 'help' to
freebsd-questions-request@__freebsd.org
mailto:freebsd-questions-requ...@freebsd.org

You can reach the person managing the list at
freebsd-questions-owner@__freebsd.org
mailto:freebsd-questions-ow...@freebsd.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of freebsd-questions digest...


Today's Topics:

 1. question, following error Shared object libc.so.6 not
found, required by fortune (Rev Herbert Miller)
 2. Re: question, following error Shared object libc.so.6 not
found, required by fortune (Polytropon)
 3. ALT key problem with Virtual Box? (Scott Ballantyne)
 4. Re: ALT key problem with Virtual Box? (Polytropon)
 5. Problems getting my Huawei 0x140b USB modem to speak to
internet (Manish Jain)
 6. Re: ALT key problem with Virtual Box? (Scott Ballantyne)
 7. Baker Invites freebsd-questions@freebsd.org
mailto:freebsd-questions@freebsd.org to spend holiday
in Goa (John Baker)
 8.  (Upali Kulasekara)
 9. Re: your mail (Daniel Feenberg)
10. RE: Problems getting my Huawei 0x140b USB modem to speak to
internet (Manish Jain)
11. Re: Problems getting my Huawei 0x140b USB modem to speak to
internet (Odhiambo Washington)



--__--__--

Message: 1
Date: Sat, 29 Jun 2013 10:48:38 -0400
From: Rev Herbert Miller herbertmil...@me.com
mailto:herbertmil...@me.com
To: questi...@freebsd.org
Subject: question, following error Shared object libc.so.6 not
 found, required by fortune
Message-ID: 650f01ca-f62f-49e7-957f-__9bfdc06d6...@me.com
mailto:650f01ca-f62f-49e7-957f-9bfdc06d6...@me.com
Content-Type: text/plain; charset=us-ascii

I was trying to use the content management system for our
website.  I needed to restart on terminal but I keep coming up
with the following error:  I don't know programing at all, so
don't know if this is something I can fix.


Shared object libc.so.6 not found, required by fortune

Neither the JAVA_HOME nor the JRE_HOME environment variable is
defined
At least one of these environment variable is needed to run this
program
root@psumc:/usr/local/tomcat5.__5 # bin/startup.sh
Neither the JAVA_HOME nor the JRE_HOME environment variable is
defined
At least one of these environment variable is needed to run this
program
root@psumc:/usr/local/tomcat5.__5 # su -c 'killall -9 java'

--

Message: 2
Date: Sat, 29 Jun 2013 17:58:31 +0200

Re: Problems getting my Huawei 0x140b USB modem to speak to internet

2013-06-30 Thread Odhiambo Washington
What model of Huawei is the modem? E-what??



On 30 June 2013 19:23, Manish Jain bourne.ident...@hotmail.com wrote:


 Hello Odhiambo/All,

 I seem to have made some progress but final success still eludes me. With
 modem symlinked to cuaU0.0, this is what happens is minicom :

 AT^GETPORTMODE
 ^GETPORTMODE:TYPE:EV-DO:**Qualcomm,MDM:0,DIAG:1,PCUI:2,**CDROM:3

 OK
 AT^SETPORT=A1;1,2,3
 COMMAND NOT SUPPORT

 AT^GETPORTMODE succeeds, but with AT^U2DIAG/AT^SETPORT I get COMMAND NOT
 SUPPORT. So how to disable the CD mode and make FreeBSD treat it purely as
 a modem ? Some of the commands the modem supports (as reported by Windows'
 device manager) are as follows :

 ATQ0V1E0 - OK
 AT+GMM - EC156
 AT+FCLASS=? - 0,2.0
 AT#CLS=? - COMMAND NOT SUPPORT
^HRSSILVL:80
^HDRRSSI: 31
^HRSSILVL:60
^HDRRSSI: 31


 Thanks for any help.

 Regards,

 Manish Jain
 +91-88064-38388


 On 30-Jun-13 19:41, Odhiambo Washington wrote:

 Hi Manish,

 If you have a Windows PC, use putty.exe and point the config to the COM
 port on which the modem is detected to be attached to.
 That's how I do it, unfortunately.



 On 30 June 2013 16:51, Manish Jain bourne.ident...@hotmail.com
 mailto:bourne.identity@**hotmail.com bourne.ident...@hotmail.com
 wrote:

 Hello Odhiambo/All,

 I installed and ran minicom. There are 2 devices which are possible
 candidates as the modem : cuaU0.0 and cuaU0.2

 I symlinked modem to each of the 2 devices and ran minicom. With
 both devices, the AT command returns OK, but AT^U2DIAG=0 returns
 COMMAND NOT SUPPORT

 Any tips on what to do next ?


 Thanks 
 Regards,

 Manish Jain
 +91-88064-38388

 On 30-Jun-13 17:30, 
 freebsd-questions-request@__fr**eebsd.orghttp://freebsd.org

 
 mailto:freebsd-questions-**requ...@freebsd.orgfreebsd-questions-requ...@freebsd.org
 wrote:

 Send freebsd-questions mailing list submissions to
 freebsd-questions@freebsd.org mailto:freebsd-questions@**
 freebsd.org freebsd-questions@freebsd.org


 To subscribe or unsubscribe via the World Wide Web, visit
 http://lists.freebsd.org/__**mailman/listinfo/freebsd-__**
 questionshttp://lists.freebsd.org/__mailman/listinfo/freebsd-__questions

 
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 
 or, via email, send a message with subject or body 'help' to
 freebsd-questions-request@__fr**eebsd.org http://freebsd.org
 
 mailto:freebsd-questions-**requ...@freebsd.orgfreebsd-questions-requ...@freebsd.org
 


 You can reach the person managing the list at
 freebsd-questions-owner@__free**bsd.org http://freebsd.org
 
 mailto:freebsd-questions-**ow...@freebsd.orgfreebsd-questions-ow...@freebsd.org
 


 When replying, please edit your Subject line so it is more
 specific
 than Re: Contents of freebsd-questions digest...


 Today's Topics:

  1. question, following error Shared object libc.so.6 not
 found, required by fortune (Rev Herbert Miller)
  2. Re: question, following error Shared object libc.so.6
 not
 found, required by fortune (Polytropon)
  3. ALT key problem with Virtual Box? (Scott Ballantyne)
  4. Re: ALT key problem with Virtual Box? (Polytropon)
  5. Problems getting my Huawei 0x140b USB modem to speak to
 internet (Manish Jain)
  6. Re: ALT key problem with Virtual Box? (Scott Ballantyne)
  7. Baker Invites freebsd-questions@freebsd.org
 
 mailto:freebsd-questions@**freebsd.orgfreebsd-questions@freebsd.org
 to spend holiday

 in Goa (John Baker)
  8.  (Upali Kulasekara)
  9. Re: your mail (Daniel Feenberg)
 10. RE: Problems getting my Huawei 0x140b USB modem to speak
 to
 internet (Manish Jain)
 11. Re: Problems getting my Huawei 0x140b USB modem to speak
 to
 internet (Odhiambo Washington)


 --**__**
 --__--


 Message: 1
 Date: Sat, 29 Jun 2013 10:48:38 -0400
 From: Rev Herbert Miller herbertmil...@me.com
 mailto:herbertmil...@me.com

 To: questi...@freebsd.org
 Subject: question, following error Shared object libc.so.6 not
  found, required by fortune
 Message-ID: 
 650F01CA-F62F-49E7-957F-__**9bfdc06d6...@me.com650f01ca-f62f-49e7-957f-__9bfdc06d6...@me.com
 
 mailto:650F01CA-F62F-49E7-**957f-9bfdc06d6...@me.com650f01ca-f62f-49e7-957f-9bfdc06d6...@me.com
 

 Content-Type: text/plain; charset=us-ascii

 I was trying to use the content management system for our
 website.  I needed to restart on terminal but I keep coming up
 with the following

Re: Problems getting my Huawei 0x140b USB modem to speak to internet

2013-06-30 Thread Manish Jain
EC156 is what the label on the modem says, which is the response given 
by AT+GMM. 0x140b is the chipset.


Regards,

Manish Jain
+91-88064-38388

On 30-Jun-13 22:02, Odhiambo Washington wrote:

What model of Huawei is the modem? E-what??



On 30 June 2013 19:23, Manish Jain bourne.ident...@hotmail.com
mailto:bourne.ident...@hotmail.com wrote:


Hello Odhiambo/All,

I seem to have made some progress but final success still eludes me.
With modem symlinked to cuaU0.0, this is what happens is minicom :

AT^GETPORTMODE
^GETPORTMODE:TYPE:EV-DO:__Qualcomm,MDM:0,DIAG:1,PCUI:2,__CDROM:3

OK
AT^SETPORT=A1;1,2,3
COMMAND NOT SUPPORT

AT^GETPORTMODE succeeds, but with AT^U2DIAG/AT^SETPORT I get
COMMAND NOT SUPPORT. So how to disable the CD mode and make
FreeBSD treat it purely as a modem ? Some of the commands the modem
supports (as reported by Windows' device manager) are as follows :

ATQ0V1E0 - OK
AT+GMM - EC156
AT+FCLASS=? - 0,2.0
AT#CLS=? - COMMAND NOT SUPPORT
^HRSSILVL:80
^HDRRSSI: 31
^HRSSILVL:60
^HDRRSSI: 31


Thanks for any help.

Regards,

Manish Jain
+91-88064-38388


On 30-Jun-13 19:41, Odhiambo Washington wrote:

Hi Manish,

If you have a Windows PC, use putty.exe and point the config to
the COM
port on which the modem is detected to be attached to.
That's how I do it, unfortunately.



On 30 June 2013 16:51, Manish Jain bourne.ident...@hotmail.com
mailto:bourne.ident...@hotmail.com
mailto:bourne.identity@__hotmail.com
mailto:bourne.ident...@hotmail.com wrote:

 Hello Odhiambo/All,

 I installed and ran minicom. There are 2 devices which are
possible
 candidates as the modem : cuaU0.0 and cuaU0.2

 I symlinked modem to each of the 2 devices and ran minicom.
With
 both devices, the AT command returns OK, but AT^U2DIAG=0
returns
 COMMAND NOT SUPPORT

 Any tips on what to do next ?


 Thanks 
 Regards,

 Manish Jain
 +91-88064-38388

 On 30-Jun-13 17:30,
freebsd-questions-request@__fr__eebsd.org http://freebsd.org

 mailto:freebsd-questions-__requ...@freebsd.org
mailto:freebsd-questions-requ...@freebsd.org wrote:

 Send freebsd-questions mailing list submissions to
freebsd-questions@freebsd.org
mailto:freebsd-questions@freebsd.org
mailto:freebsd-questions@__freebsd.org
mailto:freebsd-questions@freebsd.org


 To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
http://lists.freebsd.org/__mailman/listinfo/freebsd-__questions


http://lists.freebsd.org/__mailman/listinfo/freebsd-__questions
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 or, via email, send a message with subject or body
'help' to
 freebsd-questions-request@__fr__eebsd.org
http://freebsd.org
 mailto:freebsd-questions-__requ...@freebsd.org
mailto:freebsd-questions-requ...@freebsd.org


 You can reach the person managing the list at
 freebsd-questions-owner@__free__bsd.org
http://freebsd.org
 mailto:freebsd-questions-__ow...@freebsd.org
mailto:freebsd-questions-ow...@freebsd.org


 When replying, please edit your Subject line so it is
more specific
 than Re: Contents of freebsd-questions digest...


 Today's Topics:

  1. question, following error Shared object
libc.so.6 not
 found, required by fortune (Rev Herbert Miller)
  2. Re: question, following error Shared object
libc.so.6 not
 found, required by fortune (Polytropon)
  3. ALT key problem with Virtual Box? (Scott
Ballantyne)
  4. Re: ALT key problem with Virtual Box? (Polytropon)
  5. Problems getting my Huawei 0x140b USB modem to
speak to
 internet (Manish Jain)
  6. Re: ALT key problem with Virtual Box? (Scott
Ballantyne)
  7. Baker Invites freebsd-questions@freebsd.org
mailto:freebsd-questions@freebsd.org
 mailto:freebsd-questions@__freebsd.org
mailto:freebsd-questions@freebsd.org to spend holiday

 in Goa (John Baker)
  8.  (Upali Kulasekara)
  9. Re: your mail (Daniel Feenberg)
 10. RE: Problems getting my Huawei 0x140b USB modem
to speak

Re: Problems getting my Huawei 0x140b USB modem to speak to internet

2013-06-30 Thread Odhiambo Washington
If the Huawei modem does not accept AT^U2DIAG=0, then I must say I have
given up. That command has worked with all Huawei modems I have seen: E160,
E1820, E1750, E173...




On 30 June 2013 21:19, Manish Jain bourne.ident...@hotmail.com wrote:

 EC156 is what the label on the modem says, which is the response given by
 AT+GMM. 0x140b is the chipset.

 Regards,

 Manish Jain
 +91-88064-38388


 On 30-Jun-13 22:02, Odhiambo Washington wrote:

 What model of Huawei is the modem? E-what??



 On 30 June 2013 19:23, Manish Jain bourne.ident...@hotmail.com
 mailto:bourne.identity@**hotmail.com bourne.ident...@hotmail.com
 wrote:


 Hello Odhiambo/All,

 I seem to have made some progress but final success still eludes me.
 With modem symlinked to cuaU0.0, this is what happens is minicom :

 AT^GETPORTMODE
 ^GETPORTMODE:TYPE:EV-DO:__**Qualcomm,MDM:0,DIAG:1,PCUI:2,_**_CDROM:3


 OK
 AT^SETPORT=A1;1,2,3
 COMMAND NOT SUPPORT

 AT^GETPORTMODE succeeds, but with AT^U2DIAG/AT^SETPORT I get
 COMMAND NOT SUPPORT. So how to disable the CD mode and make
 FreeBSD treat it purely as a modem ? Some of the commands the modem
 supports (as reported by Windows' device manager) are as follows :

 ATQ0V1E0 - OK
 AT+GMM - EC156
 AT+FCLASS=? - 0,2.0
 AT#CLS=? - COMMAND NOT SUPPORT
 ^HRSSILVL:80
 ^HDRRSSI: 31
 ^HRSSILVL:60
 ^HDRRSSI: 31


 Thanks for any help.

 Regards,

 Manish Jain
 +91-88064-38388


 On 30-Jun-13 19:41, Odhiambo Washington wrote:

 Hi Manish,

 If you have a Windows PC, use putty.exe and point the config to
 the COM
 port on which the modem is detected to be attached to.
 That's how I do it, unfortunately.



 On 30 June 2013 16:51, Manish Jain bourne.ident...@hotmail.com
 mailto:bourne.identity@**hotmail.combourne.ident...@hotmail.com
 
 mailto:bourne.identity@__hotm**ail.com http://hotmail.com

 mailto:bourne.identity@**hotmail.combourne.ident...@hotmail.com
 wrote:

  Hello Odhiambo/All,

  I installed and ran minicom. There are 2 devices which are
 possible
  candidates as the modem : cuaU0.0 and cuaU0.2

  I symlinked modem to each of the 2 devices and ran minicom.
 With
  both devices, the AT command returns OK, but AT^U2DIAG=0
 returns
  COMMAND NOT SUPPORT

  Any tips on what to do next ?


  Thanks 
  Regards,

  Manish Jain
  +91-88064-38388

  On 30-Jun-13 17:30,
 freebsd-questions-request@__fr**__eebsd.orghttp://fr__eebsd.org
 http://freebsd.org

  
 mailto:freebsd-questions-__**requ...@freebsd.orgfreebsd-questions-__requ...@freebsd.org

 
 mailto:freebsd-questions-**requ...@freebsd.orgfreebsd-questions-requ...@freebsd.org
 wrote:

  Send freebsd-questions mailing list submissions to
 freebsd-questions@freebsd.org
 
 mailto:freebsd-questions@**freebsd.orgfreebsd-questions@freebsd.org
 
 mailto:freebsd-questions@__fr**eebsd.org http://freebsd.org

 
 mailto:freebsd-questions@**freebsd.orgfreebsd-questions@freebsd.org
 


  To subscribe or unsubscribe via the World Wide Web, visit
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**
 questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 http://lists.freebsd.org/__**mailman/listinfo/freebsd-__**
 questionshttp://lists.freebsd.org/__mailman/listinfo/freebsd-__questions
 



 http://lists.freebsd.org/__**mailman/listinfo/freebsd-__**
 questionshttp://lists.freebsd.org/__mailman/listinfo/freebsd-__questions
 
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 
  or, via email, send a message with subject or body
 'help' to
  
 freebsd-questions-request@__fr**__eebsd.orghttp://fr__eebsd.org
 http://freebsd.org
  
 mailto:freebsd-questions-__**requ...@freebsd.orgfreebsd-questions-__requ...@freebsd.org

 
 mailto:freebsd-questions-**requ...@freebsd.orgfreebsd-questions-requ...@freebsd.org
 


  You can reach the person managing the list at
  
 freebsd-questions-owner@__free**__bsd.orghttp://free__bsd.org
 http://freebsd.org
  
 mailto:freebsd-questions-__**ow...@freebsd.orgfreebsd-questions-__ow...@freebsd.org

 
 mailto:freebsd-questions-**ow...@freebsd.orgfreebsd-questions-ow...@freebsd.org
 


  When replying, please edit your Subject line so it is
 more specific
  than Re: Contents of freebsd-questions digest...


  Today's Topics:

   1. question

Re: Problems getting my Huawei 0x140b USB modem to speak to internet

2013-06-30 Thread Manish Jain
Sorry for typo. 0x140b is the product ID under vendor Huawei (vendor id 
0x12d1).


Regards,

Manish Jain
+91-88064-38388


On 30-Jun-13 23:49, Manish Jain wrote:

EC156 is what the label on the modem says, which is the response given
by AT+GMM. 0x140b is the chipset.

Regards,

Manish Jain
+91-88064-38388

On 30-Jun-13 22:02, Odhiambo Washington wrote:

What model of Huawei is the modem? E-what??



On 30 June 2013 19:23, Manish Jain bourne.ident...@hotmail.com
mailto:bourne.ident...@hotmail.com wrote:


Hello Odhiambo/All,

I seem to have made some progress but final success still eludes me.
With modem symlinked to cuaU0.0, this is what happens is minicom :

AT^GETPORTMODE
^GETPORTMODE:TYPE:EV-DO:__Qualcomm,MDM:0,DIAG:1,PCUI:2,__CDROM:3

OK
AT^SETPORT=A1;1,2,3
COMMAND NOT SUPPORT

AT^GETPORTMODE succeeds, but with AT^U2DIAG/AT^SETPORT I get
COMMAND NOT SUPPORT. So how to disable the CD mode and make
FreeBSD treat it purely as a modem ? Some of the commands the modem
supports (as reported by Windows' device manager) are as follows :

ATQ0V1E0 - OK
AT+GMM - EC156
AT+FCLASS=? - 0,2.0
AT#CLS=? - COMMAND NOT SUPPORT
^HRSSILVL:80
^HDRRSSI: 31
^HRSSILVL:60
^HDRRSSI: 31


Thanks for any help.

Regards,

Manish Jain
+91-88064-38388


On 30-Jun-13 19:41, Odhiambo Washington wrote:

Hi Manish,

If you have a Windows PC, use putty.exe and point the config to
the COM
port on which the modem is detected to be attached to.
That's how I do it, unfortunately.



On 30 June 2013 16:51, Manish Jain bourne.ident...@hotmail.com
mailto:bourne.ident...@hotmail.com
mailto:bourne.identity@__hotmail.com
mailto:bourne.ident...@hotmail.com wrote:

 Hello Odhiambo/All,

 I installed and ran minicom. There are 2 devices which are
possible
 candidates as the modem : cuaU0.0 and cuaU0.2

 I symlinked modem to each of the 2 devices and ran minicom.
With
 both devices, the AT command returns OK, but AT^U2DIAG=0
returns
 COMMAND NOT SUPPORT

 Any tips on what to do next ?


 Thanks 
 Regards,

 Manish Jain
 +91-88064-38388

 On 30-Jun-13 17:30,
freebsd-questions-request@__fr__eebsd.org http://freebsd.org

 mailto:freebsd-questions-__requ...@freebsd.org
mailto:freebsd-questions-requ...@freebsd.org wrote:

 Send freebsd-questions mailing list submissions to
freebsd-questions@freebsd.org
mailto:freebsd-questions@freebsd.org
mailto:freebsd-questions@__freebsd.org
mailto:freebsd-questions@freebsd.org


 To subscribe or unsubscribe via the World Wide Web,
visit

http://lists.freebsd.org/mailman/listinfo/freebsd-questions
http://lists.freebsd.org/__mailman/listinfo/freebsd-__questions


http://lists.freebsd.org/__mailman/listinfo/freebsd-__questions
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 or, via email, send a message with subject or body
'help' to
 freebsd-questions-request@__fr__eebsd.org
http://freebsd.org
 mailto:freebsd-questions-__requ...@freebsd.org
mailto:freebsd-questions-requ...@freebsd.org


 You can reach the person managing the list at
 freebsd-questions-owner@__free__bsd.org
http://freebsd.org
 mailto:freebsd-questions-__ow...@freebsd.org
mailto:freebsd-questions-ow...@freebsd.org


 When replying, please edit your Subject line so it is
more specific
 than Re: Contents of freebsd-questions digest...


 Today's Topics:

  1. question, following error Shared object
libc.so.6 not
 found, required by fortune (Rev Herbert
Miller)
  2. Re: question, following error Shared object
libc.so.6 not
 found, required by fortune (Polytropon)
  3. ALT key problem with Virtual Box? (Scott
Ballantyne)
  4. Re: ALT key problem with Virtual Box?
(Polytropon)
  5. Problems getting my Huawei 0x140b USB modem to
speak to
 internet (Manish Jain)
  6. Re: ALT key problem with Virtual Box? (Scott
Ballantyne)
  7. Baker Invites freebsd-questions@freebsd.org
mailto:freebsd-questions@freebsd.org
 mailto:freebsd-questions@__freebsd.org
mailto:freebsd-questions@freebsd.org to spend holiday

 in Goa (John Baker)
  8.  (Upali Kulasekara

Problems getting my Huawei 0x140b USB modem to speak to internet

2013-06-29 Thread Manish Jain

Hello All,

I have a a Huawei USB modem (product id 0x140b) which is connected to my 
PC. I downloaded and installed Draisberghof's usb_modeswitch.


The following are the contents of my /etc/usb_modeswitch.conf :

DisableSwitching=0
EnableLogging=1
DefaultVendor=0x12d1
DefaultProduct=0x140b
TargetVendor=0x12d1
TargetProduct=0x1446
CheckSuccess=20
MessageEndpoint=0x0f
MessageContent=55534243123456780011062001

When I run usb_modeswitch -c /etc/usb_modeswitch.conf, I get the 
following message :


Looking for target devices ...
 No devices in target mode or class found
Looking for default devices ...
   found matching product ID
   adding device
 Found device in default mode, class or configuration (1)
Accessing device 010 on bus 000 ...
Getting the current device configuration ...
 OK, got current device configuration (1)
Using interface number 0
Error: can't use storage command in MessageContent with interface 0;
   interface class is 255, should be 8. Aborting.


So my FreeBSD box cannot speak to internet and I have boot MS-DOG for 
this holy purpose. Can someone please suggest a remedy ?


Thanks in advance 
--
Regards,

Manish Jain
+91-88064-38388
___
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


Re: Release 9.1 and 3G usb Modem

2013-03-28 Thread Leonardo Santagostini
Well, after trying so many things with no luck, i will give a try on ubuntu.

I must say all the support that give to me Odhiambo was excellent. Thanks
to all of you, thanks Odhiambo for all your effort.

Lets see what happen.

Saludos / Regards
Leonardo Santagostini

http://ar.linkedin.com/in/santagostini





2013/3/27 Matthias Apitz g...@unixarea.de

 El día Wednesday, March 27, 2013 a las 05:09:22PM -0300, Leonardo
 Santagostini escribió:

  Hello Odhiambo .
 
  The 3G model is Huawei E173 with Movistar Argentina.
 
  Ive tried but i cant see in windows de USB port to have a serial link :(
 
  Saludos / Regards
  Leonardo Santagostini

 Hi,

 Pls check if this E173 card is supported by the /sys/dev/usb/serial/u3g.c
 driver; figure out the vendorID and productID of this card and check if
 it is in the driver to attach to; I own an E220 and an E1750 Huawei card,
 both are just working fine without any tricks.

 matthias
 --
 Sent from my FreeBSD netbook

 Matthias Apitz   |  - No system with backdoors like
 Apple/Android
 E-mail: g...@unixarea.de |  - Never being an iSlave
 WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF
 in E-mail
 phone: +49-170-4527211   |  - Respect for open standards

___
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

Release 9.1 and 3G usb Modem

2013-03-27 Thread Leonardo Santagostini
Hello all.

I have a latitude e6400 with FreeBSD Release 9.1. And i can't get the USB
modem working.

I tried with umodem, u3g but no luck :(

-- Dmesg
root@:/root # dmesg
Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
CPU: Intel(R) Core(TM)2 Duo CPU P8400  @ 2.26GHz (2261.05-MHz 686-class
CPU)
  Origin = GenuineIntel  Id = 0x1067a  Family = 6  Model = 17  Stepping =
10

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

Features2=0x408e3fdSSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
  AMD Features=0x2010NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant, performance statistics
real memory  = 2147483648 (2048 MB)
avail memory = 1967104000 (1875 MB)
Event timer LAPIC quality 400
ACPI APIC Table: DELL   M09
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
kqemu version 0x00010400
kqemu: KQEMU installed, max_locked_mem=980872kB.
acpi0: DELL M09 on motherboard
Timecounter HPET frequency 14318180 Hz quality 950
Event timer HPET frequency 14318180 Hz quality 450
Event timer HPET1 frequency 14318180 Hz quality 440
Event timer HPET2 frequency 14318180 Hz quality 440
Event timer HPET3 frequency 14318180 Hz quality 440
acpi0: reservation of 0, 9f000 (3) failed
acpi0: reservation of 10, 78f4d400 (3) failed
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
atrtc0: AT realtime clock port 0x70-0x71,0x72-0x77 irq 8 on acpi0
Event timer RTC frequency 32768 Hz quality 0
attimer0: AT timer port 0x40-0x43,0x50-0x53 irq 2 on acpi0
Timecounter i8254 frequency 1193182 Hz quality 0
Event timer i8254 frequency 1193182 Hz quality 100
Timecounter ACPI-fast frequency 3579545 Hz quality 900
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
acpi_ec0: Embedded Controller: GPE 0x11 port 0x930,0x934 on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
vgapci0: VGA-compatible display port 0xef70-0xef77 mem
0xf6c0-0xf6ff,0xe000-0xefff irq 16 at device 2.0 on pci0
agp0: Intel GM45 SVGA controller on vgapci0
agp0: aperture size is 256M, detected 32764k stolen memory
vgapci1: VGA-compatible display mem 0xf6b0-0xf6bf at device 2.1
on pci0
pci0: simple comms at device 3.0 (no driver attached)
atapci0: Intel ATA controller port
0xef78-0xef7f,0xef68-0xef6b,0xef80-0xef87,0xef6c-0xef6f,0xef90-0xef9f irq
18 at device 3.2 on pci0
ata2: ATA channel at channel 0 on atapci0
ata3: ATA channel at channel 1 on atapci0
pci0: simple comms, UART at device 3.3 (no driver attached)
em0: Intel(R) PRO/1000 Network Connection 7.3.2 port 0xefe0-0xefff mem
0xf6ae-0xf6af,0xf6adb000-0xf6adbfff irq 22 at device 25.0 on pci0
em0: Using an MSI interrupt
em0: Ethernet address: 00:1e:c9:25:e8:07
uhci0: Intel 82801I (ICH9) USB controller port 0x6f60-0x6f7f irq 20 at
device 26.0 on pci0
uhci0: LegSup = 0x2f00
usbus0 on uhci0
uhci1: Intel 82801I (ICH9) USB controller port 0x6f80-0x6f9f irq 21 at
device 26.1 on pci0
uhci1: LegSup = 0x2f00
usbus1 on uhci1
uhci2: Intel 82801I (ICH9) USB controller port 0x6fa0-0x6fbf irq 22 at
device 26.2 on pci0
uhci2: LegSup = 0x2f00
usbus2 on uhci2
ehci0: Intel 82801I (ICH9) USB 2.0 controller mem 0xfed1c400-0xfed1c7ff
irq 22 at device 26.7 on pci0
usbus3: EHCI version 1.0
usbus3 on ehci0
hdac0: Intel 82801I HDA Controller mem 0xf6adc000-0xf6ad irq 21 at
device 27.0 on pci0
pcib1: ACPI PCI-PCI bridge at device 28.0 on pci0
pci11: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge at device 28.1 on pci0
pci12: ACPI PCI bus on pcib2
iwn0: Intel Ultimate N WiFi Link 5300 mem 0xf69fe000-0xf69f irq 17 at
device 0.0 on pci12
pcib3: ACPI PCI-PCI bridge at device 28.2 on pci0
pci13: ACPI PCI bus on pcib3
uhci3: Intel 82801I (ICH9) USB controller port 0x6f00-0x6f1f irq 20 at
device 29.0 on pci0
uhci3: LegSup = 0x2f00
usbus4 on uhci3
uhci4: Intel 82801I (ICH9) USB controller port 0x6f20-0x6f3f irq 21 at
device 29.1 on pci0
uhci4: LegSup = 0x2f00
usbus5 on uhci4
uhci5: Intel 82801I (ICH9) USB controller port 0x6f40-0x6f5f irq 22 at
device 29.2 on pci0
uhci5: LegSup = 0x2f00
usbus6 on uhci5
ehci1: Intel 82801I (ICH9) USB 2.0 controller mem 0xfed1c000-0xfed1c3ff
irq 20 at device 29.7 on pci0
usbus7: EHCI version 1.0
usbus7 on ehci1
pcib4: ACPI PCI-PCI bridge at device 30.0 on pci0
pci3: ACPI PCI bus on pcib4
cbb0: RF5C476 PCI-CardBus Bridge irq 19 at device 1.0 on pci3
cardbus0: CardBus bus on cbb0
pccard0: 16-bit

Re: Release 9.1 and 3G usb Modem

2013-03-27 Thread Odhiambo Washington
On 27 March 2013 16:29, Leonardo Santagostini lsantagost...@gmail.comwrote:

 Hello all.

 I have a latitude e6400 with FreeBSD Release 9.1. And i can't get the USB
 modem working.

 I tried with umodem, u3g but no luck :(


[snip]


 ugen7.2: HUAWEI at usbus7
 ugen7.2: HUAWEI at usbus7 (disconnected)
 ugen7.2: HUAWEI at usbus7
 umodem0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7
 umodem0: data interface 0, has no CM over data, has no break
 umodem1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7
 umodem1: data interface 1, has no CM over data, has no break
 umodem2: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7
 umodem2: data interface 2, has no CM over data, has no break
 umass0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7
 umass0:  SCSI over Bulk-Only; quirks = 0x
 umass0:9:0:-1: Attached to scbus9
 cd1 at umass-sim0 bus 0 scbus9 target 0 lun 0
 cd1: HUAWEI Mass Storage 2.31 Removable CD-ROM SCSI-2 device
 cd1: 40.000MB/s transfers
 cd1: Attempt to query device size failed: NOT READY, Medium not present
 umass1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7
 umass1:  SCSI over Bulk-Only; quirks = 0x
 umass1:10:1:-1: Attached to scbus10
 da0 at umass-sim1 bus 1 scbus10 target 0 lun 0
 da0: HUAWEI SD Storage 2.31 Removable Direct Access SCSI-2 device
 da0: 40.000MB/s transfers
 da0: Attempt to query device size failed: NOT READY, Medium not present



[snip]

Huawei modem, as I can see. That should be easy.

Connect to the modem through HyperTerminal or Putty on a different machine
Issue the command: AT^U2DIAG=0
That should disable the virtual CD-ROM and FreeBSD will see the modem.

Here are some commands you'll need to know about:
Do you have a Windows PC near you? If you plug the device into it and the
virtualCD pops up, then it means command was not successful. The fact that
fake CD still shows means command did not succeed!

AT^u2diag=0 (all off)
AT^u2diag=1 (CD on, SD off)
AT^u2diag=256 (CD off, SD is on)
AT^u2diag=255 (all on - including SD Card)
AT^u2diag=276 (Factory Reset)
A+CLAC - Display all available commands. However it does not tell you how
to use them



And here is a working ppp.conf - but you need to change the *bolded* values
to match your end of the environment:)

u3g:
 set device */dev/cuaU0.0*
 set server /var/run/3g-internet  0177
 set speed 921600
 set timeout 0
 set authname *saf*
 set authkey *data*
 set dial ABORT BUSY ABORT NO\\sTIMEOUT 2 \
   \\ \
   AT OK-AT-OK \
   AT+CFUN=1 OK-AT-OK \
   AT+CMEE=2 OK-AT-OK \
   AT+CSQ OK \
   AT+CGDCONT=1,\\\IP\\\,\\\*APN*\\\ OK \
   ATD**99#* CONNECT
 set crtscts on
 disable vjcomp
 disable acfcomp
 disable deflate
 disable deflate24
 disable pred1
 disable protocomp
 disable mppe
 disable ipv6cp
 disable lqr
 disable echo
 #nat enable yes
 enable dns
 resolv writable
 set dns 8.8.8.8
 set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0
 add default HISADDR  # See ppp.link*


Lemme know if you get stuck.

Also, always give details about modem - manufacturer, model...


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
I can't hear you -- I'm using the scrambler.
___
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


Re: Release 9.1 and 3G usb Modem

2013-03-27 Thread Leonardo Santagostini
Hello Odhiambo .

The 3G model is Huawei E173 with Movistar Argentina.

Ive tried but i cant see in windows de USB port to have a serial link :(

Saludos / Regards
Leonardo Santagostini





2013/3/27 Odhiambo Washington odhia...@gmail.com


 On 27 March 2013 16:29, Leonardo Santagostini lsantagost...@gmail.comwrote:

 Hello all.

 I have a latitude e6400 with FreeBSD Release 9.1. And i can't get the USB
 modem working.

 I tried with umodem, u3g but no luck :(


 [snip]


 ugen7.2: HUAWEI at usbus7
 ugen7.2: HUAWEI at usbus7 (disconnected)
 ugen7.2: HUAWEI at usbus7
 umodem0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umodem0: data interface 0, has no CM over data, has no break
 umodem1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umodem1: data interface 1, has no CM over data, has no break
 umodem2: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umodem2: data interface 2, has no CM over data, has no break
 umass0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7
 umass0:  SCSI over Bulk-Only; quirks = 0x
 umass0:9:0:-1: Attached to scbus9
 cd1 at umass-sim0 bus 0 scbus9 target 0 lun 0
 cd1: HUAWEI Mass Storage 2.31 Removable CD-ROM SCSI-2 device
 cd1: 40.000MB/s transfers
 cd1: Attempt to query device size failed: NOT READY, Medium not present
 umass1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on usbus7
 umass1:  SCSI over Bulk-Only; quirks = 0x
 umass1:10:1:-1: Attached to scbus10
 da0 at umass-sim1 bus 1 scbus10 target 0 lun 0
 da0: HUAWEI SD Storage 2.31 Removable Direct Access SCSI-2 device
 da0: 40.000MB/s transfers
 da0: Attempt to query device size failed: NOT READY, Medium not present



 [snip]

 Huawei modem, as I can see. That should be easy.

 Connect to the modem through HyperTerminal or Putty on a different machine
 Issue the command: AT^U2DIAG=0
 That should disable the virtual CD-ROM and FreeBSD will see the modem.

 Here are some commands you'll need to know about:
 Do you have a Windows PC near you? If you plug the device into it and the
 virtualCD pops up, then it means command was not successful. The fact that
 fake CD still shows means command did not succeed!

 AT^u2diag=0 (all off)
 AT^u2diag=1 (CD on, SD off)
 AT^u2diag=256 (CD off, SD is on)
 AT^u2diag=255 (all on - including SD Card)
 AT^u2diag=276 (Factory Reset)
 A+CLAC - Display all available commands. However it does not tell you how
 to use them



 And here is a working ppp.conf - but you need to change the *bolded* values
 to match your end of the environment:)

 u3g:
  set device */dev/cuaU0.0*
  set server /var/run/3g-internet  0177
  set speed 921600
  set timeout 0
  set authname *saf*
  set authkey *data*
  set dial ABORT BUSY ABORT NO\\sTIMEOUT 2 \
\\ \
AT OK-AT-OK \
AT+CFUN=1 OK-AT-OK \
AT+CMEE=2 OK-AT-OK \
AT+CSQ OK \
AT+CGDCONT=1,\\\IP\\\,\\\*APN*\\\ OK \
ATD**99#* CONNECT
  set crtscts on
  disable vjcomp
  disable acfcomp
  disable deflate
  disable deflate24
  disable pred1
  disable protocomp
  disable mppe
  disable ipv6cp
  disable lqr
  disable echo
  #nat enable yes
  enable dns
  resolv writable
  set dns 8.8.8.8
  set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0
  add default HISADDR  # See ppp.link*


 Lemme know if you get stuck.

 Also, always give details about modem - manufacturer, model...


 --
 Best regards,
 Odhiambo WASHINGTON,
 Nairobi,KE
 +254733744121/+254722743223
 I can't hear you -- I'm using the scrambler.

___
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


Re: Release 9.1 and 3G usb Modem

2013-03-27 Thread Odhiambo Washington
On Windows, install the modem drivers and make it usable.
Then connect to the port on which it is installed using putty or
HyperTerminal. I am hoping you know how to do that.
Then type the commands:

at^u2diag=0 ENTER
atz ENTER

Disconnect modem and connect to FreeBSD. You will see the modem correctly
identified and connected to a port.

On Windows, when you go to Hardware-Device Manager, look at the Serial
ports available. One of them MUST be the one the modem is using!




On 27 March 2013 23:09, Leonardo Santagostini lsantagost...@gmail.comwrote:

 Hello Odhiambo .

 The 3G model is Huawei E173 with Movistar Argentina.

 Ive tried but i cant see in windows de USB port to have a serial link :(

 Saludos / Regards
  Leonardo Santagostini





 2013/3/27 Odhiambo Washington odhia...@gmail.com


 On 27 March 2013 16:29, Leonardo Santagostini lsantagost...@gmail.comwrote:

 Hello all.

 I have a latitude e6400 with FreeBSD Release 9.1. And i can't get the USB
 modem working.

 I tried with umodem, u3g but no luck :(


 [snip]


 ugen7.2: HUAWEI at usbus7
 ugen7.2: HUAWEI at usbus7 (disconnected)
 ugen7.2: HUAWEI at usbus7
 umodem0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umodem0: data interface 0, has no CM over data, has no break
 umodem1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umodem1: data interface 1, has no CM over data, has no break
 umodem2: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umodem2: data interface 2, has no CM over data, has no break
 umass0: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umass0:  SCSI over Bulk-Only; quirks = 0x
 umass0:9:0:-1: Attached to scbus9
 cd1 at umass-sim0 bus 0 scbus9 target 0 lun 0
 cd1: HUAWEI Mass Storage 2.31 Removable CD-ROM SCSI-2 device
 cd1: 40.000MB/s transfers
 cd1: Attempt to query device size failed: NOT READY, Medium not present
 umass1: HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 2 on
 usbus7
 umass1:  SCSI over Bulk-Only; quirks = 0x
 umass1:10:1:-1: Attached to scbus10
 da0 at umass-sim1 bus 1 scbus10 target 0 lun 0
 da0: HUAWEI SD Storage 2.31 Removable Direct Access SCSI-2 device
 da0: 40.000MB/s transfers
 da0: Attempt to query device size failed: NOT READY, Medium not present



 [snip]

 Huawei modem, as I can see. That should be easy.

 Connect to the modem through HyperTerminal or Putty on a different machine
 Issue the command: AT^U2DIAG=0
 That should disable the virtual CD-ROM and FreeBSD will see the modem.

 Here are some commands you'll need to know about:
 Do you have a Windows PC near you? If you plug the device into it and the
 virtualCD pops up, then it means command was not successful. The fact that
 fake CD still shows means command did not succeed!

 AT^u2diag=0 (all off)
 AT^u2diag=1 (CD on, SD off)
 AT^u2diag=256 (CD off, SD is on)
 AT^u2diag=255 (all on - including SD Card)
 AT^u2diag=276 (Factory Reset)
 A+CLAC - Display all available commands. However it does not tell you how
 to use them



 And here is a working ppp.conf - but you need to change the *bolded* values
 to match your end of the environment:)

 u3g:
  set device */dev/cuaU0.0*
  set server /var/run/3g-internet  0177
  set speed 921600
  set timeout 0
  set authname *saf*
  set authkey *data*
  set dial ABORT BUSY ABORT NO\\sTIMEOUT 2 \
\\ \
AT OK-AT-OK \
AT+CFUN=1 OK-AT-OK \
AT+CMEE=2 OK-AT-OK \
AT+CSQ OK \
AT+CGDCONT=1,\\\IP\\\,\\\*APN*\\\ OK \
ATD**99#* CONNECT
  set crtscts on
  disable vjcomp
  disable acfcomp
  disable deflate
  disable deflate24
  disable pred1
  disable protocomp
  disable mppe
  disable ipv6cp
  disable lqr
  disable echo
  #nat enable yes
  enable dns
  resolv writable
  set dns 8.8.8.8
  set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0
  add default HISADDR  # See ppp.link*


 Lemme know if you get stuck.

 Also, always give details about modem - manufacturer, model...


 --
 Best regards,
 Odhiambo WASHINGTON,
 Nairobi,KE
 +254733744121/+254722743223
 I can't hear you -- I'm using the scrambler.





-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
I can't hear you -- I'm using the scrambler.
___
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


Re: Release 9.1 and 3G usb Modem

2013-03-27 Thread Matthias Apitz
El día Wednesday, March 27, 2013 a las 05:09:22PM -0300, Leonardo Santagostini 
escribió:

 Hello Odhiambo .
 
 The 3G model is Huawei E173 with Movistar Argentina.
 
 Ive tried but i cant see in windows de USB port to have a serial link :(
 
 Saludos / Regards
 Leonardo Santagostini

Hi,

Pls check if this E173 card is supported by the /sys/dev/usb/serial/u3g.c
driver; figure out the vendorID and productID of this card and check if
it is in the driver to attach to; I own an E220 and an E1750 Huawei card,
both are just working fine without any tricks.

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
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


Re: Release 9.1 and 3G usb Modem

2013-03-27 Thread Leonardo Santagostini
Hello Matthias,

thanks for your response, Odhiambo was helping me with this modem with no
luck. Tomorrow we will continuing trying to get this modem running.

Thanks all, and thanks Odhiambo for all the support he is giving to get
this piece working :)

I really apreciate it !!!

Saludos / Regards
Leonardo Santagostini






2013/3/27 Matthias Apitz g...@unixarea.de

 El día Wednesday, March 27, 2013 a las 05:09:22PM -0300, Leonardo
 Santagostini escribió:

  Hello Odhiambo .
 
  The 3G model is Huawei E173 with Movistar Argentina.
 
  Ive tried but i cant see in windows de USB port to have a serial link :(
 
  Saludos / Regards
  Leonardo Santagostini

 Hi,

 Pls check if this E173 card is supported by the /sys/dev/usb/serial/u3g.c
 driver; figure out the vendorID and productID of this card and check if
 it is in the driver to attach to; I own an E220 and an E1750 Huawei card,
 both are just working fine without any tricks.

 matthias
 --
 Sent from my FreeBSD netbook

 Matthias Apitz   |  - No system with backdoors like
 Apple/Android
 E-mail: g...@unixarea.de |  - Never being an iSlave
 WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF
 in E-mail
 phone: +49-170-4527211   |  - Respect for open standards

___
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

PPPOED: reading data of line quality from the A/DSL modem

2012-12-27 Thread O. Hartmann
When using modern SoGo A/DSL routers, most devices do have fancy GUIs
and information screens about the settings of the device and especially
the line quality, like SNR, dampening et cetera.

In my private office, I've setup a FreeBSD server acting like a
gateway/router, replacing my oldish non-IPv6 capable ADSL modem/router.
Using a secondary NIC connecting to the ADSL modem via PPPOED, I'd like
to read some of the important statistsics from the device's chipset like
line quality informations. Sometimes our line here go bad and with the
setup at the moment, I can not check what's wrong.

Also, I have no informations about the actual up- and downstream speed,
which is also important to me.
Since most professional/commercial ADSL routers/modems use opensource
software, most prefereably Linux, I was wondering if there isn't a way
to achieve those data from FreeBSD as well. I prefer the system's tools
in favour over a port installation, but if there is a sophisticated
software, I would appreciate a hint or tip.

Thanks,
Oliver

P.S. Please set me CC, I do not subscribe this list.



signature.asc
Description: OpenPGP digital signature


Re: PPPOED: reading data of line quality from the A/DSL modem

2012-12-27 Thread Peter Vereshagin
Hello.

2012/12/27 11:58:57 +0100 O. Hartmann ohart...@zedat.fu-berlin.de = To 
freebsd-questions@freebsd.org :
OH When using modern SoGo A/DSL routers, most devices do have fancy GUIs

SoHo? Or 'SoGo' is a brand?

OH and information screens about the settings of the device and especially
OH the line quality, like SNR, dampening et cetera.
OH 
OH In my private office, I've setup a FreeBSD server acting like a
OH gateway/router, replacing my oldish non-IPv6 capable ADSL modem/router.
OH Using a secondary NIC connecting to the ADSL modem via PPPOED, I'd like
OH to read some of the important statistsics from the device's chipset like
OH line quality informations. Sometimes our line here go bad and with the
OH setup at the moment, I can not check what's wrong.
OH 
OH Also, I have no informations about the actual up- and downstream speed,
OH which is also important to me.
OH Since most professional/commercial ADSL routers/modems use opensource
OH software, most prefereably Linux, I was wondering if there isn't a way
OH to achieve those data from FreeBSD as well. I prefer the system's tools

It is not clear if you want to install FreeBSD on your modem? That depends on
its model.

OH in favour over a port installation, but if there is a sophisticated
OH software, I would appreciate a hint or tip.

It's kind of unlikely that FreeBSD 'base system' does have a tool(s) to
measure the DSL quality characteristics.  Depending on your modem's model you
can have a telnet(1) interface to it from your FreeBSD server to look up for
line quality information via modem's specific commands by hand.

But telnet(1) doesn't seem to be the notifying tool you think you need. It
should be nothing complicated to make such a tool or install the ready-to-use
software from the FreeBSD Ports system.

Same can go here about the web interface your modem can be controlled by
saying not about the telnet(1) but about web browser, correspondently.

--
Peter Vereshagin pe...@vereshagin.org (http://vereshagin.org) pgp: 1754B9C1
___
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


modem communication

2012-12-15 Thread s m
hello guys,

please forgive me if my question is not related to this list but i don't
know where i should ask about it.

i have a freebsd8.2 and wanna talk my modem by com port. when i connect my
modem to com port, everything is ok.

for some reasons, i have to communicate with modem, run a command, close
the connection, connect again, run another command, close connection,... .
in the other words, in each communication i have to run just one ati
command and close connection.

my question is: are there any ati commands in modems that should be run
continuously (in the same communication)?  i mean running one command,
close connection, open it again and run another command would make any
wrong?

my program should work with all modems not a specific one.

any hints or comments are really appreciated.
sam
___
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


Re: modem communication

2012-12-15 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Sat Dec 15 03:27:08 2012
 Date: Sat, 15 Dec 2012 12:54:44 +0330
 Subject: modem communication
 From: s m sam.gh1...@gmail.com
 To: freebsd-questions@freebsd.org

 hello guys,

 please forgive me if my question is not related to this list but i don't
 know where i should ask about it.

 i have a freebsd8.2 and wanna talk my modem by com port. when i connect my
 modem to com port, everything is ok.

 for some reasons, i have to communicate with modem, run a command, close
 the connection, connect again, run another command, close connection,... .
 in the other words, in each communication i have to run just one ati
 command and close connection.

BAD IDEA(TM)

 my question is: are there any ati commands in modems that should be run
 continuously (in the same communication)?  i mean running one command,
 close connection, open it again and run another command would make any
 wrong?

yes. 


 my program should work with all modems not a specific one.

 any hints or comments are really appreciated.

Open the serial port at the beginning of the 'session', keep it open while
you do everything needed, then (and only then!) close the serial port.



___
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


Re: modem communication

2012-12-15 Thread Polytropon
On Sat, 15 Dec 2012 04:06:54 -0600 (CST), Robert Bonomi wrote:
  From owner-freebsd-questi...@freebsd.org  Sat Dec 15 03:27:08 2012
  Date: Sat, 15 Dec 2012 12:54:44 +0330
  Subject: modem communication
  From: s m sam.gh1...@gmail.com
  To: freebsd-questions@freebsd.org
 
  my program should work with all modems not a specific one.
 
  any hints or comments are really appreciated.
 
 Open the serial port at the beginning of the 'session', keep it open while
 you do everything needed, then (and only then!) close the serial port.

In addition, depending on how you access the modem, e. g.
via open() or fopen(), you could use the corresponding
flush operation - fsync() - to make sure the commands are
written to the modem port _right now_. There should be no
need to re-open the modem for every AT command you send.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


Re: set connection to a modem

2012-12-02 Thread Steve O'Hara-Smith
On Sun, 2 Dec 2012 12:28:59 +0400
Peter Vereshagin pe...@vereshagin.org wrote:

 Hello.
 
 2012/12/02 09:41:12 +0330 s m sam.gh1...@gmail.com = To Chris Petrik :
 sm thanks chris
 sm 
 sm ppp is used when you want connect to internet via modem. 
 
 What if your (or someone else's) ISP use dial-back?
 
 This way ppp(8) can't be used because it's not you want to connect to
 internet but internet wants to connect you?
 
 I believe ppp is an equal peers'  peer-to peer (point-to-point) protocol.
 
 And it can be used for dial-in conections.

Of course it can be used for dial in connections, that's what
happens at the ISP end of the connection. It can also be used for fixed
point to point connections over directly wired connections or leased line
modems or using ATM as a carrier.

All of this is covered in great detail in section IV of the
handbook - 27 Serial Communications and 28 PPP and SLIP.

-- 
Steve O'Hara-Smith at...@sohara.org
___
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


Re: set connection to a modem

2012-12-02 Thread Polytropon
On Sun, 2 Dec 2012 09:41:12 +0330, s m wrote:
 thanks chris
 
 ppp is used when you want connect to internet via modem.

Basically yes, but it can do more than that.



 i just want to
 config my modem by AT command.

This is _exactly_ what PPP does (among other things). :-)

Refer to the example I've provided in an earlier message on
how you can use /etc/ppp/ppp.conf to define the settings for
speed and flow control which will then be processed by PPP,
it will send the _proper_ AT commands using chat (see man chat
for details).

On the other hand, if you use a program like minicom, there
will be a config file provided where you can put your settings
and custom AT commands (if required) into it. I haven't been
using it for long time, but if I remember correctly, the
config file is /usr/local/etc/minirc.something... ???



 when my ppp.conf file is empty, i can talk to my modem so this config file
 do nothing what you want talk to your modem.

The file is only relevant to PPP. If you're using a different
program, it will be ignored. Only PPP reads it at startup.



 if i want to talk to my modem by a specific speed, which config file should
 be changed?

That depends on the _program_ you use to talk to the modem.

Again: If you use ppp, put set speed 115200 (or whatever speed
you need) in ppp.conf's section for your connection. If you are
using a different program, check its documentation to find out
which config file it uses. There is no system-wide configuration
file for what you need.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


Re: set connection to a modem

2012-12-02 Thread Ilya Kazakevich
Hello,

ppp is used when you want connect to internet via modem. i just want to
 config my modem by AT command.
 when my ppp.conf file is empty, i can talk to my modem so this config file
 do nothing what you want talk to your modem.

 if i want to talk to my modem by a specific speed, which config file should
 be changed?


You use some app to talk to your modem via serial port. You may configure
speed for each program.
You use minicom to connect to the remote system manually and you set speed
via minicom config.
You use PPP to connect to the remote system and internetwork with it and
you use ppp.conf to configure speed.

If you are interested in *default* values and port configuration regardless
app you use see:
/dev/ttyuN.init
/dev/cuauN.init
/dev/ttyuN.lock
/dev/cuauN.lock

Please read http://www.freebsd.org/doc/handbook/serial.html
man sio

Ilya.
___
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


Re: set connection to a modem

2012-12-01 Thread Chris Petrik
On 12/1/2012 12:38 AM, saeedeh motlagh wrote:
 thanks Ilya for your reply.  i'm using putty to connect to my modem
 and also/dev/cuauo as the config file. i can co
 nnect to my modem and it responses to AT commands that you suggest so every
 thing is ok.


 my question is: this connection via /dev/cuau0 can be configured, doesn't
 it? and if yes, through which config file i can set these settings such as
 speed, flow control, etc. for this connection?  for example, my modem
 works just
 with a specific speed. how i can tell  /dev/cuau0 device to talk to my
 modem with this speed? as i have no idea how to config the connection speed
 for this /dev/cuau0 device..

 any guidance would be really appreciated.
 thanks


 On Fri, Nov 30, 2012 at 1:19 AM, Fbsd8 fb...@a1poweruser.com wrote:

 s m wrote:

 thanks guys for your replies,

 now i understand two types of connections are available by modem, dial-in
 and dial-out.
 honestly, i should do it for my boss and don't know what he should want
 exactly to do but i am sure that he has an external serial modem and wants
 to config it by AT commands via a freebsd system; therefore i think our
 connection is dial-out.

 now which files i should edit? just ppp.conf? and because our modem
 supports specific speed and flow control, is it necessary to set these
 parameters in my freebsd? and if yes, how i can do that?  please help me
 to
 do that

 thanks


 There are very detailed ppp configuration instructions here
 www.a1poweruser.com


 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org freebsd-questions-unsubscr...@freebsd.org

 ___
 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
I am just poking about so sorry if im off topic but you can possibly use
ppp to do this?
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/userppp.html
___
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


Re: set connection to a modem

2012-11-29 Thread Ilya Kazakevich
Hello,

honestly, i should do it for my boss and don't know what he should want
 exactly to do but i am sure that he has an external serial modem and wants
 to config it by AT commands via a freebsd system; therefore i think our
 connection is dial-out.


1) Make sure your serial port and modem work. Try to talk to your modem
using some tool like minicom (/usr/ports/comms/minicom).
Try to send some AT commands to your modem:
ATZ (should return OK)
ATI7 (should return product info)
ATDTSOME_PHONE (should dial it)


2) To talk to your modem you  will use chat tool, so read man chat

3) To connect your PC to the internet via serial modem you use PPP.
So read
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html

You should understand how PPP works to configure it so you may want to read
http://en.wikipedia.org/wiki/Point-to-point_protocol
or
http://tools.ietf.org/html/rfc1661

Ilya.
___
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


set connection to a modem

2012-11-28 Thread s m
hello guys,

i want to connect my freebsd system to modem and configure it via my
freebsd. i thought that i should change /etc/ttys file to set speed and
other configuration. in order to check if i am right or not, i comment ttyu
line in ttys file and expect the modem got disconnected but the modem still
works and can access to it.

i googled and found that there are three files in /etc that we can edit
them to configure our devices: /etc/ttys, /etc/gettytab and
/etc/rc.d/serial.sh. moreover we can edit init file for each device in /dev
to set default speed and other configuration by stty command.

now i am confused and don't know which file i should edit to set speed and
flow control and other setting to have a connection to my modem. i mean
from which file i can configure my connection? i know it's too easy but
please clear it for me.

yours,
sam
___
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


Re: set connection to a modem

2012-11-28 Thread Matthias Apitz
El día Wednesday, November 28, 2012 a las 01:44:18PM +0330, s m escribió:

 hello guys,
 
 i want to connect my freebsd system to modem and configure it via my
 freebsd. i thought that i should change /etc/ttys file to set speed and
 other configuration. in order to check if i am right or not, i comment ttyu
 line in ttys file and expect the modem got disconnected but the modem still
 works and can access to it.
 
 i googled and found that there are three files in /etc that we can edit
 them to configure our devices: /etc/ttys, /etc/gettytab and
 /etc/rc.d/serial.sh. moreover we can edit init file for each device in /dev
 to set default speed and other configuration by stty command.
 
 now i am confused and don't know which file i should edit to set speed and
 flow control and other setting to have a connection to my modem. i mean
 from which file i can configure my connection? i know it's too easy but
 please clear it for me.

The answer higly depends on what you want todo with your modem; if you
want to dial-out, you do not need the above files; your terminal
application (for example 'kermit') will do this; or the ppp/chat will
do;

if you want to offer dial-in service (for fax or for data/login), check
the ports for 'HylaFAX' or for 'mgetty' and follow the installation
guide;

HIH

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |  - No proprietary attachments
phone: +49-170-4527211   |  - Respect for open standards
___
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


Fwd: set connection to a modem

2012-11-28 Thread Ilya Kazakevich
 i want to connect my freebsd system to modem and configure it via my
 freebsd. i thought that i should change /etc/ttys file to set speed and
 other configuration. in order to check if i am right or not, i comment ttyu
 line in ttys file and expect the modem got disconnected but the modem still
 works and can access to it.

 i googled and found that there are three files in /etc that we can edit
 them to configure our devices: /etc/ttys, /etc/gettytab and
 /etc/rc.d/serial.sh. moreover we can edit init file for each device in /dev
 to set default speed and other configuration by stty command.

 now i am confused and don't know which file i should edit to set speed and
 flow control and other setting to have a connection to my modem. i mean
 from which file i can configure my connection? i know it's too easy but
 please clear it for me.

 yours,
 sam
 ___
 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


Hello,

Modem configuration itself has nothing to do with getty and ttys
(terminals).
You only need them if you want to configure modem for plain dial-in: i.e.
somebody dials you, FreeBSD starts getty on this line, and lets your peer
enter your system.

If you want your peer to use PPP (to use IP over it, for example) you would
not need to configure ttys also.

And you do not need it  if you want to dial-up somewhere too.

What exactly you want to do?

Ilya.
___
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


Re: set connection to a modem

2012-11-28 Thread Polytropon
On Wed, 28 Nov 2012 13:44:18 +0330, s m wrote:
 hello guys,
 
 i want to connect my freebsd system to modem and configure it via my
 freebsd.

For doing _what_ exactly? I ask because depending on your
goal there might be different approaches neccessary:

a) dial out to connect to the Internet
b) dial out to dial in to something else (e. g. shell access)
c) dial out to send a fax
d) dial out to make annoying phone calls :-)
e) dial in so people can dial your system and log in
f) dial in so people can send you fax
g) dial in so you can control something using DTMF
...

There are many possibilities, each requiring a different
thing to do on FreeBSD (because they are obviously different(.

And of course: Are you talking about a real modem (external
serial modem), some modem card (often dysfunctional WinModem),
or a USB modem? Brand and model?



 i thought that i should change /etc/ttys file to set speed and
 other configuration.

Wouldn't you better do this with ppp.conf? Just assuming you
want to dial _out_.



 in order to check if i am right or not, i comment ttyu
 line in ttys file and expect the modem got disconnected but the modem still
 works and can access to it.

The /etc/ttys file doesn't restrict you in controlling the
modem from your host system.



 i googled and found that there are three files in /etc that we can edit
 them to configure our devices: /etc/ttys, /etc/gettytab and
 /etc/rc.d/serial.sh. moreover we can edit init file for each device in /dev
 to set default speed and other configuration by stty command.

Also depends on _what_ you are going to do.



 now i am confused and don't know which file i should edit to set speed and
 flow control and other setting to have a connection to my modem. i mean
 from which file i can configure my connection? i know it's too easy but
 please clear it for me.

Really, I assume you're talking about dialing out with a serial
modem in order to connect to the Internet (or some other system),
and then be networked with it.

In that case you would add an entry to /etc/ppp/ppp.conf. Allow
me to provide an example that I've been using on FreeBSD 4 and 5:

# PPP Configuration File
# See /usr/share/examples/ppp/ for some examples
# $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $

default:
set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)
set device /dev/cuaa0
set speed 115200
set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \\ AT OK-AT-OK 
ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT
set ifaddr 10.0.0.1/0 10.0.0.2/0
set timeout 180
enable dns

papchap:
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
set phone PHONE_NUM
set authname USERNAME
set authkey PASSWORD
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR

mymodem:
set phone 01234567890
set authname myname
set authkey mypass
add default HISADDR

The example name I've chosen here is mymodem. Change it
to something meaningful. :-)

The essential authorisation data here is the phone number
of 01234567890, the username 'myname' and the password 'mypass'

Note that today it may be required to change the device name!
I haven't tried to do anything with a modem on current FreeBSD,
so I can't be more specific, sorry.

The device name /dev/cuaa0 will probably need a change. And
then set speed 115200 sets the speed you need.

If you've done everything properly, you would do something like

# ppp mymodem
ppp dial

Then the modem should dial. With close you close the connection.
There are options for /etc/rc.conf (the ppp_* variables) that
allow you to automate things, like dial on demand.





In contradiction, in /etc/ttys something like

ttyd0   /usr/libexec/getty std.9600 dialup   on  secure

would enable you a serial console access (e. g. to connect a
serial terminal to) at a speed of 9k6 (e. g. a DEC vt100). When
connected via serial cable, you would receive a login prompt.

Again, note that ttyd0 might not be valid here.





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


Re: set connection to a modem

2012-11-28 Thread s m
thanks guys for your replies,

now i understand two types of connections are available by modem, dial-in
and dial-out.
honestly, i should do it for my boss and don't know what he should want
exactly to do but i am sure that he has an external serial modem and wants
to config it by AT commands via a freebsd system; therefore i think our
connection is dial-out.

now which files i should edit? just ppp.conf? and because our modem
supports specific speed and flow control, is it necessary to set these
parameters in my freebsd? and if yes, how i can do that?  please help me to
do that

thanks

On Wed, Nov 28, 2012 at 7:35 PM, Polytropon free...@edvax.de wrote:

 On Wed, 28 Nov 2012 13:44:18 +0330, s m wrote:
  hello guys,
 
  i want to connect my freebsd system to modem and configure it via my
  freebsd.

 For doing _what_ exactly? I ask because depending on your
 goal there might be different approaches neccessary:

 a) dial out to connect to the Internet
 b) dial out to dial in to something else (e. g. shell access)
 c) dial out to send a fax
 d) dial out to make annoying phone calls :-)
 e) dial in so people can dial your system and log in
 f) dial in so people can send you fax
 g) dial in so you can control something using DTMF
 ...

 There are many possibilities, each requiring a different
 thing to do on FreeBSD (because they are obviously different(.

 And of course: Are you talking about a real modem (external
 serial modem), some modem card (often dysfunctional WinModem),
 or a USB modem? Brand and model?



  i thought that i should change /etc/ttys file to set speed and
  other configuration.

 Wouldn't you better do this with ppp.conf? Just assuming you
 want to dial _out_.



  in order to check if i am right or not, i comment ttyu
  line in ttys file and expect the modem got disconnected but the modem
 still
  works and can access to it.

 The /etc/ttys file doesn't restrict you in controlling the
 modem from your host system.



  i googled and found that there are three files in /etc that we can edit
  them to configure our devices: /etc/ttys, /etc/gettytab and
  /etc/rc.d/serial.sh. moreover we can edit init file for each device in
 /dev
  to set default speed and other configuration by stty command.

 Also depends on _what_ you are going to do.



  now i am confused and don't know which file i should edit to set speed
 and
  flow control and other setting to have a connection to my modem. i mean
  from which file i can configure my connection? i know it's too easy but
  please clear it for me.

 Really, I assume you're talking about dialing out with a serial
 modem in order to connect to the Internet (or some other system),
 and then be networked with it.

 In that case you would add an entry to /etc/ppp/ppp.conf. Allow
 me to provide an example that I've been using on FreeBSD 4 and 5:

 # PPP Configuration File
 # See /usr/share/examples/ppp/ for some examples
 # $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $

 default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)
 set device /dev/cuaa0
 set speed 115200
 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \\ AT OK-AT-OK
 ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT
 set ifaddr 10.0.0.1/0 10.0.0.2/0
 set timeout 180
 enable dns

 papchap:
  # edit the next three lines and replace the items in caps with
  # the values which have been assigned by your ISP.
 set phone PHONE_NUM
 set authname USERNAME
 set authkey PASSWORD
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR

 mymodem:
 set phone 01234567890
 set authname myname
 set authkey mypass
 add default HISADDR

 The example name I've chosen here is mymodem. Change it
 to something meaningful. :-)

 The essential authorisation data here is the phone number
 of 01234567890, the username 'myname' and the password 'mypass'

 Note that today it may be required to change the device name!
 I haven't tried to do anything with a modem on current FreeBSD,
 so I can't be more specific, sorry.

 The device name /dev/cuaa0 will probably need a change. And
 then set speed 115200 sets the speed you need.

 If you've done everything properly, you would do something like

 # ppp mymodem
 ppp dial

 Then the modem should dial. With close you close the connection.
 There are options for /etc/rc.conf (the ppp_* variables) that
 allow you to automate things, like dial on demand.





 In contradiction, in /etc/ttys something like

 ttyd0   /usr/libexec/getty std.9600 dialup   on  secure

 would enable you a serial console access (e. g. to connect a
 serial terminal to) at a speed of 9k6 (e. g. a DEC vt100). When
 connected via serial cable, you would receive a login prompt.

 Again, note that ttyd0 might not be valid here.





 --
 Polytropon
 Magdeburg

Re: How to get Huawei EC1561 USB modem working under FreeBSD, 8.2? Moving on to the next problem :-) - Flash in Firefox

2012-07-29 Thread Manish Jain


Hi,

Thanks for your inputs. I have finally got FreeBSD to speak to the 
internet. Now I have one more problem before I can live in peace. I am 
fond of a game hosted via the Discovery channel's website :


http://news.discovery.com/human/games-lumosity-word-bubbles.html

The game needs Adobe flash player. So I installed 
linux-f10-flashplugin11. But firefox 5.0 does not seem to integrate with 
it well. I then tried installing a couple of more ports, including 
swfdec and gnash. Still firefox won't play the game.


Is there something special I need to do ? Thanks for any help.

--
Regards,

Manish Jain
+91-99620-10329
___
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


Re: How to get Huawei EC1561 USB modem working under FreeBSD, 8.2? Moving on to the next problem :-) - Flash in Firefox

2012-07-29 Thread Jerry
On Sun, 29 Jul 2012 23:35:06 +0530
Manish Jain articulated:

 Thanks for your inputs. I have finally got FreeBSD to speak to the 
 internet. Now I have one more problem before I can live in peace. I
 am fond of a game hosted via the Discovery channel's website :
 
 http://news.discovery.com/human/games-lumosity-word-bubbles.html
 
 The game needs Adobe flash player. So I installed 
 linux-f10-flashplugin11. But firefox 5.0 does not seem to integrate
 with it well. I then tried installing a couple of more ports,
 including swfdec and gnash. Still firefox won't play the game.
 
 Is there something special I need to do ? Thanks for any help.

I feel your pain. I have had less than stellar success with getting a
large number of sites to interact correctly with Firefox on FreeBSD when
flash was involved, and sometimes even when it wasn't. I have heard
that Opera works better but I have no personal knowledge of it. I
finally gave up awhile ago. I just use my Windows machine when I
absolutely, positively have to get a site working correctly. Life is
too short to sweat the small stuff and golf is a lot more fun.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

___
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


Re: How to get Huawei EC1561 USB modem working under FreeBSD, 8.2? Moving on to the next problem :-) - Flash in Firefox

2012-07-29 Thread Jeff Tipton

On 07/29/2012 21:31, Jerry wrote:

On Sun, 29 Jul 2012 23:35:06 +0530
Manish Jain articulated:


Thanks for your inputs. I have finally got FreeBSD to speak to the
internet. Now I have one more problem before I can live in peace. I
am fond of a game hosted via the Discovery channel's website :

http://news.discovery.com/human/games-lumosity-word-bubbles.html

The game needs Adobe flash player. So I installed
linux-f10-flashplugin11. But firefox 5.0 does not seem to integrate
with it well. I then tried installing a couple of more ports,
including swfdec and gnash. Still firefox won't play the game.

Is there something special I need to do ? Thanks for any help.

I feel your pain. I have had less than stellar success with getting a
large number of sites to interact correctly with Firefox on FreeBSD when
flash was involved, and sometimes even when it wasn't. I have heard
that Opera works better but I have no personal knowledge of it. I
finally gave up awhile ago. I just use my Windows machine when I
absolutely, positively have to get a site working correctly. Life is
too short to sweat the small stuff and golf is a lot more fun.

I have chromium-15.0.874.121 with linux-f10-flashplugin-11.1r102.55, and 
I set them up as described in the FreeBSD Handbook, and they work OK for 
me. True, I'm not much into games (don't use online games at all) but 
otherwise I've not experienced any problem with sites that use Flash, 
including Youtube.

___
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


Re: How to get Huawei EC1561 USB modem working under FreeBSD, 8.2? Moving on to the next problem :-) - Flash in Firefox

2012-07-29 Thread Jeff Tipton

On 07/29/2012 22:23, Jeff Tipton wrote:

On 07/29/2012 21:31, Jerry wrote:

On Sun, 29 Jul 2012 23:35:06 +0530
Manish Jain articulated:


Thanks for your inputs. I have finally got FreeBSD to speak to the
internet. Now I have one more problem before I can live in peace. I
am fond of a game hosted via the Discovery channel's website :

http://news.discovery.com/human/games-lumosity-word-bubbles.html

The game needs Adobe flash player. So I installed
linux-f10-flashplugin11. But firefox 5.0 does not seem to integrate
with it well. I then tried installing a couple of more ports,
including swfdec and gnash. Still firefox won't play the game.

Is there something special I need to do ? Thanks for any help.

I feel your pain. I have had less than stellar success with getting a
large number of sites to interact correctly with Firefox on FreeBSD when
flash was involved, and sometimes even when it wasn't. I have heard
that Opera works better but I have no personal knowledge of it. I
finally gave up awhile ago. I just use my Windows machine when I
absolutely, positively have to get a site working correctly. Life is
too short to sweat the small stuff and golf is a lot more fun.

I have chromium-15.0.874.121 with linux-f10-flashplugin-11.1r102.55, 
and I set them up as described in the FreeBSD Handbook, and they work 
OK for me. True, I'm not much into games (don't use online games at 
all) but otherwise I've not experienced any problem with sites that 
use Flash, including Youtube.

___
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

P.S. And yes, my midori-0.4.2, too, works well with Flash.
___
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


Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

2012-07-26 Thread Maciej Milewski

On 24.07.2012 10:59, Manish Jain wrote:
Jul 23 22:36:15 bourne kernel: ugen0.2: American Power Conversion at 
usbus0

Jul 23 22:36:15 bourne kernel: ugen1.2: HUAWEI TECHNOLOGIES at usbus1
Jul 23 22:36:15 bourne kernel: umass0: HUAWEI TECHNOLOGIES HUAWEI 
Mobile, class 0/0, rev 1.10/0.00, addr 2 on usbus1
Jul 23 22:36:15 bourne kernel: umass0:  SCSI over Bulk-Only; quirks = 
0x

Jul 23 22:36:15 bourne kernel: ugen2.2: vendor 0x05e3 at usbus2
Jul 23 22:36:15 bourne kernel: uhub7: vendor 0x05e3 USB2.0 Hub, class 
9/0, rev 2.00/77.60, addr 2 on usbus2

Jul 23 22:36:15 bourne kernel: Root mount waiting for: usbus2
Jul 23 22:36:15 bourne kernel: uhub7: 4 ports with 4 removable, self 
powered

Jul 23 22:36:15 bourne kernel: Trying to mount root from ufs:/dev/ad8s2a
Jul 23 22:36:15 bourne kernel: umass0:0:0:-1: Attached to scbus0
Jul 23 22:36:15 bourne kernel: cd0 at umass-sim0 bus 0 scbus0 target 0 
lun 0
Jul 23 22:36:15 bourne kernel: cd0: HUAWEI Mass Storage 2.31 
Removable CD-ROM SCSI-0 device

Jul 23 22:36:15 bourne kernel: cd0: 1.000MB/s transfers
Jul 23 22:36:15 bourne kernel: cd0: cd present [52352 x 2048 byte 
records]
Jul 23 22:36:15 bourne kernel: (probe0:umass-sim0:0:0:1): TEST UNIT 
READY. CDB: 0 20 0 0 0 0
Jul 23 22:36:15 bourne kernel: (probe0:umass-sim0:0:0:1): CAM status: 
SCSI Status Error
Jul 23 22:36:15 bourne kernel: (probe0:umass-sim0:0:0:1): SCSI status: 
Check Condition
Jul 23 22:36:15 bourne kernel: (probe0:umass-sim0:0:0:1): SCSI sense: 
NOT READY asc:3a,0 (Medium not present)
Jul 23 22:36:15 bourne kernel: da0 at umass-sim0 bus 0 scbus0 target 0 
lun 1
Jul 23 22:36:15 bourne kernel: da0: HUAWEI SD Storage 2.31 Removable 
Direct Access SCSI-2 device

Jul 23 22:36:15 bourne kernel: da0: 1.000MB/s transfers
Jul 23 22:36:15 bourne kernel: da0: Attempt to query device size 
failed: NOT READY, Medium not present
cd0 is containing windows drivers on pseudo-CD interface. On my Merlin 
device simple ejecting cd0 is enabling 3 data interfaces from which one 
can be used to connect to the mobile network. However some devices have 
builtin quirk in u3g to make that automagicaly. You can try issuing 
cdcontrol -f /dev/cd0 eject and observe what new is showing in 
/var/log/messages or dmesg.

da0 is probably microSD card reader.

Jul 23 22:36:16 bourne kernel: u3g0: Data Interface on usbus1
Jul 23 22:36:16 bourne kernel: u3g0: Found 3 ports.
Jul 23 22:36:16 bourne root: Unknown USB device: vendor 0x051d product 
0x0002 bus uhub0
Jul 23 22:36:17 bourne root: Unknown USB device: vendor 0x051d product 
0x0002 bus uhub0
Jul 23 22:36:19 bourne apcupsd[1165]: apcupsd 3.14.8 (16 January 2010) 
freebsd startup succeeded

Jul 23 22:36:19 bourne kernel: tun0: link state changed to UP
Jul 23 22:36:19 bourne lpd[1227]: lpd startup: logging=0
Jul 23 22:36:19 bourne kernel: fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
Jul 23 22:36:20 bourne apcupsd[1165]: Power failure.
Jul 23 22:36:21 bourne avahi-daemon[1471]: WARNING: No NSS support for 
mDNS detected, consider installing nss-mdns!

Jul 23 22:36:25 bourne apcupsd[1165]: Running on UPS batteries.
Jul 23 22:36:27 bourne apcupsd[1165]: Mains returned. No longer on UPS 
batteries.
Jul 23 22:36:27 bourne apcupsd[1165]: Power is back. UPS running on 
mains.

Jul 23 22:36:37 bourne login: ROOT LOGIN (root) ON ttyv0
Jul 23 22:36:49 bourne ppp[1217]: tun0: Warning: Chat script failed
Jul 23 22:37:20 bourne ppp[1217]: tun0: Warning: Chat script failed

Any help in pointing out what error I am making will be greatly 
appreciated. Remember, I cannot install any new port since my FreeBSD 
box does not yet connect to the internet.



Thanks 




--
Pozdrawiam,
Maciej Milewski

___
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


Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

2012-07-26 Thread Manish Jain

On 25-Jul-12 21:06, Erich Dollansky wrote:

Hi

On Wed, 25 Jul 2012 20:21:04 +0530
Manish Jainbourne.ident...@hotmail.com  wrote:

On 25-Jul-12 18:53, Erich Dollansky wrote:

On Tue, 24 Jul 2012 14:29:07 +0530
Manish Jainbourne.ident...@hotmail.com   wrote:

On 23-Jul-12 16:07, Erich Dollansky wrote:

On Monday 23 July 2012 16:46:04 Manish Jain wrote:

On 21-Jul-12 19:06, Matthias Apitz wrote:

El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish
Jain escribió:


I tried switching the USB ports and have some information which could
help you to help me :

usbconfig -u 0 -a 2 dump_device_desc :
ugen0.2:HUAWEI Mobile HUAWEI TECHNOLOGIES  at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON

bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0110
bDeviceClass = 0x
bDeviceSubClass = 0x
bDeviceProtocol = 0x
bMaxPacketSize0 = 0x0040
idVendor = 0x12d1
idProduct = 0x140b


This is strange. src/sys/dev/usb/usbdevs says this:

product HUAWEI E140B0x140b  3G modem

This means that your product is supported

Is this line in your usbdevs?


Now what should my devfs.conf contain ? Currently it contains the
following :


Mine is empty. Comment all entries out. This might be the problem.


link cuaU0.0 modem
own modem root:operator
perm modem 666

link ugen0.3 usv
own usv root:operator
perm usv 666

link cuaU0.1 apcups
own apcups root:operator
perm apcups 666

Obviously, these entries are incorrect since neither my modem speaks
to the internet nor is any signal from the APC UPS recognized. I
believe once I have the correct devfs entries, the whole system
should work smoothly. But please correct me if I am wrong.

Surprisingly, /etc/usb_modeswitch.d contains no entries for 12d1:140b
or 051d:*. Do I need to reinstall usb_modeswitch.d ? Or can usbconfig
configure the devices correctly ? I am no expert here, so if yes, I
would need the complete commands.


What version of FreeBSD are you using?


Thanks for any help. I am greatly indebted to FreeBSD and its
philosophy making things 'as simple as possible, but not any simpler'
- which has helped me learn a great deal about computers in general
and managing my own computer in particular. But the USB related stuff
still beats the hell out of me, so I need help here.


There is something very, very simple wrong. I just do not see now what
it is.

I have the feeling that your modem is not recognised while it should be
as it is known to FreeBSD.


BTW, my system now has the usbdump command (installed from sources
downloaded from http://biot.com/usbdump/) but no manpage.


You got then a Linux version which might causes more problems that you
need.

Erich




Hi Erich/Matthias,

I did some tinkering to make _some_ progress. My APC UPS is working fine 
now under FreeBSD (8.2-RELEASE, amd64). I think I also now have the 
correct device setting in ppp.conf (/dev/cuaU0.0, also symlink'ed as 
/dev/modem via devfs.conf). But the modem still does not speak to 
internet. Here is the latest log :


Jul 26 15:16:15 bourne ppp[1199]: Phase: Using interface: tun0
Jul 26 15:16:15 bourne ppp[1199]: Phase: deflink: Created in closed state
Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: default: set device 
/dev/modem

Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: default: set speed 115200
Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: default: set dial ABORT 
BUSY ABORT NO\sCARRIER TIMEOUT 5   AT OK-AT-OK ATFE0V1X1D2C1S0=0 OK 
\dATDT\T TIMEOUT 40 CONNECT

Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: default: set timeout 180
Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: default: enable dns
Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set phone #777
Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set device 
/dev/cuaU0.0

Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set login
Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set authname 
inter...@internet.mtsindia.in
Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set authkey 


Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set timeout 0
Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: disable ipv6cp
Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set ifaddr 
10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0

Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: add default HISADDR
Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: set dial AT+CRM=1
Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: accept PAP CHAP
Jul 26 15:16:15 bourne ppp[1199]: tun0: Command: huawei: enable dns
Jul 26 15:16:15 bourne ppp[1217]: tun0: Phase: PPP Started (auto mode).
Jul 26 15:16:15 bourne ppp[1217]: tun0: Phase: bundle: Establish
Jul 26 15:16:15 bourne ppp[1217]: tun0: Phase: deflink: closed - opening
Jul 26 15:16:15 bourne ppp[1217]: tun0: Phase: deflink: Connected!
Jul 26 15:16:15 bourne ppp[1217]: tun0: Phase: deflink: opening - dial
Jul 26 15:16:15 bourne ppp[1217]: tun0: Chat: Phone

Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

2012-07-26 Thread Robert Bonomi

 From: Manish Jain bourne.ident...@hotmail.com
 Date: Thu, 26 Jul 2012 15:37:23 +0530
 Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

 On 25-Jul-12 21:06, Erich Dollansky wrote:

 I did some tinkering to make _some_ progress. My APC UPS is working fine 
 now under FreeBSD (8.2-RELEASE, amd64). I think I also now have the 
 correct device setting in ppp.conf (/dev/cuaU0.0, also symlink'ed as 
 /dev/modem via devfs.conf). But the modem still does not speak to 
 internet. 

[[ sneck logfile entries ]]

 Could it be that I am using the wrong AT commands ? C

Best guess possibilities -- 
  1) wrong serial port
  2) wrong speed.

Recommend using a simple teminal program, like 'cu' or 'kermit',  try
connecting to each serial port, in succession, and see what happens
when you type the following two lines:
ATE1V1
ATI0  { that is 'AT', then a capital i, followed by a zero }


The idea is to _first_ get 'basic communications' with the modem working, 
_then_ try the chat scipt, then get ppp woking.

Trying to debug -everything- at the same time is a guaanteed recipie for
frustation -- as you're finding out.

One of your prior boot logs showed that _at_that_point_ the O/S was *NOT* 
recognizing the modem.  Log lines showed unknown device  0x140b.  I
presume you have -that- resolved.


___
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


Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

2012-07-26 Thread Matthias Apitz
El día Thursday, July 26, 2012 a las 07:10:00AM -0500, Robert Bonomi escribió:

 [[ sneck logfile entries ]]
 
  Could it be that I am using the wrong AT commands ? C
 
 Best guess possibilities -- 
   1) wrong serial port
   2) wrong speed.
 
 Recommend using a simple teminal program, like 'cu' or 'kermit',  try
 connecting to each serial port, in succession, and see what happens
 when you type the following two lines:
 ATE1V1
 ATI0  { that is 'AT', then a capital i, followed by a zero }
 
 
 The idea is to _first_ get 'basic communications' with the modem working, 
 _then_ try the chat scipt, then get ppp woking.

100% ACK; that's what I have told a numerous of times in this thread,
but it seems that the OP is hint-resistant :-)

HIH

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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


Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

2012-07-25 Thread Erich Dollansky
Hi,

On Tue, 24 Jul 2012 14:29:07 +0530
Manish Jain bourne.ident...@hotmail.com wrote:

 On 23-Jul-12 16:07, Erich Dollansky wrote:
  Hi,
 
  On Monday 23 July 2012 16:46:04 Manish Jain wrote:
  On 21-Jul-12 19:06, Matthias Apitz wrote:
  El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish
  Jain escribió:
 
 
  I am still stuck because I can't know the syntax to run usbdump.
  usbdump
 
  man usbdump
 
  usbconfig gives you the device numbers.

I got something wrong.

It is all done by usbconfig

usbconfig without any parameters gives you a list of devices. One entry
should look like this:

ugen0.4: Huawei CDMA Technologies MSM Huawei, Incorporated at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

You enter then

usbconfig -u 0 -a 4 dump_device_desc

and you should get something like this:

ugen0.4: Huawei CDMA Technologies MSM Huawei, Incorporated at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x12d1 
  idProduct = 0x1803 
  bcdDevice = 0x 
  iManufacturer = 0x0003  Huawei, Incorporated
  iProduct = 0x0002  Huawei CDMA Technologies MSM
  iSerialNumber = 0x  no string
  bNumConfigurations = 0x0001 

You try to find a solution from the other side of the rope. I think we
better start here first.

Erich
___
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


Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

2012-07-25 Thread Matthias Apitz
El día Wednesday, July 25, 2012 a las 08:23:57PM +0700, Erich Dollansky 
escribió:

 You enter then
 
 usbconfig -u 0 -a 4 dump_device_desc
 
 and you should get something like this:
 
 ugen0.4: Huawei CDMA Technologies MSM Huawei, Incorporated at usbus0,
 cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
 
   bLength = 0x0012 
   bDescriptorType = 0x0001 
   bcdUSB = 0x0200 
   bDeviceClass = 0x 
   bDeviceSubClass = 0x 
   bDeviceProtocol = 0x 
   bMaxPacketSize0 = 0x0040 
   idVendor = 0x12d1 
   idProduct = 0x1803 
   bcdDevice = 0x 
   iManufacturer = 0x0003  Huawei, Incorporated
   iProduct = 0x0002  Huawei CDMA Technologies MSM
   iSerialNumber = 0x  no string
   bNumConfigurations = 0x0001 
 
 You try to find a solution from the other side of the rope. I think we
 better start here first.

Yep, I said this already: before there is no modem /dev/ device
which belongs to the Huawei device and produced by u3g, and before one
can not talk with AT cmds (for example with kermit), it makes no
real sense to think in ppp and fire up ppp;

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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


Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

2012-07-25 Thread Manish Jain

On 25-Jul-12 18:53, Erich Dollansky wrote:

Hi,

On Tue, 24 Jul 2012 14:29:07 +0530
Manish Jainbourne.ident...@hotmail.com  wrote:


On 23-Jul-12 16:07, Erich Dollansky wrote:

Hi,

On Monday 23 July 2012 16:46:04 Manish Jain wrote:

On 21-Jul-12 19:06, Matthias Apitz wrote:

El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish
Jain escribió:




I am still stuck because I can't know the syntax to run usbdump.
usbdump


man usbdump

usbconfig gives you the device numbers.


I got something wrong.

It is all done by usbconfig

usbconfig without any parameters gives you a list of devices. One entry
should look like this:

ugen0.4:Huawei CDMA Technologies MSM Huawei, Incorporated  at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

You enter then

usbconfig -u 0 -a 4 dump_device_desc

and you should get something like this:

ugen0.4:Huawei CDMA Technologies MSM Huawei, Incorporated  at usbus0,
cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0200
   bDeviceClass = 0x
   bDeviceSubClass = 0x
   bDeviceProtocol = 0x
   bMaxPacketSize0 = 0x0040
   idVendor = 0x12d1
   idProduct = 0x1803
   bcdDevice = 0x
   iManufacturer = 0x0003Huawei, Incorporated
   iProduct = 0x0002Huawei CDMA Technologies MSM
   iSerialNumber = 0xno string
   bNumConfigurations = 0x0001

You try to find a solution from the other side of the rope. I think we
better start here first.

Erich




Hi,

Thanks for your reply.

I tried switching the USB ports and have some information which could 
help you to help me :


usbconfig -u 0 -a 2 dump_device_desc :
ugen0.2: HUAWEI Mobile HUAWEI TECHNOLOGIES at usbus0, cfg=0 md=HOST 
spd=FULL (12Mbps) pwr=ON


  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0110
  bDeviceClass = 0x
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0040
  idVendor = 0x12d1
  idProduct = 0x140b
  bcdDevice = 0x
  iManufacturer = 0x0001  HUAWEI TECHNOLOGIES
  iProduct = 0x0002  HUAWEI Mobile
  iSerialNumber = 0x0004  
  bNumConfigurations = 0x0001

usbconfig -u 0 -a 3 dump_device_desc :
ugen0.3: Back-UPS ES 650Y-IN FW:853.m4.I USB FW:m4 American Power 
Conversion at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON


  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0110
  bDeviceClass = 0x
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0008
  idVendor = 0x051d
  idProduct = 0x0002
  bcdDevice = 0x0006
  iManufacturer = 0x0003  American Power Conversion
  iProduct = 0x0001  Back-UPS ES 650Y-IN FW:853.m4.I USB FW:m4
  iSerialNumber = 0x0002  BB0926005982  
  bNumConfigurations = 0x0001

Now what should my devfs.conf contain ? Currently it contains the 
following :


link cuaU0.0 modem
own modem root:operator
perm modem 666

link ugen0.3 usv
own usv root:operator
perm usv 666

link cuaU0.1 apcups
own apcups root:operator
perm apcups 666

Obviously, these entries are incorrect since neither my modem speaks to 
the internet nor is any signal from the APC UPS recognized. I believe 
once I have the correct devfs entries, the whole system should work 
smoothly. But please correct me if I am wrong.


Surprisingly, /etc/usb_modeswitch.d contains no entries for 12d1:140b or 
051d:*. Do I need to reinstall usb_modeswitch.d ? Or can usbconfig 
configure the devices correctly ? I am no expert here, so if yes, I 
would need the complete commands.


Thanks for any help. I am greatly indebted to FreeBSD and its philosophy 
making things 'as simple as possible, but not any simpler' - which has 
helped me learn a great deal about computers in general and managing my 
own computer in particular. But the USB related stuff still beats the 
hell out of me, so I need help here.


BTW, my system now has the usbdump command (installed from sources 
downloaded from http://biot.com/usbdump/) but no manpage.



Thanks again 
--
Regards,

Manish Jain
+91-99620-10329
___
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


Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

2012-07-25 Thread Erich Dollansky
Hi

On Wed, 25 Jul 2012 20:21:04 +0530
Manish Jain bourne.ident...@hotmail.com wrote:
 On 25-Jul-12 18:53, Erich Dollansky wrote:
  On Tue, 24 Jul 2012 14:29:07 +0530
  Manish Jainbourne.ident...@hotmail.com  wrote:
  On 23-Jul-12 16:07, Erich Dollansky wrote:
  On Monday 23 July 2012 16:46:04 Manish Jain wrote:
  On 21-Jul-12 19:06, Matthias Apitz wrote:
  El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish
  Jain escribió:
 
 I tried switching the USB ports and have some information which could 
 help you to help me :
 
 usbconfig -u 0 -a 2 dump_device_desc :
 ugen0.2: HUAWEI Mobile HUAWEI TECHNOLOGIES at usbus0, cfg=0 md=HOST 
 spd=FULL (12Mbps) pwr=ON
 
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0110
bDeviceClass = 0x
bDeviceSubClass = 0x
bDeviceProtocol = 0x
bMaxPacketSize0 = 0x0040
idVendor = 0x12d1
idProduct = 0x140b

This is strange. src/sys/dev/usb/usbdevs says this:

product HUAWEI E140B0x140b  3G modem

This means that your product is supported

Is this line in your usbdevs?

 Now what should my devfs.conf contain ? Currently it contains the 
 following :

Mine is empty. Comment all entries out. This might be the problem.
 
 link cuaU0.0 modem
 own modem root:operator
 perm modem 666
 
 link ugen0.3 usv
 own usv root:operator
 perm usv 666
 
 link cuaU0.1 apcups
 own apcups root:operator
 perm apcups 666
 
 Obviously, these entries are incorrect since neither my modem speaks
 to the internet nor is any signal from the APC UPS recognized. I
 believe once I have the correct devfs entries, the whole system
 should work smoothly. But please correct me if I am wrong.
 
 Surprisingly, /etc/usb_modeswitch.d contains no entries for 12d1:140b
 or 051d:*. Do I need to reinstall usb_modeswitch.d ? Or can usbconfig 
 configure the devices correctly ? I am no expert here, so if yes, I 
 would need the complete commands.
 
What version of FreeBSD are you using?

 Thanks for any help. I am greatly indebted to FreeBSD and its
 philosophy making things 'as simple as possible, but not any simpler'
 - which has helped me learn a great deal about computers in general
 and managing my own computer in particular. But the USB related stuff
 still beats the hell out of me, so I need help here.

There is something very, very simple wrong. I just do not see now what
it is.

I have the feeling that your modem is not recognised while it should be
as it is known to FreeBSD.
 
 BTW, my system now has the usbdump command (installed from sources 
 downloaded from http://biot.com/usbdump/) but no manpage.
 
You got then a Linux version which might causes more problems that you
need.

Erich
___
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


Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ?

2012-07-23 Thread Manish Jain

On 21-Jul-12 19:06, Matthias Apitz wrote:

El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish Jain escribió:


Hello Erich/Matthias,

Thanks for your responses.

I do not have the usbdump command on my system. usbconfig gives the
following output :
...
ugen0.2:Back-UPS ES 650Y-IN FW:853.m4.I USB FW:m4 American Power
Conversion  at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
ugen1.2:HUAWEI Mobile HUAWEI TECHNOLOGIES  at usbus1, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON
ugen2.2:USB2.0 Hub vendor 0x05e3  at usbus2, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=SAVE


PFA ppp.log. As you will find, it repeatedly complains of /dev/cuaU0.0
being an invalid file. But the output of 'ls -l' shows the contrary :

...
crw-rw  1 uucp  dialer  0, 143 Jul 21 17:38 cuaU0.0
crw-rw  1 uucp  dialer  0, 144 Jul 21 17:38 cuaU0.0.init
crw-rw  1 uucp  dialer  0, 145 Jul 21 17:38 cuaU0.0.lock
crw-rw  1 uucp  dialer  0, 149 Jul 21 17:38 cuaU0.1
crw-rw  1 uucp  dialer  0, 150 Jul 21 17:38 cuaU0.1.init
crw-rw  1 uucp  dialer  0, 151 Jul 21 17:38 cuaU0.1.lock
crw-rw  1 uucp  dialer  0, 155 Jul 21 17:38 cuaU0.2
crw-rw  1 uucp  dialer  0, 156 Jul 21 17:38 cuaU0.2.init
crw-rw  1 uucp  dialer  0, 157 Jul 21 17:38 cuaU0.2.lock
crw-rw  1 uucp  dialer  0,  44 Jul 21 17:38 cuau0
crw-rw  1 uucp  dialer  0,  45 Jul 21 17:38 cuau0.init
crw-rw  1 uucp  dialer  0,  46 Jul 21 17:38 cuau0.lock
...


Thanks for any tips/help. Which port do I need to install to get usbdump ?

First of all, do not top-post.

'usbdump' is part of the system, but only from beginning at some
version;

Are you sure that /dev/cuaU0.0 belongs to the modem? Please, detach it,
look with 'ls -l /dev/cuaU*' if it went away, attach it again.
Please show the messages from /var/log/messages on attach.

If the /dev/cuaU0.0 device really belongs to the modem, install 'kermit'
from the ports, create a file ~/.kermrc with

set line  /dev/cuaU0.0
set speed 9600
set escape21
set carrier-watch off
set rec   pack 1000
set send  pack 1000
set window5
set prompt FreeBSD Kermit

and check it you can talk to the modem with kermit; the command ATI2
should say something about the modem device.

One should be first able to talk to the modem with a terminal (like
kermit), then bring chat(1) to work and after this watch ppp log, in
that order.

HIH

matthias


Hi,

I am still stuck because I can't know the syntax to run usbdump. usbdump 
says use the id's provided by lsusb but I forgot to install 
sysutils/usbutils while I still had the EC1261 Huawei stick.


Can someone please send me the sources for this port (sysutils/usbutils) 
? I will need the complete sources for PORTVERSION 0.86 as a gzipped tar 
(please remove freebsd-questions@freebsd.org from addresses if sending), 
as I cannot currently connect my FreeBSD box to the internet.


BTW, cuaU0[.*] are always there on my system, whether my EC1561 stick is 
plugged in or not. So I am surely using the wrong device as the modem. 
The following lines are there in my devfs.conf :


link ugen0.2 usv
own usv root:operator
perm usv 666

link cuaU0.0 modem
own modem root:operator
perm modem 666


Thank you 

Regards,

Manish Jain
+91-99620-10329


___
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


Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2?

2012-07-23 Thread Erich Dollansky
Hi,

On Monday 23 July 2012 16:46:04 Manish Jain wrote:
 On 21-Jul-12 19:06, Matthias Apitz wrote:
  El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish Jain escribió:
 

 I am still stuck because I can't know the syntax to run usbdump. usbdump 

man usbdump

usbconfig gives you the device numbers.

 Can someone please send me the sources for this port (sysutils/usbutils) 

All you need at this stage is in the base.

 (please remove freebsd-questions@freebsd.org from addresses if sending), 
 as I cannot currently connect my FreeBSD box to the internet.

If we do no other people will be able to help you.
 
 BTW, cuaU0[.*] are always there on my system, whether my EC1561 stick is 

It might be your UPS.

Erich
___
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


Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ?

2012-07-21 Thread Manish Jain
-rw-rw-  1 root  wheel   0, 100 Jul 21 17:38 mixer1
crw-rw-rw-  1 root  wheel   0, 101 Jul 21 17:38 mixer2
crw-rw-rw-  1 root  wheel   0, 102 Jul 21 17:38 mixer3
lrwxr-xr-x  1 root  wheel7 Jul 21 17:38 modem - cuaU0.0
crw---  1 root  kmem0,  15 Jul 21 17:38 nfslock
dr-xr-xr-x  2 root  wheel  512 Jul 21 17:38 ntfs
crw-rw-rw-  1 root  wheel   0,  28 Jul 21 17:44 null
crw---  1 root  operator0, 133 Jul 21 23:08 pass0
crw---  1 root  operator0, 134 Jul 21 23:08 pass1
crw-r--r--  1 root  wheel   0,  30 Jul 21 17:38 pci
crw---  1 root  wheel   0,  49 Jul 21 17:38 ppi0
crw-rw-rw-  1 root  wheel   0,  52 Jul 21 17:38 psm0
crw-rw-rw-  1 root  wheel   0,   9 Jul 21 17:38 ptmx
crw-rw-rw-  1 root  wheel   0,   7 Jul 21 23:08 random
cr--r--r--  1 root  wheel   0,   6 Jul 21 17:38 sndstat
lrwxr-xr-x  1 root  wheel4 Jul 21 17:38 stderr - fd/2
lrwxr-xr-x  1 root  wheel4 Jul 21 17:38 stdin - fd/0
lrwxr-xr-x  1 root  wheel4 Jul 21 17:38 stdout - fd/1
crw---  1 root  wheel   0,  11 Jul 21 17:38 sysmouse
crw---  1 root  wheel   0, 140 Jul 21 17:38 ttyU0.0
crw---  1 root  wheel   0, 141 Jul 21 17:38 ttyU0.0.init
crw---  1 root  wheel   0, 142 Jul 21 17:38 ttyU0.0.lock
crw---  1 root  wheel   0, 146 Jul 21 17:38 ttyU0.1
crw---  1 root  wheel   0, 147 Jul 21 17:38 ttyU0.1.init
crw---  1 root  wheel   0, 148 Jul 21 17:38 ttyU0.1.lock
crw---  1 root  wheel   0, 152 Jul 21 17:38 ttyU0.2
crw---  1 root  wheel   0, 153 Jul 21 17:38 ttyU0.2.init
crw---  1 root  wheel   0, 154 Jul 21 17:38 ttyU0.2.lock
crw---  1 root  wheel   0,  41 Jul 21 17:38 ttyu0
crw---  1 root  wheel   0,  42 Jul 21 17:38 ttyu0.init
crw---  1 root  wheel   0,  43 Jul 21 17:38 ttyu0.lock
crw---  1 root  tty 0,  54 Jul 21 17:45 ttyv0
crw---  1 root  wheel   0,  55 Jul 21 17:38 ttyv1
crw---  1 root  wheel   0,  56 Jul 21 17:38 ttyv2
crw---  1 root  wheel   0,  57 Jul 21 17:38 ttyv3
crw---  1 root  wheel   0,  58 Jul 21 17:38 ttyv4
crw---  1 root  wheel   0,  59 Jul 21 17:38 ttyv5
crw---  1 root  wheel   0,  60 Jul 21 17:38 ttyv6
crw---  1 root  wheel   0,  61 Jul 21 17:38 ttyv7
crw---  1 root  wheel   0,  62 Jul 21 17:38 ttyv8
crw---  1 root  wheel   0,  63 Jul 21 17:38 ttyv9
crw---  1 root  wheel   0,  64 Jul 21 17:38 ttyva
crw---  1 root  wheel   0,  65 Jul 21 17:38 ttyvb
crw---  1 root  wheel   0,  66 Jul 21 17:38 ttyvc
crw---  1 root  wheel   0,  67 Jul 21 17:38 ttyvd
crw---  1 root  wheel   0,  68 Jul 21 17:38 ttyve
crw---  1 root  wheel   0,  69 Jul 21 17:38 ttyvf
crw---  1 uucp  dialer  0, 158 Jul 21 17:38 tun0
dr-xr-xr-x  2 root  wheel  512 Jul 21 17:38 ufsid
lrwxr-xr-x  1 root  wheel9 Jul 21 17:38 ugen0.1 - usb/0.1.0
lrwxr-xr-x  1 root  wheel9 Jul 21 17:38 ugen0.2 - usb/0.2.0
lrwxr-xr-x  1 root  wheel9 Jul 21 17:38 ugen1.1 - usb/1.1.0
lrwxr-xr-x  1 root  wheel9 Jul 21 17:38 ugen1.2 - usb/1.2.0
lrwxr-xr-x  1 root  wheel9 Jul 21 17:38 ugen2.1 - usb/2.1.0
lrwxr-xr-x  1 root  wheel9 Jul 21 17:38 ugen2.2 - usb/2.2.0
lrwxr-xr-x  1 root  wheel9 Jul 21 17:38 ugen3.1 - usb/3.1.0
lrwxr-xr-x  1 root  wheel9 Jul 21 17:38 ugen4.1 - usb/4.1.0
lrwxr-xr-x  1 root  wheel9 Jul 21 17:38 ugen5.1 - usb/5.1.0
lrwxr-xr-x  1 root  wheel9 Jul 21 17:38 ugen6.1 - usb/6.1.0
lrwxr-xr-x  1 root  wheel6 Jul 21 17:38 urandom - random
dr-xr-xr-x  2 root  wheel  512 Jul 21 17:38 usb
crw-r--r--  1 root  operator0,  71 Jul 21 17:38 usbctl
lrwxr-xr-x  1 root  wheel7 Jul 21 17:38 usv - ugen0.2
crw---  1 root  operator0,  72 Jul 21 17:38 xpt0
crw-rw-rw-  1 root  wheel   0,  29 Jul 21 17:38 zero


Thanks for any tips/help. Which port do I need to install to get usbdump ?

Regards,

Manish Jain
+91-99620-10329


On 21-Jul-12 07:10, Erich Dollansky wrote:

Hi,

On Friday 20 July 2012 19:25:21 Manish Jain wrote:

I earlier had a Huawei EC1261-based USB modem which used to connect
smoothly to the internet under FreeBSD 8.2 using the u3g module. For
some reasons, I have had to switch to another provider (MTS) who swapped
the Huawei EC1261-based USB modem with a Huawei EC1561-based USB modem.
And my FreeBSD system cannot connect to the internet anymore.


both modems are not officially supported by FreeBSD.

You might get some help from the list if you provide the output of usbconfig 
and usbdump.

You run usbconfig first to find out the device numbers of the modem and then 
dump with usbdump the description of the modem.


Here are the contents of my ppp.conf (I assume authkey means password) :

There should nothing to be done here as the modem is not recognised

Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ?

2012-07-21 Thread Matthias Apitz
El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish Jain escribió:

 
 Hello Erich/Matthias,
 
 Thanks for your responses.
 
 I do not have the usbdump command on my system. usbconfig gives the 
 following output :
 ...

 ugen0.2: Back-UPS ES 650Y-IN FW:853.m4.I USB FW:m4 American Power 
 Conversion at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
 ugen1.2: HUAWEI Mobile HUAWEI TECHNOLOGIES at usbus1, cfg=0 md=HOST 
 spd=FULL (12Mbps) pwr=ON
 ugen2.2: USB2.0 Hub vendor 0x05e3 at usbus2, cfg=0 md=HOST spd=HIGH 
 (480Mbps) pwr=SAVE
 
 
 PFA ppp.log. As you will find, it repeatedly complains of /dev/cuaU0.0 
 being an invalid file. But the output of 'ls -l' shows the contrary :
 
 ...
 crw-rw  1 uucp  dialer  0, 143 Jul 21 17:38 cuaU0.0
 crw-rw  1 uucp  dialer  0, 144 Jul 21 17:38 cuaU0.0.init
 crw-rw  1 uucp  dialer  0, 145 Jul 21 17:38 cuaU0.0.lock
 crw-rw  1 uucp  dialer  0, 149 Jul 21 17:38 cuaU0.1
 crw-rw  1 uucp  dialer  0, 150 Jul 21 17:38 cuaU0.1.init
 crw-rw  1 uucp  dialer  0, 151 Jul 21 17:38 cuaU0.1.lock
 crw-rw  1 uucp  dialer  0, 155 Jul 21 17:38 cuaU0.2
 crw-rw  1 uucp  dialer  0, 156 Jul 21 17:38 cuaU0.2.init
 crw-rw  1 uucp  dialer  0, 157 Jul 21 17:38 cuaU0.2.lock
 crw-rw  1 uucp  dialer  0,  44 Jul 21 17:38 cuau0
 crw-rw  1 uucp  dialer  0,  45 Jul 21 17:38 cuau0.init
 crw-rw  1 uucp  dialer  0,  46 Jul 21 17:38 cuau0.lock
 ...
 
 
 Thanks for any tips/help. Which port do I need to install to get usbdump ?

First of all, do not top-post.

'usbdump' is part of the system, but only from beginning at some
version;

Are you sure that /dev/cuaU0.0 belongs to the modem? Please, detach it,
look with 'ls -l /dev/cuaU*' if it went away, attach it again.
Please show the messages from /var/log/messages on attach.

If the /dev/cuaU0.0 device really belongs to the modem, install 'kermit'
from the ports, create a file ~/.kermrc with

set line  /dev/cuaU0.0
set speed 9600
set escape21
set carrier-watch off
set rec   pack 1000
set send  pack 1000
set window5
set prompt FreeBSD Kermit

and check it you can talk to the modem with kermit; the command ATI2
should say something about the modem device.

One should be first able to talk to the modem with a terminal (like
kermit), then bring chat(1) to work and after this watch ppp log, in
that order.

HIH

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5
___
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


How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ?

2012-07-20 Thread Manish Jain


Hello all,

I earlier had a Huawei EC1261-based USB modem which used to connect 
smoothly to the internet under FreeBSD 8.2 using the u3g module. For 
some reasons, I have had to switch to another provider (MTS) who swapped 
the Huawei EC1261-based USB modem with a Huawei EC1561-based USB modem. 
And my FreeBSD system cannot connect to the internet anymore.


Here are the contents of my ppp.conf (I assume authkey means password) :

default:
 set log Phase Chat LCP IPCP CCP tun command
 allow users bourne
 set device /dev/cuaU0.0
 set speed 115200
 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
 \\ AT OK-AT-OK ATFE0V1X1D2C1S0=0 OK \\dATDT\\T TIMEOUT 40 CONNECT
 set timeout 180 # 3 minute idle timer (the default)
 enable dns # request DNS info (for resolv.conf)

huawei:
 set phone #777
 set login
 set authname inter...@internet.mtsindia.in
 set authkey MTS
 set timeout 0
 disable ipv6cp
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR
 set dial AT+CRM=1
 accept CHAP

The u3g module is loaded at boot-time via /etc/rc.local :

kldload u3g
sleep 3
ppp -auto huawei

I am using opendns/google servers for DNS in resolv.conf :

208.67.222.222
8.8.8.8

DNS cannot really be an issue because when I ping the IP address 
208.67.222.222, I get 100% packet loss.


Can someone please point me in the right direction so that my FreeBSD 
system starts connecting to the internet using the new modem ?



Thank you 
--
Regards,

Manish Jain
+91-99620-10329
___
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


Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ?

2012-07-20 Thread Matthias Apitz
El día Friday, July 20, 2012 a las 05:55:21PM +0530, Manish Jain escribió:

 
 Hello all,
 
 I earlier had a Huawei EC1261-based USB modem which used to connect 
 smoothly to the internet under FreeBSD 8.2 using the u3g module. For 
 some reasons, I have had to switch to another provider (MTS) who swapped 
 the Huawei EC1261-based USB modem with a Huawei EC1561-based USB modem. 
 And my FreeBSD system cannot connect to the internet anymore.
 
 Here are the contents of my ppp.conf (I assume authkey means password) :
 
 default:
   set log Phase Chat LCP IPCP CCP tun command
   allow users bourne
   set device /dev/cuaU0.0
   set speed 115200
   set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
   \\ AT OK-AT-OK ATFE0V1X1D2C1S0=0 OK \\dATDT\\T TIMEOUT 40 CONNECT
   set timeout 180 # 3 minute idle timer (the default)
   enable dns # request DNS info (for resolv.conf)
 
 huawei:
   set phone #777
   set login
   set authname inter...@internet.mtsindia.in
   set authkey MTS
   set timeout 0
   disable ipv6cp
   set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
   add default HISADDR
   set dial AT+CRM=1
   accept CHAP
 
 The u3g module is loaded at boot-time via /etc/rc.local :
 
 kldload u3g
 sleep 3
 ppp -auto huawei

Please provide the logs of chat and ppp;

matthias
-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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


Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ?

2012-07-20 Thread Erich Dollansky
Hi,

On Friday 20 July 2012 19:25:21 Manish Jain wrote:
 
 I earlier had a Huawei EC1261-based USB modem which used to connect 
 smoothly to the internet under FreeBSD 8.2 using the u3g module. For 
 some reasons, I have had to switch to another provider (MTS) who swapped 
 the Huawei EC1261-based USB modem with a Huawei EC1561-based USB modem. 
 And my FreeBSD system cannot connect to the internet anymore.
 
both modems are not officially supported by FreeBSD.

You might get some help from the list if you provide the output of usbconfig 
and usbdump.

You run usbconfig first to find out the device numbers of the modem and then 
dump with usbdump the description of the modem.

 Here are the contents of my ppp.conf (I assume authkey means password) :

There should nothing to be done here as the modem is not recognised.

Erich
___
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


Huawei E173 modem doesn't work on FreeBSD 9

2012-07-19 Thread Arif Budiman
Hi Folks,
I'm failed to access E173 modem on FreeBSD 9.0 using serial port. Yes, I
got information from the web that this device is not supported yet by the
default driver, and the u3g driver need to be updated. (
http://freebsd.1045724.n5.nabble.com/usb-159919-Patch-for-HUAWEI-E173-u3g-umodem-td4716191.html).
I already follow
all the instruction but unfortunately still failed.
Till now i'm stuck with this device. I turn to Ubuntu server, the modem
works well there.

Bellow is output of usbconfig:

# usbconfig
ugen0.1: UHCI root HUB Intel at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen1.1: UHCI root HUB Intel at usbus1, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen2.1: UHCI root HUB Intel at usbus2, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen3.1: UHCI root HUB Intel at usbus3, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen4.1: EHCI root HUB Intel at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE
ugen4.2: HUAWEI Mobile HUAWEI at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=ON
ugen1.2: USB Keykoard USB at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps)
pwr=ON

# usbconfig -d 4.2 dump_device_desc
ugen4.2: HUAWEI Mobile HUAWEI at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=ON

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x
  bDeviceSubClass = 0x
  bDeviceProtocol = 0x
  bMaxPacketSize0 = 0x0040
  idVendor = 0x12d1
  idProduct = 0x1c05
  bcdDevice = 0x0102
  iManufacturer = 0x0002  HUAWEI
  iProduct = 0x0001  HUAWEI Mobile
  iSerialNumber = 0x  no string
  bNumConfigurations = 0x0001


Do you have any suggestions guys?

thanks
___
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


driver for cell phone modem

2012-06-07 Thread Fbsd8

Running 9.0 and thinking about changing to this verizon model 551L usb
cell phone modem.
http://www.verizonwireless.com/b2c/store/controller?item=phoneFirstaction=viewPhoneDetailselectedPhoneId=5632

It's a usb plugin cell modem for internet access.

Before I go through the purchase and signup process I want to verify
Freebsd has a driver that works with this 4G cell device.

Thanks

___
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


Re: driver for cell phone modem

2012-06-07 Thread Matthias Apitz
El día Thursday, June 07, 2012 a las 12:00:26PM -0400, Fbsd8 escribió:

 Running 9.0 and thinking about changing to this verizon model 551L usb
 cell phone modem.
 http://www.verizonwireless.com/b2c/store/controller?item=phoneFirstaction=viewPhoneDetailselectedPhoneId=5632
 
 It's a usb plugin cell modem for internet access.
 
 Before I go through the purchase and signup process I want to verify
 Freebsd has a driver that works with this 4G cell device.

I haven't accessed the above specifications (if there are any at all)
because the page asks data I'm unwilling to enter;

In general, it depends. If the cellphone (like my Openmoko Freerunner)
acts on USB as an Ethernet device (man cdce) and itself then as a router
to the provider, it will work; if it gives direct serial access to the
chips, it must be checked based on the USB vendorID and productID.

Look for a dealer who allows to connect it once to your laptop and read
the ID with usbconfig(8).

HIH

matthias

-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
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


Re: driver for cell phone modem

2012-06-07 Thread Lars Eighner

On Thu, 7 Jun 2012, Fbsd8 wrote:


Running 9.0 and thinking about changing to this verizon model 551L usb
cell phone modem.



http://www.verizonwireless.com/b2c/store/controller?\
item=phoneFirstaction=viewPhoneDetailselectedPhoneId=5632


Your link does not lead to specific information about this device.  However,
I gather it is a LTE device, which is good because at least some are
supported (whereas no WiMax devices are supported).  Moreover, the promise
of Linux and Mac 10.4+ compatibility seems a positive sign.  But I can't
find anything that flatly says it will work with FreeBSD.

Have you considered a mobile (or base station) hotspot?  Since these will
connect with up to five wi-fi devices, and you can almost certainly find a
dongle that will work with your ethernet card, maybe you should take a look
at them.



It's a usb plugin cell modem for internet access.

Before I go through the purchase and signup process I want to verify
Freebsd has a driver that works with this 4G cell device.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


Re: Connect to Clear hub modem

2012-05-24 Thread Lars Eighner

On Wed, 23 May 2012, Warren Block wrote:


On Wed, 23 May 2012, Lars Eighner wrote:


Whoops!  By imaginary, I meant not really on the internet, but in
198.168.x.x block reserved for private netting.

This combination of things seems to work in rc.conf:

network_interfaces=lo0 re0


That is normally not needed.


ifconfig=DCHP
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0


These are variable assignments, and the second line overwrites the value 
assigned by the first.  The first alone is preferable because DHCP will do 
other setup, like the route and resolve.conf.



Actually, it seems DCHP won't do it alone.  But doing without DCHP does
work.  Since I gather DCHP  the other stuff can introduce contradictions,
I'm doing without DCHP until I understand this better.

If I can get x.org to work with tty switching again, I'll further
investigate the combinations.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


Re: Connect to Clear hub modem

2012-05-24 Thread Warren Block

On Thu, 24 May 2012, Lars Eighner wrote:


On Wed, 23 May 2012, Warren Block wrote:


On Wed, 23 May 2012, Lars Eighner wrote:


Whoops!  By imaginary, I meant not really on the internet, but in
198.168.x.x block reserved for private netting.

This combination of things seems to work in rc.conf:

network_interfaces=lo0 re0


That is normally not needed.


ifconfig=DCHP
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0


These are variable assignments, and the second line overwrites the value 
assigned by the first.  The first alone is preferable because DHCP will do 
other setup, like the route and resolve.conf.



Actually, it seems DCHP won't do it alone.  But doing without DCHP does
work.  Since I gather DCHP  the other stuff can introduce contradictions,
I'm doing without DCHP until I understand this better.


Looking at the code above again, there's an error.  The first line is 
not going to do anything (I think, rc.conf has surprised me before). 
It should have the interface name.  So either of these two lines should 
work:


ifconfig_re0=DHCP
  or
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0

If both were in rc.conf, the second would overwrite the earlier one.

I generally use SYNCDHCP to be sure a lease is obtained before the rc 
scripts go on.

___
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


Re: Connect to Clear hub modem

2012-05-24 Thread Lars Eighner

On Thu, 24 May 2012, Warren Block wrote:

Looking at the code above again, there's an error.  The first line is not 
going to do anything (I think, rc.conf has surprised me before). It should 
have the interface name.  So either of these two lines should work:


ifconfig_re0=DHCP
 or
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0


I am only following up here because someday someone may find this thread in
the archives.

We are talking about the Clear hub modem (which is for wireless but can be
connect by ethernet cable).

 ifconfig_re0=DHCP

doesn't work.  Possibly because the hub so far as I can get it to reveal
itself is running DHCP itself.

This does work:

network_interfaces=lo0 re0
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0
defaultrouter=192.168.15.1


If they were both having DHCP, could some kind of race condition result,
where they are dynamically reassigning each other?  I don't know.  I'm
guessing at any rate, if you can firmly deliver the local machine to the
tender mercies of the Clear hub, it will take over everything.

Okay, so I can't explain it, but works convinces me.

Perhaps as I move to the wireless side some light will be shed.  I gather
the ethernet cable connection is supposed to be the bullet-proof fallback
for this device.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


Re: Connect to Clear hub modem

2012-05-23 Thread Lars Eighner

On Wed, 23 May 2012, Robert Bonomi wrote:


From owner-freebsd-questi...@freebsd.org  Tue May 22 23:03:03 2012
Date: Tue, 22 May 2012 22:58:39 -0500 (CDT)
From: Lars Eighner luvbeas...@larseighner.com
To: freebsd-questions@freebsd.org
Subject: Connect to Clear hub modem


This is NOT a wireless question.

I am running FreeBSD 8.3-p1.

I want to connect to Clear Wireless Internet.  I know I cannot do this with
a Clear dongle, because Clear uses WiMax which is not supported.

Instead I have a Clear hub modem.  I want to connect by ethernet to it by
wire.

I get this from ifconfig:

re0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
ether 40:61:86:e9:96:0e
media: Ethernet autoselect (100baseTX full-duplex)
status: active

But I don't have a clue what to do from here.

The hub is supposed to have a web page at (imaginary address) 192.168.15.1,
but I haven't been able to raise it.


Whoops!  By imaginary, I meant not really on the internet, but in
198.168.x.x block reserved for private netting.

This combination of things seems to work in rc.conf:

network_interfaces=lo0 re0
ifconfig=DCHP
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0
defaultrouter=192.168.15.1

This seems to be the basic setup for all Clear hub modems for fixed
locations.  It may or may not be a step in the right direct for Clear mobile
hotspot type modems.

I also added the nameservers that the hub told me about to resolv.conf
although it is not clear to me that this is consulted.

tun0 will stomp all over this configuration (which is, as a reminder, wire
ethernet connection to Clear hub-modem) and pppoe is not pertinent on
your side anyway.  It is much simpler than I thought.  You can leave
/etc/ppp/ppp.conf alone in case you have to drop back - just don't invoke
tunX in rc.conf.

Also part of the learning experience before the original question: ethernet
cables are not created equal.  Use the one that comes in the modem box (four
wire), not some two-wire cable you have lying around.

Later today, dongles that will work with FreeBSD are expected to arrive, so
we will see whether it is possible to get wireless connections to the Clear
hub modem.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


Re: Connect to Clear hub modem

2012-05-23 Thread Warren Block

On Wed, 23 May 2012, Lars Eighner wrote:


Whoops!  By imaginary, I meant not really on the internet, but in
198.168.x.x block reserved for private netting.

This combination of things seems to work in rc.conf:

network_interfaces=lo0 re0


That is normally not needed.


ifconfig=DCHP
ifconfig_re0=inet 192.168.15.2 netmask 255.255.255.0


These are variable assignments, and the second line overwrites the 
value assigned by the first.  The first alone is preferable because DHCP 
will do other setup, like the route and resolve.conf.



defaultrouter=192.168.15.1

This seems to be the basic setup for all Clear hub modems for fixed
locations.  It may or may not be a step in the right direct for Clear mobile
hotspot type modems.

I also added the nameservers that the hub told me about to resolv.conf
although it is not clear to me that this is consulted.


DHCP will do that for you.
___
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


Connect to Clear hub modem

2012-05-22 Thread Lars Eighner


This is NOT a wireless question.

I am running FreeBSD 8.3-p1.

I want to connect to Clear Wireless Internet.  I know I cannot do this with
a Clear dongle, because Clear uses WiMax which is not supported.

Instead I have a Clear hub modem.  I want to connect by ethernet to it by
wire.

I get this from ifconfig:

re0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500

options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
ether 40:61:86:e9:96:0e
media: Ethernet autoselect (100baseTX full-duplex)
status: active

But I don't have a clue what to do from here.

The hub is supposed to have a web page at (imaginary address) 192.168.15.1,
but I haven't been able to raise it.

The handbook has only a couple of references to ethernet, neither of which
seem to apply here, and seem to be from the point of view of setting up a
hub server, but the hub is more or less a black box to me.

If anyone has already done this, please explain -- slowly and loudly.

Oh, yeah, Clear Customer Service is strictly for the entertainment of
masochists.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


Re: Connect to Clear hub modem

2012-05-22 Thread Chuck Swiger
On May 22, 2012, at 8:58 PM, Lars Eighner wrote:
 But I don't have a clue what to do from here.

Try running 'dhclient'.  If that works, add this to /etc/rc.conf:

  ifconfig_re0=DHCP

 The hub is supposed to have a web page at (imaginary address) 192.168.15.1,
 but I haven't been able to raise it.

If the above doesn't work, try:

  ifconfig re0 inet 192.168.15.2 netmask 255.255.255.0
  route add default 192.168.15.1

Regards,
-- 
-Chuck

___
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


Re: Connect to Clear hub modem

2012-05-22 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Tue May 22 23:03:03 2012
 Date: Tue, 22 May 2012 22:58:39 -0500 (CDT)
 From: Lars Eighner luvbeas...@larseighner.com
 To: freebsd-questions@freebsd.org
 Subject: Connect to Clear hub modem


 This is NOT a wireless question.

 I am running FreeBSD 8.3-p1.

 I want to connect to Clear Wireless Internet.  I know I cannot do this with
 a Clear dongle, because Clear uses WiMax which is not supported.

 Instead I have a Clear hub modem.  I want to connect by ethernet to it by
 wire.

 I get this from ifconfig:

 re0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500
 options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
 ether 40:61:86:e9:96:0e
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active

 But I don't have a clue what to do from here.

 The hub is supposed to have a web page at (imaginary address) 192.168.15.1,
 but I haven't been able to raise it.

 The handbook has only a couple of references to ethernet, neither of which
 seem to apply here, and seem to be from the point of view of setting up a
 hub server, but the hub is more or less a black box to me.

 If anyone has already done this, please explain -- slowly and loudly.

If the 'imaginary' address you gave above, is really something other than
'192.168.5.1', substitute the actual first 3 parts of the 'real' address
for '192.168.5' everywhere below. and the actual 4th part for the .1
address.  

This will be a several step process.  Some of the things are 'just
temporary', so you can see how to do subsequent things.

First:  use the 'ifconfig' command to set an IP addreess for your machine,
  so that you can 'see' what the Clear hub configuration is.

   ifconfig re0 192.168.5.2 netmask 255.255.255.0

Also, just for grins, we'll set up a 'default' route, to see if we can
  see the 'world'.

   route add default 192.168.5.1

Now, fire up a web browser, and enter  the 'imaginary' webserver address
in the browser's 'address' space.  hit the enter key.

Tell us what you get, and we can proceed from there.


*Probably*  just enabling DHCP in /etc/rc.conf, on the 're' interface
(that is, adding the following line to that file):

  ifconfig_re=DHCP

And re-booting is all you'll need.

___
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


modem

2012-04-04 Thread tim smith

Well, I checked the log for ppp, nothing I could see. There's not much as I 
still can't send the modem an AT, so...

--- On Tue, 3/4/12, tim smith timsmi...@yahoo.com wrote:

 From: tim smith timsmi...@yahoo.com
 Subject: modem
 To: freebsd-questions@freebsd.org
 Date: Tuesday, 3 April, 2012, 8:49 AM
 
 My us robotics serial modem worked without issue on previous
 freebsd versions. With 9, user ppp term, I get /dev/cuau0/
 device failed to open
 
 Suggestions?
 
 Tim

___
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


Re: modem

2012-04-04 Thread Polytropon
On Wed, 4 Apr 2012 15:10:47 -0700 (PDT), tim smith wrote:
 
 Well, I checked the log for ppp, nothing I could see.
 There's not much as I still can't send the modem an AT, so...

Could you verify the presence of the cuau* file in /dev?
Maybe you can post the essential parts of your ppp.conf
as well as significant changes to your kernel (in case
you're not using the GENERIC kernel; check device uart),
and /boot/loader.conf?

And finally, can you show the _full_ error message that
you receive, maybe also informational parts of the ppp
log file?

What steps of diagnosis and testing could you already
accomplish (with which results)?


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


Re: modem

2012-04-03 Thread Polytropon
On Tue, 3 Apr 2012 09:39:38 +0700, Erich Dollansky wrote:
 Hi,
 
 On Tuesday 03 April 2012 06:49:55 tim smith wrote:
  
  My us robotics serial modem worked without issue on previous freebsd 
  versions. With 9, user ppp term, I get /dev/cuau0/ device failed to open
  
  Suggestions?
  
 what does 
 
 ls /dev
 
 say?
 
 Is the modem at least seen by FreeBSD?

Erm... seen by FreeBSD? I have never noticed something
like that. The OS sees the _serial port_ devices and assigns
a device in /dev, but the modem itself does not cause any further
action.

I've been using an Elsa Microlink serial modem in the past.
By the time the serial subsystem in FreeBSD changed, I didn't
use it anymore, but I assume /dev/cuau0, /dev/cuau0.init and
/dev/cuau0.lock should be present when the serial port is
configured correctly. See man 4 sio for details.

A ppp session protocol would also be interesting for
diagnosis purposes.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


Re: modem

2012-04-03 Thread Roland Smith
On Mon, Apr 02, 2012 at 04:49:55PM -0700, tim smith wrote:
 
 My us robotics serial modem worked without issue on previous freebsd
 versions. With 9, user ppp term, I get /dev/cuau0/ device failed to open

 * If you have built a custom kernel, check that the kernel config includes
   the uart device, or that it is loaded as a module.
 * Does the failure to open list an error number (see 'man errno')? if so,
   please post it here.
 * If the error is EPERM or EACCES, check that the ppp process has read/write
   access to the device.
 * If there is anything related to the error in your ppp logfile, please post
   it as well.

Roland
-- 
R.F.Smith   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp70LhQUQgvh.pgp
Description: PGP signature


modem

2012-04-02 Thread tim smith

My us robotics serial modem worked without issue on previous freebsd versions. 
With 9, user ppp term, I get /dev/cuau0/ device failed to open

Suggestions?

Tim
___
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


Re: modem

2012-04-02 Thread Erich Dollansky
Hi,

On Tuesday 03 April 2012 06:49:55 tim smith wrote:
 
 My us robotics serial modem worked without issue on previous freebsd 
 versions. With 9, user ppp term, I get /dev/cuau0/ device failed to open
 
 Suggestions?
 
what does 

ls /dev

say?

Is the modem at least seen by FreeBSD?

Erich
___
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


Re: help needed for connecting internet with ZTE ac 8700 USB cdma ( EvDO) modem

2012-02-03 Thread Erich Dollansky
Hi,

On Friday 03 February 2012 17:46:58 Subhasish Chakraborty wrote:
 tail /var/log/ppp.log looks fine but dont know why this is showing at the end 
 .
 
 Warning: 0.0.0.0: Change route failed: errno: No such process..
 
I have the same message but a working connection. I investigated at the 
beginning but gave up after some time.

Erich
 regards
 
 Subhasish
 
 On 2/3/12, Subhasish Chakraborty imsubhasi...@gmail.com wrote:
  Thanks .. this ppp.conf worked for me .
 
  default:
   set log Phase Chat LCP IPCP CCP tun command
   disable pred1 deflate deflate24 protocomp acfcomp shortseq vj
   deny pred1 deflate deflate24 protocomp acfcomp shortseq vj
   set speed 115200
   enable dns
 
  isp:
   set login
   set ctsrts on
   set device /dev/cuaU0.0
   set phone \#777
   set authname USER
   set authkey PASS
   set dial ABORT BUSY ABORT NO\\sCARRIER \
 TIMEOUT 5 \
 \\ ATE1 \
 OK-AT-OK ATQ0V1X4 \
 OK \\dATDT\\T \
 TIMEOUT 40 \
 CONNECT
 
   set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
   add default HISADDR
   enable dns
   nat enable yes
   nat deny_incoming yes
  ...
 
  Thanks again :-)
 
  On 2/3/12, Erich Dollansky erichfreebsdl...@ovitrap.com wrote:
  Hi,
 
  On Thursday 02 February 2012 22:43:21 Subhasish Chakraborty wrote:
  at last connected .. thanks a lot man . So have to automate the
  process..
 
  put the commands now into your ppp.conf. Put nothing else into it and
  forget
  all what was in there before. You can - after it works - add more for
  debugging.
 
  Erich
 
  Regards
 
  Subhasish
 
  On 2/2/12, Erich Dollansky erichfreebsdl...@ovitrap.com wrote:
   Hi,
  
   try
  
set ctsrts on
  
   Check the man pages for ppp. You see there several commands and
   options
   which might will help you. I really cannot tell why my modem works. It
   was
   just a strange trial and error sequence until it started to work.
  
   ppp does not detect that there is a carrier. The command above might
   fixes
   this.
  
   Erich
   On Thursday 02 February 2012 20:59:06 Subhasish Chakraborty wrote:
   atd#777
  
   CONNECT
   ~!E ~~!E ~~!E ~~!E ~~!E~~!E~~!E~~!E ~~!E ~~!E ~~!E ,�H1:y1:qe��~~!E
   ~~!E
   
  
  
   ..endless loop ..
  
  
   I guess it's not coming out of terminal mode to packet mode. Do i
   have
   to
   put some extra commands .Thanks for the quick reply ..
  
   Regards
  
   Subhasish
  
  
 
 
 
 
 
 
___
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


help needed for connecting internet with ZTE ac 8700 USB cdma ( EvDO) modem

2012-02-02 Thread Subhasish Chakraborty
I am new to Free bsd and installed PC-BSD 9 recently in my desktop. Its a
dual boot with windows 7 and I use ZTE ac8700 to connect to internet. From
windows the Usb stick is working fine ahe driver for windows need phone no
#777 , username and password to connect . I tested the device and its
working fine in Linux too . But in PC-BSD neither  the default gui is
working nor the CLI is clicking. A wvdial port might have helped as in
linux it worked like charm with real easy configuration. I have some
duckduckgo-ing and tryed to edit a few configuration on my own as gui is
not helping .

In my my PC-BSD /etc/ppp/ppp.conf file looks like .


default:

set log Phase Chat LCP IPCP CCP tun command
ident user-ppp VERSION (built COMPILATIONDATE)

set device /dev/cuaU0.0

set speed 115200

set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT
set timeout 180 # 3 minute idle timer (the default)

enable dns # request DNS info (for resolv.conf)




isp:

set phone #777

set authname Username

set authkey pass

set dns 208.67.220.220 208.67.222.222 # openDNS

#set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0

# add default HISADDR
enable dns




Now ppp -ddial isp gives me



kernel: tun0: link state changed to UP

ppp[18473]: tun0: Warning: Chat script failed

in /var/log/messages ..

can someone please put some light on whats wrong in here or please help me
to write a ppp.config

Here's the output of my pc configuration ..

usbconfig

ugen0.1: OHCI root HUB ATI at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen1.1: OHCI root HUB ATI at usbus1, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen2.1: OHCI root HUB ATI at usbus2, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen3.1: OHCI root HUB ATI at usbus3, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen4.1: OHCI root HUB ATI at usbus4, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen5.1: EHCI root HUB ATI at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE
ugen0.2: product 0x08da vendor 0x046d at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON
ugen0.3: ZTE CDMA Tech ZTE, Incorporated at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON


sysctl -a dev.u3g

dev.u3g.0.%desc: Data Interface
dev.u3g.0.%driver: u3g
dev.u3g.0.%location: bus=1 hubaddr=2 port=0 devaddr=3 interface=0
dev.u3g.0.%pnpinfo: vendor=0x19d2 product=0xfffe devclass=0x00
devsubclass=0x00 sernum= release=0x mode=host intclass=0xff
intsubclass=0xff intprotocol=0xff ttyname=U0 ttyports=4
dev.u3g.0.%parent: uhub0


ls -l /dev/cuaU*

crw-rw 1 uucp dialer 0, 153 Feb 2 13:39 /dev/cuaU0.0
crw-rw 1 uucp dialer 0, 154 Feb 2 13:30 /dev/cuaU0.0.init
crw-rw 1 uucp dialer 0, 155 Feb 2 13:30 /dev/cuaU0.0.lock
crw-rw 1 uucp dialer 0, 159 Feb 2 13:30 /dev/cuaU0.1
crw-rw 1 uucp dialer 0, 160 Feb 2 13:30 /dev/cuaU0.1.init
crw-rw 1 uucp dialer 0, 161 Feb 2 13:30 /dev/cuaU0.1.lock
crw-rw 1 uucp dialer 0, 165 Feb 2 13:30 /dev/cuaU0.2
crw-rw 1 uucp dialer 0, 166 Feb 2 13:30 /dev/cuaU0.2.init
crw-rw 1 uucp dialer 0, 167 Feb 2 13:30 /dev/cuaU0.2.lock
crw-rw 1 uucp dialer 0, 171 Feb 2 13:30 /dev/cuaU0.3
crw-rw 1 uucp dialer 0, 172 Feb 2 13:30 /dev/cuaU0.3.init
crw-rw 1 uucp dialer 0, 173 Feb 2 13:30 /dev/cuaU0.3.lock
..
thanks
___
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


enabling usb modem onda msa 190 up on FreeBSD-8.2

2011-08-27 Thread Fudelancio Smartel

   I´m trying to enable my usb modem msa 190 up and I don´t find any driver on  
ifconfig just a lo0, plip0 and eth0. This is a 3G broadband mobile connection. 
Why eth0 is detected if I have just a 3G broadband usb modem Onda msa 190 up in 
a usb port?
   Regards
___
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


What USB dialup modem WILL work with 8.2?

2011-08-26 Thread Lars Eighner


On the basis of what I now believe was malicious advice, I am out of pocket
for a USB US Robotics 56k dialup modem.  However, this device attaches as a
ugen device.  I haven't found a way to make ppp on demand work with it
attached that way.

I do not load umass because I am using hplip and it must be grabbed by ugen. 
Otherwise my kernel is generic.  However, I would be very surprised that

umass is necessary for the modem to attach correctly.

So I am asking again: does anyone have a dialup modem of any kind which
works correctly on 8.x to provide ppp-on-demand? If so what is it?

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


Re: What USB dialup modem WILL work with 8.2?

2011-08-26 Thread Matthias Apitz
El día Friday, August 26, 2011 a las 01:34:03PM -0500, Lars Eighner escribió:

 
 On the basis of what I now believe was malicious advice, I am out of pocket
 for a USB US Robotics 56k dialup modem.  However, this device attaches as a
 ugen device.  I haven't found a way to make ppp on demand work with it
 attached that way.
 
 I do not load umass because I am using hplip and it must be grabbed by ugen. 
 Otherwise my kernel is generic.  However, I would be very surprised that
 umass is necessary for the modem to attach correctly.
 
 So I am asking again: does anyone have a dialup modem of any kind which
 works correctly on 8.x to provide ppp-on-demand? If so what is it?

Check out ucom(4) or ubsa(4) if your device is supported. I'm using USB
based UMTS modems with ubsa.ko with success.

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
___
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


Re: What USB dialup modem WILL work with 8.2?

2011-08-26 Thread Erik Trulsson
On Fri, Aug 26, 2011 at 01:34:03PM -0500, Lars Eighner wrote:
 
 On the basis of what I now believe was malicious advice, I am out of pocket
 for a USB US Robotics 56k dialup modem.  However, this device attaches as a
 ugen device.  I haven't found a way to make ppp on demand work with it
 attached that way.
 
 I do not load umass because I am using hplip and it must be grabbed by ugen. 
 Otherwise my kernel is generic.  However, I would be very surprised that
 umass is necessary for the modem to attach correctly.

umass should certainly not be needed for a modem to work, it is for
hard disks and the like.

What probably is needed on the other hand is umodem(4) and/or ucom(4). 
I do not belive they are included in a GENERIC kernel so you might not
have those modules loaded.

If you have not already tried it make sure those modules are loaded
and see if your modem attaches to umodem.


 
 So I am asking again: does anyone have a dialup modem of any kind which
 works correctly on 8.x to provide ppp-on-demand? If so what is it?

IF you have a classic RS-232 serial port that is supported then any
external modem that connects via RS-232 should work. 

As for what serial ports work is another question. Just about all of
those built-in on motherboards should work, but unfortunately many
modern motherboards do not include serial ports any longer.
Expansion cards (PCI or PCI-E) may or may not work depending on exactly
what chips are used on the cards.  (If that use classic 16550A chips
(or a good copy thereof) chances are excellent that it will work. If
they use more modern (and more powerful) chips the chances are not
quite so excellent.)


(As for promises about what *will* 100% guaranteed work, which seems to
be what you really want, I am afraid I can't give any.  It has been
several years since I last used a dialup modem, so I don't know for
sure what *will* work with todays software, only what should work.)



-- 
Insert your favourite quote here.
Erik Trulsson
ertr1...@student.uu.se
___
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


Re: What USB dialup modem WILL work with 8.2?

2011-08-26 Thread Mike Tancsa
On 8/26/2011 3:21 PM, Erik Trulsson wrote:
 So I am asking again: does anyone have a dialup modem of any kind which
 works correctly on 8.x to provide ppp-on-demand? If so what is it?
 (As for promises about what *will* 100% guaranteed work, which seems to
 be what you really want, I am afraid I can't give any.  It has been
 several years since I last used a dialup modem, so I don't know for
 sure what *will* work with todays software, only what should work.)


Works for me once umodem is loaded as a kld...

# usbconfig show_ifdrv
ugen0.1: OHCI root HUB AMD at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen0.1.0: uhub0: AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1
ugen1.1: EHCI root HUB AMD at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=SAVE
ugen1.1.0: uhub1: AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1
ugen1.2: USB Modem U.S.Robotics at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=ON
ugen1.2.0: umodem0: AltIf0

ugen1.2: USB Modem U.S.Robotics at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0002 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0baf 
  idProduct = 0x0303 
  bcdDevice = 0x0200 
  iManufacturer = 0x0001  U.S.Robotics
  iProduct = 0x0002  USB Modem
  iSerialNumber = 0x000a  002
  bNumConfigurations = 0x0001 

# sysctl -a dev.umodem
dev.umodem.0.%desc: AltIf0
dev.umodem.0.%driver: umodem
dev.umodem.0.%location: bus=1 hubaddr=2 port=1 devaddr=2 interface=0
dev.umodem.0.%pnpinfo: vendor=0x0baf product=0x0303 devclass=0x02 
devsubclass=0x00 sernum=002 release=0x0200 mode=host intclass=0x02 
intsubclass=0x02 intprotocol=0x01  ttyname=U0 ttyports=1
dev.umodem.0.%parent: uhub1


# cu -l /dev/cuaU0
Connected
ati
5601

OK
ati2
OK
ati3
U.S. Robotics 56K FAX USB V1.1.0

OK


Also just tried this modem below which I am surprised works!  

http://www.ncix.com/products/?sku=60062vpn=TFM-561Umanufacture=TRENDnet

# usbconfig show_ifdrv
ugen0.1: OHCI root HUB AMD at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen0.1.0: uhub0: AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1
ugen1.1: EHCI root HUB AMD at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=SAVE
ugen1.1.0: uhub1: AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1
ugen0.2: USB Modem Conexant at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen0.2.0: umodem0: Conexant USB Modem, class 2/0, rev 1.10/1.00, addr 2

ugen0.2: USB Modem Conexant at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0110 
  bDeviceClass = 0x0002 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0572 
  idProduct = 0x1329 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  Conexant
  iProduct = 0x0002  USB Modem
  iSerialNumber = 0x0003  24680246
  bNumConfigurations = 0x0002 



# cu -l /dev/cuaU0
Connected
ati
56000

OK
ati2
OK
ati3
CX93001-EIS_V0.2002-V92

OK
# sysctl -a dev.umodem
dev.umodem.0.%desc: Conexant USB Modem, class 2/0, rev 1.10/1.00, addr 2
dev.umodem.0.%driver: umodem
dev.umodem.0.%location: bus=1 hubaddr=1 port=0 devaddr=2 interface=0
dev.umodem.0.%pnpinfo: vendor=0x0572 product=0x1329 devclass=0x02 
devsubclass=0x00 sernum=24680246 release=0x0100 mode=host intclass=0x02 
intsubclass=0x02 intprotocol=0x01  ttyname=U0 ttyports=1
dev.umodem.0.%parent: uhub0

---Mike




-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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


Re: What USB dialup modem WILL work with 8.2?

2011-08-26 Thread Lars Eighner

On Fri, 26 Aug 2011, Mike Tancsa wrote:


On 8/26/2011 3:21 PM, Erik Trulsson wrote:

So I am asking again: does anyone have a dialup modem of any kind which
works correctly on 8.x to provide ppp-on-demand? If so what is it?

(As for promises about what *will* 100% guaranteed work, which seems to
be what you really want, I am afraid I can't give any.  It has been
several years since I last used a dialup modem, so I don't know for
sure what *will* work with todays software, only what should work.)



Works for me once umodem is loaded as a kld...



bingo.

ucom was in my nearly GENERIC conf, so was ubsa and some other modules
mentioned.  umodem wasn't - and if the line was in GENERIC or NOTES I must
have deleted it for some reason instead of commenting it out.  Nonetheless,
locate reveals it is being built.  Works when it is loaded and creates
cuaU0.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


Re: What USB dialup modem WILL work with 8.2?

2011-08-26 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Fri Aug 26 18:21:24 2011
 Date: Fri, 26 Aug 2011 18:19:13 -0500 (CDT)
 From: Lars Eighner luvbeas...@larseighner.com
 To: Mike Tancsa m...@sentex.net
 Cc: freebsd-questions@freebsd.org
 Subject: Re: What USB dialup modem WILL work with 8.2?

 On Fri, 26 Aug 2011, Mike Tancsa wrote:

  On 8/26/2011 3:21 PM, Erik Trulsson wrote:
  So I am asking again: does anyone have a dialup modem of any kind which
  works correctly on 8.x to provide ppp-on-demand? If so what is it?
  (As for promises about what *will* 100% guaranteed work, which seems to
  be what you really want, I am afraid I can't give any.  It has been
  several years since I last used a dialup modem, so I don't know for
  sure what *will* work with todays software, only what should work.)
 
 
  Works for me once umodem is loaded as a kld...


 bingo.

Now we find out if Lars is man enough to publicly admit that he was
absolutely incorrect about his published claim of acting on 'malicious
advice' regarding using a USB modem.

Five hundred quatloos says he's not.  grin


___
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


Re: What dialup modem WILL work with 8.x and uart?

2011-08-23 Thread Lars Eighner

On Mon, 22 Aug 2011, Robert Bonomi wrote:


From: Lars Eighner luvbeas...@larseighner.com



That's why I sprang for the 3Com which WAS supported by sio for years and is
NOT supported by uart since 8.x.  Why it is this device could be supported
for so many years, but somehow it is impossible on 8.x?


The answer is because it *iS*.  Whether or not you understand 'why' does't
change that real-world FACT.

The world changed.  The old driver -doesn't- work any more.  Because of
architectural changes to other parts of the system.


It is only natural for me to resist the conclusion that I have wasted years
of my time and poured trasure down a rat hole.


I'll look at anything, but if I have to buy something, I want to know it is
actually IS working with uart, not that sort of should've.


*sigh*

If it is a USB serial port, it _doesn't_ use the uart driver.  And you avoid
any limitations that it might have.


drop-in repIacement were the exact words used when I asked about it the
first time I heard sio was being dropped and was assured uart would be a
drop-in replacement. But it is not, so theoretical ought to works are
not helpful.  I'm looking for really actually does work.


You've been told what actually does work.  I'm running 8.2 on several
machines -- *with* working serial ports that live directly on the legacy
ISA bus.  Using only the standard kernel drivers.  And doing PPP over
those ports.  I'm not using a modem, just a null-modem cable but I could
swap in a pair of _any_ type of hardware modems.


Well, see, my question was about dialup, not null modem.

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


Re: What dialup modem WILL work with 8.x and uart?

2011-08-23 Thread Mike Tancsa
On 8/21/2011 12:34 PM, Lars Eighner wrote:
 
 Since uart in 8.x will not support my PCI 3com hardware modem (as FreeBSD
 sio has since 4.x) and my PR is gathering dust, before I buy any more
 coaster sets from osdisc.com, it behooves to ask if there are any dialup
 modems that 8.x uart actually supports for ppp on demand?


A number of people have asked a number of times for you to provide
details as to what exactly does not work given that a number of people
use the same 3com modem you claim is totally broken.

http://lists.freebsd.org/pipermail/freebsd-stable/2011-May/062731.html

I have the following modem is a few dozen locations that works just fine
on RELENG_7 and RELENG_8 using uart.

uart2@pci0:0:14:0:  class=0x070002 card=0x00d312b9 chip=0x100812b9
rev=0x01 hdr=0x00
vendor = '3COM Corp, Modem Division (Formerly US Robotics)'
device = 'USR5610B (0005610-02) 56K Performance Pro Modem (PCI
Internal) (USR5610B)'
class  = simple comms
subclass   = UART
bar   [10] = type I/O Port, range 32, base 0xe500, size  8, enabled
cap 01[dc] = powerspec 2  supports D0 D2 D3  current D0


# cu -l /dev/cuau2
Connected
ati3
U.S. Robotics 56K FAX INT V5.22.91

OK

---Mike


-- 
---
Mike Tancsa, tel +1 519 651 3400
Sentex Communications, m...@sentex.net
Providing Internet services since 1994 www.sentex.net
Cambridge, Ontario Canada   http://www.tancsa.com/
___
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


Re: What dialup modem WILL work with 8.x and uart?

2011-08-23 Thread Robert Bonomi
 From l...@larseighner.com  Tue Aug 23 07:33:23 2011
 Date: Tue, 23 Aug 2011 07:31:50 -0500 (CDT)
 From: Lars Eighner luvbeas...@larseighner.com
 To: Robert Bonomi bon...@mail.r-bonomi.com
 Cc: freebsd-questions@freebsd.org
 Subject: Re: What dialup modem WILL work with 8.x and uart?

 On Mon, 22 Aug 2011, Robert Bonomi wrote:

  From: Lars Eighner luvbeas...@larseighner.com

  That's why I sprang for the 3Com which WAS supported by sio for years 
  and is NOT supported by uart since 8.x.  Why it is this device could 
  be supported for so many years, but somehow it is impossible on 8.x?
 
  The answer is because it *iS*.  Whether or not you understand 'why' 
  does't change that real-world FACT.
 
  The world changed.  The old driver -doesn't- work any more.  Because of 
  architectural changes to other parts of the system.

 It is only natural for me to resist the conclusion that I have wasted 
 years of my time and poured trasure down a rat hole.

Sh*t happens.  Live with it.

  I'll look at anything, but if I have to buy something, I want to know 
  it is actually IS working with uart, not that sort of should've.
 
  *sigh*
 
  If it is a USB serial port, it _doesn't_ use the uart driver.  And you 
  avoid any limitations that it might have.
 
  drop-in repIacement were the exact words used when I asked about it 
  the first time I heard sio was being dropped and was assured uart 
  would be a drop-in replacement. But it is not, so theoretical ought 
  to works are not helpful.  I'm looking for really actually does work.
 
  You've been told what actually does work.  I'm running 8.2 on several 
  machines -- *with* working serial ports that live directly on the 
  legacy ISA bus.  Using only the standard kernel drivers.  And doing PPP 
  over those ports.  I'm not using a modem, just a null-modem cable but I 
  could swap in a pair of _any_ type of hardware modems.

 Well, see, my question was about dialup, not null modem.

There is absolutely *zero* difference between a serial port using a null
modem and a RS-232 interface modem on that same serial port, as far as
the operating system is concerned.

I've tried to tell you what *will* work, and how to find appropriate hardware,
and all you want to do is argue with the help you're being given.

What you need to do is hire somebody to *do*the*programming* to port the
device driver you require' to the newer version of the O/S.
___
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


Re: What dialup modem WILL work with 8.x and uart?

2011-08-22 Thread Conrad J. Sabatier
On Sun, 21 Aug 2011 11:34:22 -0500 (CDT)
Lars Eighner luvbeas...@larseighner.com wrote:
 
 Since uart in 8.x will not support my PCI 3com hardware modem (as
 FreeBSD sio has since 4.x) and my PR is gathering dust, before I buy
 any more coaster sets from osdisc.com, it behooves to ask if there
 are any dialup modems that 8.x uart actually supports for ppp on
 demand?

Do you have a serial port on your machine?  If so, why not go with an
external modem?  Always worked for me, back in the day.  :-)

-- 
Conrad J. Sabatier
conr...@cox.net
___
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


Re: What dialup modem WILL work with 8.x and uart?

2011-08-22 Thread Lars Eighner

On Mon, 22 Aug 2011, Conrad J. Sabatier wrote:


On Sun, 21 Aug 2011 11:34:22 -0500 (CDT)
Lars Eighner luvbeas...@larseighner.com wrote:


Since uart in 8.x will not support my PCI 3com hardware modem (as
FreeBSD sio has since 4.x) and my PR is gathering dust, before I buy
any more coaster sets from osdisc.com, it behooves to ask if there
are any dialup modems that 8.x uart actually supports for ppp on
demand?


Do you have a serial port on your machine?  If so, why not go with an
external modem?  Always worked for me, back in the day.  :-)


And my internal hardware modem worked for me when there was a serial driver,
namely sio.  It won't work with 8.x and uart, so there is no reason to think
that things that used to work with sio will work with uart.

That's my question: what dialup modem is KNOWN to work with uart on 8.x?

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


Re: What dialup modem WILL work with 8.x and uart?

2011-08-22 Thread Odhiambo Washington
On Mon, Aug 22, 2011 at 13:18, Lars Eighner luvbea...@larseighner.comwrote:

 On Mon, 22 Aug 2011, Conrad J. Sabatier wrote:

  On Sun, 21 Aug 2011 11:34:22 -0500 (CDT)
 Lars Eighner luvbeas...@larseighner.com wrote:


 Since uart in 8.x will not support my PCI 3com hardware modem (as
 FreeBSD sio has since 4.x) and my PR is gathering dust, before I buy
 any more coaster sets from osdisc.com, it behooves to ask if there
 are any dialup modems that 8.x uart actually supports for ppp on
 demand?


 Do you have a serial port on your machine?  If so, why not go with an
 external modem?  Always worked for me, back in the day.  :-)


 And my internal hardware modem worked for me when there was a serial
 driver,
 namely sio.  It won't work with 8.x and uart, so there is no reason to
 think
 that things that used to work with sio will work with uart.

 That's my question: what dialup modem is KNOWN to work with uart on 8.x?


This is a very legit question. Perhaps documentation for 8.x needs to be
updated by those in the know.

I live in some 3rd world country (BTW, how does one become 1st world?) and
the use of modems of any kind seems to have died away with the advent of GSM
networks and 3G/WCDMA.
I was almost going out yelling that modems (internal/external/USB) are
becoming obsolete. How wrong I was!!

BTW, Lars, which country do you live in? Still no 3G there??

-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
Please consider the environment before printing this email.
___
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

Re: First World (Was: What dialup modem WILL work with 8.x and uart?)

2011-08-22 Thread Daniel Staal

On Mon, August 22, 2011 7:19 am, Odhiambo Washington wrote:
 I live in some 3rd world country (BTW, how does one become 1st world?)

Back in the day, you'd have needed to join NATO...  (2nd world, of course,
required joining the Warsaw Pact.)

These days, I subscribe to the 'soda theory'.  At the lowest level of an
economy, you can only buy one of Pepsi or Coke.  A step up, and you will
have a choice.  The next step beyond that, you have a choice between
Sprite and 7-Up.  A first world economy will have multiple choices for any
flavor of soda, including things like Root Beer, Grape, or Sport Drinks. 
In fact, you will have specialty sodas in most flavors, that are in
limited distribution by area, but still in major market retailers.  They
will often be sold at prices near or above half an hour's wage (at minimum
wage) for a single soda.  (Vs. Coke or Pepsi, which are usually sold at
half that or less.)

;)

Daniel T. Staal

(How is Kenya these days?  I haven't been there in 10 years or so...)

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---

___
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


Re: What dialup modem WILL work with 8.x and uart?

2011-08-22 Thread Lars Eighner

On Mon, 22 Aug 2011, Odhiambo Washington wrote:


BTW, Lars, which country do you live in? Still no 3G there??



I live in Texas. It has a greed-based economy, so 3G is practically
available only for the very greedy, which is to say rich.  I do not
speak the language of the very greedy - it is a very strange language
in which unlimited means not really unlimited but only so much as
we think you deserve.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


RE: First World (Was: What dialup modem WILL work with 8.x and uart?)

2011-08-22 Thread Gary Gatten

Interesting analogy.  Osama - er, I mean Obama could really use people like you 
to explain things better to him, 'cause obviously he has NO idea what his 
various and numerous Czars and advisors are saying.  Or maybe they're all 
barely functional and don't know any better

Oh wait, this is a FBSD list...  Ah, FBSD Rules!  Long live FBSD!



On Mon, August 22, 2011 7:19 am, Odhiambo Washington wrote:
 I live in some 3rd world country (BTW, how does one become 1st world?)

Back in the day, you'd have needed to join NATO...  (2nd world, of course,
required joining the Warsaw Pact.)

These days, I subscribe to the 'soda theory'.  At the lowest level of an
economy, you can only buy one of Pepsi or Coke.  A step up, and you will
have a choice.  The next step beyond that, you have a choice between
Sprite and 7-Up.  A first world economy will have multiple choices for any
flavor of soda, including things like Root Beer, Grape, or Sport Drinks. 
In fact, you will have specialty sodas in most flavors, that are in
limited distribution by area, but still in major market retailers.  They
will often be sold at prices near or above half an hour's wage (at minimum
wage) for a single soda.  (Vs. Coke or Pepsi, which are usually sold at
half that or less.)

;)

Daniel T. Staal

(How is Kenya these days?  I haven't been there in 10 years or so...)

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---

___
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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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


Re: What dialup modem WILL work with 8.x and uart?

2011-08-22 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Mon Aug 22 05:20:20 2011
 Date: Mon, 22 Aug 2011 05:18:18 -0500 (CDT)
 From: Lars Eighner luvbea...@larseighner.com
 To: Conrad J. Sabatier conr...@cox.net
 Cc: freebsd-questions@freebsd.org
 Subject: Re: What dialup modem WILL work with 8.x and uart?

 On Mon, 22 Aug 2011, Conrad J. Sabatier wrote:

  On Sun, 21 Aug 2011 11:34:22 -0500 (CDT)
  Lars Eighner luvbeas...@larseighner.com wrote:
 
  Since uart in 8.x will not support my PCI 3com hardware modem (as
  FreeBSD sio has since 4.x) and my PR is gathering dust, before I buy
  any more coaster sets from osdisc.com, it behooves to ask if there
  are any dialup modems that 8.x uart actually supports for ppp on
  demand?
 
  Do you have a serial port on your machine?  If so, why not go with an
  external modem?  Always worked for me, back in the day.  :-)

 And my internal hardware modem worked for me when there was a serial driver,
 namely sio.  It won't work with 8.x and uart, so there is no reason to think
 that things that used to work with sio will work with uart.

'uart' supports virtually _everything_ that 'sio' does -- plus an additonal
chipset or two -- with precisely TWO exceptions.  If it 'looks like' a 
standard serial port on the legacy ISA bus, and is based on the NS8250 
through NS16550A, or a Zilog 'SCC', then uart works.  The other alternative
is a USB serial port.

Even 'sio' support of PCI serial ports and/or modems was -very-limitid.
precisely *two* models of cards -- The 3Com FaxModem PCI and the Advantec 
56k Voice Messaging PCI FaxModem.

Supporting serial controllers across a PCI bridge takes lots of work. and
does *not* 'generalize' well.

If I were in your situation, I'e look at a USB serial port and external
RS-232 modem.


___
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


RE: First World (Was: What dialup modem WILL work with 8.x and uart?)

2011-08-22 Thread Chris Hill

On Mon, 22 Aug 2011, Gary Gatten wrote:

Interesting analogy.  Osama - er, I mean Obama could really use people 
like you to explain things better to him, 'cause obviously he has NO 
idea what his various and numerous Czars and advisors are saying.  Or 
maybe they're all barely functional and don't know any better


I'm sure the OP found that extremely helpful. Thanks for the trenchant 
incisiveness. Right on topic, too.



Oh wait, this is a FBSD list...  Ah, FBSD Rules!  Long live FBSD!


Right.



On Mon, August 22, 2011 7:19 am, Odhiambo Washington wrote:

I live in some 3rd world country (BTW, how does one become 1st world?)


Back in the day, you'd have needed to join NATO...  (2nd world, of course,
required joining the Warsaw Pact.)

These days, I subscribe to the 'soda theory'.  At the lowest level of an
economy, you can only buy one of Pepsi or Coke.  A step up, and you will
have a choice.  The next step beyond that, you have a choice between
Sprite and 7-Up.  A first world economy will have multiple choices for any
flavor of soda, including things like Root Beer, Grape, or Sport Drinks.
In fact, you will have specialty sodas in most flavors, that are in
limited distribution by area, but still in major market retailers.  They
will often be sold at prices near or above half an hour's wage (at minimum
wage) for a single soda.  (Vs. Coke or Pepsi, which are usually sold at
half that or less.)

;)

Daniel T. Staal

(How is Kenya these days?  I haven't been there in 10 years or so...)

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---

___
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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
and may contain information that is privileged and/or confidential.
If you are not the intended recipient, you are hereby notified that
any review, use, dissemination, disclosure or copying of this email
and its attachments, if any, is strictly prohibited.  If you have
received this email in error, please immediately notify the sender by
return email and delete this email from your system.
/font

___
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



--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]
___
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


RE: First World (Was: What dialup modem WILL work with 8.x and uart?)

2011-08-22 Thread Gary Gatten
You're welcome!

FBSD is awesome - LINUX SUX!

-Original Message-
From: Chris Hill [mailto:ch...@monochrome.org] 
Sent: Monday, August 22, 2011 5:24 PM
To: Gary Gatten
Cc: 'Daniel Staal'; freebsd-questions@freebsd.org
Subject: RE: First World (Was: What dialup modem WILL work with 8.x and uart?)

On Mon, 22 Aug 2011, Gary Gatten wrote:

 Interesting analogy.  Osama - er, I mean Obama could really use people 
 like you to explain things better to him, 'cause obviously he has NO 
 idea what his various and numerous Czars and advisors are saying.  Or 
 maybe they're all barely functional and don't know any better

I'm sure the OP found that extremely helpful. Thanks for the trenchant 
incisiveness. Right on topic, too.

 Oh wait, this is a FBSD list...  Ah, FBSD Rules!  Long live FBSD!

Right.


 On Mon, August 22, 2011 7:19 am, Odhiambo Washington wrote:
 I live in some 3rd world country (BTW, how does one become 1st world?)

 Back in the day, you'd have needed to join NATO...  (2nd world, of course,
 required joining the Warsaw Pact.)

 These days, I subscribe to the 'soda theory'.  At the lowest level of an
 economy, you can only buy one of Pepsi or Coke.  A step up, and you will
 have a choice.  The next step beyond that, you have a choice between
 Sprite and 7-Up.  A first world economy will have multiple choices for any
 flavor of soda, including things like Root Beer, Grape, or Sport Drinks.
 In fact, you will have specialty sodas in most flavors, that are in
 limited distribution by area, but still in major market retailers.  They
 will often be sold at prices near or above half an hour's wage (at minimum
 wage) for a single soda.  (Vs. Coke or Pepsi, which are usually sold at
 half that or less.)

 ;)

 Daniel T. Staal

 (How is Kenya these days?  I haven't been there in 10 years or so...)

 ---
 This email copyright the author.  Unless otherwise noted, you
 are expressly allowed to retransmit, quote, or otherwise use
 the contents for non-commercial purposes.  This copyright will
 expire 5 years after the author's death, or in 30 years,
 whichever is longer, unless such a period is in excess of
 local copyright law.
 ---

 ___
 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





 font size=1
 div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 
 0in 1.0pt 0in'
 /div
 This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
 /font

 ___
 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


-- 
Chris Hill   ch...@monochrome.org
** [ Busy Expunging / ]





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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


Re: What dialup modem WILL work with 8.x and uart?

2011-08-22 Thread Lars Eighner

On Mon, 22 Aug 2011, Robert Bonomi wrote:


Even 'sio' support of PCI serial ports and/or modems was -very-limitid.
precisely *two* models of cards -- The 3Com FaxModem PCI and the Advantec
56k Voice Messaging PCI FaxModem.


That's why I sprang for the 3Com which WAS supported by sio for years and is
NOT supported by uart since 8.x.  Why it is this device could be supported
for so many years, but somehow it is impossible on 8.x? It's not as if
dozens of new such devices from dozens of new vendors are flooding the
market.  It's the same thing it ever was.


Supporting serial controllers across a PCI bridge takes lots of work. and
does *not* 'generalize' well.

If I were in your situation, I'e look at a USB serial port and external
RS-232 modem.


I'll look at anything, but if I have to buy something, I want to know it is
actually IS working with uart, not that sort of should've.  Uart should've
sort of been a drop-in replacement for sio - drop-in repIacement were
the exact words used when I asked about it the first time I heard sio was
being dropped and was assured uart would be a drop-in replacement. But it
is not, so theoretical ought to works are not helpful. I'm looking for
really actually does work.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


Re: What dialup modem WILL work with 8.x and uart?

2011-08-22 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Mon Aug 22 17:55:46 2011
 Date: Mon, 22 Aug 2011 17:53:55 -0500 (CDT)
 From: Lars Eighner luvbeas...@larseighner.com
 To: Robert Bonomi bon...@mail.r-bonomi.com
 Cc: luvbea...@larseighner.com, freebsd-questions@freebsd.org
 Subject: Re: What dialup modem WILL work with 8.x and uart?

 On Mon, 22 Aug 2011, Robert Bonomi wrote:

  Even 'sio' support of PCI serial ports and/or modems was -very-limitid.
  precisely *two* models of cards -- The 3Com FaxModem PCI and the Advantec
  56k Voice Messaging PCI FaxModem.

 That's why I sprang for the 3Com which WAS supported by sio for years and is
 NOT supported by uart since 8.x.  Why it is this device could be supported
 for so many years, but somehow it is impossible on 8.x? 

The answer is because it *iS*.  Whether or not you understand 'why' does't
change that real-world FACT.

The world changed.  The old driver -doesn't- work any more.  Because of
architectural changes to other parts of the system.

At some point in history, there was 'someone' who was 'interested enough'
in supporting those 2 PCI cards to actually sit down and write code for
the then-existing driver architecture.

Time passed, that person is no longer around.

but somehow it is impossible on 8.x? It's not as if
 dozens of new such devices from dozens of new vendors are flooding the
 market.  It's the same thing it ever was.

  Supporting serial controllers across a PCI bridge takes lots of work. and
  does *not* 'generalize' well.
 
  If I were in your situation, I'e look at a USB serial port and external
  RS-232 modem.

 I'll look at anything, but if I have to buy something, I want to know it is
 actually IS working with uart, not that sort of should've.

*sigh*

If it is a USB serial port, it _doesn't_ use the uart driver.  And you avoid
any limitations that it might have.

 Uart should've
 sort of been a drop-in replacement for sio - drop-in repIacement were
 the exact words used when I asked about it the first time I heard sio was
 being dropped and was assured uart would be a drop-in replacement. But it
 is not, so theoretical ought to works are not helpful. I'm looking for
 really actually does work.

You've been told what actually does work.  I'm running 8.2 on several
machines -- *with* working serial ports that live directly on the legacy
ISA bus.  Using only the standard kernel drivers.  And doing PPP over 
those ports.  I'm not using a modem, just a null-modem cable but I could
swap in a pair of _any_ type of hardware modems.


___
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


What dialup modem WILL work with 8.x and uart?

2011-08-21 Thread Lars Eighner

Okay, I'm back.  I sprang for Gentoo and Fedora 15 distribution discs, and
now I seem to have a nice, but expensive, set of coasters because apparently
all of Linux has gone tiny console fonts at something like 170x48 resolution
(and really are turning themselves into Gnome machines that totally neglect
command line applications).  Since I am in unices for the command line
applications I don't have much choice.  But I still don't want to be
stranded in an orphaned version when 7.x reaches the end of its life.

Since uart in 8.x will not support my PCI 3com hardware modem (as FreeBSD
sio has since 4.x) and my PR is gathering dust, before I buy any more
coaster sets from osdisc.com, it behooves to ask if there are any dialup
modems that 8.x uart actually supports for ppp on demand?

--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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


Can someone please help me set up my tata-photon (huawei) modem ?

2011-06-28 Thread Manish Jain

   Hi all,
   My tata-photon (huawei) modem works painlessly on Win XP. Every
   setting is auto (including getting the nameserver). The auth protocol
   is CHAP. But when I boot into FreeBSD 8.0 (stable), and run 'ppp -auto
   pmdemand' followed by 'ping [1]www.google.com' (or yahoo or any other
   site, for that matter), I always get Hostname lookup failure. BTW, I
   don't have an /etc/resolv.conf. I only configured ppp.conf (please see
   below for details). Can someone please help me set up the modem so
   that I can dial out and connect to the internet from my FreeBSD box ?
   Thanks in advance.
   Manish Jain
   This is my ppp.conf :
   default:
set log Phase Chat LCP IPCP CCP tun command
allow users guru bourne
   # ident user-ppp VERSION (built COMPILATIONDATE)
set device /dev/cuaU0
set speed 115200
set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\\ AT OK-AT-OK ATFE0V1X1D2C1S0=0 OK \\dATDT\\T TIMEOUT 40
   CONNECT
set timeout 180 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)
   pmdemand:
set phone #777
set login
set authname internet
set authkey 
set timeout 0
disable ipv6cp
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
accept CHAP

References

   1. http://www.google.com/
___
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


Re: Can someone please help me set up my tata-photon (huawei) modem ?

2011-06-28 Thread Matthias Apitz
El día Tuesday, June 28, 2011 a las 01:47:31PM +0530, Manish Jain escribió:

 
Hi all,
My tata-photon (huawei) modem works painlessly on Win XP. Every
setting is auto (including getting the nameserver). The auth protocol
is CHAP. But when I boot into FreeBSD 8.0 (stable), and run 'ppp -auto
pmdemand' followed by 'ping [1]www.google.com' (or yahoo or any other
site, for that matter), I always get Hostname lookup failure. BTW, I
don't have an /etc/resolv.conf. I only configured ppp.conf (please see
below for details). Can someone please help me set up the modem so
that I can dial out and connect to the internet from my FreeBSD box ?
Thanks in advance.
Manish Jain
This is my ppp.conf :
...

Hello Manish,

Before digging into the ppp details (there is a log about in
/var/log/ppp.log), do you have after attaching the Huawei modem a
device /dev/cuaU0 at all? What does the following command gives:

ls -l /dev/cua*
chat -vs  /dev/cuaU0.0  /dev/cuaU0.0 '' AT OK 'ATI2' O
printf \n

HIH

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
___
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


Re: Can someone please help me set up my tata-photon (huawei) modem ?

2011-06-28 Thread Manish Jain

   Hello Matthias,
   Yes, I do have /dev/cuaU0.0 along with corresponding lock and init
   files, although I cannot give you the output you want right now since
   I am booted into XP with the FreeBSD 8.2 dvd image being downloaded.
   (This will hopefully finish in about 15 hours, as cygwin::ncftpget
   suggests).
   I also tried a few other things, most notably installing
   usb_modeswitch, and putting this into /etc/devd.conf :
   attach 100 {
   device-name ugen[0-9]+;
   match vendor 0x12d1;
   match product 0x1446;
   action /usr/local/bin/usb_modeswitch;
   };
   Running kldload for u3g and ucom indicates they are both already
   loaded. Running usb_modeswitch seems to have also generated some
   /dev/ttyUn.n files, along with corresponding lock and init files -
   just like the cua entries.
   The only thing that seems out of place with the current setup is that
   usb_modeswitch's wrapper (usb_modeswitch_dispatcher) needs
   /usr/local/bin/tclsh, and for some reason the FreeBSD installer
   installed it as /usr/local/bin/tclsh8.2
   I'll try fixing the above tomorrow and will try out anything
   you/someone else might have to suggest. BTW, I made a slight error in
   my original message. My system's release version is 8.1, not 8.0.
   Thank you 
   Regards
   Manish Jain
   [1]invalid.poin...@gmail.com
   On 29-Jun-11 00:16, Matthias Apitz wrote:

El día Tuesday, June 28, 2011 a las 01:47:31PM +0530, Manish Jain escribió:

   Hi all,
   My tata-photon (huawei) modem works painlessly on Win XP. Every
   setting is auto (including getting the nameserver). The auth protocol
   is CHAP. But when I boot into FreeBSD 8.0 (stable), and run 'ppp -auto
   pmdemand' followed by 'ping [1]www.google.com' (or yahoo or any other
   site, for that matter), I always get Hostname lookup failure. BTW, I
   don't have an /etc/resolv.conf. I only configured ppp.conf (please see
   below for details). Can someone please help me set up the modem so
   that I can dial out and connect to the internet from my FreeBSD box ?
   Thanks in advance.
   Manish Jain
   This is my ppp.conf :

...

Hello Manish,

Before digging into the ppp details (there is a log about in
/var/log/ppp.log), do you have after attaching the Huawei modem a
device /dev/cuaU0 at all? What does the following command gives:

ls -l /dev/cua*
chat -vs  /dev/cuaU0.0  /dev/cuaU0.0 '' AT OK 'ATI2' O
printf \n

HIH

matthias

References

   1. mailto:invalid.poin...@gmail.com
___
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


Re: Can someone please help me set up my tata-photon (huawei) modem ?

2011-06-28 Thread Manish Jain

   Hello Matthias,
   I got it to work !  I symlinked /usr/local/bin/tclsh8.2 as tclsh, but
   that was probably not the only factor involved. In a streak of
   unintended brilliance, I had set the device in ppp.conf as /dev/cuaU0,
   whereas there is no such device - as /var/log/ppp.log complained.
   (Thanks for your suggestion for looking up the log). I changed
   /dev/cuaU0 to /dev/cuaU0.0, as a matter of courtesy. Now my FreeBSD
   box is connected to the internet and I don't have to boot into XP
   again (as long as I can hope).
   Thanks again
   Manish Jain
   On 29-Jun-11 00:55, Manish Jain wrote:

   Hello Matthias,
   Yes, I do have /dev/cuaU0.0 along with corresponding lock and init
   files, although I cannot give you the output you want right now since
   I am booted into XP with the FreeBSD 8.2 dvd image being downloaded.
   (This will hopefully finish in about 15 hours, as cygwin::ncftpget
   suggests).
   I also tried a few other things, most notably installing
   usb_modeswitch, and putting this into /etc/devd.conf :
   attach 100 {
   device-name ugen[0-9]+;
   match vendor 0x12d1;
   match product 0x1446;
   action /usr/local/bin/usb_modeswitch;
   };
   Running kldload for u3g and ucom indicates they are both already
   loaded. Running usb_modeswitch seems to have also generated some
   /dev/ttyUn.n files, along with corresponding lock and init files -
   just like the cua entries.
   The only thing that seems out of place with the current setup is that
   usb_modeswitch's wrapper (usb_modeswitch_dispatcher) needs
   /usr/local/bin/tclsh, and for some reason the FreeBSD installer
   installed it as /usr/local/bin/tclsh8.2
   I'll try fixing the above tomorrow and will try out anything
   you/someone else might have to suggest. BTW, I made a slight error in
   my original message. My system's release version is 8.1, not 8.0.
   Thank you 
   Regards
   Manish Jain
   [1]invalid.poin...@gmail.com
   On 29-Jun-11 00:16, Matthias Apitz wrote:

El día Tuesday, June 28, 2011 a las 01:47:31PM +0530, Manish Jain escribió:

   Hi all,
   My tata-photon (huawei) modem works painlessly on Win XP. Every
   setting is auto (including getting the nameserver). The auth protocol
   is CHAP. But when I boot into FreeBSD 8.0 (stable), and run 'ppp -auto
   pmdemand' followed by 'ping [1]www.google.com' (or yahoo or any other
   site, for that matter), I always get Hostname lookup failure. BTW, I
   don't have an /etc/resolv.conf. I only configured ppp.conf (please see
   below for details). Can someone please help me set up the modem so
   that I can dial out and connect to the internet from my FreeBSD box ?
   Thanks in advance.
   Manish Jain
   This is my ppp.conf :

...

Hello Manish,

Before digging into the ppp details (there is a log about in
/var/log/ppp.log), do you have after attaching the Huawei modem a
device /dev/cuaU0 at all? What does the following command gives:

ls -l /dev/cua*
chat -vs  /dev/cuaU0.0  /dev/cuaU0.0 '' AT OK 'ATI2' O
printf \n

HIH

matthias

References

   1. mailto:invalid.poin...@gmail.com
___
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


FreeBSD 8.2 and Lenovo X300 WWAN Modem

2011-05-18 Thread crsnet.pl

Hello.
Have here anyone run this modem/GPS under FreeBSD 8.2 ? Modem is 
recognized, but when i try to run ppp -ddial iplus i get this error :


/var/log/messages
May 18 11:20:59 x60s ppp[1656]: tun0: Warning: Chat script failed

/var/log/ppp
May 18 11:20:53 x60s ppp[1656]: tun0: Phase: deflink: opening - dial
May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Send: AT^M
May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Expect(2): OK
May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: AT^M^M
May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: OK^M
May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Send: AT+CFUN=1^M
May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Expect(2): OK
May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: AT+CFUN=1^M^M
May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: ERROR^M


For GPS i try to use
gpsdrive-2.09_11A GPS navigation system
viking-1.0.2Program to manage GPS data (tracks, waypoints, etc)
But any of them can use X300 GPS;/

#uname -a
FreeBSD x60s 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 
UTC 2011 r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  
i386


#dmesg
ugen6.3: vendor 0x17ef at usbus6
ugen4.2: Sierra Wireless, Incorporated at usbus4
u3g0: Data Interface on usbus4
u3g0: Found 3 ports.

#sudo usbconfig
ugen4.2: Sierra Wireless MC5725 Modem Sierra Wireless, Incorporated 
at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen6.4: Wimedia device ManfID at usbus6, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON


#ls -la /dev/cuaU*
crw-rw  1 uucp  dialer0, 123 18 maj 09:39 /dev/cuaU0.0
crw-rw  1 uucp  dialer0, 124 18 maj 09:39 /dev/cuaU0.0.init
crw-rw  1 uucp  dialer0, 125 18 maj 09:39 /dev/cuaU0.0.lock
crw-rw  1 uucp  dialer0, 129 18 maj 09:39 /dev/cuaU0.1
crw-rw  1 uucp  dialer0, 130 18 maj 09:39 /dev/cuaU0.1.init
crw-rw  1 uucp  dialer0, 131 18 maj 09:39 /dev/cuaU0.1.lock
crw-rw  1 uucp  dialer0, 135 18 maj 09:39 /dev/cuaU0.2
crw-rw  1 uucp  dialer0, 136 18 maj 09:39 /dev/cuaU0.2.init
crw-rw  1 uucp  dialer0, 137 18 maj 09:39 /dev/cuaU0.2.lock

#cat /etc/ppp/ppp.conf
iplus:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)

 set device /dev/cuaU0.0
 set speed 460800
 #set speed 115200
 set dial ABORT BUSY TIMEOUT 2 \
\\ \
AT OK-AT-OK \
AT+CFUN=1 OK-AT-OK \
AT+CMEE=2 OK-AT-OK \
AT+CSQ OK \
AT+CGDCONT=1,\\\IP\\\,\\\internet\\\ OK \
AT+CGACT? OK-AT-OK \
AT+CGATT? OK \
AT+CGCLASS? OK \
AT+COPS? OK \
ATD*99***1# CONNECT

 set timeout 180
 enable dns
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR

Regards, Adrian.

___
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


Re: FreeBSD 8.2 and Lenovo X300 WWAN Modem

2011-05-18 Thread Jeremy Chadwick
On Wed, May 18, 2011 at 11:40:36AM +0200, crsnet.pl wrote:
 Hello.
 Have here anyone run this modem/GPS under FreeBSD 8.2 ? Modem is
 recognized, but when i try to run ppp -ddial iplus i get this error
 :
 
 /var/log/messages
 May 18 11:20:59 x60s ppp[1656]: tun0: Warning: Chat script failed
 
 /var/log/ppp
 May 18 11:20:53 x60s ppp[1656]: tun0: Phase: deflink: opening - dial
 May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Send: AT^M
 May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Expect(2): OK
 May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: AT^M^M
 May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: OK^M
 May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Send: AT+CFUN=1^M
 May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Expect(2): OK
 May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: AT+CFUN=1^M^M
 May 18 11:20:53 x60s ppp[1656]: tun0: Chat: Received: ERROR^M

I'm not familiar with GPS modem units, but I am familiar with classic
modems and a little bit with chat scripts from my Linux days.

A couple things -- and possibly these GPS modems behave differently than
what I was used to back in the early 90s:

1) Based on the chat logs above, it looks like echo mode is enabled on
the modem.  The client should be sending AT\r, and it should receive
the response OK\r.  Instead, the log indicates what you're getting
back is AT\r\rOK\r.

2) Regardless of #1, the AT+CFUN=1 command you're sending to the modem
results in the modem itself responding with ERROR.  This isn't coming
from ppp, chat, or anything else -- the modem is literally responding
with ERROR itself.  Meaning, that command (obviously not Hayes!) the
modem firmware doesn't know how to interpret.  I have no idea what
+CFUN=1 does, but then again the modem doesn't seem to either.  :-)

So I guess my advice would be: fix your chat script to work properly
with your modem.  :-)  Your script is here:

  set dial ABORT BUSY TIMEOUT 2 \
 \\ \
 AT OK-AT-OK \
 AT+CFUN=1 OK-AT-OK \
 AT+CMEE=2 OK-AT-OK \
 AT+CSQ OK \
 AT+CGDCONT=1,\\\IP\\\,\\\internet\\\ OK \
 AT+CGACT? OK-AT-OK \
 AT+CGATT? OK \
 AT+CGCLASS? OK \
 AT+COPS? OK \
 ATD*99***1# CONNECT

-- 
| Jeremy Chadwick   j...@parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.   PGP 4BD6C0CB |

___
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


Re: How to get Huawei USB modem to work ?

2011-03-11 Thread Erich Dollansky
Hi,

On Sunday 02 January 2011 19:54:57 Manish Jain wrote:
 
Hello,
From a similar thread, I picked up some information that I should try
kldload'ing usba. But when I ran the command, I got an error message
that there is no such module. I searched under sys/modules and there
was no usba.ko
Can somebody please tell me how to get my Huawei USB dial-up modem to
work on FreeBSD 8.1 ? From dmesg, I have the following information :
Trying to mount root from ufs:/dev/ad8s2a
ugen0.3: HUAWEI TECHNOLOGIES at usbus0
u3g0: Data Interface on usbus0
u3g0: Found 3 ports.
umass0: HUAWEI TECHNOLOGIES HUAWEI Mobile, class 0/0, rev 1.10/0.00,
addr 3 on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x
umass0:0:0:-1: Attached to scbus0
cd0 at umass-sim0 bus 0 scbus0 target 0 lun 0
cd0: HUAWEI Mass Storage 2.31 Removable CD-ROM SCSI-0 device
cd0: 1.000MB/s transfers
cd0: cd present [16896 x 2048 byte records]
(probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0
(probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error
(probe0:umass-sim0:0:0:1): SCSI status: Check Condition
(probe0:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not
present)
da0 at umass-sim0 bus 0 scbus0 target 0 lun 1
da0: HUAWEI SD Storage 2.31 Removable Direct Access SCSI-2 device
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not
present
drm0: ATI Radeon HD 3200 Graphics on vgapci0
info: [drm] MSI enabled 1 message(s)
vgapci0: child drm0 requested pci_enable_busmaster
Any help would be greatly appreciated.

if your modem is not supported out of the box, go to the file usbdevs and add 
an entry for it:

I got last week a modem not supported by FreeBSD and just did this:

product HUAWEI ETS2055  0x1803  CDMA modem

0x1803 is the ID of my modem. The ID is unknown to FreeBSD 8.2.

Then add a line like the following to u3g.c:

U3G_DEV(HUAWEI, ETS2055, U3GINIT_HUAWEI),

Check the file for the other options like U3GINIT_HUAWEI you have.

The chances are then pretty high that all will work

The next problem will then your ppp.conf.

Erich
___
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


  1   2   3   4   5   6   7   >