Visit Our UNIX and Linux User Community


net card losing config


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers net card losing config
# 1  
Old 08-13-2009
net card losing config

hey all,
i have a computer with unix.... and i have an hme0 net card on it
i configured it to have an ip address in a local network with ifconfig
and i also went into inet folder to config it there....

my problem is every time i reboot my machine the config is lost and i have to config it again...

anyone knows what can cause this?
# 2  
Old 08-13-2009
Quote:
Originally Posted by shwinky
hey all,
i have a computer with unix....
Which unix?
# 3  
Old 08-14-2009
just try our fine search function or follow the links on the bottom of this thread... one of them is:
https://www.unix.com/unix-advanced-ex...laris-8-a.html
# 4  
Old 08-15-2009
create a file hostname.devicename in etc folder and in it add yor host name

say
# cat /etc/server1.hme0
server1
#
# 5  
Old 08-15-2009
Quote:
Originally Posted by amitranjansahu
create a file hostname.devicename in etc folder and in it add yor host name

say
# cat /etc/server1.hme0
server1
#
this one is wrong and won't be of any use... it should be:

/etc/hostname.hme0 and in this file is a name that has an ip in /etc/hosts. or you'll insert the ip in the hostname file without using /etc/hosts. also you've to maintain /etc/netmasks if you use a not class A, B or C network for your ip!
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #244
Difficulty: Medium
Networking research in the early 1970s by Robert E. Kahn and Vint Cerf let to the formulation of the Transmission Control Program (TCP), and its specification in December 1974 in RFC 699.
True or False?

10 More Discussions You Might Find Interesting

1. Red Hat

Apache virtual host config vs global config problem

Hi folks, I am trying to configure Apache webserver and also a virtual host inside this webserver. For Global server config: /var/www/html/index.html For virtual host config: /var/www/virtual/index.html Both client10 & www10 are pointing to 192.168.122.10 IP address. BUT, MY... (1 Reply)
Discussion started by: freebird8z
1 Replies

2. Shell Programming and Scripting

Shell script that will compare two config files and produce 2 outputs 1)actual config file 2)report

Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated. script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made. OS :Susi linux ver 10.3. ... (4 Replies)
Discussion started by: muraliinfy04
4 Replies

3. UNIX for Dummies Questions & Answers

How to use one net card of two

I have two server with 2 net cards each one: Server 1 A = 100 Mbs B = 1000Mbs (Gigabit) Server 2 A = 100 Mbs B = 1000Mbs (Gigabit) In A i ' am conected to the public network ( In both servers) and in B i make a point to point lan 1 gigabit of speed. Between the servers ... (1 Reply)
Discussion started by: enkei17
1 Replies

4. Solaris

Problem to detect a net card

People i install a solaris 9 in a sparc platform this is the 3 time that i install it on this machine, the problem now is that when i do a ifconfig -a i only see the loop conection and no the hme0, i don`t remember if during the installation i set the option not networked. Any ideas? how to... (6 Replies)
Discussion started by: enkei17
6 Replies

5. Shell Programming and Scripting

parsing config file to create new config files

Hi, I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below. I will be using the config file as mentioned below: (config.txt) country:a,b city:1,2 type:b1... (1 Reply)
Discussion started by: clazzic
1 Replies

6. Infrastructure Monitoring

net-snmp-config --create-snmpv3-user snmpengineID

Solaris 10 -- I created SNMPv3 users with net-snmp-config --create-snmpv3-user command. I am using HP Network Node Manager's SNMPv3 Smart Plugin to serve as the SNMP management server. Some SNMPv3 users were automatically created with the same snmpengineID. This causes NNM's brassagt proxy to... (0 Replies)
Discussion started by: rjsteele
0 Replies

7. Solaris

net card coming up in down state

hey all, everytime i reset my computer my hme0 net card comes up with a down state, and i have to run ifconfig hme0 up command. help? (6 Replies)
Discussion started by: shwinky
6 Replies

8. Shell Programming and Scripting

Net::SSLeay or Net::FTPSSL

Hello, I ran into an issue in one of my monitoring scripts. If I use the public ip address in my connection string everything works, but if I switch the connection string ip to 127.0.0.1 or the internal ip I get, " Connection refused at... (1 Reply)
Discussion started by: Styles
1 Replies

9. UNIX Desktop Questions & Answers

Does Red Hat Fedora support Nvidia card 8800GTX and 260 card?

Does Red Hat Fedora support Nvidia card 8800GTX and 260 card? Does any Linux OS support Nvidia card? (1 Reply)
Discussion started by: sito
1 Replies

10. UNIX for Advanced & Expert Users

Losing IP config on reboot of Solaris 8

After a reboot my ifconfig -a has nothing but 0.0.0.0 have to reinput my IP and default route, what makes the info save? (1 Reply)
Discussion started by: jo calamine
1 Replies

Featured Tech Videos