OpenSolaris Solaris Forum  
     

Left Nav FAQ Members List Default Password Members List Linux Commands Search Today's Posts Mark Forums Read Right Nav

Left Container Right Container
 

Go Back   OpenSolaris Solaris Forum Solaris Networking

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-25-2010, 01:25 PM
Junior Member
 
Join Date: May 2010
Posts: 8
Exclamation How to reach the Network LAN and Internet?

To reach the network and let my PC (OS SnOS Solaris 10) communicating with the other machines on the LAN or internet I did this to add a new gateway:

route add default 192.168.1.1

The system displayed:
add net default: gateway 192.168.1.1: Network is unreachable

It seems from netstat r that my network shows this:
Destination Gateway Flags Ref Use Interface
224.0.0.0 localhost U 1 0 lo0
Localhost localhost UH 22 402 lo0

On my left corner side on the bottom I got the Icon saying (Network connection: lo0).
Some references talk about

/etc/defaultrouter

or
/etc/rc.n
I do not have these documents in my system SunOs Solaris 5.10.

So how to reach the network and get out from the prison of this machine?

Any help?
Reply With Quote
Sponsored Links

  #2 (permalink)  
Old 05-25-2010, 04:16 PM
Unregistered
Guest
 
Posts: n/a
Default

what is the output of ifconfig -a ?
Reply With Quote
  #3 (permalink)  
Old 05-26-2010, 12:35 PM
Junior Member
 
Join Date: May 2010
Posts: 8
Default

Thanks for replay, I am new in this System.
It seems that the system did not took all what I tried on it and he changed every thing back after reboot.
Now the ifconfig -a displays the first values:
inet 127.0.0.1 netmask ff000000
That's it.
How to change properly and make changes permanent?
I have to read long pages or to get your quick help!!!!
Reply With Quote
  #4 (permalink)  
Old 05-26-2010, 05:07 PM
Unregistered
Guest
 
Posts: n/a
Default

127.0.0.1 is the loop back adapter of the system
It seems that your system has not detected your network card

Are you sure that the Ethernet card is properly plugged in the system ?
what is the model/vendor of the card ?
Reply With Quote
  #5 (permalink)  
Old 05-27-2010, 07:57 PM
Junior Member
 
Join Date: May 2010
Posts: 8
Default

That's integrated into the motherboard card of the computer : DELL DIMENSION 2400.
My card is plugged and I got the light on the back of the machine. I got as well an Icon on the right corned saying "Network connection lo0" if I remember that's the IP interface.

dladm show-dev command displayed nothing

when I used smc tool to change the address after reboot I did not got any possibility to run again this tool (smc) and the new address was only on /etc/hosts not displayed by ifconfig -a

Big story (in Windows Server we can change it in a minute).

I think long work for Linux/Unix...
Reply With Quote
  #6 (permalink)  
Old 05-28-2010, 05:56 AM
Unregistered
Guest
 
Posts: n/a
Default

lo stands for loopback
so lo0 must be your loopback interface

your Ethernet card has not been detected by Solaris,
It seems that DELL DIMENSION 2400 uses Broadcom NetLink 4401 Ethernet NIC

you will have to manually install the drivers for this card
Please follow the steps given on this page
http://spod.cx/blog/broadcom_440x_op...s_nevada.shtml


As a 2nd option
If you have some other network card available than plug-it and that one might be auto-detected
Reply With Quote
  #7 (permalink)  
Old 05-28-2010, 08:28 AM
Junior Member
 
Join Date: May 2010
Posts: 8
Default

Thank you very much for your constant help, I'll try this as-soon-as I can and let you know this afternoon.
Thanks again
See you later
Reply With Quote
  #8 (permalink)  
Old 05-28-2010, 04:51 PM
Junior Member
 
Join Date: May 2010
Posts: 8
Default

I tried that interesting page but I died in the water with gmake it doesn' exist and I tied to use /usr/ccs/bin/make install
and I got the interesting message:
make: Fatal error: Don't know how to make target `install`
what to do after this ???
I'll continue and persist to find a solution, under the water!!!!!!
Reply With Quote
  #9 (permalink)  
Old 05-28-2010, 05:22 PM
Unregistered
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by allimoni View Post
I tried that interesting page but I died in the water with gmake it doesn' exist and I tied to use /usr/ccs/bin/make install
and I got the interesting message:
make: Fatal error: Don't know how to make target `install`
what to do after this ???
I'll continue and persist to find a solution, under the water!!!!!!
I hope that you are doing this correctly as mentioned.
you need to add /usr/ccs/bin/ to your path by following command

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

than move to the directory where you have extracted driver files and execute the following commands

./configure
make
make install

iif make does not work than you can try to issue the last two commands as
gmake
gmake install
Reply With Quote
  #10 (permalink)  
Old 05-28-2010, 05:57 PM
Junior Member
 
Join Date: May 2010
Posts: 8
Question

installing the driver of the network card bradcom


# ls
bfe-2.6.1 bfe-2.6.1.tar.gz
# gunzip -cd bfe-2.6.1.tar.gz | tar xf -
# ls
bfe-2.6.1 bfe-2.6.1.tar.gz
# cd bfe-2.6.1
#
# ln -s Makefile.${KARCH}_${COMPILER} Makefile
# echo ${COMPILER}

# echo $KARCH

# ls
COPYING Makefile.i386_suncc bcm4400reg.h
Makefile Makefile.macros bfe_gem.c
Makefile.amd64_gcc Makefile.sparc_gcc gem.c
Makefile.amd64_suncc Makefile.sparc_suncc gem.h
Makefile.amd64_suncc12 Makefile.sparcv9_gcc gem_mii.h
Makefile.common Makefile.sparcv9_suncc i386
Makefile.config README.japanese-euc sparc
Makefile.config_gld2 README.txt sparcv9
Makefile.config_gld3 adddrv.sh version
Makefile.i386_gcc amd64
# ln -s ${KARCH} obj
# isaininfo -n
isaininfo: not found

# rm obj Makefile
# rm Makefile
# ls -s Makefile.i386_gcc
2 Makefile.i386_gcc


# rm obj
# ln -s i386 obj
# gmake
gmake: not found
# make install
make: not found
# /usr/ccs/bin/make install
make: Fatal error: Don't know how to make target `install'
#

# rm Makefile
Makefile: No such file or directory
# rm obj
#

=============================== ============
# ls -s Makefile.i386_gcc
2 Makefile.i386_gcc
# ls -l
total 664
-r--r--r-- 1 111 staff 1592 Feb 13 2009 COPYING
-r--r--r-- 1 111 staff 559 Feb 13 2009 Makefile.amd64_gcc
-r--r--r-- 1 111 staff 567 Feb 13 2009 Makefile.amd64_suncc
-r--r--r-- 1 111 staff 571 Feb 13 2009 Makefile.amd64_suncc12
-r--r--r-- 1 111 staff 2924 Feb 13 2009 Makefile.common
lrwxrwxrwx 1 111 staff 20 May 28 16:07 Makefile.config -> Makefile.config_gld2
-r--r--r-- 1 111 staff 550 Feb 13 2009 Makefile.config_gld2
-r--r--r-- 1 111 staff 741 Feb 13 2009 Makefile.config_gld3
-r--r--r-- 1 111 staff 360 Feb 13 2009 Makefile.i386_gcc
-r--r--r-- 1 111 staff 365 Feb 13 2009 Makefile.i386_suncc
-r--r--r-- 1 111 staff 1294 Feb 13 2009 Makefile.macros
-r--r--r-- 1 111 staff 362 Feb 13 2009 Makefile.sparc_gcc
-r--r--r-- 1 111 staff 367 Feb 13 2009 Makefile.sparc_suncc
-r--r--r-- 1 111 staff 566 Feb 13 2009 Makefile.sparcv9_gcc
-r--r--r-- 1 111 staff 575 Feb 13 2009 Makefile.sparcv9_suncc
-r--r--r-- 1 111 staff 7079 Feb 13 2009 README.japanese-euc
-r--r--r-- 1 111 staff 6162 Feb 13 2009 README.txt
-rwxr-xr-x 1 111 staff 279 Feb 13 2009 adddrv.sh
drwxr-xr-x 2 111 staff 512 Feb 13 2009 amd64
-r--r--r-- 1 111 staff 9916 Feb 13 2009 bcm4400reg.h
-r--r--r-- 1 111 staff 47937 Feb 13 2009 bfe_gem.c
-r--r--r-- 1 111 staff 196838 Feb 13 2009 gem.c
-r--r--r-- 1 111 staff 21292 Feb 13 2009 gem.h
-r--r--r-- 1 111 staff 6528 Feb 13 2009 gem_mii.h
drwxr-xr-x 2 111 staff 512 Feb 13 2009 i386
drwxr-xr-x 2 111 staff 512 Feb 13 2009 sparc
drwxr-xr-x 2 111 staff 512 Feb 13 2009 sparcv9
-r--r--r-- 1 111 staff 73 Feb 13 2009 version
#

==================== ========================
# ls
COPYING Makefile.macros bfe_gem.c
Makefile.amd64_gcc Makefile.sparc_gcc gem.c
Makefile.amd64_suncc Makefile.sparc_suncc gem.h
Makefile.amd64_suncc12 Makefile.sparcv9_gcc gem_mii.h
Makefile.common Makefile.sparcv9_suncc i386
Makefile.config README.japanese-euc obj
Makefile.config_gld2 README.txt sparc
Makefile.config_gld3 adddrv.sh sparcv9
Makefile.i386_gcc amd64 version
Makefile.i386_suncc bcm4400reg.h
#

==================== ========================



======================== ===========
# find / -name uts -print
/usr/share/src/uts
#
# rm Makefile.config
# ln -s Makefile.config_gld3 Makefile.config
# vi Makefile.config
======================== ===========
#
DRV = bfe
include version
# I changed this to comments and I introduced the next line after find it by find command:
# ONUTSDIR = /home/mrym/opensolaris/usr-b92/src/uts
ONUTSDIR = /usr/share/src/uts
#ONUTSDIR = /home/mrym/opensolaris/usr/src/uts
#PUTBACKDIR = /home/mrym/opensolaris/usr/src/uts/common/io/bfe

DFLAGS = -UDEBUG -UDEBUG_LEVEL -UGEM_DEBUG_LEVEL -UTEST_RX_EMPTY \
-UTEST_SMALL_DMA_RANGE -UDBG_NOBURST -UDBG_FAIRSCHED \
-UDEBUG_DUMP_REGS -UCONFIG_FLOW_CONTROL \
-I $(ONUTSDIR)/common

CFGFLAGS = -DGEM_CONFIG_POLLING -DGEM_CONFIG_GLDv3 -DGEM_CONFIG_VLAN_HW \
-UGEM_CONFIG_CKSUM_OFFLOAD -DSOLARIS10 \
-Unotdef -UNEVER -UGEM_GCC_RUNTIME \
-UGEM_COMPAT -USANITY -UGEM_CONFIG_FMA -UMODULE \
-UGEM_CONFIG_RX_DIRECT -DGEM_CONFIG_TX_DIRECT \
-UOS_PUTBACK

LDFLAGS += -dy -N misc/mac -N drv/ip
============================ =
the test:

# make
make: not found


# /usr/ccs/bin/make
make: Fatal error: No arguments to build
#

# /usr/ccs/bin/make install
make: Fatal error: Don't know how to make target `install'
#

Last edited by allimoni; 05-28-2010 at 06:01 PM.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:32 AM.


Powered by vBulletin. Copyright 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.