|
Replies:
30
-
Last Post:
Jan 2, 2010 5:28 AM
by: tiptop
|
|
|
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:
717
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:
717
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:
717
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:
717
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:
717
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:
823
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:
717
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:
17
From:
US
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:
717
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:
17
From:
US
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:
717
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:
17
From:
US
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:
717
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:
823
From:
Registered:
2/14/06
|
|
|
|
|
Posts:
823
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
|
|
|
|
Posts:
16
From:
Registered:
12/29/09
|
|
|
|
Re: how to connect to internet ?
Posted:
Dec 29, 2009 3:00 PM
in response to: pappu08
To: OpenSolaris » help
|
|
Hi Folks,
I'm a newby and need to know how to connect Wireless to Internet over DSL Router.
I have run the command /usr/X11/bin/scanpci and dladm show-dev, ifconfig -a and netstat -rn. Without connecting the router with network adapter (PCI). The output is posted below.
What is to do as next. Thx in advance , Martin
Operating system - Opensolaris Developer Preview2 snv_79b x86
Networkadapter - NVidia nForce Networking controller (PCI) - D-Link Airplus G DWL-G122 Wireless USB Adapter rev.c
DSL-Router - Speedport W 303V
----------------------------------------------------------------------------- ----------- pci bus 0x0000 cardnum 0x00 function 0x00: vendor 0x10de device 0x03ea nVidia Corporation MCP61 Memory Controller
pci bus 0x0000 cardnum 0x01 function 0x00: vendor 0x10de device 0x03e0 nVidia Corporation MCP61 LPC Bridge
pci bus 0x0000 cardnum 0x01 function 0x01: vendor 0x10de device 0x03eb nVidia Corporation MCP61 SMBus
pci bus 0x0000 cardnum 0x01 function 0x02: vendor 0x10de device 0x03f5 nVidia Corporation MCP61 Memory Controller
pci bus 0x0000 cardnum 0x02 function 0x00: vendor 0x10de device 0x03f1 nVidia Corporation MCP61 USB Controller
pci bus 0x0000 cardnum 0x02 function 0x01: vendor 0x10de device 0x03f2 nVidia Corporation MCP61 USB Controller
pci bus 0x0000 cardnum 0x04 function 0x00: vendor 0x10de device 0x03f3 nVidia Corporation MCP61 PCI bridge
pci bus 0x0000 cardnum 0x05 function 0x00: vendor 0x10de device 0x03f0 nVidia Corporation MCP61 High Definition Audio
pci bus 0x0000 cardnum 0x06 function 0x00: vendor 0x10de device 0x03ec nVidia Corporation MCP61 IDE
pci bus 0x0000 cardnum 0x07 function 0x00: vendor 0x10de device 0x03ef nVidia Corporation MCP61 Ethernet
pci bus 0x0000 cardnum 0x08 function 0x00: vendor 0x10de device 0x03f6 nVidia Corporation MCP61 SATA Controller
pci bus 0x0000 cardnum 0x09 function 0x00: vendor 0x10de device 0x03e8 nVidia Corporation MCP61 PCI Express bridge
pci bus 0x0000 cardnum 0x0b function 0x00: vendor 0x10de device 0x03e9 nVidia Corporation MCP61 PCI Express bridge
pci bus 0x0000 cardnum 0x0c function 0x00: vendor 0x10de device 0x03e9 nVidia on 0x03: vendor 0x1022 device 0x1103 Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
pci bus 0x0002 cardnum 0x00 function 0x00: vendor 0x10de device 0x0422 nVidia Corporation Device unknown
root@opensolaris:~# dladm show-dev nge0 link: down speed: 0Mb duplex: unknown root@opensolaris:~# ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 nge0: flags=201004803<UP,BROADCAST,MULTICAST,DHCP,IPv4,CoS> mtu 1500 index 2 inet 0.0.0.0 netmask ff000000 ether 35:91:fa:fc:1b:0 lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128 root@opensolaris:~# netstat -rn
Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ---------- --------- 127.0.0.1 127.0.0.1 UH 1 274 lo0
Routing Table: IPv6 Destination/Mask Gateway Flags Ref Use If --------------------------- --------------------------- ----- --- ------- ----- ::1
Message was edited by: tiptop
|
|
|
|
Posts:
973
From:
Registered:
9/26/08
|
|
|
|
Re: how to connect to internet ?
Posted:
Dec 29, 2009 7:17 PM
in response to: tiptop
To: OpenSolaris » help
|
|
> Hi Folks, > I'm a newby and need to know how to connect Wireless to Internet > over DSL Router.
> What is to do as next. Thx in advance , Martin
> Operating system > - Opensolaris Developer Preview2 snv_79b x86
Tiptop, that OpenSolaris Developer Preview2 build 79b you are using is ancient history and I highly recommend that you do not use it. The "build 79b Developer Preview" was an only half-way functional prototype that had a lot of wireless networking bugs in it. It was used by programmers who write code for the OpenSolaris project as a test platform months before "the real OpenSolaris" was released to file bugs and make improvements.
In the last two years, almost all of those wireless networking bugs that I mentioned above have been fixed and a lot of improvements have been made, so I strongly recommend that you download a newest stable version of OpenSolaris which is called:
OpenSolaris 2009.06 build snv_111b
You can download it and find more information about it here:
http://www.opensolaris.com/
and you can also download it from here:
http://www.genunix.org/distributions/indiana/osol-0906-x86.iso
Download OpenSolaris 2009.06 build 111b, boot up in to the live CD and run the device driver utility to make sure that all of your hardware is supported (if it's not don't worry, we can probably find the drivers for your hardware somewhere). The live CD has a feature called "NWAM" that should automatically detect your wireless network just like Microsoft Windows does and you should be able to click on the wireless network icon with your mouse and connect to it.
After you're satisified that everything is working on the Live CD, click on the "Install" icon, and voila, you now have a working OpenSolaris install that has thousands of packages and other cool things that weren't in that old dinosaur release from two years ago.
|
|
|
|
Posts:
16
From:
Registered:
12/29/09
|
|
|
|
Re: how to connect to internet ?
Posted:
Dec 30, 2009 12:58 AM
in response to: system5
To: OpenSolaris » help
|
|
Hi,
thx for helps. I have installed the latest osol. It is really cool but the dinosaur was also pretty enough to me.
It looks fine and the driver utility indicates all hardware driver are available. In the toolbar there are also icons indicating the availability of the network interface. But I still have not internet connectivity.
First of all I like ro establish the connection between PC and the router directly (wired RJ45).
using windows I have to open the browser(e.g. FireFox) and call the ip address of my ISP(https://speedport.ip or http://192.168.2.1, in order to configure the internet connectivity manually. But this is not possible.
Shall i add a persistent default route like this:
# pfexec route -p add default 192.168.2.1
which further workarounds are necessary. thx, Martin
Message was edited by: tiptop
Message was edited by: tiptop
|
|
|
|
Posts:
973
From:
Registered:
9/26/08
|
|
|
|
Re: how to connect to internet ?
Posted:
Dec 31, 2009 12:55 AM
in response to: tiptop
To: OpenSolaris » help
|
|
> First of all I like ro establish the connection between PC and the router > directly (wired RJ45).
> using windows I have to open the browser(e.g. FireFox) and call the ip address > of my ISP(https://speedport.ip or http://192.168.2.1, in order to configure > the internet connectivity manually. But this is not possible.
You are trying to connect to the Internet by plugging the OpenSolaris laptop directly into a DSL modem, correct? The full OpenSolaris network documentation is here:
http://www.opensolaris.com/use/network_administration.pdf
but I don't want to confuse you with too much information, so I will try to summarize it all into a few quick paragraphs. Basically, there are two ways of managing network connections in OpenSolaris. The first way involves a service that is called:
"network/physical:nwam"
The "nwam" part stands for "network auto-magic" and this is similar to how Microsoft Windows XP and Windows Vista desktop computers can automatically configure networking by getting an IP address, a subnet mask, and a default router from a DHCP server (see the following links):
http://de.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol
http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol
The way nwam works is that you just plug in the right kind of ethernet cable in to both the DSL router and the OpenSolaris computer, and if the DSL router has a DHCP server running on it, then nwam will automatically do all of the work for you by getting an IP address, subnet mask and default route / gateway from the DHCP server and then automatically configuring these networking settings in OpenSolaris. So if nwam is running (and it should be running by default in a new un-tampered with installation of OpenSolaris 2009.06) and a DHCP server is running on the DSL modem, then all of the network settings should be configured automatically after you plug in the network cable.
After you plug in the network cable and NWAM configures everything via DHCP, open up a UNIX command line terminal and run these two commands:
ifconfig -a
netstat -nr
to see what the IP address and default route is that NWAM got from the DHCP server in the DSL router. Also, if there is a wireless network near by that you can connect to, you will see an icon in the upper right hand corner of the screen that looks kind of like this:
http://www.opensolaris.com/learn/features/whats-new/200811/images/nwam-gui.png
Just click on the icon / message about the wireless network there with your mouse and click on the wireless network that you want to connect to and the NWAM service should automatically connect to it if this service is running properly.
The other way of doing networking on OpenSolaris (if you a running a server with NWAM turned off and only need a static IP address) is called:
"network/physical:default"
If the NWAM service is disabled and the "network/physical:default" service is enabled then you have to configure networking manually using commands like:
route add default 192.168.1.1
or editing the /etc/defaultrouter and hostname.interface files.
To let us know if the NWAM service is running, please open up a command line shell and type in his command:
svcs -a | grep physical
or type in this command:
svcs nwam
and then copy and paste the results here. Also run these commands:
ifconfig -a
netstat -nr
dladm show-phys
pfexec dladm scan-wifi
and let us know what the output says.
|
|
|
|
Posts:
16
From:
Registered:
12/29/09
|
|
|
|
Re: how to connect to internet ?
Posted:
Dec 31, 2009 10:33 PM
in response to: system5
To: OpenSolaris » help
|
|
Thanks a lot for helps system5. Please find below the output of the requested commands.
You are right. I'm trying to connect my OpenSolaris PC to a router, which has an integrated DSL modem.
The DHCP functionality of the router is active. I have tried to establish the PC router connectivity through the "nwam service" and let OpenSolaris do it for me. I have disabled the Wireless LAN feature, so that only one link could be used for the DHCP request.
OS is able to recognize my hardware. However the DHCP request fails so that no information regarding IP-Address and net mask has been transmitted from the router to the OpenSolaris PC( The icon on the top right side of the screen prints DHCP request fails because the server did not response within a time frame.)
To this reason I still could not access my router through its IP address 192.168.2.1 in order to configure the internet connectivity.
...@opensolaris:~$ svcs nwam STATE STIME FMRI online 6:00:55 svc:/network/physical:nwam
...@opensolaris:~$ ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 nge0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2 inet 0.0.0.0 netmask ff000000 lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128 nge0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2 inet6 fe80::3791:faff:fefc:1b00/10
...@opensolaris:~$ netstat -nr
Routing Table: IPv4 Destination Gateway Flags Ref Use Interface -------------------- -------------------- ----- ----- ---------- --------- 127.0.0.1 127.0.0.1 UH 1 14 lo0
Routing Table: IPv6 Destination/Mask Gateway Flags Ref Use If --------------------------- --------------------------- ----- --- ------- ----- fe80::/10 fe80::3791:faff:fefc:1b00 U 1 0 nge0 ::1 ::1 UH 1 0 lo0
...@opensolaris:~$ dladm show-phys LINK MEDIA STATE SPEED DUPLEX DEVICE nge0 Ethernet up 100 full nge0
...@opensolaris:~$ dladm show-link LINK CLASS MTU STATE OVER nge0 phys 1500 up --
...@opensolaris:~$ pfexec dladm scan-wifi no warnings and no output are present while running this command.
Message was edited by: tiptop
|
|
|
|
Posts:
973
From:
Registered:
9/26/08
|
|
|
|
|
Posts:
973
From:
Registered:
9/26/08
|
|
|
|
Re: how to connect to internet ?
Posted:
Jan 1, 2010 5:57 PM
in response to: tiptop
To: OpenSolaris » help
|
|
Yes, I think it is the exact same problem, because if you look at this link:
http://www.linuxdynasty.org/basic-networking-howto-on-opensolaris.html
the author of the article had an MCP 61 chipset, and that is the same chip set that you have, correct? The problem is that you're using the nge network card driver when you should be using the nfo network driver. Follow the instructions posted at that link and then nwam and everything else should hopefully be working.
|
|
|
|
Posts:
16
From:
Registered:
12/29/09
|
|
|
|
Re: how to connect to internet ?
Posted:
Jan 1, 2010 10:34 PM
in response to: system5
To: OpenSolaris » help
|
|
|
|
happy new year
That is exact the point, where I was on 30.12.2009 03:23:51 :). I hoped there would be an other way around and the dinosaur would provide an other solution.
I have followed the instruction and got an error on point 13. (modload obj/nfo). Enclosed please find the read me doc.
Since I'm newbie to unix world, there are some isuues, which are not clear to me.
1. is it required to have a gcc or suncc compiler running to complete these instructions? pfexec pkg install SUNWgcc results on my system to error, since right now no networking possible.
2. is it necessary to add host name for the NIC and how can I verify whether the host name is already there or not and add it with the right nomenclature. I also could not find this file. (2) Add host name for the NIC into /etc/hosts file
3.modload obj/nfo or should be rather modload obj/nfo0? here i've got an error...
|
|
|
|
Posts:
973
From:
Registered:
9/26/08
|
|
|
|
|
Posts:
16
From:
Registered:
12/29/09
|
|
|
|
Re: how to connect to internet ?
Posted:
Jan 2, 2010 5:20 AM
in response to: system5
To: OpenSolaris » help
|
|
I run the commands 1 -13 as described in the instruction 1 - 13. After ./adddrv.sh command [12] I have rebooted my system.
Again I followed the instruction and on point 14 I have got an error command: myhome@opensolaris:~/Downloads/nfo-2.6.0# devfsadm -i nfo devfsadm: driver failed to attach: nfo
Thank you very much for support.
Message was edited by: tiptop
|
|
|
|
|