- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Connecting C3750 to internet via router
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
Discussions
Discussions
Forums
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
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
тАО10-24-2010 02:47 AM
тАО10-24-2010 02:47 AM
C3750 with HP-UX 11.11, router Netgear WGR614v9.
Router (192.168.1.1) set up to get DNS automatically from ISP.
Made the following changes:
/etc/hosts: added 192.168.1.1 WGR614v9.virgin.net
/etc/rc.config.d/netconf:
ROUTE_GATEWAY = 192.168.1.1
ROUTE_COUNT = 1
/etc/nsswitch.conf:
All entries set to "files" except:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
ipnodes: files [NOTFOUND=continue] dns
/etc/resolv.conf:
domain virgin.net
nameserver 192.168.1.1
When resolv.conf is present, I can ping eg. www.google.com, when resolv.conf is absent, I cannot ping anything beyond the router.
However, when resolv.conf is present, the C3750 will not start up correctly ie. cannot login to CDE - a blank grey screen appears. When I remove resolv.conf in single user mode, then can login to CDE again.
Any thoughts anyone? Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2010 05:32 AM
тАО10-24-2010 05:32 AM
Re: Connecting C3750 to internet via router
You have to be able to resolve the FQDN name of your C3750 in order for CDE to start up.
"nslookup hostname_of_C3750" must return the right info from DNS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2010 06:36 AM
тАО10-24-2010 06:36 AM
Solution> /etc/hosts: added 192.168.1.1 WGR614v9.virgin.net
And what's in there for the C3750 itself?
I would not start throwing "virgin.net"
around if I had no control over the actual
DNS data at "virgin.net". I'd start by
cleaning all that stuff out.
> nameserver 192.168.1.1
_That_ part should be safe. Is that enough
to get you to, say, "www.google.com"? (I
have a real domain, so I haven't tried any of
this without one, so I know nothing, but ...)
> However, when resolv.conf is present, [...]
Well, what _that_ "resolv.conf" is present,
[...]. I'd try a reduced one, without the
"virgin.net" stuff. (Same for "hosts", and
anyplace else where it doesn't really
belong.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2010 06:38 AM
тАО10-24-2010 06:38 AM
Re: Connecting C3750 to internet via router
Make that:
Well, when _that_ "resolv.conf" is present,
(If I could read better the first time, ...)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-24-2010 09:27 AM
тАО10-24-2010 09:27 AM
Re: Connecting C3750 to internet via router
Thanks TTr, my router assigns DNS automatically (ie. DNS done by my ISP), so didn't really know how to follow your suggestion.