Verdex as Access Point

View: New views
3 Messages — Rating Filter:   Alert me  

Verdex as Access Point

by ecrespin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I currently use the verdex with the rt73 usb wifi driver and a D-Link DWL-G122 usb wifi dongle. That way I get ip connectivity  through any wireless access point available in range.

That works fine, now I would like to know if it is possible to configure the verdex to act as an access point itself so clients could connect directly to the verdex without requiring an additional wireless router/AP. If the answer is positive, what are the config steps  ?

Thank you very much

Elias Crespin

Re: Verdex as Access Point

by Bobby Goodrich :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I don't know if this is exactly what you are looking for, but you can set up an ad-hoc network by adding the following to your /etc/network/interfaces:

auto mwlan0
iface mwlan0 inet static
      pre-up /sbin/iwconfig $IFACE mode Ad-hoc essid GumstixNetwork
      address 192.168.100.101
      netmask 255.255.255.0
      /sbin/ifconfig $IFACE up

mwlan0 should be replaced by whatever the interface name is for your rt73 usb wifi driver (such as wlan0)

Since this sets up an ad-hoc network, you have to have whatever other computer you are using to connect to GumstixNetwork configured in the same manner (with a different ip address of course)
So, if you use a debian-based distribution, such as ubuntu, you just put the same thing in the /etc/network/interfaces there.  For other distrobutions, as long as they have ifconfig and iwconfig (check for wireless-tools), and modprobe installed then you can just run the commands:

$ modprobe mwlan0
$ iwconfig mwlan0 mode Ad-hoc
$ iwconfig mwlan0 essid GumstixNetwork
$ ifconfig mwlan0 192.168.100.102 up

mwlan0 is replaced this time by your other computer's wifi driver's interface name

At this point you should be able to ping, scp, ssh, etc from one to another, just keep in mind the static ip addresses (which you can set to something else, for instance I use 192.168.5.*)

I hope this helps,
-Bobby

> Date: Wed, 16 Jul 2008 07:29:35 -0700
> From: elias.crespin@...
> To: gumstix-users@...
> Subject: [Gumstix-users] Verdex as Access Point
>
>
> Hello,
>
> I currently use the verdex with the rt73 usb wifi driver and a D-Link
> DWL-G122 usb wifi dongle. That way I get ip connectivity through any
> wireless access point available in range.
>
> That works fine, now I would like to know if it is possible to configure the
> verdex to act as an access point itself so clients could connect directly to
> the verdex without requiring an additional wireless router/AP. If the answer
> is positive, what are the config steps ?
>
> Thank you very much
>
> Elias Crespin
> --
> View this message in context: http://www.nabble.com/Verdex-as-Access-Point-tp18488746p18488746.html
> Sent from the Gumstix mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users


Stay in touch when you're away with Windows Live Messenger. IM anytime you're online.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Verdex as Access Point

by ecrespin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Worked fine, thanks very much,

I substituted mwlan0 for rausb0 and tested with rt73 and worked just fine: The windows client can see the verdex and can connect and establish a tcpip link. I also tested with rt2570 package and works well too. Both this packages come in the org.openembedded.snapshot collection.

Thanks again

Till the next!

Elias
Bobby Goodrich wrote:
I don't know if this is exactly what you are looking for, but you can set up an ad-hoc network by adding the following to your /etc/network/interfaces:

auto mwlan0
iface mwlan0 inet static
      pre-up /sbin/iwconfig $IFACE mode Ad-hoc essid GumstixNetwork
      address 192.168.100.101
      netmask 255.255.255.0
      /sbin/ifconfig $IFACE up

mwlan0 should be replaced by whatever the interface name is for your rt73 usb wifi driver (such as wlan0)

Since this sets up an ad-hoc network, you have to have whatever other computer you are using to connect to GumstixNetwork configured in the same manner (with a different ip address of course)
So, if you use a debian-based distribution, such as ubuntu, you just put the same thing in the /etc/network/interfaces there.  For other distrobutions, as long as they have ifconfig and iwconfig (check for wireless-tools), and modprobe installed then you can just run the commands:

$ modprobe mwlan0
$ iwconfig mwlan0 mode Ad-hoc
$ iwconfig mwlan0 essid GumstixNetwork
$ ifconfig mwlan0 192.168.100.102 up

mwlan0 is replaced this time by your other computer's wifi driver's interface name

At this point you should be able to ping, scp, ssh, etc from one to another, just keep in mind the static ip addresses (which you can set to something else, for instance I use 192.168.5.*)

I hope this helps,
-Bobby

> Date: Wed, 16 Jul 2008 07:29:35 -0700
> From: elias.crespin@gmail.com
> To: gumstix-users@lists.sourceforge.net
> Subject: [Gumstix-users]  Verdex as Access Point
>
>
> Hello,
>
> I currently use the verdex with the rt73 usb wifi driver and a D-Link
> DWL-G122 usb wifi dongle. That way I get ip connectivity  through any
> wireless access point available in range.
>
> That works fine, now I would like to know if it is possible to configure the
> verdex to act as an access point itself so clients could connect directly to
> the verdex without requiring an additional wireless router/AP. If the answer
> is positive, what are the config steps  ?
>
> Thank you very much
>
> Elias Crespin
> --
> View this message in context: http://www.nabble.com/Verdex-as-Access-Point-tp18488746p18488746.html
> Sent from the Gumstix mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users

_________________________________________________________________
Stay in touch when you're away with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_messenger2_072008
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users
LightInTheBox - Buy quality products at wholesale price