Re: HUAWEI dongle

2015-12-20 Thread Christoph R. Murauer
>>Please send dmesg and the output of:
>
>>usbdevs -dv
>
>>Both while the Huawei dongle is plugged into your machine, of
>> course...
>
>
> Would love to be able to do that. Anybody had any success mounting an
> OpenBSD
> file system in linux?
>
>
> 0x00
>
>

Use a USB stick, create a new FAT32 filesystem using newfs_msdos under
OpenBSD, copy your dmesg and the output of the other commands there
and plug it in at your $PENGUIN box ... worked for me some months ago
with Ubuntu. If the steps are required let me know.



Re: HUAWEI dongle

2015-12-20 Thread Read, James C
>Please send dmesg and the output of:

>usbdevs -dv

>Both while the Huawei dongle is plugged into your machine, of course...


Would love to be able to do that. Anybody had any success mounting an OpenBSD
file system in linux?


0x00



Re: HUAWEI dongle

2015-12-20 Thread Tati Chevron

On Sat, Dec 19, 2015 at 10:30:12PM +, Read, James C wrote:

You've said that it connects as ugen, and also as umsm.  Often the older

dongles provided >several serial interfaces, only one of which actually
worked.  Again, nobody will be able to help >you without the log messages.

my dmesg gives:


You need to post the full dmesg, preferably boot with the dongle disconnected,
then connect it, and send the resulting output.

These devices usually provide several interfaces, umsm0 is just one of them.
Without this information, it's almost impossible to offer any further advice.


The packaging says the device is E3533 HSPA+ USB Stick


That's one of the more modern ones.  It has what Huaweii call, 'hi-link',
which basically means it handles the cellular connection itself and presents
as a network interface.  If it's connecting as a serial port and/or mass
storage device, it needs something done, (eject, AT command), to make it
present itself as a network interface, (which will be an urndis device).

I was using Huaweii dongles and other such devices with OpenBSD at least as
far back as 5.0-release and they seem to have a lot of strange oddities.

But they can often be made to work.

--
Tati Chevron
Perl and FORTRAN specialist.
SWABSIT development and migration department.
http://www.swabsit.com



Re: HUAWEI dongle

2015-12-19 Thread Tati Chevron

On Sat, Dec 19, 2015 at 07:30:12PM +, Read, James C wrote:

A full dmesg output, or at least an indication of what model the dongle is
would be useful here.


Would love to be able to do that. Anybody had success mounting an OpenBSD 
filesystem in linux?

0x00


If you are just trying to move an OpenBSD dmesg to a linux system that has 
email connectivity, just tar it onto a usb pendrive or similar:

# dmesg > /tmp/dm
# tar -cf /dev/rsd4c /tmp/dm

replacing rsd4c with whatever device the usb pendrive actually shows up as when 
you connect it.

Reading it on the linux machine will be something like:

# tar -xf /dev/sda

--
Tati Chevron
Perl and FORTRAN specialist.
SWABSIT development and migration department.
http://www.swabsit.com



Re: HUAWEI dongle

2015-12-19 Thread David Coppa
Il 19/dic/2015 19:43, "Read, James C" <jcr...@essex.ac.uk> ha scritto:
>
> Hi,
>
> I just installed 5.8, I know my dongle is detected and correctly switched
to
> the right mode because
>
> a) I can see in dmesg output that the device is detected and labelled
ugen0
> b) I can see the led light continuously on the dongle, this only happens
in
> other environments I've used the dongle in when the dongle is no longer in
> mass storage mode (light flashes when in mass storage mode)
>
> However, when I ifconfig I get nothing.
>
> What gives?
>
> 0x00

Please send dmesg and the output of:

usbdevs -dv

Both while the Huawei dongle is plugged into your machine, of course...

Ciao!
David



Re: HUAWEI dongle

2015-12-19 Thread Read, James C
What do I need to do to get this supported. I really don't want to have to
work on another system. My Ubuntu usb starts of consuming 1.2 GB of memory
after boot and then after a few hours of web browsing is clocking 3.8 GB.
Closing the down the desktop the memory is still not freed. Now, if that's not
a serious memory leak I can only conclude that it's even worse. And I thought
Windows was bad. Help. What do I need to do to get a machine up and running
that doesn't steal my memory, CPU cycles, bandwidth etc. etc. etc.
END OF RANT

