OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Security and Networking => Topic started by: jpmatrix on October 08, 2007, 02:55:00 pm

Title: Zaurus As Wifi-to-gsm Gateway
Post by: jpmatrix on October 08, 2007, 02:55:00 pm
hello
here's what i'd like to do with the Zaurus :

http://web.archive.org/web/20070428000520/...m/node/view/192 (http://web.archive.org/web/20070428000520/http://www.virtuoffice.com/node/view/192)

my main goal is to provide anywhere-dialup to my PSP which is only wifi :   PSP-->wifi-->Zaurus-->BT_dialup-->GSM-->internet

any success ?

ps: i'd like to do that with my debian on the zaurus
Title: Zaurus As Wifi-to-gsm Gateway
Post by: speculatrix on October 08, 2007, 06:42:03 pm
Quote from: jpmatrix
here's what i'd like to do with the Zaurus :
http://web.archive.org/web/20070428000520/...m/node/view/192 (http://web.archive.org/web/20070428000520/http://www.virtuoffice.com/node/view/192)

well, it looks as if the article referenced pretty much tells you all you need to know.

1/ on zaurus, set up ppp dial up networking using a gsm/gprs phone connected via serial or irda or usb
2/ turn on IP forwarding
3/ use masquerading outbound on ppp0
4/ install bind/named
5/ install dhcp daemons on zaurus, set it up bound to wlan network, telling any dh clients to use Z as gateway,
6/ use ad-hoc networking on wireless lan

should be fairly straightforward
Title: Zaurus As Wifi-to-gsm Gateway
Post by: jpmatrix on October 09, 2007, 02:13:17 am
Quote from: speculatrix
Quote from: jpmatrix
here's what i'd like to do with the Zaurus :
http://web.archive.org/web/20070428000520/...m/node/view/192 (http://web.archive.org/web/20070428000520/http://www.virtuoffice.com/node/view/192)

well, it looks as if the article referenced pretty much tells you all you need to know.

1/ on zaurus, set up ppp dial up networking using a gsm/gprs phone connected via serial or irda or usb
2/ turn on IP forwarding
3/ use masquerading outbound on ppp0
4/ install bind/named
5/ install dhcp daemons on zaurus, set it up bound to wlan network, telling any dh clients to use Z as gateway,
6/ use ad-hoc networking on wireless lan

should be fairly straightforward

ok! i'll try and let you know if i need a network specialist
Title: Zaurus As Wifi-to-gsm Gateway
Post by: jpmatrix on October 09, 2007, 02:18:49 pm
first problem : i cannot put my asus wl110 cf card into master mode:
"operation not supported" ...
and i cannot go any further..........
Title: Zaurus As Wifi-to-gsm Gateway
Post by: speculatrix on October 10, 2007, 08:03:44 am
Quote from: jpmatrix
first problem : i cannot put my asus wl110 cf card into master mode:
"operation not supported" ...
and i cannot go any further..........

see point 6 I made above
Title: Zaurus As Wifi-to-gsm Gateway
Post by: Da_Blitz on October 10, 2007, 08:15:12 am
if you have a wince mobile then look out for the internet sharing program, connecting to that over bluetooth is as simple as

pand -c <bt mac>
/sbin/dhclient bnep0

its great if you dont want to fiddle with dial strings
Title: Zaurus As Wifi-to-gsm Gateway
Post by: jpmatrix on October 10, 2007, 11:10:15 am
Quote from: speculatrix
Quote from: jpmatrix
first problem : i cannot put my asus wl110 cf card into master mode:
"operation not supported" ...
and i cannot go any further..........

see point 6 I made above

my problem is specific to the PSP:
if i set an adhoc network on the zaurus, i cannot connect to it on the PSP : i have a "network not found" message...
i think the PSP needs something special for adhoc connexion as it should be used to connect between 2 PSP (or more)
and i i choose "Infrastructure" on the PSP i cannot see my adhoc network on the zaurus


perhaps i should start a network first on the PSP, find the SSID with a scan on the Zaurus and try to connect on the same network on the zaurus...i'll try asap and let you know
Title: Zaurus As Wifi-to-gsm Gateway
Post by: speculatrix on October 11, 2007, 05:59:49 pm
Quote from: jpmatrix
my problem is specific to the PSP:
if i set an adhoc network on the zaurus, i cannot connect to it on the PSP : i have a "network not found" message...

is your wifi card prism based, in which case it should be possible to get the full hostap driver and hostapd loaded and make the Z into an access point. I've never done this myself (something I've intended to do, to make my Z into a honeynet to see who bites at a public location), but in theory (hah!) it shouldn't be too hard.
Title: Zaurus As Wifi-to-gsm Gateway
Post by: jpmatrix on October 13, 2007, 04:07:34 am
Quote from: speculatrix
Quote from: jpmatrix
my problem is specific to the PSP:
if i set an adhoc network on the zaurus, i cannot connect to it on the PSP : i have a "network not found" message...

is your wifi card prism based, in which case it should be possible to get the full hostap driver and hostapd loaded and make the Z into an access point. I've never done this myself (something I've intended to do, to make my Z into a honeynet to see who bites at a public location), but in theory (hah!) it shouldn't be too hard.

problem is that my card only works with orinoco's drivers.... at least under debian titchy
i think i'll have to wait until hostap works
Title: Zaurus As Wifi-to-gsm Gateway
Post by: speculatrix on October 14, 2007, 09:47:06 am
Quote from: jpmatrix
problem is that my card only works with orinoco's drivers.... at least under debian titchy
i think i'll have to wait until hostap works

ah, I think that the default in debian & ubuntu will be to load the orinoco/hermes drivers for prism chipsets; you need to blacklist the orinoco driver and get it to load the hostap ones instead.

I've only briefly played with ubuntu/debian in this respect once, and I ended up hiding the orinoco drivers by renaming them to make it work.

good luck
Paul
Title: Zaurus As Wifi-to-gsm Gateway
Post by: jpmatrix on October 15, 2007, 06:55:48 am
Quote from: speculatrix
Quote from: jpmatrix
problem is that my card only works with orinoco's drivers.... at least under debian titchy
i think i'll have to wait until hostap works

ah, I think that the default in debian & ubuntu will be to load the orinoco/hermes drivers for prism chipsets; you need to blacklist the orinoco driver and get it to load the hostap ones instead.

I've only briefly played with ubuntu/debian in this respect once, and I ended up hiding the orinoco drivers by renaming them to make it work.

good luck
Paul

i think you did not understand me : my card doesn't work with the hostap drivers  it only works with orinoco's....
Title: Zaurus As Wifi-to-gsm Gateway
Post by: speculatrix on October 16, 2007, 06:13:15 am
Quote from: jpmatrix
i think you did not understand me : my card doesn't work with the hostap drivers  it only works with orinoco's....

oh, I see. Sorry, I was assuming that any card that based on the hermes/prism chipset would be controllable by hostap, but I now stand corrected.