I m using a Redhat linux AS 4 proxy
server in my office,in which I configure squid 2.5 for sharing the
internet(BSNL dataone leased line).the band width provided by the ISP
is 2 Mbps,but when I check the bandwidth in http://dataone.in from the
proxy server it shows around 400 kbps.
http://dataone.in is the official bandwidth testing web site of BSNL dataone (ISP)
Then I connect a dual
boot client pc ( windows XP sp2/fedora 6) to the same port I use for
the proxy server in NORTEL 8300 switch.Now I got the increased
bandwidth (around 1.77 mbps) in XP but again low bandwidh with fedora.
plz tell me why linux operating system show me the low bandwidth ?
- If you need clarification, ask it in the comment box above.
- Better answers use proper spelling and grammar.
- Provide details, support with references or personal experience.
Tell us some more! Your answer needs to include more details to help people.You can't post answers that contain an email address.Please enter a valid email address.The email address entered is already associated to an account.Login to postPlease use English characters only.
Tip: The max point reward for answering a question is 15.
Bandwidth is related to several factors:
- dedicated vs shared "on-ramp" (DSL is dedicated, good)
- Ethernet card used in the machine (single vs. dual buffers and piplining vs non) - don't know but it may be the card, more expensive cards are often worth the cost.
- drivers for the cards. If the Linux drivers (older than the Windows versions usually) don't allow for the dual buffers or piplining capability then you won't get the rated speed.
You may also have issues with the wrong drivers for your card. It may work but not work well - timing is everything with drivers.
Your description says that with another machine (a different card and drivers) it almost works. It is NOT the operating system. Typically Linux is faster on most things than Windows. It is NOT the BNSL provider. Has to be the card or its drivers.
Sorry, I have no idea about Linux. Could be the software that is causing this issue.. I have forwarded this request to other Experts here who have more knowledge on this subject. Hopefully they should respond to your query within the next couple of hours..
Sorry dear...you cannot configure squid for that ...since squid is a http proxy ..cannot operate it in use for smtp/pop3 connectivity .... Cheers - Parveen
As my internet is shared through cc proxy I have to put proxies to all of my programs so that they can run. Unfortunatelly the only one I cannot get running is outlook express. When I try to edit the outlook proxy settings it sends me to Internet Explorer's settings (which makes me think that outlook and internet explorer share the same proxy settings). The strangest thing is that IE runs with no problems but outlook express cannot connect to the server. It says that the server cannot be found (both incoming and outgoing) Could you please advise me how to make the outlook running. Also I had try to install squid 2.7 proxy on win2k8 but i m getting some error with squid service is not runniong on win2k8 it says create services failed ...please advice me which proxy server i can use our network ( my task is only i want 2 secure internet & block some sites on my internet and outlook should be a work )
**********
Use yum command as follows: # yum install squid Output: Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package squid.i386 7:2.6.STABLE6-4.el5 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
squid i386 7:2.6.STABLE6-4.el5 updates 1.2 M
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 1.2 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: squid ######################### [1/1]
Installed: squid.i386 7:2.6.STABLE6-4.el5
Complete!
Squid Basic Configuration
Squid configuration file located at /etc/squid/squid.conf. Open file using a text editor: # vi /etc/squid/squid.conf At least you need to define ACL (access control list) to work with squid. The defaults port is TCP 3128. Following example ACL allowing access from your local networks 192.168.1.0/24 and 192.168.2.0/24. Make sure you adapt to list your internal IP networks from where browsing should be allowed: acl our_networks src 192.168.1.0/24 192.168.2.0/24 http_access allow our_networks
Save and close the file. Start squid proxy server: # chkconfig squid on # /etc/init.d/squid start Output: init_cache_dir /var/spool/squid... Starting squid: . [ OK ]
Verify port 3128 is open: # netstat -tulpn | grep 3128 Output: tcp 0 0 0.0.0.0:3128 0.0.0.0:* LISTEN 20653/(squid)
Open TCP port 3128
Finally make sure iptables is allowing to access squid proxy server. Just open /etc/sysconfig/iptables file: # vi /etc/sysconfig/iptables Append configuration: -A RH-Firewall-1-INPUT -m state --state NEW,ESTABLISHED,RELATED -m tcp -p tcp --dport 3128 -j ACCEPT Restart iptables based firewall: # /etc/init.d/iptables restart Output: Flushing firewall rules: [ OK ]
Setting chains to policy ACCEPT: filter [ OK ]
Unloading iptables modules: [ OK ]
Applying iptables firewall rules: [ OK ]
Loading additional iptables modules: ip_conntrack_netbios_n[ OK ]
Client configuration
Open a webbrowser > Tools > Internet option > Network settings > and setup Squid server IP address and port # 3128.
See also
You may find our previous squid tips useful:
×