I have IPcop 1.4.20 server running in my office. It seems that the Ipcop slows down my connection bandwith as it's upto set speed with direct connection to my pc.... Please help me out.....
It is possible Network Bridging for WiFi-to-Ethernet in linux instead of Ethernet-to-Ethernet?
I have a CentOS 6.3 machine. I am using KVM and I want perform a brigde for virtualize more machines. This machine is connected only via wireless connection and it doesn't have a ethernet connection.
So, I did a bridge over the WiFi interface like:
# cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE="br0"
NM_CONTROLLED="yes"
ONBOOT=yes
TYPE=Bridge
BOOTPROTO=none
IPADDR=192.168.1.50
PREFIX=24
GATEWAY=192.168.1.1
DNS1=8.8.8.8
DNS2=8.8.4.4
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="System br0"
Then I edit my wireless conection like:
# cat /etc/sysconfig/network-scripts/ifcfg-mywireless
ESSID="mywireless"
MODE=Managed
KEY_MGMT=WPA-PSK
WPA_ALLOW_WPA2=yes
CIPHER_PAIRWISE=CCMP
CIPHER_GROUP=CCMP
TYPE=Wireless
#BOOTPROTO=none
#IPADDR=192.168.1.50
#PREFIX=24
#GATEWAY=192.168.1.1
#DNS1=8.8.8.8
#DNS2=8.8.4.4
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME="Auto mywireless"
UUID=874*****
ONBOOT=yes
LAST_CONNECT=1355923469
BRIDGE=br0
After, I restart the network:
# /etc/init.d/network restart
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface Auto_mywireless: Error: Unknown connection: 874*****
[FAILED]
Bringing up interface br0: [ OK ]
But as you can see, it show a error.
My ifconfig output shows now:
# ifconfig
br0 Link encap:Ethernet HWaddr 6E:20:AD:CE:D8:AB
inet addr:192.168.1.50 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::6c20:adff:fece:d8ab/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:67 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:6393 (6.2 KiB)
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:432 errors:0 dropped:0 overruns:0 frame:0
TX packets:432 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:62433 (60.9 KiB) TX bytes:62433 (60.9 KiB)
ra0 Link encap:Ethernet HWaddr 00:22:F7:2B:87:E5
inet addr:192.168.1.42 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::222:f7ff:fe2b:87e5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:46 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:487894880 (465.2 MiB) TX bytes:148136473 (141.2 MiB)
virbr0 Link encap:Ethernet HWaddr 52:54:00:5B:30:9A
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:5838 (5.7 KiB)
But this doesn't give internet connection and I loss access to 192.168.1.50. So, it is possible setup this networking bridge WiFi-to-Ethernet?
Hi all,
I'm using PPTP connection to connect to my office
And I want to add a static route after connected to PPTP server. My problem is my IP on this connection is automatic
Is there any way to run a script to manually add a route to route table when connected to PPTP server?
I'm using Windows XP SP3
Hi,
I used to remote access the SBS 2003 server through RDC and it has been working all the time but now I am unable to connect to the server.
Whenever I pressed the "Connect" button on the Remote Desktop Connection dialog, a dialog with messages like "Connecting to: xx.xx.xx.xx" and "Configuring remote session..." appeared and then disappeared quickly, leaving the Remote Desktop Connection dialog there.
How to fix the problem?
Thank you.
Here's the scenario:
Work network - I have a Mac and a PC - OS X is Snow Leopard - Windows 7
I am trying to connect to the PC from the Mac. IT ONLY works if I turn off the firewall in Windows.
I tried to trace the port and connection it was using, it appears to be on port 445 via TCP.
I really prefer not to leave this open, or is it OK?
How can I only allow this connection while still leaving the firewall on?
Does IIS have a secret, unlogged, transparent, case-sensitive proxy built into it?
A file exists on the web-server:
GET http://www.stackoverflow.com/javascript/ModifyQuoteArea.js HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Accept-Language: en-US
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Accept-Encoding: gzip, deflate
Connection: Keep-Alive
Host: www.stackoverflow.com
HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Length: 29246
Date: Mon, 07 Mar 2011 14:20:07 GMT
Content-Type: application/x-javascript
ETag: "5a0a6178edacb1:1c51"
Server: Microsoft-IIS/6.0
Last-Modified: Fri, 02 Tue 2010 17:03:32 GMT
Accept-Ranges: bytes
X-Powered-By: ASP.NET
...
Problem is that a changes made to the file will not get served, the old (i.e. February of last year) version keeps getting served:
HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Length: 29246
Date: Mon, 07 Mar 2011 14:23:07 GMT
Content-Type: application/x-javascript
ETag: "5a0a6178edacb1:1c51"
Server: Microsoft-IIS/6.0
Last-Modified: Fri, 02 Tue 2010 17:03:32 GMT
Accept-Ranges: bytes
X-Powered-By: ASP.NET
...
The same old file gets served, even though we've:
renamed the file
deleted the file
restarted IIS
The request for this file does not appear in the IIS logs (e.g. C:\WINNT\System32\LogFiles\W3SVC7\)
And this only happens from the outside (i.e. the internet). If you issue the request locally on the server, then you will:
- get the current file (file there)
- 404 (file renamed)
- 404 (file deleted)
But if i change the case of the requested resource, i.e.:
GET http://www.stackoverflow.com/javascript/MoDiFyQuOtEArEa.js HTTP/1.1
Accept: text/html, application/xhtml+xml, */*
Accept-Language: en-US
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Accept-Encoding: gzip, deflate
Connection: Keep-Alive
Host: www.stackoverflow.com
Note: MoDiFyQuOtEArEa.js verses ModifyQuoteArea.js
Then i do get the proper file (or get the 404 as i expect if the file is renamed or deleted).
But any subsequent changes to the file will not show up until i change the case of the file i'm asking for.
Checking the IIS logs all indicate that the (internet) requests are all coming the correct client on the internet (i.e. not from some intermediate proxy).
Since the file doesn't exist on the hard drive anymore, i conclude that there is a proxy.
The requests serviced from this proxy are not logged in the IIS logs.
The requests for new files are logged, and from the client IP, not a proxy IP.
The proxy is case sensitivie.
This does not sound like something Microsoft, or IIS, would do:
- a transparent proxy
- case-sensitivie
- unlogged
- surviving restarts of IIS
- surviving in a cache for hours
i can't believe that our customer's IIS is doing these things. i'm assuming there is some other transparent proxy in front of IIS.
Or, does IIS have a transparent, unlogged, case-sensitive, memory based, proxy, that caches content for at least 7 hours? (Come Monday morning, IIS is serving the correct file, unlogged).
After uninstalling Dell's wireless utility I get a new hardware found dialog that can not find any driver for my wifi card on it's own. I'm running Windows XP Professional Service Pack 3, and I would like to use the default wifi handler since dell's utility does not work with my company's wireless switch. I did try downloading the recommend driver from the dell support site
Network Adapter 2
Model Intel(R) PRO/Wireless 3945ABG Network Connection
Description [12] Intel(R) PRO/Wireless 3945ABG Network Connection
Status Connected
I have this error from a user, this user can up but no commit. All others user can commit, up, etc.
Error message:
Checkout from
svn+ssh://[email protected]:/svn/project,
revision HEAD, Fully recursive,
Externals included To better debug SSH
connection problems, remove the -q
option from 'ssh' in the [tunnels]
section of your Subversion
configuration file. Network connection
closed unexpectedly
I have a Toshiba laptop with wi-fi connected internet. Now I wanna connect my phone to my laptop and use its Internet connection ( I can't buy new wi-fi or 3g supported mobile phone ). I have no problem connecting k610 to my laptop, and even shared my GPRS internet connection with my PC. but can't do contrary.
How can I connect my k610 mobile (which not support wi-fi connections) to Internet via my Toshiba laptop ( with bluetooth ) ?
P.S: My PC OS is Ubuntu Linux 9.10
I updated Windows XP on my old laptop to Windows 7. After installing I tried to open internet connection but Win 7 says that it cannot find network adapter because of a missing driver. I tried to find network adapter from device manager but could not find one. My network connection was working fine on Win XP. What has happened, how to update my network adapter driver for Windows 7?
How to tell horde 3.3.11 to use UTF-8 for it's mysql connection? The $conf['sql']['charset'] only tells horde what is expected from the database.
Horde uses MDB2 to connect to mysql. Is there way to force MDB2 or mysql character_set_client from php.ini?
So far I found two workarounds:
Force mysql to ignore character set requested by client
[mysqld]
skip-character-set-client-handshake=1
default-character-set=utf8
Force mysql to run SET NAMES utf8 on every connection
[mysqld]
init-connect='SET NAMES utf8'
Both have drawbacks on multi user mysql server. The first disables converting character sets alltogether and the second one forces every connection to produce UTF-8.
[EDIT]
Found the problem. The 'charset' parameter was unset the last minute before sending to SQL backend. This is probably due to mysql not being able to digest utf-8 but utf8. Mysql specific mapping is required to make it work.
I just worked around it by translating utf-8 - utf8. Won't work with any other databases with this patch though.
--- lib/Horde/Share/sql.php.orig 2011-07-04 17:09:33.349334890 +0300
+++ lib/Horde/Share/sql.php 2011-07-04 17:11:06.238636462 +0300
@@ -753,7 +753,13 @@
/* Connect to the sql server using the supplied parameters. */
require_once 'MDB2.php';
$params = $this->_params;
- unset($params['charset']);
+
+ if ($params['charset'] == 'utf-8') {
+ $params['charset'] = 'utf8';
+ } else {
+ unset($params['charset']);
+ }
+
$this->_write_db = &MDB2::factory($params);
if (is_a($this->_write_db, 'PEAR_Error')) {
Horde::fatal($this->_write_db, __FILE__, __LINE__);
@@ -792,7 +798,13 @@
/* Check if we need to set up the read DB connection seperately. */
if (!empty($this->_params['splitread'])) {
$params = array_merge($params, $this->_params['read']);
- unset($params['charset']);
+
+ if ($params['charset'] == 'utf-8') {
+ $params['charset'] = 'utf8';
+ } else {
+ unset($params['charset']);
+ }
+
$this->_db = &MDB2::singleton($params);
if (is_a($this->_db, 'PEAR_Error')) {
Horde::fatal($this->_db, __FILE__, __LINE__);
I'm using Remote Desktop connection to connect to a Windows Server box, on which I am an admit. If I'm idle for a few minutes, it locks me out (killing file transfers, which is a problem), and a few minutes after that, it severs my connection. Where can I find the settings that govern these things to stop that from happening? I want it to let me stay connected, regardless if I'm idle.
i tried executing the mail() and got the following error
"Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() "
but SMTP and smtp_port are both set in php.ini more ever other codes are working fine with localhost.
disabled or/and added exception to firewell no result....
tried telnet localhost 25
error:could not connect to localhost port 25:connection failed.....
Thunderbird my mail client says:could not connect to server localhost the connection was refused....
When we installed TFS 2010, we made some poor decisions in naming our databases. I have figured out how to rename everything except for the Tfs_xxxConfiguration database. How can I get this renamed? I can only find a read-only display of the connection string to it - cannot find where to alter that connection string either directly or indirectly.
I'd really prefer to not have to rebuild it from scratch... again...
Thanks!
Hello,
Using Apache with mod_rewrite, when I load a .css or .js file and view the HTTP headers, the Content-type is only set correctly the first time I load it - subsequent refreshes are missing Content-type altogether and it's creating some problems for me. Specifically, gzip is not compressing these files.
I can get around this by appending a random query string value to the end of each filename, eg. http://www.site.com/script.js?12345
However, I don't want to have to do that, since caching is good and all I want is for the Content-type to be present. I've tried using a RewriteRule to force the type but still didn't solve the problem. Any ideas?
Thanks, Brian
More Details:
HTTP headers WITHOUT random query string value:
http://localhost/script.js
GET /script.js HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://localhost/
Cookie: PHPSESSID=ke3p35v5qbus24che765p9jni5;
If-Modified-Since: Thu, 29 Apr 2010 15:49:56 GMT
If-None-Match: "3440e9-119ed-485621404f100"
Cache-Control: max-age=0
HTTP/1.1 304 Not Modified
Date: Thu, 29 Apr 2010 20:19:44 GMT
Server: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 PHP/5.3.1
Connection: Keep-Alive
Keep-Alive: timeout=5, max=100
Etag: "3440e9-119ed-485621404f100"
Vary: Accept-Encoding
X-Pad: avoid browser bug
HTTP headers WITH random query string value:
http://localhost/script.js?c947344de8278053f6edbb4365550b25
GET /script.js?c947344de8278053f6edbb4365550b25 HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive
Referer: http://localhost/
Cookie: PHPSESSID=ke3p35v5qbus24che765p9jni5;
HTTP/1.1 200 OK
Date: Thu, 29 Apr 2010 20:14:40 GMT
Server: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8l DAV/2 PHP/5.3.1
Last-Modified: Thu, 29 Apr 2010 15:49:56 GMT
Etag: "3440e9-119ed-485621404f100"
Accept-Ranges: bytes
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 24605
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/javascript
Hello
I have a computer network at my house which consists of two computers and one server.
I have a software on dedicated server which requires direct connection to internet (port forwarding doesn't work for this).
So I plan to setup network in following way.
link text
Please let me know if this will work. How good or bad could this be?
Internet Connection: Verizon Fios 25/25
Hello
I have a computer network at my house which consists of two computers and one server.
I have a software on dedicated server which requires direct connection to internet (port forwarding doesn't work for this).
So I plan to setup network in following way.
link text
Please let me know if this will work. How good or bad could this be?
Internet Connection: Verizon Fios 25/25
I have a question about ab benchmarking test, if i need to measure the time the server takes to serve IO.php with persistent connection.
does the persistent connection mean i need to input "./ab -k ........." or "./ab -n 1000 -c 100 ........."
Thanks a lot
I wanted to use the subversion features of XCode with a new repository that I just created on my (mt) Grid Service hosting.. and when I try to set it up in XCode it gives me this error:
Error: 210002 (Network connection closed unexpectedly) Description: Connection closed unexpectedly
I downloaded a free trial of the http://versionsapp.com Versions App and put it all in, and it works like a charm... any reason why this could be happening
The localhost only has connection to Host1. Host1 has connection to Host2 and localhost. How can I setup this to use Host2 as a proxy for web trafic from localhost?
I have seen similar topics but can't get it to work. How do I set it up on the Windows XP client?
Using trac, I'm getting a response with the following header:
Cache-control: must-revalidate
Moreover, no 'Expires' header is being sent. Our local proxy, however, is caching these responses, so when an edit is made, pages need to be 'hard refreshed' to update. Is the proxy misbehaving? Other headers that might be relevant:
Connection Keep-Alive
Proxy-Connection Keep-Alive
Keep-Alive timeout=15, max=100
An ideal answer would at least include:
Critical configuration of the PC before it could join
How the PC finds the Domain servers
What happens when the PC cannot find any domain servers
What connections are made from the PC to the domain
How the AD records the connection
How the PC drops the connection/AD monitors for stale connections
Difference in this process between Windows 2008 R2 and previous versions of Windows Server
That is all I could think of for now but I'm sure, as answers come in, I'll think of more.
I have two servers: one CentOS 5.8 & one Solaris 10. Both are joined to my workplace AD domain via PBIS-Open. A user will log into the linux server & run an application which issues commands over RSH to the solaris server. Some commands are also run on the linux server, so both are needed. Due to the application these servers are being used for (proprietary GE software), the software on the linux server needs to be able to issue rsh commands to the solaris server on behalf of the user (the user just runs a script & the rest is automatic).
However, rsh is not working for the domain users. It does work for a local user, so I believe I have the necessary trust settings between the two servers correct. However, I can rlogin as a domain user from the linux server to the solaris server. SSH works too (how I wish I could use it).
Some relevant info:
via rlogin:
[user@linux~]$ rlogin solaris
connect to address 192.168.1.2 port 543: Connection refused
Trying krb4 rlogin...
connect to address 192.168.1.2 port 543: Connection refused
trying normal rlogin (/usr/bin/rlogin)
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
solaris%
via rsh:
[user@linux ~]$ rsh solaris ls
connect to address 192.168.1.2 port 544: Connection refused
Trying krb4 rsh...
connect to address 192.168.1.2 port 544: Connection refused
trying normal rsh (/usr/bin/rsh)
permission denied.
[user@linux ~]$
relevant snippet from /etc/pam.conf on solaris:
#
# rlogin service (explicit because of pam_rhost_auth)
#
rlogin auth sufficient pam_rhosts_auth.so.1
rlogin auth requisite pam_lsass.so set_default_repository
rlogin auth requisite pam_lsass.so smartcard_prompt try_first_pass
rlogin auth requisite pam_authtok_get.so.1 try_first_pass
rlogin auth sufficient pam_lsass.so try_first_pass
rlogin auth required pam_dhkeys.so.1
rlogin auth required pam_unix_cred.so.1
rlogin auth required pam_unix_auth.so.1
#
# Kerberized rlogin service
#
krlogin auth required pam_unix_cred.so.1
krlogin auth required pam_krb5.so.1
#
# rsh service (explicit because of pam_rhost_auth,
# and pam_unix_auth for meaningful pam_setcred)
#
rsh auth sufficient pam_rhosts_auth.so.1
rsh auth required pam_unix_cred.so.1
#
# Kerberized rsh service
#
krsh auth required pam_unix_cred.so.1
krsh auth required pam_krb5.so.1
#
I have not really seen anything useful in either system log that seem to be directly related to the failed login attempt. I've tail -f'd /var/adm/messages on solaris & /var/log/messages on linux during the failed attempts & nothing shows up. Maybe I need to be doing something else?
My TP-LINK-8901 modem does not connect to internet with "always on" (automatic) connection. I have to put it in bridge mode and make a connection in Windows to connect to internet.
Also, there is no configuration problem.
What I did:
Reset modem
Update firmware
Is there any way to solve the problem myself, e.g. through hardware or software? I can't have it repaired because the warranty already expired.
What king of hardware/service do I need to create a voip system in my LAN ( only PC-to-PC call and without internet connection !! ) ?
1) Internet Connection
2) Voip phones
...
.
Help me to compile the above list ;)