Anyway, seriously. What do I need to do to get this up and running? I need to
connect to the internet to do work on and I've had it with just about every
other OS there.

Daer Samej


From: Michael McConville <mm...@mykolab.com>
Sent: Saturday, December 19, 2015 6:43 PM
To: Read, James C
Cc: misc@openbsd.org
Subject: Re: HUAWEI dongle

Read, James C wrote:
> I just installed 5.8, I know my dongle is detected and correctly switched
to
> the right mode because
>
> a) I can see in dmesg output that the device is detected and labelled ugen0

See ugen(4). Basically, the dongle isn't supported.

> b) I can see the led light continuously on the dongle, this only happens in
> other environments I've used the dongle in when the dongle is no longer in
> mass storage mode (light flashes when in mass storage mode)
>
> However, when I ifconfig I get nothing.



Re: HUAWEI dongle

2015-12-19 Thread Michael McConville
Read, James C wrote:
> I just installed 5.8, I know my dongle is detected and correctly switched to
> the right mode because
> 
> a) I can see in dmesg output that the device is detected and labelled ugen0

See ugen(4). Basically, the dongle isn't supported.

> b) I can see the led light continuously on the dongle, this only happens in
> other environments I've used the dongle in when the dongle is no longer in
> mass storage mode (light flashes when in mass storage mode)
> 
> However, when I ifconfig I get nothing.



Re: HUAWEI dongle

2015-12-19 Thread Tati Chevron

On Sat, Dec 19, 2015 at 06:01:19PM +, Read, James C wrote:

Hi,

I just installed 5.8, I know my dongle is detected and correctly switched to
the right mode because

a) I can see in dmesg output that the device is detected and labelled ugen0
b) I can see the led light continuously on the dongle, this only happens in
other environments I've used the dongle in when the dongle is no longer in
mass storage mode (light flashes when in mass storage mode)

However, when I ifconfig I get nothing.

What gives?

0x00



A full dmesg output, or at least an indication of what model the dongle is
would be useful here.

The older Huawei dongles appear as serial ports, modern ones will appear as
a network adaptor.

But they do funky things like presenting themselves first as a CD-ROM device
until they are, 'ejected', then re-presenting as a different device with
different USB IDs.

There are even AT commands to configure which aspects of the functionality
you want, (I.E. you can disable the built in driver CD emulation, stop it
working with mainstream operating systems, and optimise it for OpenBSD by
eliminating the USB connect-disconnect-reconnect cycle).

I've done all of this with various Huawei dongles, until they blew up and
stopped working due to low production quality, (in my opinion).

Unfortunately, without more information on YOUR dongle, (which would come
from a dmesg, and/or usbdevs output), I can't give you any specific advice.

--
Tati Chevron
Perl and FORTRAN specialist.
SWABSIT development and migration department.
http://www.swabsit.com



HUAWEI dongle

2015-12-19 Thread Read, James C
Hi,

I just installed 5.8, I know my dongle is detected and correctly switched to
the right mode because

a) I can see in dmesg output that the device is detected and labelled ugen0
b) I can see the led light continuously on the dongle, this only happens in
other environments I've used the dongle in when the dongle is no longer in
mass storage mode (light flashes when in mass storage mode)

However, when I ifconfig I get nothing.

What gives?

0x00



Re: HUAWEI dongle

2015-12-19 Thread Michael McConville
Michael McConville wrote:
> Read, James C wrote:
> > I just installed 5.8, I know my dongle is detected and correctly
> > switched to the right mode because
> > 
> > a) I can see in dmesg output that the device is detected and
> > labelled ugen0
> 
> See ugen(4). Basically, the dongle isn't supported.

There was recently a good discussion about which WiFi dongles are
reliably supported. I'd suggest finding cheap well-reviewed options
online and searching their names on the list archives.

