|
2010-01-03
, 22:36
|
Posts: 355 |
Thanked: 566 times |
Joined on Nov 2009
@ Redstone Canyon, Colorado
|
#52
|
I'm working (when I happen to have time) on something slightly more comprehensive: the mobile hotspot.
self.exec_cmd('ifconfig ' + self.wlanif + ' ' + self.network + '1 netmask 255.255.255.0 up')
iptables is small (400k deb) but I don't think there isn't any reason why it couldn't be optified.
In theory even the modules could be installed outside the rootfs but that's asking for trouble.
|
2010-01-04
, 06:24
|
Posts: 540 |
Thanked: 288 times |
Joined on Sep 2009
|
#53
|
P.S. Edit: ah, i think i see why you have that "1" there, so the wifi connection always gets .1 in the network?
The Following User Says Thank You to rambo For This Useful Post: | ||
|
2010-01-04
, 06:40
|
|
Posts: 739 |
Thanked: 242 times |
Joined on Sep 2007
@ Montreal
|
#54
|
|
2010-01-04
, 22:13
|
Posts: 540 |
Thanked: 288 times |
Joined on Sep 2009
|
#55
|
Not too sure how ad-hoc differs from infrastructure mode... Is it only about power management or does it restrict it to only 1 user or something similar?
|
2010-01-04
, 23:52
|
Posts: 36 |
Thanked: 20 times |
Joined on Nov 2009
@ Austin, TX
|
#56
|
...The N900 wireless module refuses to go into infrastructure mode (as-in act as basestation, being a client to a basestation is different mode) anyway so it's a moot point...
The Following User Says Thank You to bmouring For This Useful Post: | ||
|
2010-01-05
, 08:08
|
Posts: 540 |
Thanked: 288 times |
Joined on Sep 2009
|
#57
|
Was this through use of iwconfig (supposedly not supported at all anymore, any device will return "not supported" if attempting this) or through iw (using the forced __ap type, useful for testing only as it doesn't expose what's needed) or through hostapd (the supported way of entering AP mode)? Link for reference
|
2010-01-05
, 10:00
|
|
Posts: 129 |
Thanked: 60 times |
Joined on Jul 2009
@ Castello d'Argile (BO)
|
#58
|
[URL="http://en.wikipedia.org/wiki/Wireless_LAN#Peer-to-peer"]The N900 wireless module refuses to go into infrastructure mode (as-in act as basestation, being a client to a basestation is different mode)
|
2010-01-06
, 11:15
|
Posts: 540 |
Thanked: 288 times |
Joined on Sep 2009
|
#60
|
The hotspot_backend.py script will do the setup/teardown cleanly eventually (now it's a bit work in progress still and there is absolutely no UI [or any other way than editing the script] to select GPRS connection name etc)
In theory even the modules could be installed outside the rootfs but that's asking for trouble.