Visit Our UNIX and Linux User Community


Can't connect to Internet


 
Thread Tools Search this Thread
Operating Systems Solaris Can't connect to Internet
# 8  
Old 12-13-2009
In /etc/hostname.gani0:
Code:
192.168.1.100

Netmask will be automatically set to /24.
# 9  
Old 12-13-2009
create a hostname.gani0 file on /etc with the hostname or IP of the host.

Code:
# echo `hostname` > /etc/hostname.gani0

this will make the ip configuration persist across reboots.
# 10  
Old 12-13-2009
I already made this... still the routing table disappear when I reboot. .
# 11  
Old 12-13-2009
make sure that there is no /etc/dhcp.gani0 file.
check the file /etc/nodename. it should only contain the hostname of your host.
check the file /etc/inet/hosts file. make sure there is a line there that contain like this:
Code:
192.168.1.100       <hostname of your computer as it is in /etc/nodename>

add to the /etc/inet/netmask the appropriate network and netmask, ie:
Code:
192.168.1.0      255.255.255.0

run the command:
Code:
ifconfig gani0 <hostname> netmask + broadcast + up

# 12  
Old 12-14-2009
Quote:
Originally Posted by yahyaaa
I already made this... still the routing table disappear when I reboot. .
edit
Code:
/etc/defaultrouter

with IP address of your router... And next time you should RTFM Smilie
# 13  
Old 12-14-2009
Edit two files, /etc/inet/ipnodes and /etc/inet/hosts and put the below entry in both:

Code:
192.168.1.100    gani0

Thanks,
Deepak
# 14  
Old 12-14-2009
Quote:
Originally Posted by naw_deepak
Edit two files, /etc/inet/ipnodes and /etc/inet/hosts and put the below entry in both:

Code:
192.168.1.100    gani0

Thanks,
Deepak
gani0 is name of his network interface not hostname... and to make route configuration persist across reboots he needs to edit /etc/defaultrouter not hosts databases.

Previous Thread | Next Thread
Test Your Knowledge in Computers #689
Difficulty: Medium
The HP-35, the world's first handheld scientific calculator, introduced the classical two-level RPN in 1972.
True or False?

10 More Discussions You Might Find Interesting

1. IP Networking

How to connect internet in Linux OS

How to enable internet on my Linux OS My OS: Red Hat Fedora Release 9 (Sulphur) version: 2.6 I have to connect via my Nokia cell phone via cable. This way only I had been using internet on my Windows OS. If any software is required to install on my UNIX for internet, then I don't have any. If... (14 Replies)
Discussion started by: ravisingh
14 Replies

2. Red Hat

How to connect internet in Linux OS?

What all is required so that I can use internet on my Linux OS My OS: Red Hat Fedora version: 2.6 I have to connect via my Nokia cell phone via cable. This way only I had been using internet on my Windows OS. If any software is required to install on my UNIX for internet, then I don't... (1 Reply)
Discussion started by: ravisingh
1 Replies

3. Linux

How to connect to internet

Hi, Can someone guide me regarding how to connect to internet. what are steps? Thanks in advance (2 Replies)
Discussion started by: naren nandale
2 Replies

4. UNIX for Dummies Questions & Answers

Solaris 10 - How to connect to internet

I recently installed solaris 10 on a seperate hard disk in my desktop pc. My first hard disk is running windows xp. I am totally new to solaris. Please help me to connect to the internet through solaris 10. I read a few threads, and re-installed solaris 10 by giving 'Yes' to the question that... (1 Reply)
Discussion started by: hari86av
1 Replies

5. Linux

how to connect internet????

HI, Am using GPRS ( MOB # 3230 ) internet connection in windows Hw to use internet r connect in linux.. ( Red Hat Linux Ver.10 ) Please help me.. Thanks in adv.. (1 Reply)
Discussion started by: bharath raja
1 Replies

6. Solaris

How to connect to Internet

Hi I installed solaris developer edition 1/08 today.I want to connect to Broadband internet through my ADSL 2+ Modem/Router with a username and password. plz help in this case,I am new to sun solaris:confused: the modem itself is a router it worked well on ubuntu and red hat (3 Replies)
Discussion started by: santugvd
3 Replies

7. Solaris

how to connect to internet on Solaris 10

Hi, I am new to Solaris just migrating from Windows XP. I want to connect to internet but I have problem with configuration. My ISP has provided me a router.I get internet connection through DHCP. I don't know any proxy or subnetmask or any IP address that requires during configuration of... (1 Reply)
Discussion started by: pappu2008
1 Replies

8. Solaris

trying to connect to internet

i have just installed solaris 10 on a 60 gb hard drive. now im trying to install my nic driver but when i put in the floppy disk for the nic card it cant read it, so then i found that i have to mount the floppy drive and i tried putting in the mount command but i dont know where to mount it and if... (38 Replies)
Discussion started by: vutty81
38 Replies

9. Solaris

How to connect Solaris 10 to the internet ?!

ive installed a fresh copy of solaris 10 on a E3500 Server machine, i gave it a static IP address , 192.168.1.15 its a test server in our office (small office) we are using LINKSYS as our internet router and DHCP as well .. its IP is 192.168.1.1 and ive added this IP as Default route on the server... (9 Replies)
Discussion started by: mduweik
9 Replies

10. UNIX for Dummies Questions & Answers

Cannot connect to the Internet

I running HPUX 11.0, Netscape gives me an error "Unable to locate Server" when using a www.something.com address. If I use an IP address I get past the router and onto the Internet. My workstation can get to the Router @ 192.168.0.1 and also it's local APACHE server. I have DHCP enabled... (8 Replies)
Discussion started by: johnalt
8 Replies

Featured Tech Videos