I'm more or less completely new to Solaris and plan on using it to run an apache/mysql/php webserver for a class project. I don't see anyone else having issues connecting to the internet (here or when I google it) and I would assume internet connectivity to be a baseline requirement for being able to do client/server communication on a LAN however, whenever I try to run firefox inside of Solaris it gives me a "Server not found" error message and if I try to ping google.com I get an "unkown host google.com" error message. Since I'm relatively new at this try not to go to far over my head and let me know if I'm not providing some information that would be helpful.
Running virtualbox guest additions 3.2.8_64453
Host Machine
Sager 9262 Laptop
Windows 7 Ultimate 64-bit
3.0ghz Core 2 Quad Q9650
4gb 833mhz ddr2 ram
2x 9800m GTX gpu's (1gb video memory each, 500mhz core 800mhz clock, 1200mhz shader comparable to an 8800gt desktop card)
VM Settings:
Memory: 1024mb
IO-APIC Enabled
4 Processor cores allocated
PAE/NX enabled
VT-x enabled
Nested Paging enabled
128mb of video memory allocated
3D acceleration enabled
1 16gb expanding Disc
1 IDE cd rom drive mapped to my host drive
audio enabled using windows directsound
ICH AC97 device
One network adapter enabled attatched to NAT
Using INTEL PRO/1000MT DESKTOP
No Serial Ports
USB Controller enabled
USB 2.0 enabled
No Shared folders
ipconfig on host system:
Windows IP Configuration
Ethernet adapter Local Area Connection 5:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wireless Network Connection:
Connection-specific DNS Suffix . : access
Link-local IPv6 Address . . . . . : fe80::6d3f:45b0:9346:31a6%11
IPv4 Address. . . . . . . . . . . : 192.168.200.71
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.200.224
Tunnel adapter Local Area Connection* 47:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e766ad0:c09e:1cf0
Link-local IPv6 Address . . . . . : fe80:6ad0:c09e:1cf0%62
Default Gateway . . . . . . . . . : ::
Tunnel adapter isatap.access:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : access
ifconfig on solaris guest:
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
Internet not working in Solaris 5.10 (Solaris 10)
-
- Posts: 39
- Joined: 7. Aug 2010, 05:29
- Primary OS: openSUSE
- VBox Version: PUEL
- Guest OSses: OpenSolaris
Re: Internet not working in Solaris 5.10 (Solaris 10)
I had the same problem with OpenSolaris 10 on my Linux box. I downloaded Solaris Express and installed it on my VirtualBox 3.2.12. It works out of the box.
-
- Volunteer
- Posts: 1003
- Joined: 5. Sep 2008, 14:40
- Primary OS: Debian other
- VBox Version: PUEL
- Guest OSses: Solaris, Linux, Windows, OS/2, MacOSX, FreeBSD
- Contact:
Re: Internet not working in Solaris 5.10 (Solaris 10)
did you notice there's now a new solaris type called "legacy" and "modern 10u8+" ?
didn't make any difference to me though, i can't start X in 4b2 with or without additions.
didn't make any difference to me though, i can't start X in 4b2 with or without additions.
-
- Posts: 39
- Joined: 7. Aug 2010, 05:29
- Primary OS: openSUSE
- VBox Version: PUEL
- Guest OSses: OpenSolaris
Re: Internet not working in Solaris 5.10 (Solaris 10)
This it the result of ifconfig -a on my SolarisExpress guest on a Linux host:
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 3
inet 10.0.2.15 netmask ffffff00 broadcast 10.0.2.255
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
inet6 ::1/128
e1000g0: flags=20002004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 3
inet6 fe80::a00fec6:7fbf/10
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 3
inet 10.0.2.15 netmask ffffff00 broadcast 10.0.2.255
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
inet6 ::1/128
e1000g0: flags=20002004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 3
inet6 fe80::a00fec6:7fbf/10
-
- Posts: 4
- Joined: 21. May 2010, 15:59
- Primary OS: Solaris
- VBox Version: PUEL
- Guest OSses: Solaris
Re: Internet not working in Solaris 5.10 (Solaris 10)
For me what works best for setting up Solaris 10 and earlier in a VM is to select NAT as the networking mode in VirtualBox and when installing Solaris indicating that the system is a networked, standalone system, and using "none" for the name service. I always use a fixed IP of 10.0.2.15 for the VM and a netmask of 255.255.255.0. I don't recall if the install asks for the default route at install time. If it does use 10.0.2.2 or if it doesn't add it to the file /etc/defaultrouter after the first boot.
Once the system is booted the first time I add my Internet provider's DNS server IP addresses to the /etc/resolv.conf file in the form:
nameserver xxx.xxx.xxx.xxx
where xxx.xxx.xxx.xxx is the DNS server IP address. If there are multiple DNS servers available, use multiple lines.
You can try using 10.0.2.3 as the DNS server IP because that's supposed to be mapped by VirtualBox but it doesn't always work for me.
Then change the hosts and ipnodes lines in the /etc/nsswitch.conf file. They should be changed to:
hosts: dns files
ipnodes: dns files
Once, you've made those changes, reboot the system.
Usually when I set up a new Solaris System in a VM I forget one or more of the above.
By the way, if you need to change the name, IP address, or any of the other networking setup of a Solaris 10 or earlier system the "correct" way to do it is by rerunning the system identification program not by messing with all the configuration files. You do that by executing "sys-unconfig" while logged in as root -- the system will reboot and the portion of the install that is actually the system identification configuration program will rerun. Yes, you can change the files directly, but rerunning the system identification program assures that things will be set up mostly correct.
Once the system is booted the first time I add my Internet provider's DNS server IP addresses to the /etc/resolv.conf file in the form:
nameserver xxx.xxx.xxx.xxx
where xxx.xxx.xxx.xxx is the DNS server IP address. If there are multiple DNS servers available, use multiple lines.
You can try using 10.0.2.3 as the DNS server IP because that's supposed to be mapped by VirtualBox but it doesn't always work for me.
Then change the hosts and ipnodes lines in the /etc/nsswitch.conf file. They should be changed to:
hosts: dns files
ipnodes: dns files
Once, you've made those changes, reboot the system.
Usually when I set up a new Solaris System in a VM I forget one or more of the above.
By the way, if you need to change the name, IP address, or any of the other networking setup of a Solaris 10 or earlier system the "correct" way to do it is by rerunning the system identification program not by messing with all the configuration files. You do that by executing "sys-unconfig" while logged in as root -- the system will reboot and the portion of the install that is actually the system identification configuration program will rerun. Yes, you can change the files directly, but rerunning the system identification program assures that things will be set up mostly correct.
Re: Internet not working in Solaris 5.10 (Solaris 10)
JMaille,
I try to ping 10.0.2.2 and 10.0.2.3 in guest (solaris 10 u10) , but no answer.
I try to ping 10.0.2.2 and 10.0.2.3 in guest (solaris 10 u10) , but no answer.