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!

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.

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.

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.

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)?

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).