Gateworks Avila GW234x

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 22:16, 14 January 2008 (edit)
Samueldg (Talk | contribs)
(New page: =Avila Gateworks= ==Prerequisites== ===RedHat 5 or similar=== I'm using CentOS 5 to write this. I have been installed '''minicom''', '''tftp-server''' and '''telnet''' packages previously...)
← Previous diff
Revision as of 22:17, 14 January 2008 (edit) (undo)
Samueldg (Talk | contribs)
(Windows)
Next diff →
Line 35: Line 35:
===Windows=== ===Windows===
-See: [[Installation#Gateworks_Avila_Network_Processor_GW2348]]+See: [[Intall into GW2348|Installation#Gateworks_Avila_Network_Processor_GW2348]]
==Accesing via telnet== ==Accesing via telnet==

Revision as of 22:17, 14 January 2008

Contents

Avila Gateworks

Prerequisites

RedHat 5 or similar

I'm using CentOS 5 to write this.

I have been installed minicom, tftp-server and telnet packages previously and copied zImage and root.fs to /tftpboot/.

Then I configure /etc/xinetd.d/tftp file as this:

  $ cat /etc/xinetd.d/tftp
  # default: off
  # description: The tftp server serves files using the trivial file transfer \
  #       protocol.  The tftp protocol is often used to boot diskless \
  #       workstations, download configuration files to network-aware printers, \
  #       and to start the installation process for some operating systems.
  service tftp
  {
          socket_type             = dgram
          protocol                = udp
          wait                    = yes
          user                    = root
          server                  = /usr/sbin/in.tftpd
          server_args             = -s /tftpboot
          disable                 = no
          per_source              = 11
          cps                     = 100 2
          flags                   = IPv4
  }

And verified that xinetd daemon is runing after the configuration:

  $ service xinetd restart
  Parando xinetd:                                            [  OK  ]
  Iniciando xinetd:                                          [  OK  ]
  $ service xinetd status
  Se está ejecutando xinetd (pid 10353)...

Windows

See: Installation#Gateworks_Avila_Network_Processor_GW2348

Accesing via telnet

By default you can access the device using a serial port cable (not null-modem) or using telnet.

Using TELNET

1) Configure your ethernet to have the 192.168.3.1/24 ip address

  $ ip addr add 192.168.3.1/24 brd 192.168.3.255 dev eth0 label eth0:3

Where eth0 is your ethernet interface and eth0:3 is the alias (used if you have more than one IP assigned to the interface).

If you have an address assigned to the 192.168.3.0/24 subnetwork, delete it previously:

  $ ip addr del 192.168.3.1/24 brd 192.168.3.255 dev eth0 label eth0:3

2) Open a terminal window (a window better than a tab in some terminals programs) and send a ping to the GW234X.

  $ ping 192.168.3.2
  PING 192.168.3.2 (192.168.3.2) 56(84) bytes of data.

3) Open a new terminal window and prepare to do the telnet to the GW234X. Very important is that you don't hit RETURN yet.

  $ telnet 192.168.3.2 9000

Where 192.168.3.2 is the default GW234X ip for access RedBoot and 9000 is the default port where RedBoot has a telnet daemon listening.