Hi,
I'd like to connect my laptop to the internet via n900. I have the usbnet connection ready and working. I also have my n900 connected to a wifi and ip_forwarding enabled. Normally I'd just add a SNAT rule to iptables.... but maemo doesn't seem to provide the iptables at all.
Is this doable in some way?
Why don't you just use JoikuSpot? I started using it the last time I was in Vegas and the hotel tried to charge me $15 for 24hr internet access. Downloaded JoikuSpot in about 2 minutes from my phone and was up and running on my laptop in about 3 minutes. Works like a charm.
For me, connecting to the N900 via USB - which is connected to the wireless network, let's me share the n900s GSM connection NOT the wireless one. Verified by tracing the route out and clearly going through my Mobile carier not my ISP.
This is with Network Manager on Ubuntu 10.4 (eeepc901).
Be interested if I'm missing something obvious to share the broadband not gsm connection over usb - which is how I read the OPs intent.
It's called tethering, and the reason everyone suggested 3G instead of wifi is because most laptops have wifi embedded so the market for such setups is mostly dead.
When mounted as USB, devices work as modems, not as LAN cards. However, you should be able to route the data normally, from one interface to another, though I think that could break stuff.
Your best bet thus far is to look for Maquarade, that should do the trick, only problem is I'm not sure you have the interfaces to route correctly, as the modem isn't really a network card.
Could be done. Some hotspot sharing software like the joiku or what's its name could route to a modem interface.
Also, explain all you want, it's an USB device not a magical fairy, the OS on the other side must know how to use it. It's never going to be an unshielded twisted pair. As a result you need the equivalent of the USB dial modem driver or software, regardless of platform.
Your best bet thus far is to look for Maquarade, that should do the trick, only problem is I'm not sure you have the interfaces to route correctly, as the modem isn't really a network card.
As I mentioned - I would, but there's no iptables available.
Also, explain all you want, it's an USB device not a magical fairy, the OS on the other side must know how to use it. It's never going to be an unshielded twisted pair. As a result you need the equivalent of the USB dial modem driver or software, regardless of platform.
That's why I mentioned in the first post that I do have both networks configured (wifi as 192.168.1.0/24, usbnet as 192.168.2.0/24). It does *not* work as a modem device in this scenario (or at least not as a point-to-point connection).
I could probably try to use the same network, just with ip forwarding and routes setup properly, but for various reasons, I want the source nat to be present / active.