Network standalone Unix box


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Network standalone Unix box
# 1  
Old 02-07-2002
Question Network standalone Unix box

I am using the Linksys router as my hub to network my Win 2000 PC and Unix box to the cable modem. However, I can only get connection for my Win 2000 PC. The Unix box was able to get connection initially (yesterday) but when I reboot the machine this morning, the network went dead. What did I do wrong? I tried ifconfig hme0 dhcp drop and ifconfig hme0 dhcp start but the box could not be connected.

Help in this matter is greatly appreciated.

Thanks,
conflansun
# 2  
Old 02-07-2002
What OS are you using on the UNIX box?

If a reboot caused the interface not to be plumbed anymore, then you probably did not set it up to be permanent.

According to the OS you are using, different files would need to be edited.
thehoghunter
# 3  
Old 02-07-2002
I have 2 unix boxes setup in a similar manner what I did was
configured my Linksys to maintain a range of addresses for dhcp
probably the same as you but I configured the Sun Ulltra 2's
running Solaris 8 with static Ip's and stayed away from using DHCP because it made life easy for the suns to be up and not rely
on the LynkSys router for there IP's.

If you really want to use DHCP though you may need to recycle
the LynkSys I find it gets hung up especially when using a network hub chained to it.

Other than that make sure you have all proper file settings to use
dhcp on your sun boxes.

you can also use snoop -a dhcp to check for response from your
DHCP server.

The above will give you audible clicks for any dhcp network traffic
this is helpful in troubleshooting any Dynamic Host Configration Protocol.

Anything else Go to http://docs.sun.com/ab2/coll.834.2/D...ocView/idmatch(DHCP-CONFIG-67)?Ab2Lang=C&Ab2Enc=iso-8859-1

and read up on DHCP config to make sure your not missing something.
Configuring and Unconfiguring a Solaris DHCP Client
When you install the Solaris operating environment from CD-ROM, you are prompted to use DHCP to configure network interfaces. If you select yes, the DHCP client software is enabled on your system during Solaris installation. You do not need to do anything else on the Solaris client to use DHCP.

If a client system is already running the Solaris operating environment and not using DHCP, you must unconfigure the system and issue some commands to set up the system to use DHCP when it boots.

If your client is not a Solaris client, consult the client documentation for configuration instructions.

How to Configure a Solaris DHCP Client
This procedure is necessary only if DHCP was not enabled during Solaris installation.

Become superuser on the client system.

If this system uses preconfiguration instead of interactive configuration, edit the sysidcfg file to add the dhcp subkey to the network_interface keyword.

For example, network_interface=le0 {dhcp}. See the sysidcfg(4) man page for more information.

Unconfigure and shut down the system by typing the following command:


# sys-unconfig


See the sys-unconfig(1M) man page for more information about what configuration information is removed by this command.

Reboot the system after it has completely shut down.

You are prompted for system configuration information by sysidtool programs when the system reboots. See the sysidtool(1M) man page for more information.

When prompted to use DHCP to configure network interfaces, specify Yes.

If you preconfigured the system by using a sysidcfg file, insert the network_interface keyword, and specify dhcp as a dependent keyword. For example, network_interface=le0 {dhcp}.

How to Unconfigure a Solaris DHCP Client
Become superuser on the client system.

If you use a sysidcfg file to preconfigure the client, remove the dhcp subkey from the network_interface keyword.

Unconfigure and shut down the system by typing the following command:


# sys-unconfig


See the sys-unconfig(1M) man page for more information about which configuration information is removed by this command.

Reboot the system after it has completely shut down.

Because you unconfigured the system, you will be prompted for configuration information by sysidtool programs when the system reboots. See the sysidtool(1M) man page for more information.

When prompted to use DHCP to configure network interfaces, specify No.

If you use sysidcfg to specify configuration, you will not be prompted.
# 4  
Old 02-07-2002
Sun Solaris 8
# 5  
Old 02-07-2002
I put in etc/defaultrouter with the static IP address. Could that work too?
# 6  
Old 02-07-2002
If you mean that you have used the static ip of your router as the
entry in /etc/defaultrouter yes that's a normal thing to do.
# 7  
Old 02-07-2002
Actually what most of us do is add it as a entry in the hosts file
example:

192.168.210.1 router1

then add router1 as an entry to /etc/defaultrouter
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

ftp file starting with particular name on Windows box to Unix box using shell script

Hello all ! I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies

2. Shell Programming and Scripting

how to compare all files in one unix box has been to copied to another unix box

Hi our unix admin has copied all files from one unix box to new unix box. We just need to confirm that all the file systems are copied properly. How to validate. (9 Replies)
Discussion started by: sravanreddym
9 Replies

3. UNIX for Dummies Questions & Answers

I need an scp command from a unix box to a windows box.

scp file="myfile.txt" todir="user@somehost:(M:drive:/somepath/)"/ Not sure I need it to go to a specific drive on the windows box (1 Reply)
Discussion started by: xgringo
1 Replies

4. Shell Programming and Scripting

Moving files from Unix box to a windows box

Hi All, I need a little help .I want to transfer a file from unix box to a windows box,but the problem i'm facing is that in windows box FTP is not enabled and currently it is nearly impssible to change setting on windows box,i can not use the ftp method ,in my shell script to transfer the file.... (2 Replies)
Discussion started by: Preet
2 Replies

5. UNIX for Dummies Questions & Answers

Running UNIX commands remotely in Windows box from Unix box avoid entering password

I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked. Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies

6. UNIX for Dummies Questions & Answers

How to configure a network workstation to a standalone?

Hi, I have a networked ultra 5 workstation(using NIS) that I would like to be able to : 1. Reconfigure to standalone workstation, 2. and be able to switch back to a network workstation when the needs required. Please advise. Ryan (5 Replies)
Discussion started by: ryantk
5 Replies

7. UNIX for Advanced & Expert Users

Solving the network collisions in Unix box

Hi, Anyone can u give me an idea to clear the network collisions in the unix box(Solaris and Linux)? NIC performance is very low, and it shows collisions, when issuing the command ifconfig -a in the production server. How can i rectify the network collisions in the box. Using netstat and lsof... (4 Replies)
Discussion started by: muthulingaraja
4 Replies

8. UNIX for Dummies Questions & Answers

Installation Procedure of UNIX on a standalone pc

Hi, I am nil about UNIX and i want to learn about. For this i want to install UNIX 5.0 on my home pc. Anyone please tell me the procedure to install it. The partition and all etc. etc.. My pc configuration is P-IV, 1.7GHz 40 GB HDD With regards, Phani (1 Reply)
Discussion started by: phanikmv
1 Replies

9. UNIX for Advanced & Expert Users

How to FTP a file generated at UNIX Box to NT Box

Hi all, I am generating a file on the Unix machine , now i want to FTP the same file to the NT machine. how can i do that and the application currently upon which i am working is a JAVA based application. I need your help. regards Ruchir (2 Replies)
Discussion started by: Ruchir
2 Replies

10. UNIX for Advanced & Expert Users

VPN client (windows Box),and Server (Unix Box)

If I want to access unix box via VPN tunnel,from windows box. What sould I configure on the windows client PC, and what should I enable on the Unix Server box ? I am using Solaris V10 intel platform, and I am using windows XP, and 2003 for client (0 Replies)
Discussion started by: zillah
0 Replies
Login or Register to Ask a Question

Featured Tech Videos