|
Replies:
20
-
Last Post:
Jul 6, 2008 4:33 PM
by: kebabber
|
|
|
Posts:
29
From:
Registered:
2/22/08
|
|
|
|
how to connect to internet ?
Posted:
Feb 22, 2008 7:42 AM
To: OpenSolaris » help
|
|
Hello,
I am new to Solaris. I have installed Solaris Express Developer Edition on my PC. My PC is intel Pentium 4 with Intel Mother Board D865GSA which has on board Realtek LAN Card. I connect to internet via DHCP.My ISP is VSNL(India).I am using Broadband connection. Can anybody help me to configure internet on Solaris?
regards, Prashant Poman.
|
|
|
Posts:
707
From:
SE
Registered:
6/14/05
|
|
|
|
Re: how to connect to internet ?
Posted:
Feb 22, 2008 8:46 AM
in response to: pappu08
To: OpenSolaris » help
|
|
Hi ,
First we need to find out if Solaris recognize your realtek card.
Solaris has two drivers built in for realtek NICs
rge - realtek gigabit ethernet 8169 , 8168 , 8167, 8136 chips
rtls - for fast ethernet 8139 chip.
The following PCI devices are recognized in SNV Build 82
rge "pci10ec,8169" rge "pci10ec,8168" rge "pci10ec,8167" rge "pci16ec,0116" rge "pci10ec,8136" rge "pciex10ec,8136"
rtls "pci10ec,8139" rtls "pci1186,1301" rtls "pci1113,1211"
You can find out which device you have by running the scanpci command as root in a terminal window.
Login as root and start a terminal window.
run the command:
/usr/X11/bin/scanpci
Is your Realtek NIC listed and is it one of those listed above ?
If you know that the NIC you have does use one of the recognized chips sets but that the PCI ID listed by scanpci differs from the listed above you can try to add the PCI ID to the /etc/driver/aliases file with an editor and then reboot the system with a reconfguration boot .
you do a reconfiguration boot this way :
Logon to the system as root , start a terminal window.
# touch /reconfigure # shutdown -y -g0 -i6
and the system will reboot.
If your chip set is totally different eg like a RTL8129 or RTL8100 you can try Muryama San's driver
http://homepage2.nifty.com/mrym3/taiyodo/eng/
or find a driver from the Vendor
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=7&PFid=10&Level=3&Conn=2
Please ask again when you have figured out which chipset you machine actually has.
|
|
|
|
Posts:
2
From:
Registered:
2/22/08
|
|
|
|
Re: how to connect to internet ?
Posted:
Feb 23, 2008 2:56 PM
in response to: tunla
To: OpenSolaris » help
|
|
Hello, I am also new to Solaris. I installed Solaris 10 8/07; Have Dell 4600 with P4, Intel pro 100 Lan+Modem 56 Cardbus II, and Intel Pro/100 VE Network connection; Have Cable Modem(using ethernet) but can't connect to internet; could it possibly be ethernet not working; can I ping for it;If it is not detected is there a way to try and configure it manually? Read the docs but didn't see it in there Thanks, Casey b
|
|
|
|
Posts:
707
From:
SE
Registered:
6/14/05
|
|
|
|
Re: how to connect to internet ?
Posted:
Feb 24, 2008 1:57 AM
in response to: kcb1960
To: OpenSolaris » help
|
|
For "kcb1960"
The Intel Pro 100 VE is not a standard PCI card: see:
http://support.intel.com/support/network/adapter/pro100/pro100ve/sb/cs-008340.htm
when you run
# /usr/X11/bin/scanpci
Does the card show up in the list ?
The Intel Pro 100 is a a controller that is supported by Solaris as (iprb)
these are the PCI ID's recognized in the /etc/driver_aliases file
iprb "pci8086,1029" iprb "pci8086,1229" iprb "pci8086,1229.8086.1009" iprb "pci8086,1229.8086.100c" iprb "pci8086,1229.8086.1012" iprb "pci8086,1229.8086.1013" iprb "pci8086,1229.8086.1015" iprb "pci8086,1229.8086.1016" iprb "pci8086,1229.8086.1017" iprb "pci8086,1030" iprb "pci8086,1031" iprb "pci8086,1032" iprb "pci8086,1038" iprb "pci8086,1039" iprb "pci8086,103d" iprb "pci8086,1050" iprb "pci8086,1059" iprb "pci8086,1068" iprb "pci8086,1069" iprb "pci8086,1092" iprb "pci8086,1209" iprb "pci8086,2449" iprb "pci8086,27dc"
If a /usr/X11/bin/scanpci run in your PC shows up a different PCI ID You need to add it to the list and then reboot the system with a reconfguration boot .
you do a reconfiguration boot this way :
Logon to the system as root , start a terminal window.
# touch /reconfigure # shutdown -y -g0 -i6
and the system will reboot.
After that the best you can do is a "sys-unconfig " run that will shut down you PC. The next time you start it up you will be asked all the questions of the identity of your machine and all the questions on how you want you network configured.
//Lars
|
|
|
|
Posts:
29
From:
Registered:
2/22/08
|
|
|
|
Re: how to connect to internet ?
Posted:
Feb 29, 2008 6:59 AM
in response to: tunla
To: OpenSolaris » help
|
|
Hi,
Thanks for help.
I carried out the command
# /usr/X11/bin/scanpci
and the response was as follows
pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x8086 device 0x2570 Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface
pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x8086 device 0x2572 Intel Corporation 82865G Integrated Graphics Controller
pci bus 0x0000 cardnum 0x1d function 0x00: vendor 0x8086 device 0x24d2 Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1
pci bus 0x0000 cardnum 0x1d function 0x01: vendor 0x8086 device 0x24d4 Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2
pci bus 0x0000 cardnum 0x1d function 0x02: vendor 0x8086 device 0x24d7 Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3
pci bus 0x0000 cardnum 0x1d function 0x03: vendor 0x8086 device 0x24de Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4
pci bus 0x0000 cardnum 0x1d function 0x07: vendor 0x8086 device 0x24dd Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller
pci bus 0x0000 cardnum 0x1e function 0x00: vendor 0x8086 device 0x244e Intel Corporation 82801 PCI Bridge
pci bus 0x0000 cardnum 0x1f function 0x00: vendor 0x8086 device 0x24d0 Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge
pci bus 0x0000 cardnum 0x1f function 0x01: vendor 0x8086 device 0x24db Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller
pci bus 0x0000 cardnum 0x1f function 0x02: vendor 0x8086 device 0x24d1 Intel Corporation 82801EB (ICH5) SATA Controller
pci bus 0x0000 cardnum 0x1f function 0x03: vendor 0x8086 device 0x24d3 Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller
pci bus 0x0000 cardnum 0x1f function 0x05: vendor 0x8086 device 0x24d5 Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller
pci bus 0x0001 cardnum 0x03 function 0x00: vendor 0x10ec device 0x8139 Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ #
Thus my NIC chip is 8139.
What should I do next?
On Windows XP after fresh installation I just give my user name and password to connect to internet.My ISP is VSNL(India).I connect through DHCP. What exact steps should I take considering the facts to connect to internet on Solaris 10?
Thanks!
Prashant Poman.
|
|
|
|
Posts:
707
From:
SE
Registered:
6/14/05
|
|
|
|
Re: how to connect to internet ?
Posted:
Feb 29, 2008 8:39 AM
in response to: pappu08
To: OpenSolaris » help
|
|
hi,
Then the card should be configured in..
Do you have the devices:
/dev/rtls /dev/rtls0
Does :
# modinfo | grep rtls
produce a single line with the rtls kernel modul info ?
If the answer is Yes to all of the above , I reccomend that you perform the sys-unconfig procedure and then answer all the server and networking questions that you will receive after the reboot.
just type
# sys-unconfig
And you will be asked if you relly want to and warned about the reboot. After reboot you will need to answer all or parts of these questions. http://docs.sun.com/app/docs/doc/819-2393/gatherinfo-tbl-8?l=en&a=view
|
|
|
|
Posts:
29
From:
Registered:
2/22/08
|
|
|
|
Re: how to connect to internet ?
Posted:
Feb 29, 2008 10:24 AM
in response to: tunla
To: OpenSolaris » help
|
|
Hi,
Thanks for help!
I carried out sys-unconfig.
But , I was unable to answer some of the questions.
Network Connection ---yes DHCP---yes IPv6---yes Kerberos --no Naming Seivce ---none Domain Name--System Derived NIS and NIS+ ---I don't know DNS ---I don't know (also,I don't know ISP's IP address).
What should I do now?
Thanking You!
Prashant Poman.
|
|
|
|
Posts:
29
From:
Registered:
2/22/08
|
|
|
|
Re: how to connect to internet ?
Posted:
Feb 29, 2008 11:49 AM
in response to: tunla
To: OpenSolaris » help
|
|
Hi,
I executed the sys-unconfig and answered as follwows.
select a language -- 0(English) select a locale --0 (English) key board layout --US-English Networked -- yes use DHCP for rtls0-- yes enable IPv6 for rtls0-- no configure kerberos Security --no Name Service -- None NFSv4 Domain Configuration -- use the NFSv4 domain derived by the system
and so on.. it further asked my root password, date time settings etc. What went wrong in above mentioned steps?
Do I need to contact my ISP to get it's IP address?
Thanking You!
Prashant Poman
|
|
|
|
Posts:
707
From:
SE
Registered:
6/14/05
|
|
|
|
Re: how to connect to internet ?
Posted:
Feb 29, 2008 1:12 PM
in response to: pappu08
To: OpenSolaris » help
|
|
The last version of the setup (your post 11 ) looks correct to me.
With a working broadband connection to the ISP the Solaris machine should now broadcast for an IP address on the local Broadcast domain. If there is a Router between the Solaris server and the ISP's network the Router need to either answer the DHCP request it self or forward the DHCP request to the ISP. this is usually done with the IP-Helper function in Cisco Routers.
//Lars
|
|
|
|
Posts:
2
From:
Registered:
2/22/08
|
|
|
|
Re: how to connect to internet ?
Posted:
Mar 16, 2008 9:04 AM
in response to: tunla
To: OpenSolaris » help
|
|
Sorry so late coming back; I tried /etc/driver_aliases but came up with message "not found"; looked in all directories but could not find it;Any ideas other than reinstalling? Thanks, CaseyB
|
|
|
|
Posts:
707
From:
SE
Registered:
6/14/05
|
|
|
|
Re: how to connect to internet ?
Posted:
Mar 16, 2008 9:24 AM
in response to: kcb1960
To: OpenSolaris » help
|
|
>Sorry so late coming back; I tried /etc/driver_aliases but came up with message "not found"; l>ooked in all directories but could not find it;Any ideas other than reinstalling? Thanks, CaseyB
Ahem, what did you try to do ? /etc/driver_alises is not a program , you can t execute it its is a file in the /etc directory which you can view with the " more" command and edit with an editor.
I suppose its much easier if you tell us what your problem is.
Which release/build you have installed. Which hardware/ box it is. Which network card you have, the output of the /usr/X11/bin/scanpci command .
//Lars
|
|
|
|
Posts:
778
From:
Registered:
2/14/06
|
|
|
|
Re: how to connect to internet ?
Posted:
Mar 16, 2008 9:39 AM
in response to: tunla
To: OpenSolaris » help
|
|
Are you using Solaris 10 or OpenSolaris? Which build?
Teknis rockar hårt och länge, Lasse!
|
|
|
|
Posts:
707
From:
SE
Registered:
6/14/05
|
|
|
|
Re: how to connect to internet ?
Posted:
Mar 16, 2008 1:10 PM
in response to: kebabber
To: OpenSolaris » help
|
|
Sorry Private conversation follows:
Ja ja , hur skall jag vet vem som gömmer sig bakom kebab och korvar ? men att det var en svensk med den pseudonymen var ju uppenbart !
Du får väl kliva fram i ljuset !
//Lars
|
|
|
|
Posts:
13
From:
Greater New York
Registered:
10/12/05
|
|
|
|
Re: how to connect to internet ?
Posted:
Jun 27, 2008 6:54 AM
in response to: tunla
To: OpenSolaris » help
Cc: Communities » device drivers » discuss
Cc: Communities » networking » discuss
|
|
Thanks Tunla for your help in all this.
My issue was related, and your notes helped a great deal. In case this helps someone else,
MoBo is a GigaByte GA-X38T DQ6 DUAL RealTek 8168 gigabit interfaces
Initial install (Solaris 10 5/08) incorrectly detects and sets these up as '8169's in the /etc/driver_aliases file!
With this corrected (manual edit), and a sys_unconfig command issued, the driver loads and we begin to get the Network Setup survey on system startup.
But, even though the plumb -a command shows both interfaces up with appropriate settings, we cannot ping to anything else on the net. Hmmm.....
In addition, I cannot get DNS set up: the Network Setup reports an error: config_nsswitch error -4, errno 2 No such file or directory.
Many thanks. Lou
|
|
|
|
Posts:
707
From:
SE
Registered:
6/14/05
|
|
|
|
Re: how to connect to internet ?
Posted:
Jun 27, 2008 12:43 PM
in response to: drlou
To: OpenSolaris » help
|
|
Well unfortunately the implementataion of ethernet Hardware varies too widely. And even if Solaris 10 5/08 is supposed to support 8168 chipset GiGaByte may have done some thing to it like using a different PHY chip that the driver cant initialise.
how did you edit the driver_ aliases file ?
did you use the correct PCI bus identifier ? PCI10ec is for the old sstyle PCI bus ( 10ec is the RealTek identifier )
PCIex10ec is for the new style PCI-Express BUS. which type NIC is it ? PCI or PCI Express ?
Maybe you should try Murayama San's GANI driver instead item 15 on the driver list below.
http://homepage2.nifty.com/mrym3/taiyodo/eng/
//Lars
|
|
|
|
Posts:
13
From:
Greater New York
Registered:
10/12/05
|
|
|
|
Re: how to connect to internet ?
Posted:
Jun 27, 2008 8:41 PM
in response to: tunla
To: OpenSolaris » help
|
|
Lars - Thanks for your help with this.
PCI bus identifier: Hmm... This is a good point. I edited the driver_aliases by hand (is this adequate?), and assumed I was past this step once I saw the module loading.
I'll have to check this, but I think it may be on the PCIExpress BUS...
(Would I be overall better off using OpenSolaris, given its more dynamic state of development?)
Lou
|
|
|
|
Posts:
707
From:
SE
Registered:
6/14/05
|
|
|
|
Re: how to connect to internet ?
Posted:
Jun 28, 2008 1:11 AM
in response to: drlou
To: OpenSolaris » help
|
|
Hi,
The number of usable NIC's is higer on OpenSolaris than on Solaris 10. Solaris 10 comes with supportcontracts and problems are solved with patches you apply which is great in production environments.
OpenSolaris is always ( as yet ) development snapshots of the codebase at a given point in time. There is no patches. Solving a problem is done by Upgrading or Reinstalling a later Development snapshot , which is called a Build level .
Will this solve you present problem with the NIC ?
Maybe but probably not.
The NUmber of interesting combination's of networking chips on motherboards out of Taiwan is a marvel to behold.
Its probably less frustrating to get hold of a few of these and move them to the PC one uses for the time being.
http://www.intel.com/network/connectivity/products/pro1000gt_desktop_adapter.htm http://www.intel.com/network/connectivity/products/pro1000pt_desktop_adapter.htm
|
|
|
|
Posts:
13
From:
Greater New York
Registered:
10/12/05
|
|
|
|
Re: how to connect to internet ?
Posted:
Jul 1, 2008 6:44 AM
in response to: tunla
To: OpenSolaris » help
|
|
Tunla,
I've tried to fix this following your suggestions:
Background: [b]Gigabyte GA-X38T-DQ6[/b] mobo, with dual Realtek PCIExpress gigabit ethernet interfaces.
# scanpci indicates this machine has two RTL8111/8168B "PCIExpress" interfaces Given this, I have modified the driver_aliases file to indicate Identifier: [b]pciex10ec[/b] instead of pci10ec as it had been. Again, please note: the default Solaris install identified these as pci10ec 8169s - they are 8168s.
Ran sys-uninstall and rebooted... modinfo shows the rge Realtek module loaded (with info field value 215 - what does this mean?)
# ifconfig -a shows both interfaces up, with IP and MAC addresses assigned. # ifconfig -a plumb indicates SIOCSLIFNAME is set up for both interfaces.
However, still cannot ping anything on our net. Strangely, our router does receive frames from this machine! So, something is - sort of - working!
An aside: am still getting the error at configuration after sys-unconfig: error while trying to configure the name service switch file: config_nsswitch error -4, errno 2, No such file or directory. I can manually create the nsswitch.dns file, of course, but this error is weird...
I'd be happy to install openSolaris, if I had any reason to think it would solve my problem. (By the way, we have a lot of experience with Solaris (Commercial) on SPARC hardware; this is our first x86 install, however...)
Can you suggest the next thing I might try here?
Thanks again in advance, Lou
|
|
|
|
Posts:
707
From:
SE
Registered:
6/14/05
|
|
|
|
Re: how to connect to internet ?
Posted:
Jul 1, 2008 9:35 AM
in response to: drlou
To: OpenSolaris » help
|
|
All I can say is a lot of personal experiences really,
I have a machine that contains an 8169 . This machine only works on the net if it is cold booted into solaris . A reboot from windows does not work .
you could also try to put FQDN names in the /etc/hosts file and in the /etc/hostname.rge0 /etc/hostname.rge1 files.
RGE interface is a bit iffy, Intel e1000g has in my experience always been rock solid.
//regards
//Lars
|
|
|
|
Posts:
778
From:
Registered:
2/14/06
|
|
|
|
|
Posts:
778
From:
Registered:
2/14/06
|
|
|
|
Re: how to connect to internet ?
Posted:
Jul 6, 2008 4:33 PM
in response to: kebabber
To: OpenSolaris » help
|
|
My progress this far with dual NIC on intel P45 chipset, GA-EP45-DS3P mobo:
scanpci pci bus 0x0003 cardnum 0x00 function 0x00: vendor 0x10ec device 0x8168 Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
pci bus 0x0004 cardnum 0x00 function 0x00: vendor 0x10ec device 0x8168 Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
bash-3.2# prtconf System Configuration: Sun Microsystems i86pc Memory size: 4095 Megabytes System Peripherals (Software Nodes):
i86pc scsi_vhci, instance #0 isa, instance #0 asy, instance #0 i8042, instance #0 keyboard, instance #0 motherboard (driver not attached) pit_beep, instance #0 pci, instance #0 pci1458,5000 (driver not attached) pci8086,2e21, instance #0 display, instance #0 pci1002,aa30 (driver not attached) pci1458,5004, instance #0 mouse, instance #3 pci1458,5004, instance #1 pci1458,5004, instance #2 pci1458,5006, instance #0 pci1458,a102, instance #0 pci8086,3a40, instance #1 pci8086,3a48, instance #2 pci1458,e000, instance #0 pci8086,3a4a, instance #3 pci1458,e000, instance #1 pci1458,5004, instance #3 pci1458,5004, instance #4 pci1458,5004, instance #5 pci1458,5006, instance #1 pci8086,244e, instance #0 pci11ab,11ab, instance #0 disk, instance #1 disk, instance #2 disk, instance #3 disk, instance #4 pci1458,1000, instance #0 pci-ide, instance #2 ide, instance #4 cmdk, instance #0 ide (driver not attached) pci1458,5001 (driver not attached) pci-ide, instance #0 ide (driver not attached) ide, instance #1 sd, instance #0 pci1458,5001 (driver not attached) pci-ide, instance #1 ide (driver not attached) ide (driver not attached) iscsi, instance #0 stmf, instance #0 sbd, instance #0 fct, instance #0 pseudo, instance #0 options, instance #0 agpgart, instance #0 xsvc, instance #0 used-resources (driver not attached) cpus, instance #0 cpu, instance #0 cpu, instance #1 cpu, instance #2 cpu, instance #3
prtconf -pv Node 0x00001e assigned-addresses: 81030010.00000000.0000b000.00000000.00000100.c3030018.00 000000.ea110000.00000000.00001000.c3030020.00000000.ea100000.00000000.0001000 0 reg: 00030000.00000000.00000000.00000000.00000000.01030010.00000000.00000000 .00000000.00000100.43030018.00000000.00000000.00000000.00001000.43030020.0000 0000.00000000.00 000000.00010000 compatible: 'pciex10ec,8168.1458.e000.2' + 'pciex10ec,8168.1458.e000' + 'pcie x10ec,8168.2' + 'pciex10ec,8168' + 'pciexclass,020000' + 'pciexclass,0200' + 'pci10ec,8168.14 58.e000.2' + 'pci10ec,8168.1458.e000' + 'pci1458,e000' + 'pci10ec,8168.2' + 'pci10ec,8168' + 'pciclass,020000' + 'pciclass,0200' model: 'Ethernet controller' power-consumption: 00000001.00000001 devsel-speed: 00000000 interrupts: 00000001 subsystem-vendor-id: 00001458 subsystem-id: 0000e000 unit-address: '0' class-code: 00020000 revision-id: 00000002 vendor-id: 000010ec device-id: 00008168 pcie-capid-pointer: 00000070 pcie-capid-reg: 00000201 name: 'pci1458,e000'
Node 0x00001f assigned-addresses: 81040010.00000000.0000c000.00000000.00000100.c3040018.00 000000.ea010000.00000000.00001000.c3040020.00000000.ea000000.00000000.0001000 0 reg: 00040000.00000000.00000000.00000000.00000000.01040010.00000000.00000000 .00000000.00000100.43040018.00000000.00000000.00000000.00001000.43040020.0000 0000.00000000.00 000000.00010000 compatible: 'pciex10ec,8168.1458.e000.2' + 'pciex10ec,8168.1458.e000' + 'pcie x10ec,8168.2' + 'pciex10ec,8168' + 'pciexclass,020000' + 'pciexclass,0200' + 'pci10ec,8168.14 58.e000.2' + 'pci10ec,8168.1458.e000' + 'pci1458,e000' + 'pci10ec,8168.2' + 'pci10ec,8168' + 'pciclass,020000' + 'pciclass,0200' model: 'Ethernet controller' power-consumption: 00000001.00000001 devsel-speed: 00000000 interrupts: 00000001 subsystem-vendor-id: 00001458 subsystem-id: 0000e000 unit-address: '0' class-code: 00020000 revision-id: 00000002 vendor-id: 000010ec device-id: 00008168 pcie-capid-pointer: 00000070 pcie-capid-reg: 00000201 name: 'pci1458,e000'
less driver_aliases: rge "pci10ec,8169" rge "pci10ec,8168" rge "pci10ec,8167" rge "pci16ec,116" rge "pci10ec,8136" rge "pciex10ec,8136"
bash-3.2# ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 rge0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 index 2 inet 192.168.0.100 netmask ffffff00 broadcast 192.168.0.255 ether 0:1f:d0:20:c0:6a lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128 bash-3.2# ping 192.168.0.100 192.168.0.100 is alive bash-3.2# ping www.google.com ping: unknown host www.google.com
|
|
|
|
|