> > b) I can see the led light continuously on the dongle, this only
> > happens in other environments I've used the dongle in when the
> > dongle is no longer in mass storage mode (light flashes when in mass
> > storage mode)
> > 
> > However, when I ifconfig I get nothing.



Re: HUAWEI dongle

2015-12-19 Thread Tati Chevron

Anyway, seriously. What do I need to do to get this up and running? I need to
connect to the internet to do work on and I've had it with just about every
other OS there.


It depends on the exact model of dongle.

Maybe it's actually supported, but the USB device IDs are different to the ones 
in the kernel, so it's ignored.  Without seeing the full log messages as it 
connects, it's hard to speculate.

As I said previously, I've had Huawei dongles that presented alternative USB 
device IDs, and after an AT command to disable the unneeded functionality, they 
presented as a different USB device that was recognised.  Alternatively, they 
worked in their original connect-disconnect-reconnect modes when the other ID 
was added to the kernel.

You've said that it connects as ugen, and also as umsm.  Often the older 
dongles provided several serial interfaces, only one of which actually worked.  
Again, nobody will be able to help you without the log messages.

--
Tati Chevron
Perl and FORTRAN specialist.
SWABSIT development and migration department.
http://www.swabsit.com



Re: HUAWEI dongle

2015-12-19 Thread Read, James C
>Unfortunately, without more information on YOUR dongle, (which would come
>from a dmesg, and/or usbdevs output), I can't give you any specific advice.

I'm having trouble mounting my OpenBSD file system under linux so can't get
the dmesg for you right now. But I remember the line started with something
like

umsm0 at  HUAWEI

So I'm guessing this is the old style?

Sorry for the lack of output here. I'm still working on getting my file system
mounted so I can get the /var/log/messages for you.

0x00



Re: HUAWEI dongle

2015-12-19 Thread Read, James C
>There was recently a good discussion about which WiFi dongles are
>reliably supported. I'd suggest finding cheap well-reviewed options
>online and searching their names on the list archives.

my dmesg gives:

umsm0 at uhub0 port 1 configuration 1 interface 0 @HUAWEI HUAWEI Mobile@ rev
2.00/1.02 addr 2


my usbdevs -dv

uhub0

port 1 addr 2 : high speed, power 500 mA, config 1, HUAWEI Mobile
E303(0x1f01), HUAWEI Technologies(0x12d1), rev 1.02


cu /dev/cua00 gives

Connected to /dev/cua00 (speed 9600)


I'm guessing this means everything is working. What do I need to do next to
get networking up and running?




0h, by contrast my working lsusb output on Ubuntu gives:

Bus 001 Device 007: ID 12d1:14db Huawei Technologies Co., Ltd. E353/E3131


The packaging says the device is E3533 HSPA+ USB Stick


0x00



Re: HUAWEI dongle

2015-12-19 Thread Read, James C
>A full dmesg output, or at least an indication of what model the dongle is
>would be useful here.

Would love to be able to do that. Anybody had success mounting an OpenBSD
filesystem in linux?

0x00



Re: HUAWEI dongle

2015-12-19 Thread Read, James C
>You've said that it connects as ugen, and also as umsm.  Often the older
dongles provided >several serial interfaces, only one of which actually
worked.  Again, nobody will be able to help >you without the log messages.

my dmesg gives:

umsm0 at uhub0 port 1 configuration 1 interface 0 @HUAWEI HUAWEI Mobile@ rev
2.00/1.02 addr 2


my usbdevs -dv

uhub0

port 1 addr 2 : high speed, power 500 mA, config 1, HUAWEI Mobile
E303(0x1f01), HUAWEI Technologies(0x12d1), rev 1.02


cu /dev/cua00 gives

Connected to /dev/cua00 (speed 9600)


I'm guessing this means everything is working. What do I need to do next to
get networking up and running?




0h, by contrast my working lsusb output on Ubuntu gives:

Bus 001 Device 007: ID 12d1:14db Huawei Technologies Co., Ltd. E353/E3131


The packaging says the device is E3533 HSPA+ USB Stick


0x00



Re: HUAWEI dongle

2015-12-19 Thread Read, James C
>Please send dmesg and the output of:

