Problem with internet - PLEASE HELP!


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Problem with internet - PLEASE HELP!
# 1  
Old 07-03-2004
Setting a DHCP client under Solaris

I have Solaris 9 x86. I would like to use DHCP to connect to the internet. How can I make it work. A lot of tutorials say about editing files - Is there any easier way? (I am a newbie to UNIX).

Please Help
# 2  
Old 07-05-2004
login as root
check what interfaces you would like use (ifconfig -a)..

to enable the interface for dhcp do this as root

cat /dev/null > /etc/hostname.XXX
cat /dev/null > /etc/dhcp.XXX

where XXX is the name of the network interface like hme0, qfe0, eri0, ce0, bge0 or something like that..

after you are done with that simple reboot or issue the following command to make the change right away if you cant reboot

ifconfig XXX dhcp start

The following commands can be used to display the DHCP lease information and release the DHCP lease, respectively:

ifconfig XXX dhcp status
ifconfig XXX dhcp release

/Peter
# 3  
Old 08-25-2004
Problem with internet - PLEASE HELP!

I have a trouble with connecting to the internet from the Solaris UNIX.

I posted once a thred "Setting a DHCP client under Solaris" and got the following answear:
--------------------------------------------------------------------------------
cat /dev/null > /etc/hostname.XXX
cat /dev/null > /etc/dhcp.XXX
where XXX is the name of the network interface like hme0, qfe0, eri0, ce0, bge0 or something like that..
after you are done with that simple reboot or issue the following command to make the change right away if you cant reboot
ifconfig XXX dhcp start
---------------------------------------------------------------------------------
I tried that and:

-My Hostname changed to 'Unknown'!
-I can't view any website with wy browser (Netscape)

Here is what the computer says:
(My network interface = rf0)
-----------------------------------------------------------------------------------
Sun Microsystems Inc. SunOS 5.9 Generic January 2003
# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
rf0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
inet 80.83.34.2 netmask fffff800 broadcast 80.83.39.255
ether 0:40:f4:54:9b:b4
# ifconfig rf0 dhcp status
Interface State Sent Recv Declined Flags
rf0 BOUND 2 1 0 [PRIMARY]
(Began, Expires, Renew) = (08/24/2004 18:59, 08/24/2004 20:34, 08/24/2004 19:46)
#
------------------------------------------------------------------------------------

How can I connect to internet from Solaris 9 x86. (I used Windows to post this thred...)?
How to change my hostname. It sets itself to 'unknown' every time I start the system?

If you know the answear please help!
# 4  
Old 08-25-2004
Peter,

I merged your posts... please avoid double posts in the future.

Review the FAQs again for this site as well.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Problem connecting FreeBSD VM(Hyper-v) to internet

I created a VM for FreeBSD on hyper-v and i am having trouble connecting it to the internet. My virtual machine config are as below: 100 GB HD 1GB RAM Generation 1 Two Network adapters 1. Legacy Network Adapter 2. Network Adapter both are connected to network switch "Internet" which... (2 Replies)
Discussion started by: Vishawdeep
2 Replies

2. Red Hat

Problem in access the internet through command line

Hi Folks, I have installed Centos-6.4 in my VMware. I have enabled the proxy settings in the network and I am able to access the internet through GUI, but unable to browse via the command line. I did the below options as: 1) Added the proxy setting in /etc/environment file.export... (4 Replies)
Discussion started by: gsiva
4 Replies

3. IP Networking

Problem in eth0 and eth1 sharing internet with other computers

hellow everbody. iam using 32 bit centos 6.2 on my desktop and iam new to linux. i have eth0 and eth1 on my desktop. so i have some problems i have menson here: i have edited: etc/sysctl.conf net.ipv4.ip_forward = 1 and i have edited iptables too # iptables -t nat -A... (2 Replies)
Discussion started by: paruhang
2 Replies

4. UNIX for Dummies Questions & Answers

Internet connectivity problem

Hello fellow users and enthusists. I am in need of assistance. I have installed Solaris 10 on a Gateway AMD Athlon 64 system. It is set up to dual boot with Windows 7. I am attempting to get internet access through another Windows 7 box, which is sharing its wireless internet connection with... (0 Replies)
Discussion started by: jl2215
0 Replies

5. Solaris

CJS installation problem(client display:requesting internet address for 0:21:28:17:80:f4)

hi can anyone fine a solution thwe the problem that am facing i was trying to install sun4v client vth sol10_U8, but when i played "boot net" its asking for "requesting internet address for 0:21:28:17:80:f4 plz give me a sol for this (1 Reply)
Discussion started by: all_is_well
1 Replies

6. Linux

SFTP an internet address from a system behind an internet proxy

I was wondering if it is possible to setup SFTP to go through the internet proxy while connecting to an internet location. Problem: Client system is behind internet proxy. SFTP to any internet location fails as there is no documented way to configure SFTP to connect to internet locations through... (4 Replies)
Discussion started by: toobrown1
4 Replies

7. IP Networking

Problem With Internet Under Ubuntu Intrepid Ibex Netbook Remix

Hello, I have an Eee PC 904D that i use for development, because it's tiny and little, but i have a PC too. But in my Eee PC that i have Ubuntu Intrepid Ibex with the Netbook Remix, when i want to use the ethernet cable for thhe internet i connect it and tryes to connect, but in aproximatly 10... (7 Replies)
Discussion started by: nathanpc
7 Replies

8. UNIX for Dummies Questions & Answers

internet

hello i am a new user of suse linux...can anyone please tell me how i can get internet running on my suse?...pls tel me the complete procedure... (0 Replies)
Discussion started by: varsha.shastri
0 Replies

9. UNIX for Dummies Questions & Answers

internet

hello, just installed suzi 10.1, connect directly to broadband, set as auto-detect proxy, all ok. put machine through router - winxp ok with this - cannot connect to internet , any ideas please don (2 Replies)
Discussion started by: dondecap
2 Replies

10. UNIX for Advanced & Expert Users

problem with comming out on internet

Hi I am runnig Sun solaris 9 on Intel. I have problem with comming out on internet, i can ping the other machine that are in the network. what should i do? /stefan (1 Reply)
Discussion started by: steffa
1 Replies
Login or Register to Ask a Question