LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   New to Solaris computer works but won't connect to internet and I lost my Windows (https://www.linuxquestions.org/questions/solaris-opensolaris-20/new-to-solaris-computer-works-but-wont-connect-to-internet-and-i-lost-my-windows-875052/)

hellfrozeover 04-14-2011 01:54 PM

New to Solaris computer works but won't connect to internet and I lost my Windows
 
Ok guys I know that this question has been asked a few times but the replies have not helped me to the full extent. First off I screwed up I thought I had partitioned my hard drive correctly so that I could dual boot and yet I screwed up there so now I don't have Windows or anyway to connect to the internet other than my cell phone. Now I went with Solaris because that is what my new company I'm going to work for is using and I want to learn it for my new job. I downloaded and installed Solaris 10 for x86 machines. Everything for the solaris loads and works great except I have no internet. Here's the thing though I do have Lo0 network but my wireless does not work so I tried hooking ethernet up directly to my router and still nothing. Of course my router is using wep or wep2 password protection but I can't get near it at all. Under network connections I did direct connect that's all I know. I have no way of finding out my IP address of my router or modem for that matter and I can't remember if I'm using static IP's or not. Anyone with some ideas on how to figure that out again would you please help me. I'd love to just keep the Solaris on the machine and then go back later and put windows on it. Of course I lost all my photos and music that I had downloaded and not backed up completely but I'm not too worried about that. Any help would be appreciated and please try and put it in layman's terms with details. I learned SCO Unix 10 years ago and am just now trying to learn again so I am very new to this. I'm posting this thread on a work computer but can read from a cell phone so I do have access to information. Thanks ahead of time for any ideas!

pljvaldez 04-14-2011 02:38 PM

