- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Having problem with ifconfig
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
Forums
Discussions
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
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
05-01-2002 05:40 PM
05-01-2002 05:40 PM
Having problem with ifconfig. I get the following error
# ifconfig lan0
ifconfig: no such interface
#
But when I do a lanscan, I can see the lan0 which is up and running.
# lanscan
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/0 0x00306E087E0A 0 UP lan0 snap0 1 ETHER Yes 119
0/3/0/0 0x00306E05AC0B 1 UP lan1 snap1 2 ETHER Yes 119
0/6/0/0 0x00306E05DC92 2 UP lan2 snap2 3 ETHER Yes 119
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 05:56 PM
05-01-2002 05:56 PM
SolutionWhat does
lanadmin 0
return?
Also does SAM show the NIC?
What's status does SAM show?
Also please post system type & OS in use.
Possible it's a PHNE patch situation.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:15 PM
05-01-2002 06:15 PM
Re: Having problem with ifconfig
The lanscan can show you that it's up but if no IP config is found then ifconfig command will not know anything about the card.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:33 PM
05-01-2002 06:33 PM
Re: Having problem with ifconfig
In addition, try plumbing the interface before configuring it to be on the sure side:
# ifconfig lan0 plumb
# ifconfig lan0 1.2.3.4 netmask 255.0.0.0
Replace the IP address 1.2.3.4 and netmask 255.0.0.0 accordingly to your specifics.
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2002 06:39 PM
05-01-2002 06:39 PM
Re: Having problem with ifconfig
# cd /dev
# ll lan*
===> does the file "lan" exist ? If not do this ..
# ln -s /dev/dlpi /dev/lan
And now try the ifconfig command again ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2002 12:20 AM
05-02-2002 12:20 AM
Re: Having problem with ifconfig
This indicated no IP Address has been configure on the LAN card.
Use SAM and then configure the IP address for this card.
-Sukant