Reply
Thread Tools
Posts: 51 | Thanked: 22 times | Joined on Jul 2007 @ Seattle
#1
Edit: I have found a solution. I will make a new thread (probably during the week) with details, instructions (to the best of my ability) and the needed files.

I have wanted to be able to make my 770 into an access point, sharing out my cell-phone's internet access, from the moment I first heard of and purchased it (from Woot of course)

Yesterday, I finally achieved that goal. (In ad-hoc mode; there seems to be no way to set wlan0 to master)

Then this morning, my 770 rebooted. And rebooted some more. Luckily it was booting from the MMC card, so I could just go back to the original system. So I formatted the boot partition on the mem-card and tried again, set it up mostly, and it failed to reboot. So I tried again...

After much wear on my card, I eventually narrowed it down to /etc/dnsmasq.conf - If the dhcp server is enabled, the tablet won't boot.
Being a rather important part of an access point, this is a "blocking issue"

Here are some settings I have tried and failed (by editing the file from the original system and trying to reboot):
  • Only listening on a static IP (that I give the interface when I set it to ad-hoc)
  • (Also listening on 127.0.0.1)
  • Only listening on wlan0
  • Setting it to ignore DHCP requests from the tablet's MAC (and hostname)
  • Uncommenting "bind-interfaces" (in various combinations with the others)
I would just have the NAT script temporarily replace the file with a dhcp-enabled version, but there are too many random reboots (such as the one when scanning for a network) for that to be safe.

If anyone can offer a suggestion to get dnsmasq both serving DHCP and bootable, or point me to another DHCP server that runs on the 770, I would be very grateful.
I would also then host the kernel modules, lib files, and script to make NAT (A.K.A. ICS) work. (with the cell-phone over usb module - CDMA at least - thrown in for good measure)

Note: I am using OS 3.2006.49-2

Last edited by davidgro; 2007-09-08 at 21:07. Reason: Found solution
 
Posts: 468 | Thanked: 610 times | Joined on Jun 2006
#2
I can't give any advise on this, but i would like to say that I think this is a very cool thing to be able to do.

A lot of portable devices do not have Bluetooth, just Wlan to connect to the internet. So you can't use a normal phone to get them online (I don't believe there is a Nat router software for Nokia S60 yet, because a lot of N and E series have Wlan, you could make them in a pocket access point)

The PSP is a very good example of a Wlan only portable device, and also the new Ipod Touch doesn't have bluetooth. This could be very handy!

I would love to know how you did it up to this point.
 
Posts: 51 | Thanked: 22 times | Joined on Jul 2007 @ Seattle
#3
CORRECTION:
A bit more experimentation has revealed that the problem is caused by the "listen-address=" line(s), not the "dhcp-range="

Unfortunately, that isn't really helpful - I can't have it serving leases when I try to to connect to a real AP, so it needs that option.
(and I am still worried about even temporarily leaving the file in a state where it won't boot)
 
Posts: 51 | Thanked: 22 times | Joined on Jul 2007 @ Seattle
#4
Originally Posted by Bernard View Post
I can't give any advise on this, but i would like to say that I think this is a very cool thing to be able to do.

...

I would love to know how you did it up to this point.
Had I been thinking all this time, I would have taken notes. Unfortunately, I dislike writing (as evidenced by this being my first thread here)
Anyway, the hard part was setting up scratchbox - there is documentation for it, but it's not very good (or up to date)
and then getting the kernel to compile in it.
and then getting modules to compile.
then figuring out which kernel options produced the ones I need
Testing, finding missing stuff, enabling more options
and so forth.

Also, until very recently my phone was one without bluetooth, so I had to get the battery powered usb hub and a Y-cable, figure out a way to jump-start the hub (I use a half-dead 9-volt battery, it's close enough to 5v) and get that all set up with the kernel mod for the phone and pppd settings for my provider (Verizon)
 
Posts: 2 | Thanked: 0 times | Joined on Sep 2007
#5
That sounds like an awesome hack... What steps did you take to make it work?

I'm trying to do the same thing, except I want it to be a bluetooth access point vs. wifi. Any advise if I want to setup a BT network instead?
 
Posts: 51 | Thanked: 22 times | Joined on Jul 2007 @ Seattle
#6
After failing to do so this week, I'm planning to work on a write-up of the steps this weekend.
As for a BT network, it should be possible, but I have not worked with that yet.
 
gogol's Avatar
Posts: 177 | Thanked: 57 times | Joined on Aug 2007 @ Washington State, USA
#7
what in the world???
Did nobody see this when I posted it? You don't need scratchbox, compiling, dhcp servers, none of that. It's a very simple few clicks away in the Connection Manager. Check it out:
http://www.internettablettalk.com/fo...0043#post70043

You can also hack on a copy of fakeap (google it) and flood the air with massive amounts of randomly named (ad-hoc) network beacons. I had a lot of fun with this... There is really no easy way I've discovered to get this card into master mode, so we're stuck with ad-hoc (which aint bad!)

edit: I see. Yes, there'd be a few extra steps past simply hosting an ad-hoc network to what you want to achieve. a transparent proxy maybe? Im not sure if DHCP and NAT are really the best way to go...
__________________
~Nokia n810 OS Diablo 5.2008.43-7~ my (old 770) hax: http://770hax.today.com

Last edited by gogol; 2007-09-24 at 10:30.
 
Reply

Thread Tools

 
Forum Jump


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