maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   Use N810 as Wifi router ? (https://talk.maemo.org/showthread.php?t=74161)

skatebiker 2011-06-20 13:30

Use N810 as Wifi router ?
 
For transferring files between N810 and an iPad or Macbook, you need a router. Now my question is when a router is unavailable, (e.g. on travel) there is no way to connect devices without a router.
Is there a possibility to use the N810 as a router, even without internet connection ?

Strawman 2011-06-20 14:19

Re: Use N810 as Wifi router ?
 
It might be easier to go the other way round and put the router software on your Mac (Google that).

skatebiker 2011-06-20 20:24

Re: Use N810 as Wifi router ?
 
I know that is rather easy.
But the other option (if I have only an iPad and N810 available e.g. during travel.

I know there is a builtin iptables , can I use this app as a router software ?

rambo 2011-06-20 21:03

Re: Use N810 as Wifi router ?
 
Quote:

Originally Posted by skatebiker (Post 1033242)
I know there is a builtin iptables , can I use this app as a router software ?

technically it's the kernel doing the routing, iptables is just used to manage things.

But it's also not technically routing traffick if it just serves dhcp to the ipad on the local ad-hoc network, though routing traffick over bluetooth DUN is possible too.

In addition to iptables you some sort of dhcp server, dnsmasq can act as a lightweight one.

See my mobilehotspot backend script for some examples and there's the purer shell-script version too (both for n900 but principles are the same, it's all basic linux networking anyway)

maacruz 2011-06-21 21:29

Re: Use N810 as Wifi router ?
 
The N810 wlan driver doesn't have master mode, so it can't be used as AP, so you won't be able to use it as a router, unless you get a usb wifi dongle that works with the N810.
Or try to route from usb or bluetooth to wlan ad-hock, but seems really complicated.

lma 2011-06-22 07:07

Re: Use N810 as Wifi router ?
 
An ad hoc WLAN with manual IP configuration between the N810 / Macbook / iPad should work.

rambo 2011-06-22 09:39

Re: Use N810 as Wifi router ?
 
Quote:

Originally Posted by maacruz (Post 1035296)
The N810 wlan driver doesn't have master mode, so it can't be used as AP, so you won't be able to use it as a router, unless you get a usb wifi dongle that works with the N810.
Or try to route from usb or bluetooth to wlan ad-hock, but seems really complicated.

N900 has no master mode either and it's simple to configure the ad-hoc network, routing has absolutely nothing to do with what transports the networks being routed happen to use.

maacruz 2011-06-22 15:56

Re: Use N810 as Wifi router ?
 
Quote:

Originally Posted by rambo (Post 1035744)
N900 has no master mode either and it's simple to configure the ad-hoc network, routing has absolutely nothing to do with what transports the networks being routed happen to use.

I was under the wrong assumption that the ad-hoc mode could connect just two devices.
So, being the case that ad-hoc can connect 3 devices, then the N810 can route just with iptables with no problem.

momcilo 2011-06-22 16:11

Re: Use N810 as Wifi router ?
 
Quote:

Originally Posted by maacruz (Post 1036084)
I was under the wrong assumption that the ad-hoc mode could connect just two devices.
So, being the case that ad-hoc can connect 3 devices, then the N810 can route just with iptables with no problem.

Depending on devices, you may end-up being unable to connect even 2 devices reliably.

linuxeventually 2011-06-22 18:50

Re: Use N810 as Wifi router ?
 
I haven't tried it yet because I keep forgetting about this article but OpenWRT on the N810: http://bu3sch.de/cms/hacking/n810-openwrt.html


All times are GMT. The time now is 20:45.

vBulletin® Version 3.8.8