This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
stand-alone_wifi_ap_and_ssh [2011/01/31 01:09] dbc |
stand-alone_wifi_ap_and_ssh [2016/01/28 18:05] (current) |
||
---|---|---|---|
Line 34: | Line 34: | ||
# Dave Curtis 28-Jan-11 | # Dave Curtis 28-Jan-11 | ||
# Staring with CHB V1 script, following mods by | # Staring with CHB V1 script, following mods by | ||
- | # Eric Gregory | + | # Eric Gregori |
# | # | ||
# Set up Chumby to be a wireless AP, with no back-haul routing. | # Set up Chumby to be a wireless AP, with no back-haul routing. | ||
Line 45: | Line 45: | ||
INTIF=wlan0 | INTIF=wlan0 | ||
| | ||
- | # DBC - There won't ben an external inteface. | + | # DBC - There won't be an external inteface. |
## Ensure we have an internal and an external interface. | ## Ensure we have an internal and an external interface. | ||
#if [ "x${INTIF}" = "x" -o "x${INTIF}" = "x" ] | #if [ "x${INTIF}" = "x" -o "x${INTIF}" = "x" ] | ||
Line 77: | Line 77: | ||
It's a good idea to 'chmod 644' the original /usr/chumby/scritps/start_ap.sh so that it doesn't get executed when you aren't expecting it. | It's a good idea to 'chmod 644' the original /usr/chumby/scritps/start_ap.sh so that it doesn't get executed when you aren't expecting it. | ||
- | Reboot! At this point you should be able to get a DHCP address from your Chumby. It sure would be nice if we could ssh into it now. Update userhook2 to look list this: | + | |
+ | Reboot! At this point you should be able to get a DHCP address from your Chumby. | ||
+ | |||
+ | It sure would be nice if we could ssh into it now. Update userhook2 to start up the ssh daemon, it now should look something like this: | ||
# DBC 28-Jan-11 | # DBC 28-Jan-11 | ||
/bin/echo "**** Starting userhook2 ****" | /bin/echo "**** Starting userhook2 ****" | ||
Line 94: | Line 97: | ||
Port 222 | Port 222 | ||
..snip.. | ..snip.. | ||
+ | |||
+ | And that huge message of the day? It's in /etc/motd if you want to trim it down. | ||
At this point, you will be running a wide-open wireless AP on a box with no root password. Now might be a good time to add a root password. | At this point, you will be running a wide-open wireless AP on a box with no root password. Now might be a good time to add a root password. | ||