![]() |
James Thornton |
| Internet Business Consultant | Call Toll Free: 1 (800) 409-2501 |
| About James | Google Profile | Electric Speed | The Electors | Juced | Contact Me |
|---|
The world would be a better place if everyone wrote down what they know and put it on the Web. -- Philip Greenspun
Please tell me how this procedure worked for you by sending e-mail to james@unifiedmind.com. If you can add comments or a link to related information, then do so by clicking "Add a comment" or "Add a link" at the bottom of this page.
You want to set up an IRIX box to use a cable modem, and your ISP dynamically assigns an IP address when you connect. This document explains how to configure an IRIX system to use a cable modem, and it is the procedure I used to connect my SGI O2, running IRIX 6.5, to RoadRunner's cable service -- my RoadRunner service does not require log in software. If your service requires log in software, see Sean Houghton's Usenet posting.
To get this information, either call your ISP or connect to it with another system and get the information from that system. For example:
winipcfg, hit <ENTER>
coyote ~ 1% su - password:
autoconfig_ipaddress is turned on:
coyote 1# /etc/chkconfig autoconfig_ipaddress on
coyote 2# /etc/chkconfig
Flag State
==== =====
autoconfig_ipaddress on
By setting autoconfig_ipaddress to on, you are telling your system to run proclaim at boot time. For more information on proclaim, read its man page by typing man proclaim at a prompt -- here's an excerpt:
Proclaim is a client that communicates with a DHCP server to obtain configuration parameters, including at least an IP address. The format of DHCP messages is based on the format of bootp messages, described in RFC 951. A detailed protocol specification of DHCP is in RFC 1541, available from the Network Information Center.
The DHCP protocol uses UDP/IP as its transport mechanism. The DHCP server receives service requests at the UDP port indicated in the bootp service description contained in the file /etc/services; see services(4).
Proclaim can be used to setup and configure new systems automatically, and to move systems from one net to another without administrative intervention. It can also be used to automatically verify current configurations at reboot. Only the superuser can employ proclaim. If the primary network interface is changed, proclaim updates the netaddr variable in the NVRAM.
In the absence of the DHCPoptionsToGet keyword, proclaim requests the following configuration parameters from an available DHCP server:
- an IP address
- the lease duration (3 year default)
- the subnet mask
- hostname (users may be allowed to choose their own)
- NIS domainname if the NIS option is installed.
- IP address of the DHCP server; see dhcp_bootp(1M).
As you can see, proclaim will automatically set the IP address, subnet mask, hostname, and IP address of the DHCP server. But, it does NOT set the default gateway or the name servers.
proclaim will handle this function)
coyote.hot.rr.com)
proclaim will set these at boot time, but this configurator requires that you enter something)
Back in the System Manger (window should still be open from earlier):
When the system comes back up, you should be online. Open a terminal and ping www.yahoo.com.
su to root.
coyote 1# /usr/etc/proclaim Configuring ec0 as coyote add net default: gateway 24.162.136.1 Network daemons: portmap named. Name services: nsd. NFS daemons: nfsd biod. Internet daemons: inetd timed.
coyote 2# /usr/etc/ifconfig ec0
ec0: flags=c43<UP,BROADCAST,RUNNING,FILTMULTI,MULTICAST>
inet 24.162.139.164 netmask 0xfffffc00 broadcast 24.162.139.255
If it doesn't say up, bring it up:
coyote 3# /usr/etc/ifconfig ec0 up
coyote 4# cat /var/adm/proclaim.lease_info_ascii.ec0 HostIPaddress: 24.162.139.164 DHCPserverName: MessageType: 5 ServerIPaddress: 24.26.193.65 LeaseTimeInSecs: 86400 NetworkMask: 0xfffffc00 DNSdomainName: hot.rr.com coyote 5# cat /etc/config/static-route.options $ROUTE $QUIET add net default 24.162.136.1
netstat
coyote /var/adm 6# netstat -rn
Routing tables
Internet:
Destination Gateway Netmask Flags Refs Use Interface
default 24.162.136.1 UGS 6 121 ec0
24.162.136 link#1 0xfffffc00 UC 0 0 ec0
127.0.0.1 127.0.0.1 UH 19 3 lo0
224 link#1 0xf0000000 UCS 0 0 ec0
coyote /var/adm 62# netstat -ian
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
ec0 1500 24.162.136 24.162.139.164 59519 0 56688 0 5022
224.0.0.1
239.7.7.0
224.2.127.255
224.0.0.9
224.2.127.254
08:00:69:0c:38:32
lo0 8304 127 127.0.0.1 29884 0 29884 0 0
224.0.0.1
coyote 7# /usr/etc/route add default GATEWAY_IP
Try pinging www.yahoo.com again. If it still doesn't work...
coyote 8# /usr/etc/route flush coyote 9# /usr/etc/route add default GATEWAY_IP
Trying pinging www.yahoo.com again. If it still doesn't work...
cat proclaim.lease_info_ascii.ec0:
NOTE: This does not work for me, but some others have suggested it.
coyote 10# /usr/etc/route add default HOST_IP_ADDRESS
If it still doesn't work...
http://groups.google.com to search the comp.sys.sgi.* archives.
| Bathtub Made Of Copper
cantonantiques.com |
James Thornton, jamesthornton.com>Services: Search Engine Optimization And Site Marketing |
Electric Speed: Search Engine Optimization Pricing |