Sponsored Content
Operating Systems Solaris Help me to Build a Home LAN Please. Post 68467 by Just Ice on Monday 4th of April 2005 03:29:37 PM
Old 04-04-2005
if you want to be able to get to your unix box easily and have it's hostname set everytime ... set your unix box to use a static address instead of dhcp ...

after you get your pc to connect to the net without any problem ...

1. on your pc/laptop --- get the ip addresses of the dns servers as listed and write them down. use "ipconfig /all" in a command window

2. open the router configuration software and note the dhcp ip ranges. pick an ip that's outside of the dhcp range (or scope)

3. if your unix box has been running with dhcp already, run "sys-unconfig" as root on the command line. this will blank out your unix box so it doesn't know the network or it's name.

4. boot up the unix box and fix settings

a. when prompted to use dhcp ... say no.
b. put in the box's hostname and the ip address you selected
c. when prompted for method for name resolution, select DNS
d. give domain name of your isp when asked for dns domain
e. give dns server ip addresses that you got from your pc settings
f. set new root password as required
g. login and check /etc/hosts and other settings

5. reboot unix box to verify that settings stayed and you can get to the net


... btw, getting the box to use a reserved dhcp address will let it keep the assigned ip address like it's a static address but for some reason it won't let you set the desired hostname to the ip address ... even with editing /etc/hosts ... but this could just be a solaris 9 "feature" ...
 

10 More Discussions You Might Find Interesting

1. IP Networking

Configuration for a home LAN

I would like to see if anybody can give me any insights on this issue. Possibly somebody may have posted something like this before but provided I couldn't find any matching threads in the forum search, I post it here. I'm on GNU/Linux with iptables. I have a home LAN with the gateway connected... (1 Reply)
Discussion started by: cbkihong
1 Replies

2. Solaris

How to configure private LAN and coporate LAN on the same machine-Solaris10

Hi , I am trying to configure a private LAN and corporate LAN on the same machien on Solaris 10. How can I achieve this? Thanks (1 Reply)
Discussion started by: deedee
1 Replies

3. IP Networking

Local Lan, no-ip directed DNS forward, surf within lan

Hi, We have a website running on a local centos 5.4 surfer, static IP. The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server. My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine. However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies

4. Solaris

how to change /export/home/user dir to /home /user in solaris

Hi all i am using solaris 10, i am creating user with useradd -d/home/user -m -s /bin/sh user user is created with in the following path /export/home/user (auto mount) i need the user to be created like this (/home as default home directory ) useradd -d /home/user -m -s /bin/sh... (2 Replies)
Discussion started by: kalyankalyan
2 Replies

5. Red Hat

Different hostnames with reboot while lan cable, no lan cable

I am facing strange problem regarding hostname on my Linux(2.6.18-164.el5xen x86_64 GNU/Linux), the hostname changes if reboot with lan cable and with NO lan cable Reboot with lan cable: The hostname is ubunut Unable to connect Oracle database using sqlplus some times database is not... (2 Replies)
Discussion started by: LinuxLearner
2 Replies

6. Shell Programming and Scripting

cp -p /home/* home/exp/*.date not working please help

:( ---------- Post updated at 01:51 AM ---------- Previous update was at 01:50 AM ---------- Not working ---------- Post updated at 02:04 AM ---------- Previous update was at 01:51 AM ---------- cp -p /home/* home/exp/*.`date` i am using this (4 Replies)
Discussion started by: rishiraaz
4 Replies

7. IP Networking

DIY build your own website server from home

Does anyone would know a good tutorial for someone with basic linux/unix knowledge in order to build and setup a home website server? 1) First: I would like a step by step practical how to, with an example, and a good introduction to more detailed theory. 2) Second : What is the best and more... (3 Replies)
Discussion started by: freddie50
3 Replies

8. UNIX for Dummies Questions & Answers

Adding SDK Build on Kernel Source Build

Hi, So I downloaded this kernel source and was able to build it successfully. But I want to add this SDK source code inside, can anyone help me how to do this? Note that the SDK source can be built by itself. I added the SDK in the main Makefile: init-y := init/ #added SDK... (0 Replies)
Discussion started by: h0ujun
0 Replies

9. Shell Programming and Scripting

Build.xml invocation by Build Script

Hi I have a build.xml file and I can run it on Windows via cmd. Now I want to write a script to invoke the same. Is there a way to do this? (1 Reply)
Discussion started by: ankur328
1 Replies

10. Windows & DOS: Issues & Discussions

(VS 2008) New build config looking files from other folder build config

Hi Team, My new build configuration always looking for the files from the build where i copied from. please help me to resolve this. I am using Visual studio 2008.It has Qt 4.8. plugins,qml,C++ development I created new debug_new build configuration with additional preprocessor from the... (1 Reply)
Discussion started by: SA_Palani
1 Replies
desproxy-dns(1) 						   User Commands						   desproxy-dns(1)

NAME
desproxy-dns - DNS for dynamic connections SYNOPSIS
desproxy-dns dns_server proxy_host proxy_port OPTIONS
None DESCRIPTION
If you have direct DNS access then you don't need to do anything else. You know you have direct DNS access if you can resolve host names to IP addresses. NOTE: as desproxy-dns listens in port 53 (which is less than 1024) you may need administrator privileges to exec desproxy-dns (in fact if you are running UN*X, you actually have to run desproxy-dns as root). OK, so you have a dns server accessible now. But your computer doesn't know anything about that. You must configure your network accordingly (again, need to be root in UN*X). Edit /etc/resolv.conf and add the line "nameserver 127.0.0.1". You don't have to restart anything. Just test ping and see if it works. ENVIRONMENT
None. FILES
None. SEE ALSO
dnsproxy(1), ping(1) AUTHORS
This manual page was written by Jari Aalto <jari.aalto@cante.net>, for the Debian GNU system (but may be used by others). Released under license GPL v2 or any later version. desproxy-dns 2012-03-26 desproxy-dns(1)
All times are GMT -4. The time now is 11:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy