Configuring Solaris 10 SPARC for internet ready connection
I have a Oracle SPARC server with Solaris SPARC 10 OS installed
I have a domestic router/modem box from my ISP in my house. I have a wifi extender in my room which has a RJ45 female socket for ethernet connection. The Wifi extender is configured properly to act as a bridge for machines to connect with my router/modem.
I have setup my NIC card in Solaris 10 with the following commands
I have put the IP address of 192.168.0.22 into the /etc/defaultrouter file and again the same IP address in /etc/hostname.e1000g0 file
Next I typed in 'init 6' to reboot Solaris 10. Once Solaris 10 is up again I can successfully ping the address of 192.168.0.22. But my router obviously needs a password as it is a WPA protected domestic router. This means programs like WGET which needs an URL address to download data doesnt work ATM. Does anyone know what to do to complete the tasks of making my server internet ready. Thanks in advance for any help given to me
Regards
Moderator's Comments:
Please wrap all code, files/data, input & output/errors in CODE tags.
It makes it easier to read and preserves multiple spaces for indenting or fixed-width data.
Are you trying to connect from your SPARC box to your router through wi-fi? If so, you need a wi-fi interface on your SPARC.
Otherwise.............
You should be able to use the ifconfig command to display the ip address of the host (SPARC box) which will tell you the ip address which it's using.
The file /etc/hostname.e1000g0 should contain only the host name of the SPARC box (not the ip address).
The file /etc/hosts should contain the host name and ip address of the SPARC box (and any other foreign hosts ip addresses that you want it to be able to look up locally without using DNS). One record MUST have the host box name+ip adress.
The /etc/defaultrouter file contains just a single ip address of the default router on the first line of the file, left justified, nothing else. This tells the host where to send requests for connections outside the local network, ie, the internet. Don't forget you'll need DNS servers configured for that too.
If you have all this correctly configured and it still doesn't connect then post back here.
To clarify the situation I have a WIFI extender plugged into the domestic 240v mains wall socket. The device itself has been configured to be a bridge between my domestic ISP modem/router and any device that uses wifi. The wifi extender has 2 female RJ45 ethernet sockets on the deive to allow ethernet connection between the Wifi extender and the proposed machine (in this case my SPARC server. The Wifi extender connects to my Router box via wifi.
WhenI first installed Solaris 10 I had to install the ethernet port
Moderator's Comments:
Please wrap all code, files/data, input & output/errors in CODE tags.
It makes it easier to read and preserves multiple spaces for indenting or fixed-width data.
When this was done there was no IP address assigned to the e1000g0 device. So I had to assign an IP address that my router box could accept
I shall rectify the /etc/hosts and the /etc/hostname.e1000g0 files. If this process fails I shall return back to you
I hope I have clarified myself more with this post!
If the SPARC box's ip address is 192.168.0.22 then that DOESN'T go into /etc/defaultrouter.
The ip address that you put in /etc/defaultrouter is the ip address of your router/gateway, whatever that is.
So if I'm Solaris, when I'm booting I go:
1. Look for /etc/hostname.* files and when I find /etc/hostname.e1000g0 I say, ok, that tells me that this hardware has a e1000g0 ethernet interface. I need to plumb that. If e1000g0 doesn't exist on this hardware, that's a fail.
2. Read this /etc/hostname.e1000g0 to get the host name that I am to the outside world (on this interface) eg, Jupiter. Apply that hostname to this interface. I cannot read my hostname from this file, that's a fail.
3. Read /etc/hosts and look for Jupiter and retrieve what ip address I need to be on this interface. I cannot read my own ip address from /etc/hosts, that's a fail.
4. Read the ip address from /etc/defaultrouter so that I know where to send requests for nodes outside my local network. If I can't do that, I can only talk locally.
5. What are my DNS server(s). Are any configured? If not I only know about those hosts listed in /etc/hosts and cannot resolve any other names.
That's how it goes.
should list most of your network interface configuration.
Also, have you tried putting a different machine (non-Solaris) on this wi-fi extended LAN connection eg, a Windows box, to check that the remote connection actually works?
I have Xubuntu 18.04 installed on my PC. I have created a 10G .img image file created by QEMU-IMG. I have installed inside of it Solaris 9 SPARC edition . If I try and mount the image file as a loop device (using sudo losetup /dev/loop0 /path-to-img-file) I can only mount it as read only.
... (1 Reply)
I have a solaris 10 on my laptop. I want to let my internet work.
Command: ifconfig -a
Return:
lo: ...
e1000g0: ...
I dont know what else to setup so when I open firefox, I have access to internet. Can anyone show me how to do the setting? Thanks a lot. (1 Reply)
Hi,
i am new bie on solaris ,i just installed it on vmware. i tryed to connect to the internet from solaris but it failed.
during the installation i ignore the DHCP and i assign a fixed ip address to the host.
is that has an impact on internet access ? and if so how to add another interface... (3 Replies)
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Hi,
Iam using BSNL broad band connection and i have installed two OS Xp & Sun solaris -x86 on my machine.Iam able to use INTERNET on windows Xp but not able to do it on solaris x86.
I have tried using DHCP concept as well as sys-unconfig command in solaris but no results.
When i use... (5 Replies)
I installed solaris 10 on my desktop pc, however it does not detect my internet connection. IM also running redhad and that detects it automatically, so i guess i have to go in manually and change something. Im new to all this however and i have no idea how to proceed. (5 Replies)
Hi everyone, I just installed Solaris 10 in my PC. However, once I finished installing it, I lost my internet connection. When I switch to windows, the internet can run smoothly. Does anyone know how to set up internet connection in Solaris ? I am so sorry, I am new in UNIX (7 Replies)