Set network speed & mode in Solaris 10

Hi all,
Can someone know how to change the network speed and mode in solaris 10 SPARC
I tried with ndd -set , is this valid for Solaris 10
How can I check the speed and mode
Regards,
Hakim

It depends on what type of interface card you have, but basically you can use ndd -set and ndd-get commands on most of the NICs in a Sun box:
Network Interface Cards documentation:
http://docs.sun.com/app/docs/prod/net.inter.crds#hic
I have bge cards, so, I run this command to see what parameters I can alter:
ndd -get /dev/bge0 \?
? (read only)
autoneg_cap (read only)
pause_cap (read only)
asym_pause_cap (read only)
1000fdx_cap (read only)
1000hdx_cap (read only)
100T4_cap (read only)
100fdx_cap (read only)
100hdx_cap (read only)
10fdx_cap (read only)
10hdx_cap (read only)
adv_autoneg_cap (read and write)
adv_pause_cap (read and write)
adv_asym_pause_cap (read and write)
adv_1000fdx_cap (read and write)
adv_1000hdx_cap (read and write)
adv_100T4_cap (read only)
adv_100fdx_cap (read and write)
adv_100hdx_cap (read and write)
adv_10fdx_cap (read and write)
adv_10hdx_cap (read and write)
lp_autoneg_cap (read only)
lp_pause_cap (read only)
lp_asym_pause_cap (read only)
lp_1000fdx_cap (read only)
lp_1000hdx_cap (read only)
lp_100T4_cap (read only)
lp_100fdx_cap (read only)
lp_100hdx_cap (read only)
lp_10fdx_cap (read only)
lp_10hdx_cap (read only)
link_status (read only)
link_speed (read only)
link_duplex (read only)
link_autoneg (read only)
link_rx_pause (read only)
link_tx_pause (read only)
loop_mode (read only)
msi_cnt (read and write)
drain_max (read and write)
speed:
ndd -get /dev/bge0 link_speed (Note that this is read-only attribute)
100
duplex:
ndd -get /dev/bge0 100fdx_cap (read/write atrribute)
1
etc...
To set duplex during boot, I do this:
cat /etc/init.d/NICtune.s
#!/sbin/sh
# This script tunes the NIC to 100 Full Duplex
case "$1" in
start)
ndd -set /dev/bge0 adv_1000fdx_cap 0
ndd -set /dev/bge0 adv_1000hdx_cap 0
ndd -set /dev/bge0 adv_100fdx_cap 1
ndd -set /dev/bge0 adv_100hdx_cap 0
ndd -set /dev/bge0 adv_10fdx_cap 0
ndd -set /dev/bge0 adv_10hdx_cap 0
ndd -set /dev/bge0 adv_autoneg_cap 0
stop)
continue
echo "Usage: $0 { start | stop }"
exit 1
esac
exit 0
ln -s /etc/init.d/NICtune /etc/rc2.d/S99NICTune
HTH
John

