- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Configuring new lan card with sam
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 09:45 PM
07-16-2003 09:45 PM
Configuring new lan card with sam
I have tried to configure a 100Mbs lan card using SAM and supplied new ip address and aliase name for it but SAM refused to configure it.Have I missed out on something?
also can I configure this card by command line without reboot?and what files do I need to edit?
Note;
I want to keep the built in 10mbs card configured.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 10:00 PM
07-16-2003 10:00 PM
Re: Configuring new lan card with sam
I think you have plugged in the UTP patch cord to the LAN card.
Check that there is a link between the LAN card and the Switch/Hub.
Then configure through sam it should be ok or else modify the /etc/rc.config.d/netconf file and put the values for your new lan card.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 10:01 PM
07-16-2003 10:01 PM
Re: Configuring new lan card with sam
use lanscan to find the interface name (say lan1)
then use
#ifconfig lan1
this will assign the IP and bring up the card, you can then ping from other client if connected to network.
Also see the status if IP is assigned by
#netstat -in
Have a look on man pages of all these commands you have doubt.
This does not require reboot.
rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 10:07 PM
07-16-2003 10:07 PM
Re: Configuring new lan card with sam
If you put in /etc/rc.config.d/netconf you'll have to start the network daemons or restart the server.
By he way what i posted will just configure that card till the machine is up to permanently assign this you'll definately have to put the values in netconf
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 10:11 PM
07-16-2003 10:11 PM
Re: Configuring new lan card with sam
1) Check the speed and duplex of the card before you start. Run lanscan to get the lan number then:
lanadmin -x #
replace the # with the number. lan0 is 0 etcetera
Now you know the thing is hooked up.
2) Test your configuration with ifconfig
ifconfig lan0 192.168.0.50 netmask 255.255.255.0 UP
See if it can talk to other children er, network cards via the ping command.
Take a look at the /etc/rc.config.d/netconf file I'm posting. You can cut and paste and change from this one and you'll be better off than using sam.
After changing netconf, you should boot, but you can stop and start the network
/sbin/init.d/net stop
/sbin/init.d/net start
This never works for me, don't know why. Go ahead and boot when you have recovery time in case you made a typo. You can back up the netconf file, but not in the same directory. this will confuse the system when it starts.
Here is my netconf
I skip the comments.
#section 1
HOSTNAME="hpweb"
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1
#section 2
INTERFACE_NAME[0]="lan0"
IP_ADDRESS[0]="192.168.0.70"
SUBNET_MASK[0]="255.255.255.0"
BROADCAST_ADDRESS[0]=""
INTERFACE_STATE[0]=""
DHCP_ENABLE[0]=0
#section 3
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="192.168.0.40"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
The 0 inside the brakets stands for lan0
Give it a try.
I quote Bill Hassel, and he meant it humorously. "Real Sysadmins don't use GUI's"
I got hacked off when he said it, but it actually makes sense 95% of the time. You know it better when you learn the command line or config file. There is no sam in single user mode.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2003 10:37 PM
07-16-2003 10:37 PM
Re: Configuring new lan card with sam
#ioscan -fnC lan
if the card is CLAIMED
#lanscan
must show the n/w card
#ifconfig lanX
#/sbin/init.d net stop
#/sbin/init.d/net start
must start the new lan card
if the card is UNCLAIMED install patch bundles from recent support plus media, after a reboot lan card must be in CLAIMED state
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2003 05:17 AM
07-17-2003 05:17 AM
Re: Configuring new lan card with sam
Here are more info.
1-the 100base card is of type EISA
2-I ran ioscan -fnC lan,two lan instances:
CLASS I DRIVER H/w state
lan 0 lan2 claimed #device file displayed
lan 1 btlan0 claumed # NO device file
Why there is no device file ?
3-When I ran ifconfig lan0 it shows lan0 is up
when I tried to bind the second lan card to new ip addr. using ifconfig lan1 >ip addrr< up
it says no such interface
only when i used the lan card name displayed by sam (btlan01) it hooked up the card with the new ip addr.
Because server reboot or stoping net was not possible at the time ,I did not edit the netcon file.I am realy puzzeled by the non-existance of device file in the first place.
any ideas.
NOTE:THE SERVER IS A 10.20/D-CLASS
thanks