>usbdevs -dv

>Both while the Huawei dongle is plugged into your machine, of course...


my dmesg gives:

umsm0 at uhub0 port 1 configuration 1 interface 0 @HUAWEI HUAWEI Mobile@ rev
2.00/1.02 addr 2


my usbdevs -dv

uhub0

port 1 addr 2 : high speed, power 500 mA, config 1, HUAWEI Mobile
E303(0x1f01), HUAWEI Technologies(0x12d1), rev 1.02


cu /dev/cua00 gives

Connected to /dev/cua00 (speed 9600)


I'm guessing this means everything is working. What do I need to do next to
get networking up and running?




0h, by contrast my working lsusb output on Ubuntu gives:

Bus 001 Device 007: ID 12d1:14db Huawei Technologies Co., Ltd. E353/E3131


The packaging says the device is E3533 HSPA+ USB Stick


0x00



Re: HUAWEI dongle

2015-12-19 Thread Jérémie Courrèges-Anglas
"Read, James C"  writes:

>>A full dmesg output, or at least an indication of what model the dongle is
>>would be useful here.
>
> Would love to be able to do that. Anybody had success mounting an OpenBSD
> filesystem in linux?

IIRC it's something like mount -o ro,44bsd.

> 0x00
>
-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: HUAWEI dongle

2015-12-19 Thread Carl Trachte
On Sat, Dec 19, 2015 at 12:18 PM, Read, James C  wrote:
>>> Read, James C wrote:
>>> > I just installed 5.8, I know my dongle is detected and correctly
>>> > switched to the right mode because
>>> >
>>> > a) I can see in dmesg output that the device is detected and
>>> > labelled ugen0
>>>
>>> See ugen(4). Basically, the dongle isn't supported.
>
>>There was recently a good discussion about which WiFi dongles are
>>reliably supported. I'd suggest finding cheap well-reviewed options
>>online and searching their names on the list archives.
>
> http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man4/umsm.4?query=umsm
> =4
>
> My modem is explicitly listed here (Huawei Mobile E353). And, in fact, the
> dmesg mentions umsm0 when the device is detected in dmesg.
>
> Like I said I know the device is detected and working because I can see the
> light continuous. This only happens when the device mode has been succesfully
> switched.
>
> What do I need to do to bring this up with ifconfig?
>
> Raed Samej
>

I'm jumping in late, sorry if I'm missing context.

If you have your dongle plugged in and it is supported, ifconfig (no
switches) should show it as an interface like urtwn0 or another
chipset family (in your case, umsm0).

I have a Verizon MiFi unit for my wireless internet.  Your setup will
naturally be different unless you're using the same Verizon MiFi unit
for internet.

(with root privileges)

ifconfig umsm0 up nwid Verizon-291LVW-0007 wpakey 

You may need firmware for the driver.  I have to install iwn firmware
for the intel wireless on my X201 ThinkPad.

If your network associates with that command above, then

dhclient umsm0

I always test by pinging google

ping www.google.com

Good luck.

FWIW, OpenBSD does a better on wireless stick driver support than do
the other BSD's, at least last time I went through this a couple years
back.  The trick is buying a chip (manufacturers switch them out all
the time, so you can't depend on the unit model name) that's
supported.

Carl T.



Re: HUAWEI dongle

2015-12-19 Thread Read, James C
>> Read, James C wrote:
>> > I just installed 5.8, I know my dongle is detected and correctly
>> > switched to the right mode because
>> >
>> > a) I can see in dmesg output that the device is detected and
>> > labelled ugen0
>>
>> See ugen(4). Basically, the dongle isn't supported.

>There was recently a good discussion about which WiFi dongles are
>reliably supported. I'd suggest finding cheap well-reviewed options
>online and searching their names on the list archives.

http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man4/umsm.4?query=umsm
=4

My modem is explicitly listed here (Huawei Mobile E353). And, in fact, the
dmesg mentions umsm0 when the device is detected in dmesg.

Like I said I know the device is detected and working because I can see the
light continuous. This only happens when the device mode has been succesfully
switched.

What do I need to do to bring this up with ifconfig?

Raed Samej