|
2010-02-17
, 07:28
|
Posts: 13 |
Thanked: 11 times |
Joined on Jan 2010
|
#22
|
wek: can you post the commands to set that up?
According to ifconfig, we have "wlan0" which is the wireless network, and "gprs0" which is the data connection we'd want to share.
The Following User Says Thank You to wek For This Useful Post: | ||
|
2010-02-19
, 01:24
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#23
|
|
2010-02-19
, 02:07
|
Posts: 61 |
Thanked: 60 times |
Joined on Jul 2007
@ Erlangen
|
#24
|
The Following User Says Thank You to greygoo For This Useful Post: | ||
|
2010-02-19
, 06:12
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#25
|
iwconfig wlan0 mode ad-hoc ifconfig wlan0 0.0.0.0 iwconfig wlan0 essid N900
vde_switch -s /var/run/vde_sock slirpvde -s /var/run/vde_sock -D vde_pcapplug -s /var/run/vde_sock wlan0
The Following User Says Thank You to qole For This Useful Post: | ||
|
2010-02-19
, 06:36
|
Posts: 13 |
Thanked: 11 times |
Joined on Jan 2010
|
#26
|
Good news! And bad news.
Combining greygoo's instructions with wek's instructions (with my "slirpvde" modification) sets up a joikuspot-style router with a stock kernel... for a second, until my N900 rebooted.
0. Install Easy Debian and apt-get install vde2
1. run the three vde2 commands in three Easy Debian root terminals (sudo debian):
2. make sure the N900 is on the GPRS data network (not wifi)Code:vde_switch -s /var/run/vde_sock slirpvde -s /var/run/vde_sock -D vde_pcapplug -s /var/run/vde_sock wlan0
3. run the three commands from greygoo as root (I don't have iwconfig in Maemo, so I also ran these in a root Debian terminal):
4. Find the "N900" hotspot with your N800 (or laptop if you aren't cool enough to own an N800) and connect.Code:iwconfig wlan0 mode ad-hoc ifconfig wlan0 10.0.0.1 iwconfig wlan0 essid N900
5. Get the IP address (yes, you get one!)
6. Try to load a web page... see the web browser show the title of the web page at the title bar... then watch the N900 reboot...
|
2010-02-19
, 06:53
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#27
|
The Following User Says Thank You to qole For This Useful Post: | ||
|
2010-02-19
, 07:06
|
Posts: 13 |
Thanked: 11 times |
Joined on Jan 2010
|
#28
|
Tried a few more times. N900 didn't reboot, but the whole thing was terribly, terribly slow and not very stable-feeling.
Corrected my instructions; I had the order of 1 and 3 wrong. First you set up wlan0, then you set up the router.
wek: How do I run the VDE apps as daemons?
|
2010-02-19
, 11:27
|
Posts: 540 |
Thanked: 288 times |
Joined on Sep 2009
|
#29
|
|
2010-03-08
, 07:40
|
Posts: 13 |
Thanked: 11 times |
Joined on Jan 2010
|
#30
|
According to ifconfig, we have "wlan0" which is the wireless network, and "gprs0" which is the data connection we'd want to share.
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
Last edited by qole; 2010-02-17 at 00:43.