Author Topic: Zaurus As Wifi-to-gsm Gateway  (Read 11323 times)

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Zaurus As Wifi-to-gsm Gateway
« 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

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
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3708
    • View Profile
Zaurus As Wifi-to-gsm Gateway
« Reply #1 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

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
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Zaurus As Wifi-to-gsm Gateway
« Reply #2 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

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
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Zaurus As Wifi-to-gsm Gateway
« Reply #3 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..........
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3708
    • View Profile
Zaurus As Wifi-to-gsm Gateway
« Reply #4 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
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Da_Blitz

  • Hero Member
  • *****
  • Posts: 1579
    • View Profile
    • http://www.pocketnix.org
Zaurus As Wifi-to-gsm Gateway
« Reply #5 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
Personal Blog
Code
Twitter

Gemini Order: #95 (roughly)
Current Device: Samsung Chromebook Gen 3
Current Arm Devices Count: ~30
Looking to acquire: Cavium Thunder X2 Hardware

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Zaurus As Wifi-to-gsm Gateway
« Reply #6 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
« Last Edit: October 10, 2007, 11:10:51 am by jpmatrix »
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3708
    • View Profile
Zaurus As Wifi-to-gsm Gateway
« Reply #7 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.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Zaurus As Wifi-to-gsm Gateway
« Reply #8 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
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3708
    • View Profile
Zaurus As Wifi-to-gsm Gateway
« Reply #9 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
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

jpmatrix

  • Hero Member
  • *****
  • Posts: 1014
    • View Profile
    • http://matrixmen.free.fr
Zaurus As Wifi-to-gsm Gateway
« Reply #10 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....
**Fujitsu U1010 !!!  
**ex-Zaurus SL-C3000 owner with Debian kernel 2.6.24-yonggun

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3708
    • View Profile
Zaurus As Wifi-to-gsm Gateway
« Reply #11 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.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.