Similar Messages

  • Need to permanently set network link modes (duplex and speed)

    Hello everyone,
    I have an Intel on-board network card  which does not play well with my FritzBox. According to Intel this is a known issue in how the card negotiates its link mode. Intel provided a tool to set the link mode under windows (because the standard windows settings did not persist). Now I successfully figured out how to set duplex and speed to the appropriate values but i have to do this every time on boot with
    $ ethtool -s eno1 speed 100 duplex full
    My question now is twofold:
    1. Is there any other way to persistently set those values? I know about mii-tool but this reports my card is not supported and I don't know if it would persist a reboot.
    2. If i need to run ethtool on every boot: What would be the preferred (best-practice) way to do it? I'm still really new to arch and Linux but cursory reading indicates to write a systemd service.
    Cheers
    Kai

    Maybe this could be useful
    https://wiki.archlinux.org/index.php/Sy … vice_files
    I have just read a little but I think this will do

  • Is limiting network speed by setting adapter speed good? [SOLVED: yes]

    i have an arch NAT router PC which has 3 network adapters present; "external" for my cable modem interface, "internal" for an internal subnet 172.16.0.0/16, and "wifi" which is a separate internal subnet 192.168.192.0/24 open wifi that I recently setup for guests and the like. the open wifi is explicitly barred access to the 172 network with iptables. i currently have a 50mbps down/10mbps up comcast internet connection. i have been limiting the open wifi's speed by setting the NIC designated for it to 10 mbps, just so that all of my bandwidth isn't completely eaten up. this appears to work completely fine; realistic speed is measured to around 8mbps throughput, which I consider fine for basic internet access.
    i'm just curious whether this is an appropriate method to restrict bandwidth speed? i've read about something called "qdisc" which could limit speeds within iptables, is this a better way to accomplish this?
    Last edited by train_wreck (2012-11-15 03:34:10)

    Luckily you are in the position of having a whole link that you want a hard limit on.
    tc is more for traffic control between source and destination of packets going over the same link, or dynamic stuff. However, it will never be as trusted as a link set to a slower bit rate, and can be a pain to manage/T-Shoot.
    Over the WAN traffic control is normally done with switching protocols like ATM and MPLS. However, even on large networks clients may be rate limited by the network admin simply setting the speed of their link slower in the configuration then what it can really handle.
    Last edited by hunterthomson (2012-11-14 10:29:33)

  • ASA 5505 as hw vpn client to PIX501 or ASA5505 w network extension mode

    Hi!
    We have been using a PIX 501 for a couple of years now to access a
    local network with Cisco VPN software client. However we now need
    access from another site with multiple users so I decided to buy two
    ASA 5505 UL bundle to do the job. First i tried to just hook up the
    new ASA at the remote site and connect to the PIX 501 with easy vpn.
    In went fine. I configured the new ASA right from the box with the old
    vpn profile settings and it worked right away. But as we also need the
    remote site to be accessed from the main site (PIX side) i tried to
    enable "network extension mode" but then the tunnel didnt work
    anymore. it connects but no traffic is coming through. I set it back
    to normal mode (only client) and it worked again.
    Is there anything else I need to do to be able to use network
    extension mode than just enabling it in ASDM ?
    The samt thing happens when using two ASA 5505 the same way.
    Software versions are:
    PIX: 6.3
    ASA 5505: 7.2.1 (used to be 7.2.2 but I had to downgrade because of a bug in 7.2.2 - vpnclient fails after reboot)
    I also did try the latest 8.2 with very little success. Seemed a bit buggy.
    Thanks,
    Bjorn

    Hi!
    Thought I could add some info. Our Head unit is 192.168.1.1 and the connecting ASA 5505 is 192.168.10.1. When I try to ping a machine (192.168.1.201) from the remote site I get this in the ASA log:
    With network extension mode
    302020 192.168.1.201 192.168.10.2 Built ICMP connection for faddr 192.168.1.201/0 gaddr 192.168.10.2/512 laddr 192.168.10.2/512
    With only client mode
    302020 192.168.1.201 192.168.10.2 Built ICMP connection for faddr 192.168.1.201/0 gaddr 192.168.1.9/1 laddr 192.168.10.2/512
    It seemes to me (quite the newbie here on ASA) that the unit does not handle the gateway address correctly when using network extension mode. The PC i use to ping from is 192.168.10.2.
    Any ideas from the experts ?
    Regards,
    B

  • Poor network speed with 1st generation time capsule and multiple airport express 5Ghz. My network speed slows to a crawl when not close to the time capsule. I get the range that I need, but the speed is painfully slow.

    Hello,
    I have a first generation time capsule running 802.11n (b/g compatable) and the airport expresse's are the newer 5ghz models. I have 3 airport express's and I have the range that I need. I can run the time capsule using 802.11n 5ghz, but I loose the range and can't connect to all of the airport express's. My computers and mobile devices run 802.11n. Does anyone have any suggestions on how to increase the network speed. Would the new airport extreme fix the problem?
    Thank you

    Unfortunately, you are experiencing one of the downsides to 5 GHz. That's because the higher frequency 5 GHz signals are much weaker than 2.4 GHz signals.
    After all, you always have to give up something to gain something else. In the case of 5 GHz, you gain potential speed but in return, you must give up penetration power and distance capability.
    In order to work well, 5 GHz signals need to almost have a line-of-sight relationship between devices. Unless you can achieve this, you will do much better to leave the Time Capsule running at the 802.11n (b/g compatible) 2.4 GHz Radio Mode and allow the Express devices to "extend" that network.
    As for the location of the AirPort Express devices in an exended network, that is critical for best performance. That's because the Express can only "extend" the quality and bandwidth of the signal that it receives. Post back if you need a few more tips on how to find the best location for the AirPort Express devices.
    Would the new airport extreme fix the problem?
    Unfortunately, no.

  • I am desperate!! slow choppy network speeds (not actual inability to cnnct)

    I have a 13" macbook air that has the following problem: I can connect to wifi networks (including at home WPA and also tried WPA2 settings) but even though I may get proper speed at first, I soon lose that and it becomes much slower and choppy (if I open activity monitor I can see the speed going up and down like crazy...). My internet speed at home is 12mpbs set by my provider. When I perform speed tests (vis speedtest.net or downloading files from other speed test sites) on my windows PC that is also on this network I get the full download speed. However with this MAC while I initially did get the full speed, it is now down to an average of 3-5mbps and the activity monitor, again, shows choppy behavior so it will be at 8 then at zero almost and then up and down again but never near the full speed. I tried to connect to other networks and I have the same problem - once this happens it stays. I tried removing the airport connection in network preferences and adding it again it does not help.
    I TALKED TO APPLE AND HAD MY COMPUTER TESTED BY THEM - they didn't find any hardware issues (they said it was fine - but it isn't) but they still replaced the airport hardware in the computer - both the chip and the antenna (which meant replacing the entire screen). I brought the computer home, ran a speed test and everything was fine. I thought GREAT but then something happened and the problem returned. What I did (which I think was unrelated) was connect via SMB to a PC at home and I tried to stream a movie file. I noticed it kept 'pausing' so I opened up activity monitor again and to my HORROR I saw the choppy wave with network speed very inconsistent going up and down like crazy... I tried connecting to my slingox using the sling web access after disconnecting from my home PC but got partial speed and lots of drops too. I tried the speed test again multiple times, nothing seems to work.
    SO I don't know what to do at this point. I have 10.6.6 running. I heard something about a firmware update but I am new to mac so not sure how to even do that or what else I can do to solve this problem or what is causing it. BTW - logging in now from the guest account still does not fix the issues and they remain the same.
    I am desperately looking for help!!
    Thanks a lot!

    Have you been able to reproduce your problems on other wireless networks other than at your house? It appears you are saying that this occurs on all wireless, but I'm not sure from your comment. If it's only at home, it would appear to be a compatibility issue between your wireless access point and the Macbook Air, which isn't uncommon. Sometimes a firmware upgrade to the access point can fix it, sometimes it might require switching to a different brand of access point. It would be great if you could borrow (or buy and return) a different access point/router to test. An Apple airport would be the best to use of course. Not the easiest solution, but lets you help rule out a hardware issue with your air.
    My isp provides 15mbps but my wireless devices such as my iphone, ipad, laptop usually only get 6.5-8 mbps when testing speeds to the internet. I don't expect it to be as good as the wired due to interference, signal, etc. I don't get the choppy behavior however. Firware updates from Apple will appear in the same manner as standard software updates. If there is one available for your system it should appear when you check for software updates. That being said, I believe you can also manually download them from the Apple site.

  • Getting the network interface up in solaris 10

    Hi,
    I am a solaris newbie and am trying to get the network interface up on solaris 10. I have set the required details in
    /etc/hostname.if
    /etc/hosts
    /etc/inet/ipnodes
    /etc/inet/netmasks
    /etc/defaultrouter
    yet on the startup i get a message "failed to bring up IPv4 interfaces : interfacename"
    And when the server starts up after giving the command "ifconfig if up"
    the network interface comes up.
    I need to get the interface up on the startup itself.
    can anyone help me on this ?????
    Thanks in advance,

    ... and of course, you need compatible hardware.
    But you failed to tell anyone what Ethernet adapter you're trying to use.
    Is it on the HCL ? http://www.sun.com/bigadmin/hcl/
    If it requires third party driver software, did you install that as well ?
    You failed to tell anyone whether you're installing to Solaris x86 or to Solaris SPARC.
    ( For example, a PeeCee NIC will generally just not work in a SPARC system. )

  • Unable to set the speed on dot11Radio Interface

    Hello Experts,
    I have number of 1130ag access points in our network. The problem i am facing is that when I tried to set the speed on the dot11Radio 0 and 1 interface it doesn't appear
    This is the command I am using:
    interface dot11Radio 0
    speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0
    Please can someone help me.

    Hi,
    The configurations that you are entering.. that is..
    speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0
    is the Default config for 802.11G and by nature the default configurationas will not appear in the running config.. another example is.. By default Aironet Extentions are enabled on the AP runing config, and in the Show run you will see that.. but when you isue the command no dot11 extension aironet thne this command wil show up!! please make the change and then you will be able to see.. here is the link as well which can be used to set the values..
    http://www.cisco.com/en/US/docs/wireless/access_point/12.4_21a_JA1/configuration/guide/scg12421aJA1-chap6-radio.html#wp1101903
    lemme know if this answered your question
    Regards
    Surendra

  • Network speed WAY down for internet - help??

    I have 3 airport extreme's set up as a WDN. It all works great. Internet is fast through a cable modem attached to the main stations WAN port.
    It seems though that when "certain" users are getting into heavy internet traffic, seemingly large continuous downloads, the REST of the network is slowing down. The internet slows down to a CRAWL, so much so that eventually safari brings up the "network troublshooting" thing.
    What is perplexing about this is that when I try to remote desktop to another machine on the LAN, THIS TOO has slowed to a crawl! There are no other LAN transfers or interactions between machines going on, ONLY NAT/DHCP net access.
    I KNOW it is other users, because when I disconnect the internet, the network speed instantly goes back to super fast, remote desktop works great etc, then it seems somebody is starting their download again (ha ha that I just disconnected) and suddenly it's crawling. This doesn't seem right, not with only 3 - 5 users on a 3 base station system, and a 1Mb/s internet cable connection.... does it? At least, if the internet is slowing down, other LAN traffic (non internet related) should not right?? This is the part that has got me confused.
    Also is there any software out there that will let me see stats from the main station in regards to:
    - DHCP LAN assignments
    - and upload / download traffic of each of those LAN addresses and other information.
    Thanks,
    Miklos.
    PS Just to be clear when the internet is extremely slow it is not one particular site - email doesn't work, and the same site, reloaded again and again does not load - the rest of the network is simultaneously slow - I disconnect the internet (log off via simple software app supplied by the ISP) and within 5 - 10 seconds, network speed is visibly up - things start loading properly, and the internet - the same site, starts to load very fast.
    My dilemma is how can the internet usage slow the REST of the network, when it's a very fast system! Another point: I am NOT resetting the base stations, they are remaining online and nobody is getting bumped off, I'm only disconnecting the internet feed that's ALL, so it's not like they're getting kicked off and then network speed is resuming, they are still in effect logged on to the network, they just can't access the internet.

    Did you run it in store? If so, the wireless instore is notoriously bogged down/slow with all the things connected to it.
    If you like my post, or solution to your issue/question, go ahead and click on the little star by my name and/or accept the post as the Solution. It makes me happy.
    I'm NOT an employee of Best Buy, or Geek Squad, though I did work as an Agent for a year 5 years ago. None of my posts are to be taken as the official stance that Best Buy will take on your situation. My advice is just that, advice.
    Unfortunately, that's the bad luck of any electronic, there's going to be bad Apples... wait that's a horrible pun.

  • Slow Network Speed with MacPro

    I just received 4 MacPro's with the dual quad processors. I have configured 3 for our workplace and have moved them into production. We are experiencing very slow network speeds, a test file on our server of 100mb takes 2 minutes 20 seconds to copy to the desktop. I have manually set the ethernet port to 100baseT with full duplo. The old machine is running the same OS 10.4.10, and only takes 12 seconds to copy the file. I should mention that we use DAVE to connect to our servers, both machines are running the same version of DAVE, and using a third machine I connected to both drops and the file copied in 12 sec, showing that the network is physically OK. The only difference between the two machines is that one is the intel version? Can anyone offer any thing to try?
    Thanks
    Message was edited by: Mark Crane
    Message was edited by: Mark Crane

    I am 99% sure someone else had 'slow transfer' in another thread.
    Sometimes a router needs firmware update to be compatible, or upgrade the cables to cat6e, or look for a new router or switch which helped my own setup. Just look for one that says that it is "Vista compatible" actually.
    http://www.thursby.com/products/dave-vs-tiger.html

  • HT1222 Hi Does anyone know how can I stop my iPhone 4s downloading automatic system update so reducing my network speed when plugged in to charge or connected to the pc ??? I'm really ok with my iOS 5.0.1 and I don't need 5.1

    Hi Does anyone know how can I stop my iPhone 4s downloading automatic system update so reducing my network speed when plugged in to charge or connected to the pc ??? I'm really ok with my iOS 5.0.1 and I don't need 5.1

    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom

  • How to set network driver promisc in kernel

    Hello.
    I got a problem. In my project, I need to set network driver promisc so that I can catch all the packets to it. I know how to do it in user application. But I need to do that in kernel space. Do someone know how to do that?
    Thanks in advance.
    wazy

    use DLPI messages,
    types
    #define DL_PROMISCON_REQ 0x1f /* Turn on promiscuous mode */
    #define DL_PROMISCOFF_REQ 0x20 /* Turn off promiscuous mode */
    -Ashutosh

  • Network speed test in jsp

    I would like to know which APIs are necessary to develop a network speed tester in jsp or which method to do this, knowing about which APIs it's necessary, I will study them. Here is a example of a network speed tester that I'm trying to do
    Examples:
    http://www.coiinc.com/speedtest/initialmeter.php
    http://www.pcativo.com.br/testes.asp?teste_tipo=velocidade
    http://www.navegante.com.br/medidor/initialmeter.php
    http://medidor.interair.com.br/
    http://www.rjnet.com.br/velocimetro/index2.htm

    Sir,
    For at least a couple of these options it appears that the test is actually based on JavaScript.
    What seems to happen is that at the beginning of the page there is a JavaScript variable that is set with the time.
    Then there is a big amount of some sort of data. Which I would guess has been measured to be X big. Let's say 1 MB.
    Finally there is another bit of Javascript which again takes the time and then finds out the difference and from that one can sort of conclude the time difference.
    But I am not convinced this will always work perfectly but who knows... anyway your use of JSP wouldn't preclude you from just basically copying what these others are doing.
    Sincerely,
    Slappy

  • Locking Aperture Setting in Movie Mode - Canon T4i

    I recently bought a T4i to use for shooting short videos, some of which will require me to zoom in during filming. I noticed that if the scene is properly exposed and I zoom in, the image becomes darker. This is not much of a problem sinceonly a short amount of footage will be seen before the zoom starts, so I can just expose the image so that it looks fine after the zoom.
    The issue is the when I zoom in, I noticed the camera is automatically adjusting the aperture. I'm using the Manual mode, not Shutter Speed Priority. The ISO doesn't change and the Shutter Speed doesn't change, so why is it compensating by adjusting the aperture? Is there any way to lock the aperture setting in Manual mode? Is there is an auto compensation feature that needs to be turned off? As far as I can tell, Scene Intelligent Auto is off, as is the Auto Lighting Optimizer. What am I missing?

    This depends on the f-stop and lens being used.  
    You didn't mention which lens, but the "kit" lens that comes with the camera (if you buy the camera as a kit) is the EF-S 18-55mm f/3.5-5.6.  
    A lens normally lists it's WIDEST possible aperture, but notice that the focal ratio for this lens (f/3.5-5.6) is listed as a range.  
    This means that the widest possible focal ratio is variable and depends on the focal length.  At the 18mm end, the lens is able to provide an f/3.5 focal ratio.  But as you zoom in, this ratio increases to f/5.6.  
    If are using a low focal ratio such as f/3.5, then yes... the focal ratio will increase and the image will get darker as you zoom in.  That's the physics of the lens.  There are better lenses such as the EF-S 17-55mm f/2.8 IS USM.  That lens is able to provide an f/2.8 focal ratio (which is even brighter) and can do so at all focal lengths.  The f/2.8 focal ratio collects considerably more light (the lens is physically larger).
    If you set the aperture on your variable focal length lens to the higher f-stop in the range (e.g. f/5.6) then the lens CAN provide that focal ratio at all focal lengths... hence it will not get darker as you zoom... this assumes you have enough light.  
    Tim Campbell
    5D II, 5D III, 60Da

  • ILOM network speed and duplex

    Is there a way to set the speed and duplex config on an X4100 ILOM network management port? We are doing some tests and installing an OS across the network using the remote control capabilities and mounting an ISO to boot from. I have noticed that it is only capable of about 2-3mbps throughput max. Since it is a 10/100 NIC, I had hoped for better speeds. We will eventually be looking at integrating N1 Provisioning, but want to do a few initial test systems this way.
    I am connected to a port on a Cisco 3548 switch and it is set to 100 Full Duplex. I usually set the NIC on a server to match the speed/duplex on the switch port to reduce any issues with mismatched settings.

    Have you tried to let the ILOM and the Cisco switch auto-negotiate? I've seen issues with forcing one side and not the other.
    I can't find a way to force the speed/duplex via the IPMI Configuration in BIOS on a x4100 M2 that's in front of me. Not sure about CLI on ILOM...
    --Ryan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Flex project vs. mxml application

    im totally new to flex and actionscript, coming from traditional web app development. ive been watching videos on lynda.com and it has gone well, but one thing it fails to mention and that i couldnt find in the forums or on google is the difference b

  • Help! about process chain execution status

    hi: we nearly have one problem about the process chain execution status, when error occured during  process chian execution, we fixed it in time, however, even the error repaired, its status still showed yellow, and this stop the subsequent process t

  • Slow iMac (s?)-Mail has created a monster?

    I've only noticed this over the last 2 days, and only saw this symptom this morning. I have 2 iMacs that I use regularly, a 2.8 GHz Core2Duo/24"/2 GB RAM (Mid 2007), and a 3.6 GHz i5/27"/ 4 GB RAM (Mid 2010) at home. I usually leave my work iMac on o

  • OFFICE DOWNLOAD FROM DISK TO MACBOOK PRO

    hi, I recently purchased a microsoft home and student 2010, I would like to install it on my macbook pro as I need it urgenlty to complete tasks, but I simply can't. I'm not to sure whether the disk I purchased was for apple or microsoft as I didnt k

  • Lion and FCS3, CS5.5 Compatibility

    Has anybody experienced any problems with Lion and running Final Cut Studio 3  and/or Production Premium CS5.5 apps?