Saturday, July 31, 2010

Add a gateway to your routes using "route"

From your prompt do:

route add default gw <ip address of gateway ex. 10.0.0.1>

ifconfig and how to change your ethernet device ip address

The command ifconfig is your friend here. From the console, take a look at your routes:


machine:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.0.0 U 0 0 0 eth1
63.171.219.64 * 255.255.255.192 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 63.171.219.65 0.0.0.0 UG 0 0 0 eth0

Now run ifconfig:

machine:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:48:27:0F:5A
inet addr:63.171.219.113 Bcast:63.171.219.127 Mask:255.255.255.192
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:247046 errors:0 dropped:0 overruns:0 frame:0
TX packets:19554 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19011402 (18.1 Mb) TX bytes:3264987 (3.1 Mb)
Base address:0x3000 Memory:fc200000-fc220000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:56 errors:0 dropped:0 overruns:0 frame:0
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4226 (4.1 Kb) TX bytes:4226 (4.1 Kb)

eth1 Link encap:Ethernet HWaddr 00:FF:22:8B:40:66
inet addr:10.0.0.1 Bcast:10.0.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:615 errors:0 dropped:0 overruns:0 frame:0
TX packets:929 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:82476 (80.5 Kb) TX bytes:83950 (81.9 Kb)

Let's change our eth1 IP Address - first, let's bring eth1 down:


machine:~$ ifconfig eth1 down

and now let's change the IP Address:

machine:~$ ifconfig eth1 10.0.1.1 netmask 255.255.0.0

And that's pretty much it!

Wednesday, July 7, 2010

Pt. Reyes


Took a trip out to Pt. Reyes over the weekend! First time ever being there - it was windy but still very nice!

Sunday, June 13, 2010

First Hike (June 12, 2010) Was a lot of FUN!

Daniel Medeiros, Thomas Reyes and myself had a great time! We started out at 2:30pm and in 3 1/2 hours we were done. Originally, I guessed it would take 6 - 7 hours - but not the case - it was much faster to get through and we didn't push ourselves and we kept a pretty steady and easy pace. Some of the uphill was tough and there are some steep downhill parts that play a bit of havoc on the knees if you aren't used to walking downhill. It was nice to associate with you guys and I really can't wait until we do it again! I feel like a million bucks! Thanks again you guys for meeting up and going.

We'll schedule another one for next month. I am thinking July 10, 2010 with a hike start time of 3:30pm and finish at 7:00pm. What say you? Are you up for the challenge? Does the second Saturday of every month work for you? Comment and let us all know.

Take care!

Sunday, June 6, 2010

Oakland Hills Hike

Let's meet up and take a hike. I am hoping it can be something we can start doing once per month together. Check out some of the videos and images that I captured to introduce you to the trail - first date is Saturday June 12, 2010 at 1:00pm. Check out the parking lot video for directions.


Here's the video of me starting out


A drop off or two - just need to watch out





Dogs allowed




Some nice views



Fog and more views



Getting dark


Finally - the parking lot and location
Tracktester

Saturday, June 5, 2010

Walk to the beach and back

Took a walk to the beach tonight - it's almost 1 mile each way. I have been using an android app called Cardio Trainer to track my walks. If you haven't tried this app, I highly suggest it. The free version is very good and has a lot of features. Get it in the app store.