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


Hello Erich/Matthias,

Thanks for your responses.

I do not have the usbdump command on my system. usbconfig gives the 
following output :


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: EHCI root HUB ATI at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) 
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
ugen6.1: OHCI root HUB ATI at usbus6, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=SAVE
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-r-  1 root  operator0,  96 Jul 21 17:38 acd0
crw-r-  1 root  operator0,  97 Jul 21 17:38 acd1
crw-r--r--  1 root  wheel   0,  36 Jul 21 17:38 acpi
crw-r-  1 root  operator0,  98 Jul 21 17:38 ad8
crw-r-  1 root  operator0, 103 Jul 21 17:38 ad8s1
crw-r-  1 root  operator0, 104 Jul 21 17:38 ad8s2
crw-r-  1 root  operator0, 108 Jul 21 23:08 ad8s2a
crw-r-  1 root  operator0, 109 Jul 21 17:38 ad8s2b
crw-r-  1 root  operator0, 105 Jul 21 17:38 ad8s3
crw-r-  1 root  operator0, 106 Jul 21 17:38 ad8s4
crw-r-  1 root  operator0, 111 Jul 21 17:38 ad8s5
crw---  1 root  operator0,  35 Jul 21 17:38 ata
crw---  1 root  wheel   0,  50 Jul 21 17:38 atkbd0
crw---  1 root  kmem0,  16 Jul 21 17:38 audit
crw---  1 root  wheel   0,  12 Jul 21 17:38 bpf
lrwxr-xr-x  1 root  wheel3 Jul 21 17:38 bpf0 - bpf
crw-rw-rw-  1 root  wheel   0,  53 Jul 21 17:38 bpsm0
crw-r-  1 root  operator0, 135 Jul 21 23:08 cd0
crw---  1 root  wheel   0,   5 Jul 21 17:39 console
crw---  1 root  wheel   0,  70 Jul 21 17:38 consolectl
crw-rw-rw-  1 root  wheel   0,  10 Jul 21 17:38 ctty
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
crw-r-  1 root  operator0, 137 Jul 21 23:08 da0
crw---  1 root  wheel   0,  32 Jul 21 17:38 dcons
crw---  1 root  wheel   0,   3 Jul 21 17:38 devctl
cr  1 root  wheel   0,  95 Jul 21 17:38 devstat
crw---  1 root  wheel   0,  33 Jul 21 17:38 dgdb
crw-rw-rw-  1 root  wheel   0, 162 Jul 21 17:39 dsp0.0
crw-rw-rw-  1 root  wheel   0, 161 Jul 21 17:39 dsp1.0
crw-rw-rw-  1 root  wheel   0, 160 Jul 21 17:39 dsp2.0
crw-rw-rw-  1 root  wheel   0, 159 Jul 21 17:39 dsp3.0
dr-xr-xr-x  2 root  wheel  512 Jul 21 17:38 ext2fs
dr-xr-xr-x  2 root  wheel  512 Jul 21 17:38 fd
crw---  1 root  wheel   0,  14 Jul 21 17:38 fido
lrwxr-xr-x  1 root  wheel5 Jul 21 17:38 fw0 - fw0.0
crw-rw  1 root  operator0,  37 Jul 21 17:38 fw0.0
lrwxr-xr-x  1 root  wheel8 Jul 21 17:38 fwmem0 - fwmem0.0
crw-rw  1 root  operator0,  38 Jul 21 17:38 fwmem0.0
crw-r-  1 root  operator0,   4 Jul 21 17:38 geom.ctl
crw---  1 root  wheel   0,  27 Jul 21 17:38 io
dr-xr-xr-x  2 root  wheel  512 Jul 21 23:08 iso9660
lrwxr-xr-x  1 root  wheel6 Jul 21 17:38 kbd0 - atkbd0
lrwxr-xr-x  1 root  wheel7 Jul 21 17:38 kbd1 - kbdmux0
crw---  1 root  wheel   0,  23 Jul 21 17:38 kbdmux0
crw---  1 root  wheel   0,  31 Jul 21 17:38 klog
crw-r-  1 root  kmem0,  26 Jul 21 17:38 kmem
lrwxr-xr-x  1 root  wheel   12 Jul 21 17:38 log - /var/run/log
crw---  1 root  wheel   0,  47 Jul 21 17:38 lpt0
crw---  1 root  wheel   0,  48 Jul 21 17:38 lpt0.ctl
crw---  1 root  wheel   0,  73 Jul 21 17:38 mdctl
crw-r-  1 root  kmem0,  25 Jul 21 17:38 mem
crw-rw-rw-  1 root  wheel   0,  34 Jul 21 17:38 midistat
crw-rw-rw-  1 root  wheel   0,  99 Jul 21 17:38 mixer0

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