Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 02-02-2006, 09:16 AM   #1 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
Valmont is on a distinguished road
PDA wirelss peer to peer

I have a Yakumo PDA gps 300. It has a SD wirelss network card in it and the driver is intalled.

Im my pc I have a wireless network card as well. No router.

Both network cards are set to dynamic IP. The networks see eachother but the PDA isn't getting an ip-address.
Basically I am trying to connect to the internet with the PDA through my pc. Is that possible without a wireless router?

Why isn't my pda not getting an ip assigned? It remains on 0.0.0.0.
__________________
Valmont is offline   Reply With Quote
Old 02-02-2006, 09:31 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,693
redhead is on a distinguished road
You need to set both devices in ad-hoc mode, or peer to peer mode, then they will form a private network between the two devices, and you can set your PC to route from the WIFI card to the NIC.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 02-02-2006, 09:32 AM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
if you have no router, where do your network cards get their IPs from?
sde is offline   Reply With Quote
Old 02-02-2006, 10:40 AM   #4 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,693
redhead is on a distinguished road
I'm guessing Valmonts setup is something like this:
Code:
                                               (    ) 
                                                 ()
                                                 /\
.----------.      .----------.      (    )    .-----.
| Internet |------| DSL plug |        ()      | PDA |
'----------'      '----------'        /\      '-----'
                      |        .-----------.
                      '-. .----|PC NIC/WIFI|
                        '-'    '-----------'
So you won't need the router in the first place.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 02-02-2006, 10:43 AM   #5 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
Valmont is on a distinguished road
Yes, redhead's pic is correct.
__________________
Valmont is offline   Reply With Quote
Old 02-02-2006, 10:46 AM   #6 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
lol, crazy ansi network diagram.
sde is offline   Reply With Quote
Old 02-02-2006, 11:04 AM   #7 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
Valmont is on a distinguished road
How do I set my pc to route from wifi to nic?
__________________
Valmont is offline   Reply With Quote
Old 02-02-2006, 11:26 AM   #8 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,693
redhead is on a distinguished road
Dont moc ASCII a great number of things can be made clear through a little ASCII art, this is my current setup
Code:
  [Neighbour block]                 [My block]
                                                        (    )
                                                          ()
      (    )                            (    )            /\
        ()                                ()         .-----------.
        /\                   (    )       /\         |workstation|
    .---------------.          ()      .--------.    '-----------'
 ---|Wireless router|          /\      | Laptop |       
    '---------------'       .--------. |WIFI/NIC|-.
                            | server | '--------' |
                            |AP/DHCP |       .--. |
                            '---.----'       |  '-'
                                |         .------.
                                |         |switch|
                                |         '-.----'
                                '----.      |
                                     '------'
As you all can see, I'm usign the laptop to capture the Wireless network from the neighbor block, then routing it onwards to my switch which has my own server with it's WIFI card acting as a AP, and my workstation connected to that through Wireless.

This solution is due to the signal comming from the other block beeing so weak (it's like 10/100 to 2/100 in strength) So I have to have the laptop placed in my window in order to minimize the drop caused by the outer walls.
Dont tell me to build a directional antenna, as I've tried it and it wasn't much of a gain from that.

I know it's a temperary solution, but as long as the prices for DSL here are sky high, I'm gonna take advantage of the open AP I can sniff..

btw, the poor bastard owning the AP dosn't have the slightest knwoledge of security, I can login to the AP using the default admin login/passwd, at some point I might just pay him a visit and tell him how to secure himself, as of now I can see from the APs logs that eight other vultures are using his AP.
But that wont be untill I've bought my own DSL line.... It's just those damned prices.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 02-02-2006, 11:38 AM   #9 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,693
redhead is on a distinguished road
Is it running windows ?
Then in your network-settings, right click on your NIC connection, and select "Share connection" go through all the settings, where it default will say NIC is the one to be shared.
Then select prefferences on your WIFI link, and in advanced settings set it to "peer to peer", (under linux/in AP setups, thats called ad-hoc) asign it some IP with a suitable netmask.

On your PDA set the WIFI to "peer to peer", here it might be called ad-hoc, and set it to have an IP within the same range as the one you've assigned to your PC WIFI, and make sure the gateway on the PDA is set to the PC WIFIs assigned IP.
As for nameservers on the PDA you can use the same as assingned to your PC, since they're given as IPs and not DNS names, the PC will just route any request from the PDA for name lookups.

On another note, You've might noticed that I've been away and such for quite some time now, the reason is that on top of my moving, I've gotten a new job which I start on monday.. So I'm pretty anxious on what to expect.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 02-02-2006, 01:11 PM   #10 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
Valmont is on a distinguished road
What new job did you get? How far did you need to move?

I don't know what you mean (windows xp) with:
Quote:
Then in your network-settings, right click on your NIC connection, and select "Share connection" go through all the settings, where it default will say NIC is the one to be shared.
So what I did is:
1) Right-click on nic on pc then choose Properties.
2) Go to the advanced tab and enable Internet Connection Sharing.
3) The nic is set to dynamic IP so I can connect to my ADSL provider.

For the wireless networkcard in the pc:
1) Right-click then choose Properties.
2) I set the IP to 192.168.0.1 / 255.255.255.0
3) The wireless network I made with Windows Wireless Zero configuration is set to p2p automatically.

On the PDA:
1) I set the IP to 192.168.0.2 / 255.255.255.0
2) I set the default gateway to the ip of the wireless nic on computer which is:192.168.0.1

But no go. The wireless network is recognized (connected) but no internet on the pda.

Did I miss something?
The assigned ip on the pda is still: 0.0.0.0. when I check in in advanced config for the pda wireless nic.
__________________
Valmont is offline   Reply With Quote
Old 02-02-2006, 02:52 PM   #11 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,693
redhead is on a distinguished road
From the PDA, can you search for APs, to see if your PC will turn up, I think the PDA is missing the ESSID setting, which should reflect your PC, or AP setting, which should be the MAC from your PCs WIFI.

Can you ping between the PDA and PC ?

I moved like a mile, so it wasn't that far, but I moved from an appartment with like 200 squarefeet to one which has a comfortabe 900 square feet.
And the job is related to Leo Pharma Group where I'm not quite sure what I should be in charge of, they said I would recieve further instructions some time tomorrow, so thats why I'm a bit anxious.
But on the up and up, I managed to raise the salery with 20% during my interview, altho they were not too comfortable with paying me more than the regular employees in the department.

I guess they want me, since I never applied for any job offers from them, but they called me and asked if I was interested in an interview.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 02-02-2006, 08:37 PM   #12 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,545
Valmont is on a distinguished road
Nice company.

I suppose you're going to lead some assistant-networkengineers.
Are you settled yet in your new house? Took me ages because there was so much work to do before I really could move in.
__________________
Valmont is offline   Reply With Quote
Old 02-03-2006, 12:44 AM   #13 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,693
redhead is on a distinguished road
It's starting to come along, I still need a few things tho, like some more furnitures to fill up the space
But it's not untill you move, you figure out how much crap you've got stored, no matter how small, it seems that once you start packing you're supprised to see how much there realy is.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001

Last edited by redhead; 02-03-2006 at 01:19 AM.
redhead is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 01:14 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting