I'd like to automatically connect to wifi if avalable
Posted: Wed Nov 14, 2012 3:49 pm
This is my first post, Hi all!
So I just got my Pi in the mail, and up and running for the first time. I plan on using it on the road over a couple different wifi networks, and I do not want to carry a monitor in by backpack.
I have this coming in the mail:
http://www.ebay.com/itm/330646461862?ss ... 1497.l2649
(I read in another thread that a few people were successful with this product)
My solution is this:
I would like to wright a script that, upon start-up:
Automatically connects to Ethernet network if available
Automatically connects to known WiFi network if available
If an IP address exists, wright the IP address and network name to the serial port (a peripheral will display it)
That way, when I start up my device, It will connect, and I will have an IP address for SSH and whatever else I need. I'm interested in using a remote desktop.
However, I'm rather new to Linux, and very new to networking. I'm not quite sure how to make this work, or if this is the best solution to my "Get on an arbitrary network without a display" problem.
Does someone want to point me in the right direction?
Thanks guys!
So I just got my Pi in the mail, and up and running for the first time. I plan on using it on the road over a couple different wifi networks, and I do not want to carry a monitor in by backpack.
I have this coming in the mail:
http://www.ebay.com/itm/330646461862?ss ... 1497.l2649
(I read in another thread that a few people were successful with this product)
My solution is this:
I would like to wright a script that, upon start-up:
Automatically connects to Ethernet network if available
Automatically connects to known WiFi network if available
If an IP address exists, wright the IP address and network name to the serial port (a peripheral will display it)
That way, when I start up my device, It will connect, and I will have an IP address for SSH and whatever else I need. I'm interested in using a remote desktop.
However, I'm rather new to Linux, and very new to networking. I'm not quite sure how to make this work, or if this is the best solution to my "Get on an arbitrary network without a display" problem.
Does someone want to point me in the right direction?
Thanks guys!