1834827 Members
2194 Online
110070 Solutions
New Discussion

network interface

 
navin
Super Advisor

network interface

Hi
I have installed new networkcard to my J.
Added driver.How to configure interface with out sam.?
Help please.
Thanks
Learning ...
6 REPLIES 6
Pascal Rouchon
Advisor

Re: network interface

you can edit the file for network: /etc/rc.config.d/netconf

in this file you can specify the configuration for each network interface.

Craig Rants
Honored Contributor

Re: network interface

Run lanscan, find the name i.e. lan1 etc...

Then use ifconfig to configure that interface...


ifconfig inet lan1 netmask 255.255.255.0 address 10.10.10.10 etc...

run a man on ifconfig to make sure your specific needs are met.

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Pascal Rouchon
Advisor

Re: network interface

Yes you can use ifconfig but i think that the configuration will be lost after a reboot.
Helen French
Honored Contributor

Re: network interface

Hi Navin,

A lot of options:

1) Run 'set_parms'
2) Edit /etc/rc.config.d/netconf file
3) Use 'ifconfig' command ( not permanent)

Also make sure that the card is identified (ioscan -fn). Check the card status with lanscan and netstat -ins.

HTH,
Shiju
Life is a promise, fulfill it!
Krishna Prasad
Trusted Contributor

Re: network interface

You must edit /etc/rc.config.d/netconf and you may have to edit files like hpbtlanconf,hpetherconf,hpbase100conf just to name a few. This will all depend on your use of the network card and your environment.
Positive Results requires Positive Thinking
Sanjay_6
Honored Contributor

Re: network interface

Hi Navin,

you can use /sbin/set_parms to set the parameters,

if you want to reconfigure the hostname, ip address, dns etc, use

/sbin/set_parms initial

otherwise use,

The other options are
hostname : set hostname
ip_address : configure ip address
timezone : set timezone
date_time : set time and date
root_passwd : set root password
addl_netwrk : set additional network / DNS / NIS info

You can also edit /etc/rc.config.d/netconf to manually edit the configuration file.

Hope this helps.

regds