Download a linux live CD like Knoppix. Boot that up and access your router via firefox from its web interface page (usually something like http://192.168.0.1, check the router manufacturer's website). Then set it to DHCP and you can disable your WEP while trying to get it to connect. Once you have it working, then you can go back and try to add security.

jlliagre 04-15-2011 03:45 AM

Quote:

Originally Posted by hellfrozeover (Post 4324799)
Here's the thing though I do have Lo0 network but my wireless does not work so I tried hooking ethernet up directly to my router and still nothing.

If you only have lo0 which is the loopback interface not a physical one, that likely means your hardware isn't supported out of the box.
To rule this out, run
Code:

ifconfig -a plumb
ifconfig -a

and see if new interfaces show up. If not, you would need to provide more information about what NICs hardware you have. That would be in the
Code:

/usr/X11/bin/scanpci
output.
Not also that Solaris 11 Express has better hardware support than Solaris 10, especially in the wifi area.

hellfrozeover 04-16-2011 01:27 PM

Ok I ran the ifconfig and all it came up with was lo0...then I ran the /usr/X11/bin/scanpci...i dont know exactly what I am lookimg for but down at the very bottom it says pci bus 0x0002 cardnum 0x00 function 0x00 vendor 0x10ec device 0x8136 realtek semiconductor co. ltd RTL8101E/RTL8102E PCI express fast ethernet controller.....now unless I'm missing somethin it looks like my ethernet card is recognized I just dont have it enabled...do I need to do a proxy configuration to that bus number? Any help is greatly appreciated and forgive the errors I'm doing all this on my cell since its the only internet I have right now....

jlliagre 04-16-2011 04:07 PM

Quote:

Originally Posted by hellfrozeover (Post 4326486)
now unless I'm missing somethin it looks like my ethernet card is recognized I just dont have it enabled...

Your card is reported but not recognized. There is no driver for it bundled with Solaris 10, although there is one in Solaris 11 Express (rtls).

The rf driver downloadable from her http://homepage2.nifty.com/mrym3/tai...f-2.6.2.tar.gz should work, although it would be tricky to install it though your cell phone ...

hellfrozeover 04-17-2011 05:13 PM

Ok I was able to download that driver file onto a usb drive so I now have it but as I said I'm new to all this so I'm lost....i looked at the readme file and I tried following it but all it did was confuse me...if you can somehow give me better instructions for installing the driver i'd appreciate it causr apparantly the readme file is written above my head.....course i'll be getting windows back on the computer in about a week and then have internet access again and i'll try and create dual boot again so really in a week I will have net access again it just annoys me that I cant figure it out....but at least im learning a little bit and ill learn more once I start to work...just want yall to know I do appreciate all the help and anymore yall cangive me...

jlliagre 04-17-2011 05:29 PM

What installation steps are you failing to understand in the README.txt file ?

hellfrozeover 04-17-2011 08:15 PM

All of them lol first it says file name of driver is /kernel/drv/rf now I realize it isnt listed yet so we go to preparing for installation..it says copy source and binary files #gunzip _cd rf_x.x.x.tar.gz | tar xf-......i know I do this from terminal but wjen I do all it says is tar blocks =0 then it says add hostname for nic into /etc/hosts... I looked at it and it has 1 local host logouy JCS...which is what I named my pc then it has the I.p.address....so what do I name it and how is it supposef to work...as you can tell I am really lost...then I'm supposed to add links to correct binary directory and makefile according to config.. Now I hires I need to tell you I'm on a toshiba laptop with a celeron processor...obvioudly x86 ...now it says %cd /.../rf-x.x.x %rm obj Makefile %ln -s Makefile.${KARCH}_${COMPILER} Makefile %ln -s ${KARCH} obj where ${KARCH} is the result of 'isainfo -n' and ${COMPILER} is gcc or suncc which you want to use to make drver...so what is the isainfo -n? And I know how to do tje directory but what do I put for KARCH and what compiler? Do I use gcc or suncc? Once ahagain I feel like an idiot but I dont know what else to do....thanks for your help...

jlliagre 04-18-2011 12:43 AM

Quote:

Originally Posted by hellfrozeover (Post 4327496)
it says copy source and binary files #gunzip _cd rf_x.x.x.tar.gz | tar xf-......i know I do this from terminal but wjen I do all it says is tar blocks =0

This command should works just fine. It's "-cd", not "_cd".
Quote:

then it says add hostname for nic into /etc/hosts... I looked at it and it has 1 local host logouy JCS...which is what I named my pc then it has the I.p.address....so what do I name it and how is it supposef to work...as you can tell I am really lost...
Just ignore this step. I guess you are on dhcp, not with a fixed IP address.
Quote:

then I'm supposed to add links to correct binary directory and makefile according to config.. Now I hires I need to tell you I'm on a toshiba laptop with a celeron processor...obvioudly x86 ...now it says %cd /.../rf-x.x.x
That would be the directory just created, i.e. rf-2.6.2.
Quote:

%rm obj Makefile
Just remove these files. This should be
Code:

rm -r obj Makefile
Quote:

%ln -s Makefile.${KARCH}_${COMPILER} Makefile %ln -s ${KARCH} obj where ${KARCH} is the result of 'isainfo -n' and ${COMPILER} is gcc or suncc which you want to use to make drver...so what is the isainfo -n?
A command you run that will display x86 or amd64 on your machine.
Quote:

And I know how to do tje directory but what do I put for KARCH and what compiler? Do I use gcc or suncc?
"gcc", as you haven't sun cc installed. You probably also need to update your PATH to go further:

Code:

PATH=$PATH:/usr/ccs/bin:/usr/sfw/bin

hellfrozeover 04-18-2011 07:46 AM

Ok I'm understanding what you said except where it says {KARCH}...should my command be %ln -s Makefile.${x86}_${gcc} ??? As you can see I really am a newbie....but I am understanding most everything so far..just the KARCH command now....thanks again for all your help

jlliagre 04-18-2011 07:57 AM

That should be:
Code:

ln -s Makefile.x86_gcc Makefile
ln -s x86 obj


hellfrozeover 04-18-2011 12:48 PM

Ok as I've said before I know nothing about this stuff obviously I'm a newbie. Now you have helped me understand some of it tremendously. But I got home and could not get gunzip to work. However when I downloaded the file the other day I already unzipped it using windows which was how I downloaded it. Now I think the gunzip is just to unzip it am I correct? If so since my solaris had Gnome I can just open the folder on my usb drive and copy the rf-2.6.2 folder directly onto my computer. Unless I'm mistaken which would mean that the rf folder is now at /rf-2.6.2 as a working directory. Ok with that done I then ignored the /etc/hosts file like you said so I moved down and typed in: #cd rf-2.6.2 which then put me in the rf directory then I did the #rm obj Makefile
#ln -s Makefile.x86_gcc Makefile
#ln -s x86 obj

now that being said I looked closer at the readme file and it says
(4) Make links to correct binary directory and Makefile according to your
configuration. i386 and gcc are default.

% cd /.../rf-x.x.x
% rm obj Makefile
% ln -s Makefile.${KARCH}_${COMPILER} Makefile
% ln -s ${KARCH} obj

where ${KARCH} is the result of `isainfo -n`, and ${COMPILER} is
"gcc" or "suncc" which you want to use to make the driver.

Ok so I should be in the rf working directory and then type
#rm obj Makefile
#ln -s Makefile.i386_gcc Makefile
#ln -s i386 obj

So I think I did it wrong to start...should that be the correct syntax on how to do it? since it does say in the readme file i386 rather than x86??
If so there is one error.. I'm at work now so that's how come I'm able to do this easier but at home its tough...Now then next it says::
(5) Making binaries (only for sparc platform)
Rf driver is ready for 64bit and 32bit solaris8 10/00 sparc or
later. (But currently it is unstable on sparc platforms.)
This distribution does not include sparc binaries. To make the binaries,
you need Sun C compiler or gcc version 3, and do the following operations.

% /usr/ccs/bin/make

(6) Making binaries only for OpenSolaris users.
The driver likely work with GLD v3 in OpenSolaris, known as Nemo.
You can enjoy the new functions by recompiling the source code.

% rm Makefile.config
% ln -s Makefile.config_gld3 Makefile
(modify ONUTSDIR to point opensolaris kernel source)
% /usr/ccs/bin/make

Now then if I understand you correctly all i should have done is the first segment I just need to ignore (5) and (6) correct??
I ignored them and then came down to here::
4. Testing

# cd /.../rf-x.x.x
# /usr/ccs/bin/make install
# ./adddrv.sh
# rm /kernel/drv/rf (for solaris7, don't remove the file )
# modload obj/rf
# devfsadm -i rf (for solaris7, use drvconfig and reboot with -r )
# ifconfig rfN plumb ( where N is an instance number, typcally 0 for first card)
# ifconfig -a ( you will see an entry for rfN)
# ifconfig rfN YOUR-HOST-NAME
# ifconfig rfN ( ensure IP address is correct)
# ifconfig rfN up ( and then you can test with ping, telnet, ftp ...)

By the way from the / working directory I ran the path command like you said to do and it gave me no errors or anything...Now then I tried the testing of course I think it was all screwed up because of the x86 rather than i386 but still I typed it in and at the rf working directory /rf-2.6.2 I typed in:
/usr/ccs/bin/make install
it replied with fatal error don't know how to make install...
then I ran the
./adddrv.sh and it said don't recognize .adddrv.sh or whatever...So I'm completely lost...I'm sorry to be such a bother but as you can see I have no clue what I'm doing for sure. SCO Unix was a decade ago for me and this is something completely different....Here is the rest of the ReadMe file and any help you can give is greatly appreciated!:::
5. Installation
After you ensure that the rf driver is fully functional, install it.

(1) install the rf driver into the kernel directory
# cd /.../rf-x.x.x
# /usr/ccs/bin/make install

If you do not test the rf driver yet, execute the following commands:
# ./adddrv.sh
# devfsadm -i rf (for solaris7, use drvconfig and reboot with r )

(2) Configure the network interface. Create and/or modify the following file:
/etc/hostname.rfN

If you want to use rf with dhcp, you also need to create a empty file
below to get an assigned IP address automatically from a dhcp server
at boot time.
/etc/dhcp.rfN

(3) Reboot the system.
# init 6

Now granted I haven't been further yet because I don't think I had the stuff correct in the first place...but using an x86 system I should be using the i386 correct?? If so then I think I have the first part now but it comes down to the make install etc... and I'm lost again and then for the dhcp I was reading down and its confusing to me...All help is appreciated and I'm sorry to take up your time like this....Thanks again!!

hellfrozeover 04-18-2011 07:18 PM

Ok to update I figured out I needef to type in the isainfo -n command....turns out my system is amd64 so there is a huge mistake.... Now like I said I had unzipped the file already with windows right after I downloaded it...so now I just started by copying the directory rf-t.g.t into the root directory... So I did "cd rf-2.6.2" then I followed the next step and did "rm obj Makefile" then "ln -s Makefile.$amd64_$gcc Makefile" then "ln -s $amd64 obj" I get no errors there...so I think I did it all right for that step...like I said I skipped the etc/hosts part then I also skip parts (5) and (6) for sparc platforms and also the gldv3 for open solaris...so now I go down to tne testing part...i am still in the /rf-2.6.2 directory so I ran "/usr/ccs/bin/make install" and it said make: Fatal erfor: Don't know how to make target 'install' so where did I go wrong?? Any ideas on why it would give me this error?? Should I be using suncc instead of gcc?? I'm not understanding how I could be doing it wrong when I am going right down tje list..... Any help would be really appreciated....thanks

jlliagre 04-19-2011 03:46 AM

Quote:

Originally Posted by hellfrozeover (Post 4328696)
Ok to update I figured out I needef to type in the isainfo -n command....

You asked: so what is the isainfo -n?
I answered: A command you run that will display x86 or amd64 on your machine.
Quote:

turns out my system is amd64 so there is a huge mistake.... Now like I said I had unzipped the file already with windows right after I downloaded it...
That might cause further issues. Windows unzip isn't extracting the file's permission like gunzip do.
Quote:

so now I just started by copying the directory rf-t.g.t into the root directory... So I did "cd rf-2.6.2" then I followed the next step and did "rm obj Makefile" then "ln -s Makefile.$amd64_$gcc Makefile" then "ln -s $amd64 obj" I get no errors there...so I think I did it all right for that step...
You didn't. There are extra $'s in your command. That should be:
Code:

rm obj Makefile
ln -s Makefile.amd64_gcc Makefile
ln -s amd64 obj

Quote:

like I said I skipped the etc/hosts part then I also skip parts (5) and (6) for sparc platforms and also the gldv3 for open solaris...
That's fine.

hellfrozeover 04-19-2011 07:44 AM

Thanks for the info....sorry I didnt read close enough the other day when you said it was a command I run to check for amd64...now I will start all over later today from the very beginning...just one other question before I do... With the unzipped file on a usb drive I have to go to that directory not harddrive so does the | tar xf tell it to extract to the harddrive rather than extracting in the same spot on the usb drive? Just trying to cover all the bases.... Thanks again


All times are GMT -5. The time now is 09:55 AM.