Ubuntu Networking :: LAN - Connect Using DC++ But Connection Just Continuously Times Out
Feb 20, 2010
I recently started attending University and there is a filesharing hub set up throughout the dorms. I want to connect to it using LinuxDC++ but the connection just continuously times out. I have used DC++ before on Windows and never had any troubles so I am thinking it is something to do with networking in Linux (I have only been using Ubuntu for about a month).
I have been having trouble with Ubuntu 11.04 when connecting to the Internet via Wireless Networking. It will connect, and has good speed once it connects, however it takes upward of 10 minutes and over 20 times of me clicking 'Connect'.
Is there a way to connect to a wireless network quicker? My network is unsecured and without a keyring. It is not only slow connecting to my network, but the network of other's.
My program is working. However, I would like to add in some features. Let see my code first
Code:
if (returnresult<=0) { printf("Connecting.... ");
[code]....
When the ethernet network connected, it will go into the else loop at line no. 13. The system will send status and display the status at control panel screen. If at this point, the ethernet disconnected, it will go back to the if loop at line 1. The system will keep trying to connect to the network and keep loop the if loop until it is connected.
Question now is I need the system to test the connection too after going into the operation loop that is start from the line no. 47. If the system went into the for (int c=0;c<cCOL;c++), it will need to do all the operations as indicated by cCOL times before it exit that loop and go into the previous loop.
I need the system to detect connection everytime an operation is going to happen or ended and if there is no connection, it will trying to connect. Before it is connected, it will not continue the operations. I tried to put the function "Connect (szPort, szAddress)" into each loop. Yes, the operation stop everytime the network disconnected. However, it shows on control panel screen "New Connection...." everytime it execute the statement. In fact, the network never disconnected.
I tried to look at the Connect function code, it is as below, I cannot figure out any statement that can stop the appearance of that "New Connection...". It may be hidden at the library source code, it is too hard for a beginner to modify the library code.
Code:
int Connect (char *szPort, char *szAddress) { /* Set the remote port */ int port; /* port number */
Wrong prefix, its Ubuntu not Lubuntu. Three devices:
Laptop 1: ---Can ssh to any device. ---Accepts any internal ssh.
Desktop 1: ---Can ssh to any device. ---Accepts any internal ssh.
Desktop 2: ---Can ssh to any device. ---Can ssh to itself through localhost or 192.168.1.130. ---Any ssh(and telnet) aimed at this device times out.
All three devices recently had openssh-server installed yet only one seems deviant. I've been trying to ssh into desktop 2 to no avail, yes the machine is reachable, yes sshd is running, yes ufw is disabled, and no there is no external firewall that I know of. Anything else I can try? The router for the LAN being dd-wrt.
I had recently installed Ubuntu 11.04 (64-bit) and I have trouble loading websites. I use a DSL (PPPoE) connection from NetworkManager to connect to the internet. Some sites like this forum site, stack overflow, etc. do not load. Firefox 4 says 'loading...' and then finally times out. I can ping these sites though.
I tried 'wget stackoverflow.com' and Lynx both timed out. wget sends out a request and waits a long time for response before timing out. These sites load perfectly well on my Fedora 14 (64-bit) & Windows XP installations and both these OSes have Firefox 4. From this I assumed that this is not a problem with Firefox (or any other browser for that matter) but it has got something to do with the network configuration.
I faced the same problem with Ubuntu 10.04 too. I use a Dell Inspiron N5010.
I'm trying to setup a ssh connection from to my house that way I can learn Linux on a box that won't make my boss the sys admin (Im help desk) grind his teeth. He say that ssh port is allowing connections out of the firewall but not in so I can connect to my house. However If I try to connect to my box I get a message stating that the connection has time out. I have port forwarded the 22 to my box and have even changed the port to see if it is my isp blocking me. I am able to connect via SSH internally but when I try outside my house I am running into trouble. I looked up how to disable my fire wall and as far as I know it is.
My desktop computer, running 11.04 (fresh install) sometimes can't establish a wired Ethernet connection. Sometimes when I boot, it keeps trying to establish, but with no luck. I keep trying to choose "Auto eth0" from the networking menu, but still, it doesn't succeed. If I reboot, it sometimes works. I can't establish a connection about half the times that I boot.
The computer is connected with a cable to a router ("Belkin Wireless Pre-N router"), and the router is connected with a cable to a cable modem.I've been using Ubuntu for a while, and I've had a problem for the past few versions (since around 10.04)? I thought that it might be some old issue that got resolved, so I did a fresh install of 11.04 today, and still have the same behaviorI'm willing to try things next time I can't get a connection, but don't know what.
I'm trying to get my wireless to work on my laptop (dell inspiron 1520 broadcom 4311). I installed the b43 firmware and was able to set up my wireless connection. However, the internet connection is extremely patchy and seems to continuously drop (in fact most of the time it doesn't work). I can ping certain sites such as Google and get all packets received.
[Code]....
Furthermore, in Firefox the opening websites only works some of the time. Sometimes the google search page will load and sometimes it won't. I've disabled ipv6 using yast-network settings.
I just installed 10.10 (2.6.35-24-generic) and my wired network connection is cutting out. I'm dual booting with Windows 7, and it works fine over there. I'm confident it's not a hardware issue. It works initially, but after a few minutes (this varies) the connection will drop out. If I'm on Firefox, I'll get "Loading" until the connection times out. If I'm using RDP to a local computer, I'll lose the connection. When it happens, if I ping a local computer, I'll get:
[Code]....
So I'm getting a bunch of packet loss. Some of the time, once the packets do start going through again, Firefox will finish loading the page. Other times, I have to click on network manager and click on "Auto eth0" which will give me the "connection established" message, and kick the network card back into gear. Sometimes I have to do this several times. It never shows as disconnected, but this somehow gets it going again.
When ever i run ssh -p <port> <user>@<remote IP>, i get a connection has timed out error. (i use the -p <port> part because i'm using a custom port). does anyone know what could be causing this? i know of a few *possible* problems, but i don't know how to test them all.
- I am on the same network as the server (I'm trying to test using remote IP to make sure it works before i go out an try it somewhere else)
-The router could be blocking it (i'm using linksys)
-IPtables may not be set up right (i think it is though. the only thing i've run is "sudo iptables -A INPUT -p tcp --dport ssh -j ACCEPT". I have changed the port for the server since then. maybe i have to restart it or something for it to recognise the change? I know very little about IPtables though).
-maybe i have to change something in my client or server config files? (the only config file i've changed is the sshd_config file on the seerver, and that was to change the port to my custom port).
thats all i can think of for now. It may be none of those. I do have the sshd_config and port forwarding in my router set to the same port, so thats good.
I have installed fedora 12 recently. after installation i tried to connect to the internet using BSNL broadband connection. I filled in the details such as IP, Netmask, Gateway and even DNS servers. In the services also I ensured that the network manager services is on. However even though my computer cannot connect to the internet. I then tried the ping test of the modem from the address 192.168.1.1 and found that the ping test is successful. Then i tried the network administrator and there I noticed something unusual.
There are two options in the devices eth0 and eth1 thats ok but the unusual; thing is that the Activate (green button), Deactivate (red button) and even the delete buttons are in the background and I cannot select them. Isthis the problem for the network connectivity.
[Code]....
I then tried the ping test of the modem from the address 192.168.1.1 and found that the ping test is successful. Then i tried the network administrator and there I noticed something unusual. There are two options in the devices eth0 and eth1 thats ok but the unusual; thing is that the Activate (green button), Deactivate (red button) and even the delete buttons are in the background and I cannot select them. Isthis the problem for the network connectivity.
I not able to connect to ubuntu one account,also not able to use any IM when i am using gnome-ppp connection. However i am not facing this problem with other app. Ubuntu-one & IMs report that they are diconnected. I don't face this problem when i switch back to broadband at home.
Just installed 10.04 on a Toshiba Portege laptop. Everything works fine except the LAN connection. Just doesn't connect. Based on what I know everything is on and enabled but no luck. The wireless works fin but can't connect to the network in my office through the standard cable. Installed the same operating system on a newer Toshiba (the second is my but the older one is a friends) and no issues at all. Wondering if it is a driver issue but can't figure it out. Am relatively new to Ubuntu but so far have found it easy to troubleshoot just reading posts and just trying out **** until it works. But this I've hit a brick wall.
Also ran in to a similar issue my work pc, except I had been working with it fine with 10.04 until I did a security update and puff... no more network. The eth1 connection is enabled and set to automatic but just can't connect to it. Sorry if I'm not providing enough info, just tell me if there is anything you need to know first and I'll post it.
The situation is I have one machine just installed 10.04yesterday, and I plan to take it as FTP server sharing filesvia LAN and WAN as wellBut after setting up all network withNetwork-Manager found that my dsl connection willdisconnect while my wired connection was connected.
my network-manager setting process is: 1.wired tab: IPv4:192.168.1.x
I upgraded to 10.10 and have everything setup, installed my wifi card fine with ndiswrapper so I can connect to my neighbors which isn't protected but mine is. Everytime I try to connect it will ask for the WEP so I put it in, it tries connecting then ask for the WEP again then repeats over and over....does 10.10 not like WEP connections? I don't know what to do.
i can't connect to the wired connection, but i can connect to the wireless... i'm using Ubuntus 10.04. when i run this codes into the terminal it shows:
Just updated to 11.04 Natty Narwhal on my Dell Inspiron 1501 this morning and I bumped into a problem. The DSL connection I used to connect to before the update doesn't work anymore. When I was running 10.10 I had this DSL connection set up via Network Manager (right-click on the network notification area=>edit connection=>add new, using PPPoE method and user name and pass from the ISP). Now I still get the AutoEth1 connection that is created (automatically), but when I try to connect to the DSL connection, it just doesn't connect. I tried deleting the connection and creating a new one, then rebooting, but still cannot connect. Another problem is that first time I ran 11.04, after beeing prompted to reboot at the end of the upgrade, I had my wireless on and while I was trying to get the DSL connection to work I switched it off (Fn+F2). Now if I try to turn it on again, it won't start. The network manager applet is looking also different now, wheter I left-click or right-click on it is the same (used to be different in previous releases), and this makes me even more confused.
I know I probably shouldn't have rushed into upgrading without getting aquainted with the changes and the possible issues, but to be honest I wouldn't want to downgrade now to 10.10 (unity looks kind of interesting and I am looking forward to see it improved in the future) and I really need to fix this DSL connection problem on my laptop (using my desktop now)
I use a dongle made by Option in windows xp, i started to use Ubuntu some time later , i can't connect with my dongle. If i can do it, i'm gonna stop using windows.
I'm using Fedora 12 with Apache 2.2.14, and I was having this error on 2.2.13 as well.
Even when I connect to my server over LAN, Firefox times out occasionally while connecting. I can't figure out what is causing this. The error_log isn't showing anything. I even cleaned the error_log file, so that if something happened, it'd be a little easier to spot. But I'm still getting time outs, and nothing in the error_log.
Here is my httpd.conf [URL]
It's the default Fedora configuration, I've only changed the ServerName if I remember correctly. it's not the Timeout setting, because on LAN it should never time out.
As title suggests, this is about my USB wireless adapter Linksys WUSB54G ver.4 periodically failing. Now, the exact problem AND solution was posted on this thread:
[URL]
Essentially, I have to try a new kernel or something. I downloaded the kernel 2.6.34 at http://kernel.org/ which is supposed to solve my networking problem. But above thread suggests building my own kernel somehow [URL] and some of its steps are unfortunately not straightforward as copy-and-paste and i'm afraid i can't go on after trying to mimic command prompts a few times.
I tried referring to other sites, like
[URL]
but their suggested steps aren't exactly the same, or maybe they are really but i'm too dumb to see it.
I think I managed to copy the config file (i hope i chose the right one) and put it to the extracted folder of new kernel I just downloaded, but "Build the linux-image and linux-header .deb files" ?
After the last system update (few days ago) the wireless box disconnects and reconnects continuously (every 60-90 secs). This is the pertinent /var/log/messages when it disconnects: Code: Jan 11 16:16:24 ibm kernel: [ 8073.320442] -->RTUSBVenderReset Jan 11 16:16:24 ibm kernel: [ 8073.321453] <--RTUSBVenderReset Jan 11 16:16:26 ibm kernel: [ 8075.624596] Key1Str is Invalid key length(0) or Type(0) Jan 11 16:16:26 ibm kernel: [ 8075.624632] Key2Str is Invalid key length(0) or Type(0) Jan 11 16:16:26 ibm kernel: [ 8075.624668] Key3Str is Invalid key length(0) or Type(0) Jan 11 16:16:26 ibm kernel: [ 8075.624705] Key4Str is Invalid key length(0) or Type(0) Jan 11 16:16:26 ibm kernel: [ 8075.625355] 1. Phy Mode = 0 Jan 11 16:16:26 ibm kernel: [ 8075.625358] 2. Phy Mode = 0 Jan 11 16:16:26 ibm kernel: [ 8075.741083] 3. Phy Mode = 0 Jan 11 16:16:26 ibm kernel: [ 8075.780107] MCS Set = 00 00 00 00 00 Jan 11 16:16:26 ibm kernel: [ 8075.795195] <==== rt28xx_init, Status=0 Jan 11 16:16:26 ibm kernel: [ 8075.807107] 0x1300 = 000a4200 Jan 11 16:16:28 ibm kernel: [ 8077.937015] pci 0000:02:1d.0: wake-up capability enabled by ACPI Jan 11 16:16:28 ibm kernel: [ 8077.960539] pci 0000:02:1d.0: wake-up capability disabled by ACPI Jan 11 16:16:28 ibm kernel: [ 8077.977291] tg3 0000:03:01.0: BAR 0: set to [mem 0xfb100000-0xfb10ffff 64bit] (PCI address [0xfb100000-0xfb10ffff] Jan 11 16:16:29 ibm kernel: [ 8078.097571] ADDRCONF(NETDEV_UP): eth1: link is not ready
And this when manually reconnected: Code: Jan 11 16:16:37 ibm kernel: [ 8086.167522] -->RTUSBVenderReset Jan 11 16:16:37 ibm kernel: [ 8086.168530] <--RTUSBVenderReset Jan 11 16:16:39 ibm kernel: [ 8088.464724] Key1Str is Invalid key length(0) or Type(0) Jan 11 16:16:39 ibm kernel: [ 8088.464760] Key2Str is Invalid key length(0) or Type(0) Jan 11 16:16:39 ibm kernel: [ 8088.464796] Key3Str is Invalid key length(0) or Type(0) Jan 11 16:16:39 ibm kernel: [ 8088.464833] Key4Str is Invalid key length(0) or Type(0) Jan 11 16:16:39 ibm kernel: [ 8088.465510] 1. Phy Mode = 0 Jan 11 16:16:39 ibm kernel: [ 8088.465513] 2. Phy Mode = 0 Jan 11 16:16:39 ibm kernel: [ 8088.581175] 3. Phy Mode = 0 Jan 11 16:16:39 ibm kernel: [ 8088.621207] MCS Set = 00 00 00 00 00 Jan 11 16:16:39 ibm kernel: [ 8088.636185] <==== rt28xx_init, Status=0 Jan 11 16:16:39 ibm kernel: [ 8088.648150] 0x1300 = 000a4200 Jan 11 16:16:39 ibm kernel: [ 8088.751141] ERROR!!! RTMPSetTimer failed, Halt in Progress! What is going on?
I've been using this network forever With windows and I can't figure out how to connect to it now with ubuntu...I have a build-in wireless card and I know the name/password of the connection, but my computer cannot seem to locate it. I've looked through guides and none of them work..
I am unable to connect to my wireless connection! i have put in all the correct details and password but the connect button is greyed out so I am unable to click on it.
Using an old (5 year) laptop with XP loaded I installed wubi to save altering partitions etc. It all downloaded fine and connected to the internet by wire. I set up the wireless connection using WPA but could not connect. The wirelsss card does see my network and others. After lurking around the forum and trying various things I found that I could connect without encryption. The more I read the more I became confused. Anyway what I could glean about my Wireless Card it is a Intersil Prism2 mini usb adapter - but also shows up as an Acer ?? Warplink 802.11.
Using lshw I found this reference to wireless
I became even more confused and got a bit lost using the various codes in the terminal and looking up things about drivers etc but would like to persist.
How to connect Ubuntu to the Internet through a broadband connection? I decided to give Linux a try, and I picked the Ubuntu variant. I have some problems with the Internet connection though. I have a broadband (modem-less) PPoE connection, and all the info needed in order for me to connect are the username and password (which I have).
I am relatively new to Ubuntu. Currently running Lucid Lynx, but I cannot connect to the internet. I can ping 127.0.0.1, and google.com. Software update works as well, but the connection times out when I try connecting to a web site e.g. bbc.uk.
i just installed the 10.0.4 version. My problem is that I cant connect to the internet. When I add a new wireless connection, it says that its connected but i cant ping the router or connect to any websites. It keeps auto assigning me with a 10.42.43.1 ip which doesn't make any since because my router's is nowhere close to that.
I ve just install ubuntu 10.10 and am unable to connect to wireless connect. I was able to connect on the try ubuntu before install option. I have dual booted Windows 7 and Ubuntu 10.10. I have tried connecting without the WEP key and still no luck. Just found it strange that connect on try it but not after full install.
connect to my wired connection using the terminal?i screwed myself over and dont have a desktop menu bar,and i need to connectto the internet so i can get it back.
Using 10.10 and have a wired connection that according to the system is connected, but when I open a browser I can't connect to any sites. What am I missing here? I can't for the life of me figure this out.