DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th December 2009
Peiteros Peiteros is offline
New User
 
Join Date: Dec 2009
Posts: 6
Default Huawei E169 (e220) Internet connection on NetBSD

Hi, I was wonder if anybody have idea how to establish connection to the Internet in NetBSD 5.01 with Huawei E169 (E220) modem?
My modem is recognised at /dev/usb0. All info from ISP are:

APN: internet
Login: none
Hasło: none
Access number: *99***1#

DNS:
89.108.195.20
89.108.195.21

Currently I run my NetBSD on VirtualBox, to check out it is possible to connect to the net. I read some stuff but all of them were connected to other BSDs and doesn't work or there aren't some tools which I may use to do so. If it is needed I'll try to provide some extra info like i.e. dmesg. But it will be rather difficult cause I'll need to rewrite it from the terminal output :P
All in all, I would appreciate for Your help, thanks in advance for help!
Reply With Quote
  #2   (View Single Post)  
Old 18th December 2009
Peiteros Peiteros is offline
New User
 
Join Date: Dec 2009
Posts: 6
Default

There is small mistake - there where is word "Hasło" it should be "Password".
I made printscreens of terminal output of usbdevs -v and dmesg:
Attached Images
File Type: jpg dmesg.jpg (17.7 KB, 121 views)
File Type: jpg usbdevs_-v.jpg (14.5 KB, 120 views)
Reply With Quote
  #3   (View Single Post)  
Old 18th December 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

It is being incorrectly detected as a USB mass storage device, there also appears to be a problem reading the productID string.

The device node /dev/usb0 is not an indication of proper detection, that is probably used by libusb applications to access the USB bus.

This may or may not have been fixed in NetBSD's source tree yet, you can obtain developmental releases from the following site:
http://nyftp.netbsd.org/pub/NetBSD-daily/

If it is not, you may wish to submit a bug report.. or send a message to their mailing lists.

You may also want to consider trying OpenBSD, support for cellular modems is quite mature.

Good luck.
Reply With Quote
  #4   (View Single Post)  
Old 18th December 2009
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,128
Default

Search the forums for Huawei and you will find 2 threads in the OpenBSD section, which can help you further.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #5   (View Single Post)  
Old 18th December 2009
Peiteros Peiteros is offline
New User
 
Join Date: Dec 2009
Posts: 6
Default

Thanks! I was thinking about OpenBSD, but as long as it is mostly directed to server purposes it would be quite difficult to make it useful for a simple user of simple daily needs as I'm :P Well, all in all it is not a problem to configure an Internet connection with Huawei E169 at all? I mean problem like this one.
Reply With Quote
  #6   (View Single Post)  
Old 18th December 2009
Peiteros Peiteros is offline
New User
 
Join Date: Dec 2009
Posts: 6
Default

Yeah, I saw them before (I usualy read forum before ask ) and there are still some troubles.. As I wrote before I'll maybe try OpenBSD... I rather denay FreeBSD 'cause it doesn't support Core 2 Duo - as I have read recently.
Reply With Quote
  #7   (View Single Post)  
Old 18th December 2009
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,128
Default

PPP is pretty well the same on all BSD's, I don't think you have to switch OS.
Well maybe try a real install instead of on top of Virtual Box.

And we can use some extra NetbSD expertise here on the forum.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #8   (View Single Post)  
Old 19th December 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

Quote:
Originally Posted by J65nko View Post
PPP is pretty well the same on all BSD's, I don't think you have to switch OS.
Well maybe try a real install instead of on top of Virtual Box.

And we can use some extra NetbSD expertise here on the forum.
The problem here is the modem is not being detected a USB modem, i.e: it doesn't present itself to userland as a serial port.. doesn't matter if NetBSD has a working PPP implementation at this stage.

It may be as simple as patching their relevant drivers to attach to this device, i.e: nudge it out of USB mass storage mode.

A lot of USB devices attach as a tiny CD-ROM drive with Windows driver included, OpenBSD's ubsa(4)/umsm(4) drivers have few known methods of doing such nudging.. AFAIK FreeBSD ships with a utility to do it.

With some devices, using eject(1) is enough to have it attach with the proper driver.
Reply With Quote
  #9   (View Single Post)  
Old 19th December 2009
Tom Tom is offline
Port Guard
 
Join Date: Aug 2008
Location: Poland
Posts: 22
Default

Hi Peiteros,

It's a working pppd configuration: http://www.daemonforums.org/showpost...82&postcount=5

I'm using E169 with Playmobile provider. However You may encounter annoying bug while using this modem. http://mail-index.netbsd.org/netbsd-...msg010208.html

Best Regards/ Pozdrawiam
Tom
Reply With Quote
Old 19th December 2009
Peiteros Peiteros is offline
New User
 
Join Date: Dec 2009
Posts: 6
Default

Hi! Thanks for help - as I saw You've done it before But there comes a trouble - when I putted Your code to the pppd script it give me info that device /dev/ttyU0 coouldn't be found and it isn't configured.. How can I attach my modem to that device (ofcourse as long as if it is really necessary)?

Również pozdrawiam
Reply With Quote
Old 19th December 2009
Tom Tom is offline
Port Guard
 
Join Date: Aug 2008
Location: Poland
Posts: 22
Default

I think that BSDfan666 described already the problem.

Huawei should be recognized as a uhmodem. Do you have a GENERIC kernel?

I should warn you also that even you can make it work, it's very irritating. For my it works only when ACPI is disabled and when i plug it in while loading the system, otherwise system panics.

There was a lot of bug reports but don't know if there was a fix. Try maybe with the latest current release.
Reply With Quote
Old 19th December 2009
Peiteros Peiteros is offline
New User
 
Join Date: Dec 2009
Posts: 6
Default

Yeah, I've got a generic kernel. I already haven't try this in Your way - I've got a lot of other work. I'm going to solve that and as I do this (or not) I'll write how to make this working (if it will be in the other way than presented already).
Reply With Quote
Reply

Tags
huawei

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pppoe internet connection on another lladdr enaqx General software and network 3 4th July 2009 12:07 AM
Huawei E220 USB / UK Three.co.uk wimwauters OpenBSD General 0 30th April 2009 04:42 PM
Huawei E220 USB / UK Vodafone DraconianTimes OpenBSD General 6 30th April 2009 12:53 AM
finding packages denpendencies with no internet connection roddierod OpenBSD Packages and Ports 1 13th November 2008 03:17 PM
no internet connection inside jail...? bgobs FreeBSD General 11 17th June 2008 04:36 PM


All times are GMT. The time now is 11:12 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick