set hme:hme_adv_autoneg_cap=0
set hme:hme_adv_100T4_cap=0
set hme:hme_adv_100fdx_cap=0
set hme:hme_adv_100hdx_cap=0
set hme:hme_adv_10fdx_cap=1
set hme:hme_adv_10hdx_cap=0
set hme0:hme_adv_autoneg_cap=0
set hme0:hme_adv_100T4_cap=0
set hme0:hme_adv_100fdx_cap=1
set hme0:hme_adv_100hdx_cap=0
set hme0:hme_adv_10fdx_cap=0
set hme0:hme_adv_10hdx_cap=0
Opps forgot the 0's!!!
I set this
set hme0:hme_adv_autoneg_cap=0
set hme0:hme_adv_100T4_cap=0
set hme0:hme_adv_100fdx_cap=0
set hme0:hme_adv_100hdx_cap=0
set hme0:hme_adv_10fdx_cap=1
set hme0:hme_adv_10hdx_cap=0
the adapter is now working for 10 mb full duplex, the cable modem is trying to update the ip address on the network card and cannot do so. i have changed the network configuration settings in the boot auto configuration. to DHCP. but when i check in system config it is not changeing it. Is there any chance off makeing this DYNAMIC... not STATIC.
touch /etc/dhcp.iprb0(replace de ".iprb0", with whatever the ethernet interface for your system might be, as shown by "ifconfig -a", "cp /dev/null /etc/hostname.ipbr0", you need to make sure that this file is empty, otherwise, DHCP configuration won't work, make sure that /etc/inet/hosts, only has one line in it, the one containing "127.0.0.0 localhost", any other lines will be ignored, and any additional necessary lines will be added by DHCP client at boot time. "touch /etc/notrouter", this creates a file to tell Solaris that your system will not be performing routing or packet forwarding duties (if that's the case in your situation). If it already exists, good leave it be.
sorry ... continues ...
"cp /dev/null /etc/defaultrouter", since the DHCP client software will automatically put the needed entries on this file, we just need to make sure that it exists as an empty file, if it already exists, rename it and create the empty file in its place. "cp /dev/null /etc/resolv.conf", again, the necessary entries will be added by DHCP client, if you already have this file, rename it and create an empty file in its place, edit /etc/nsswitch.conf and look at hosts: line, by default it reads "files", change it to read "hosts: files dns", this will enable your machine to resolve addresses using DNS.
Rebooted, didnt work, B-( getting closer B-). I double clicked on the sysinfo , and it didnt have an ip address in there. Is there anything to force release the ip address, or renew it. In the windows enviroment, you have a file called ipconfig or the windows version called winipcfg todo that.
Is there a version like that for sun. The only thing i wasnt sure about was.... "hosts: files dns" if there was a space between it or not. i did put in a space.
thanks in advance to the experts out there... especially to the above helpers. B-)
"Life is a journey, you'll get there one way, or another"
hhuuummm ... it should work ..., okay I have a static IP, but my router is a dhcp server also so I will change to dchp
for test purpose ...I issue this commands as root on my sparc: (my network primary interface is hme0)
# > /etc/dhcp.hme0
# > /etc/hostname.hme0
# echo "127.0.0.0 localhost" > /etc/inet/hosts
# > /etc/notrouter
# > /etc/defaultrouter
# > /etc/resolv.conf
edit /etc/nsswitch.conf for "hosts: files dns" (yes with a space)
# ifconfig hme0 dhcp start
... wait and it works !
for release dhcp lease use: "ifconfig hme0 dhcp release", for get lease information use: "ifconfig hme0 dhcp status"
and renew the lease with "ifconfig hme0 dhcp start".
...if still doesn't work, maybe is something with you hardware, try list you hardware configuration, maybe I can help.
sorry, I remenber another thing ...the problem could be also your ISP "response time...", by default, ifconfig will wait 30 seconds for the DHCP server to respond (after which time, the boot will continue, while the interface gets configured in the background). you cold try 300 seconds which seems to be long enough, set with:
# echo "time 300" > /etc/dhcp.xxx
again xxx is your network card mine is hme0.
ok, try that when i get home, this maybe a stupid question
do i put these commands in again. as u have shown above.
(my network primary interface is cnft0)
i might have typed the original guys thing wrong,
ie
set hme0:hme_adv_autoneg_cap=0
set hme0:hme_adv_100T4_cap=0
set hme0:hme_adv_100fdx_cap=0
set hme0:hme_adv_100hdx_cap=0
set hme0:hme_adv_10fdx_cap=1
set hme0:hme_adv_10hdx_cap=0
or should it be
set cnft0:hme_adv_autoneg_cap=0
set cnft0:hme_adv_100T4_cap=0
set cnft0:hme_adv_100fdx_cap=0
set cnft0:hme_adv_100hdx_cap=0
set cnft0:hme_adv_10fdx_cap=1
set cnft0:hme_adv_10hdx_cap=0
Because this may be a problem, i am trying to relate to it. With the things i am picking up from yourself.
Thanks again (Carlos), maybe in the next millenuim i probably catch up to your current level.
if your network interface is cnft0 (Compaq Netflex ?) yes
you should use cntf insted of hme, you can also use "ndd" to check and set network parameters, also this is the best way to see what parameters are suported by a particular interface:
# ndd -get /dev/cnft ?
lists all parameters suported by your "cnft" for example to check your "cnft" link speed;
# ndd -get /dev/cnft link_speed
0 = 10 Mbps
1 = 100 Mbps
check link status:
# ndd -get /dev/cnft link_status
0 = link down
1 = link up
check half-duplex/full duplex
# ndd -get /dev/cnft link_mode
0 = half duplex
1 = full duplex
....
if your ISP is 10Mbps/full duplex to force this you can use:
# ndd -set /dev/cnft autoneg_cap 0
# ndd -set /dev/cnft 100T4_cap 0
# ndd -set /dev/cnft 100fdx_cap 0
# ndd -set /dev/cnft 100hdx_cap 0
# ndd -set /dev/cnft adv_10fdx_cap 1
# ndd -set /dev/cnft 10hdx_cap 0
then you could chek if it works with ndd -get ...link_mode,link_speed ...
to make permanent changes use set keywork in "/etc/system", need reboot...
same example:
set cnft:adv_autoneg_cap=0
set cnft:adv_100T4_cap=0
set cnft:adv_100fdx_cap=0
set cnft:adv_100hdx_cap=0
set cnft:adv_10fdx_cap=1
set cnft:adv_10hdx_cap=0
after set in /etc/system reboot and checl /var/adm/messages for info.
I am connected to the internet now. But the DNS names are not being resolved to the IP address. Where do i need to set the DNS Settings, i thought it would have picked it up from the DHCP server. Changeing the time setting, to search for the DHCP server to 300 seconds, did make a difference.
Also where do i set the "ifconfig cnft0 dhcp start" to start automatically. Can i set this in 'dhcp.cnft0'.
Well don't be to hard with yourself ... dhcp configuration could be trick sometimes with Solaris ... and you are right in normal situation DNS configuration will be picked up from dhcp, but sometimes that doesn't happen .... for example "linksys Cable/router" have this problem with Solaris, in this case you can just follow "Cubchubby" instructions (put ip address without chevrons), you will only have problems in future if your ISP has a habit of changing DNS name server ip addresses, you may also have (or not) another common problem that is your hostname is set to "unknown", if you had this problem just let me know.
Kind Regards,
Carlos Almeida.
Thanks for your impressions about me ...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.