Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I recently purchased a VPS which was advertised as a 100Mbps uplink but the promotion promised a free upgrade to a 1Gbps uplink. I'm trying to find out if I received the upgrade with various methods without any luck.

Running lspci I get:

[root@host ~]# lspci
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
[root@host ~]#

Similarly, running lshw and ethtool does not show any network information either.

ifconfig -a shows:

[root@host /]# ifconfig -a
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1662 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1662 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:97474 (95.1 KiB)  TX bytes:97474 (95.1 KiB)

venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:256143 errors:0 dropped:0 overruns:0 frame:0
          TX packets:177324 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:280427908 (267.4 MiB)  TX bytes:76882233 (73.3 MiB)

venet0:0  Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:198.xx.xxx.xx  P-t-P:198.xx.xxx.xx  Bcast:198.xx.xxx.xx  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
[root@host /]#

Perhaps this server doesn't have PCI, if that is the case is there any other way to find out the uplink speed?

share|improve this question
    
What type of virtualization is in use? –  Michael Hampton Dec 24 '13 at 3:32
    
@MichaelHampton OpenVZ –  SSpoke Dec 24 '13 at 3:42
4  
That explains your problem. (And every other problem you're going to have in future...) –  Michael Hampton Dec 24 '13 at 3:54
    
@MichaelHampton There's nothing wrong with OpenVZ, it's actually better then Virtuozzo from HostGator. They charged me $20.00 a month for 300mb of ram and 677mhz cpu and took a good minute to shutdown. OpenVZ reboots in under 2 seconds, can't beat that quality. –  SSpoke Dec 24 '13 at 3:57
1  
Virtuozzo and OpenVZ are practically identical. The cost of one provider or another has nothing to do with it. –  Michael Hampton Dec 24 '13 at 3:59

2 Answers 2

I found out a way to test whether you are on a 100mbps or 1gbps uplink, you download this python script for running a speed test with speedtest.net

wget -O speedtest-cli.py https://github.com/sivel/speedtest-cli/raw/master/speedtest_cli.py

Then once you have the script you do:

python speedtest-cli.py --share

Here is my result:

enter image description here

Which proves my workstation is on a full-dulpex transmission 1 gigabit per second uplink

share|improve this answer

Use ethtool with an argument for the interface e.g. ethtool eth0.

Dmesg may have other useful information but it is transient.

share|improve this answer
    
Sending ethtool eth0 just breaks to a new line without any output. ifconfig -a shows: lo, venet0, venet0:0 and doing ethtool venet0, etc. yields the same result. –  SSpoke Dec 24 '13 at 3:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.