User Tools

Site Tools


rembrandt:rembrandt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rembrandt:rembrandt [2008/09/05 16:47] tomgeerembrandt:rembrandt [2008/09/10 18:35] (current) tomgee
Line 39: Line 39:
  
 This will display information for both "eth0" and "eth1" as well as "lo", the ethernet loopback port. This will display information for both "eth0" and "eth1" as well as "lo", the ethernet loopback port.
 +
 +
 +
 +
 +
 +
 +
 +
  
  
Line 52: Line 60:
 To shutdown eth1 the command is:  To shutdown eth1 the command is: 
      "ifconfig eth1 down"      "ifconfig eth1 down"
-To start it back up with an new IP of 192.168.1.37 the command is:  +To start it back up with an new IP of 192.168.1.87 the command is:  
-     "ifconfig eth1 192.168.1.37 netmask 255.255.255.0 up"+     "ifconfig eth1 192.168.1.87 netmask 255.255.255.0 up"
 To confirm that eth1 has the new address the command is: To confirm that eth1 has the new address the command is:
      "ifconfig -a eth1"      "ifconfig -a eth1"
 The NGW100 should now be able to ping other PCs on the network, be accessible via FTP and SMB at the new address etc. It will not however be able to access the Internet. For example it will not be able to access NTP time data to update the date and time. The NGW100 should now be able to ping other PCs on the network, be accessible via FTP and SMB at the new address etc. It will not however be able to access the Internet. For example it will not be able to access NTP time data to update the date and time.
  
-To remedy this add an entry in the routing table that tells Linux where to find the gateway that allows access to the internet. In the current scenario the gateway is the router and hence is found at 192.168.1.254+To remedy this add an entry in the routing table that tells Linux where to find the gateway that allows access to the internet. In the current scenario the gateway is the router and hence is found at 192.168.1.1
  
  
 To direct the NGW100 to this address execute the following command: To direct the NGW100 to this address execute the following command:
  
-     "route add default gw 192.168.1.254"+     "route add default gw 192.168.1.1"
  
  
Line 72: Line 80:
  
 The NGW100 should now have access to the Internet. Test this by running "ping www.google.com" or by updating the date/time of the NGW100 by executing "/etc/init.d/S23ntp" and then "date" to confirm the date/time  The NGW100 should now have access to the Internet. Test this by running "ping www.google.com" or by updating the date/time of the NGW100 by executing "/etc/init.d/S23ntp" and then "date" to confirm the date/time 
 +
 +The settings are lost when the system is rebooted. To make these permanent, edit the configuration files.
 +
 +The boot sequence looks like this... 
 +     CPU reset and runs the Bootloader.
 +     The bootloader runs and loads the kernel from the internal FLASH.
 +     The kernel runs and starts the init process.
 +     The init process runs starts the /etc/init.d/rcS script.
 +     The rcS script calls a bunch of other scripts to 
 +     initialize the  system and finally start the shell.
 +
 +In the Trendnet router on Downing Place I added a firewall rule to allow access to 192.168.1.87. Host name is Rembrandt, ports allowed are 80-2210.
 +
 +By adding a -p port parameter to S91httpd startup, the webserver is now at 192.168.1.87:9320
 +
 +==== AVR32 for Dummies ====
 +Nice web link for this document:\\
 +http://www.avr32linux.org/twiki/bin/view/Main/IdiotsGuideToAVR32
 +
  
 ===== Application Software ===== ===== Application Software =====
rembrandt/rembrandt.1220647630.txt.gz · Last modified: 2008/09/05 16:47 by tomgee