Sponsored Content
Top Forums UNIX for Dummies Questions & Answers inetd problems?!?!?! - Help complete newbee!!! Post 735 by d_cottam on Friday 12th of January 2001 03:30:16 AM
Old 01-12-2001
Question

One of my friends helped me get started solving the problem but he doesn't know much more than this...

Looks like at least part of the problem is the config for the network card - it didn't seem to have one.

We're running Solaris 2.6

Running ifconfig -a showed:

hme0: flags=842 <BROADCAST, RUNNING, MULTICAST> mta 1500
inet 0.0.0.0 netmask 0
ether 8:0:20:b8:fe:ca

I ran ifconfig hme0 192.168.22.2 netmask 255.255.255.0

followed by

ifconfig hme0 down
ifconfig hme0 up

and ifconfig -a now showed:

hme0: flags=842 <UP, BROADCAST, RUNNING, MULTICAST> mta 1500
inet 192.168.22.2 netmask ffffff00

I then set the default route with:

route add default 192.168.22.15

I could now see it on the network (ping)

Unfortunately the services that relied on the network card working weren't running so I decided to restart the machine:

Shutdown now

blah, blah...

Enter run level (0-6, s or S) I had no idea but my friend seemed to think it was 5 so we went with that.

After it shutdown and was turned back on I saw the following error at boot up:

configuring network interfaces: ifconfig: rolsyd10: bad address hme0
...
add net default: gateway 192.168.22.15: Network is unreachable

And again the other messages started to appear - I think these messages were probably there before I just didn't know what to look for...

Anways that's as far as I've got - I've got to go home now... Next on the list is to try and edit the hosts file...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

newbee - copy data from UNIX to Linux

I have to setup a new server (linux) and I have to copy the data from the old unix system to the new one. Can I access the unix data in dos? Please help. I know little about linux and unix (3 Replies)
Discussion started by: steven5046
3 Replies

2. Shell Programming and Scripting

refreshing inetd

Hi I have a question, what is the purpose of this command and what will it do "refresh -s inetd" Thanks in Advance Swaraj (3 Replies)
Discussion started by: kswaraj
3 Replies

3. UNIX for Dummies Questions & Answers

Unix Newbee :-)

Hi , i have jus started learning basics of unix .I have few queries : 1) what is meant by unix box server? 2) what is the difference between unix and linux (is it jus x-windows graphical system or is there anything more than that?) 3) Can i get any free download of unix so that i cud... (7 Replies)
Discussion started by: vivekshankar
7 Replies

4. Shell Programming and Scripting

Newbee Needs Help - Time comparison

I am very new to Unix so please bear with me! I am trying to write a script that will compare file creation time with the current time so I can be notified if a file is more than an hour old. Can anybody point me in the right direction on this??? Thank you in advance for any help!!! It is GREATLY... (4 Replies)
Discussion started by: danedder
4 Replies

5. Shell Programming and Scripting

Newbee lost in unix land

I am writing a shell script and I am calling wc -l. I need to assign the results of this call to a varaible and it's not working the way I think it should: xx= wc -l $1 What am I doing wrong? Thanx (1 Reply)
Discussion started by: dortoh
1 Replies

6. UNIX for Dummies Questions & Answers

BASH complete-filename & menu-complete together

Hi, Does anyone know how to make BASH provide a list of possible completions on the first tab, and then start cycling through the possibilites on the next tab? Right now this is what I have in my .bashrc: bind "set show-all-if-ambiguous on" bind \\C-o:menu-complete This allows... (0 Replies)
Discussion started by: Mithu
0 Replies

7. UNIX for Dummies Questions & Answers

too many inetd running

hi, is it ok for more than one inetd daemon running at a time? if not okay, possible to kill the rest and make only one daemon running? i understand that inetd is a process that enables tcp connections from external sources...kindly advise more on inetd...thanks alot..Happy New Year!:) (2 Replies)
Discussion started by: cromohawk
2 Replies

8. Solaris

Inetd problem

Hi All, When i am trying to restart the inetd daemon it throughing error. Please find the message and tell me what i need to do ? Apr 7 22:57:37 HYDOHS01 inetd: ISTATE not in environment Apr 7 22:57:41 HYDOHS01 inetd: stop: No such file or directory Apr 7 22:58:01 HYDOHS01 inetd: ... (5 Replies)
Discussion started by: lbreddy
5 Replies

9. HP-UX

Simple Newbee question

Hi HP-UX users. If you can help with the following I would be grateful. I am starting off on my HP-UX learning/certification path and need to acquire an HP-UX machine. I would prefer HP hardware, ie. PA-RISC and see that there are many for sale on eBay, etc., and was hoping someone on this forum... (2 Replies)
Discussion started by: patcom
2 Replies

10. Shell Programming and Scripting

Help needed - Newbee here

I am very new to shell scripting. please help me in this scenario. when we run the script, It should ask user to enter the input (for example, ticket number like below) B1234567 B2345678 C1245782 . 2. Once user enter the input or,paste the input, the script should check each and every... (1 Reply)
Discussion started by: Padmanabhan
1 Replies
ROUTE.CONF(5)						      BSD File Formats Manual						     ROUTE.CONF(5)

NAME
route.conf -- static routes config file DESCRIPTION
The route.conf file is read by the staticroute rc.d script during system start-up and shutdown, and is intended for adding and removing static routes. FILE FORMAT Lines starting with a hash ('#') are comments and ignored. Lines starting with a plus sign ('+') are run during start-up, while lines start- ing with a minus sign ('-') are run during system shutdown. If a line starts with a '!', the rest of the line will get evaluated as a shell script fragment. All other lines are passed to route(8). During start-up, they are passed behind a ``route add -'' command and during shut- down behind a ``route delete -'' command. FILES
/etc/route.conf The route.conf file resides in /etc. /etc/rc.d/staticroute rc.d(8) script that parses route.conf. EXAMPLES
In this example, the interface for the desired routing changes is set, the IP address on that interface is determined, and a route is added during startup, or deleted during system shutdown. # Set interface and determine current IP address for added route. !ifname=bnx0 !ipaddr=$(/sbin/ifconfig ${ifname} | awk '$1 == "inet" {print $2}') net 10.10.1 -interface ${ipaddr} In this example, IP forwarding is turned on during start-up, and a static route added for 192.168.2.0. During system shutdown, the route is removed and IP forwarding turned off. # Turn on/off IP forwarding. +sysctl -w net.inet.ip.forwarding=1 -sysctl -w net.inet.ip.forwarding=0 net 192.168.2.0 -netmask 255.255.255.0 192.168.150.2 SEE ALSO
rc.conf(5), rc(8), route(8) BSD
May 1, 2012 BSD
All times are GMT -4. The time now is 10:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy