I've been getting the following for well over 2 months now and this is really really irritating:
Code:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 1781BD45C4C3275A34BB6AEC6E871C4A881574DE
gpg: requesting key 881574DE from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error
For any bloody key, it times out?
I am working on uClinux/almost same as Linux. I am new to socket programming. I have two micro controllers running on same code. Simple run with arguments mean send merged string. run 1st micro controller (Send): ./Name "anystring" run 2st micro controller (Recive):/Name
My code is: int receive() { // Create socket int sock_fd; struct sockaddr_in addr; char buffer[kBufferSize]; int bytes_received=0; int addr_len = sizeof(addr); printf("receive start "); sock_fd = socket(AF_INET, SOCK_DGRAM, 0); if ( sock_fd == -1 ) { printf("receive Create "); // Error occurred return 0; } printf("Res Create sucee "); // Create address from which we want to receive, and bind it memset(&addr, 0, sizeof(addr)); addr.sin_family = AF_INET; addr.sin_addr.s_addr = INADDR_ANY; addr.sin_port = htons(kPortNumber); if ( bind(sock_fd, (struct sockaddr*)&addr, sizeof(addr)) < 0 ) { printf("receive bind "); // Error occurred return 0; } printf("Bind Succeful sucee "); while ( 1 ) { // Receive a message, waiting if there's nothing there yet bytes_received = recvfrom(sock_fd, buffer, kBufferSize-0, 0, (struct sockaddr*)&addr, &addr_len); if ( bytes_received < 0 ) { // Error occurred printf("receive bytes "); return 0; } printf(" bytes_received succeful "); printf("Ressocketstring : %s ",buffer); memset(Ressocketstring,0x00 , sizeof(Ressocketstring)); strcpy(buffer,Ressocketstring); printf("Ressocketstring : %s ",Ressocketstring); printf(" "); printf("Hello Receive finished"); // Now we have bytes_received bytes of data in buffer. Print it! fwrite(buffer, sizeof(char), bytes_received, stdout); } } int transmit(char * data, int length) { int sock_fds[kMaxSockets]; // Obtain list of all network interfaces /* struct ifaddrs *addrs; if ( getifaddrs(&addrs) < 0 ) { // Error occurred return 0; } */ // Loop through interfaces, selecting those AF_INET devices that support broadcast, but aren't loopback or point-to-point struct sockaddr_in addr; int number_sockets = 0; struct hostent *he; /* const struct ifaddrs *cursor = addrs; while ( cursor != NULL && number_sockets < kMaxSockets ) { if ( cursor->ifa_addr->sa_family == AF_INET && !(cursor->ifa_flags & IFF_LOOPBACK) && !(cursor->ifa_flags & IFF_POINTOPOINT) && (cursor->ifa_flags & IFF_BROADCAST) ) { // Create socket*/ sock_fds[number_sockets] = socket(AF_INET, SOCK_DGRAM, 0); if ( sock_fds[number_sockets] == -1 ) // Error occurred { printf("Error Create "); return 0; } he = gethostbyname((char *)BCASTADDRESS) ; if (he==NULL ) {printf("Error gethostbyname "); herror("gethostbyname"); printf("Error host "); exit(1); } printf("Res He "); // Create address from which we want to send, and bind it memset(&addr, 0, sizeof(addr)); addr.sin_family = AF_INET; addr.sin_addr = *((struct in_addr *)he->h_addr);//((struct sockaddr_in *)cursor->ifa_addr)->sin_addr; addr.sin_port = htons(kPortNumber); if ( bind(sock_fds[number_sockets], (struct sockaddr*)&addr, sizeof(addr)) < 0 ) { // Error occurred printf("Error bind "); return 0; } // Enable broadcast int flag = 1; if ( setsockopt(sock_fds[number_sockets], SOL_SOCKET, SO_BROADCAST, &flag, sizeof(flag)) != 0 ) // Err occur { printf("Error Enable "); return 0; } number_sockets =1; printf("Succes 1 "); printf("transmit Create "); // Initialise broadcast address memset(&addr, 0, sizeof(addr)); addr.sin_family = AF_INET; addr.sin_addr.s_addr = INADDR_BROADCAST; addr.sin_port = htons(kPortNumber); // Send through each interface int i; for ( i=0; i<number_sockets; i++ ) { if ( sendto(sock_fds[i], data, length, 0, (struct sockaddr*)&addr, sizeof(addr)) < 0 ) { printf("Error Send "); // Error occurred return 0; } printf("Succes 2 "); } return 1; } void MergeMessage( ) { memset(socketstring,0x00,sizeof(socketstring)); sprintf(socketstring,"%s@%s@%s@%s@%s@%s@%s@%s@%s@%s@%s ",Tmeg.s1,Tmeg.s2,Tmeg.s3,Tmeg.s4,Tmeg.s5,Tm eg.s6,Tmeg.s7,Tmeg.s8,Tmeg.s9,Tmeg.s10,Tmeg.s11); printf(" MergeSocketMessage : %s ",socketstring); } int main (int argc, char** argv) { int fd=0,bdc=0; struct ifreq ifr; printf("Tsarting man "); fd = socket(AF_INET, SOCK_DGRAM, 0); strncpy(ifr.ifr_name, "eth0", IFNAMSIZ-1); ioctl(fd, SIOCGIFADDR, &ifr); close(fd); memset(MYIP,'-',sizeof(MYIP)); memset(BCASTADDRESS,'-',sizeof(BCASTADDRESS)); strcpy(MYIP, inet_ntoa(((struct sockaddr_in *)&ifr.ifr_addr)->sin_addr)); printf("Etho: %s ,len:%d ", MYIP,strlen(MYIP)); for(bdc=strlen(MYIP);MYIP[bdc-1]!='.';bdc--) {} strncpy(BCASTADDRESS,MYIP,bdc-1); strcat(BCASTADDRESS,".255"); printf("BCASTADDRESS: %s ,len:%d ", BCASTADDRESS,strlen(BCASTADDRESS)); printf("Initial Broad Cast message "); { /*s0"0" (id=76) s1"500" (id=77)s2"100" (id=78)s3"100" (id=78)s4"startVD" (id=79) s5"lighting" (id=80)s6"reading" (id=81)s7"Anna" (id=82)s8"0" (id=76) s9"";s10"" (id=64)s11"" (id=64)*/ strcpy(Tmeg.s0,"0"); strcpy(Tmeg.s1,"500");strcpy(Tmeg.s2,"100");strcpy(Tmeg.s3,"100"); strcpy(Tmeg.s4,"startvd");strcpy(Tmeg.s5,"lighting");strcpy(Tmeg.s6,"reading"); strcpy(Tmeg.s7,"anna");strcpy(Tmeg.s8,"0"); } MergeMessage (Tmeg); if( strlen(argv[1]) ) { //strcpy(socketstring,Tmeg,sizeof(Tmeg)); if(transmit(socketstring, strlen(socketstring) ) ) { printf(""%s" transmitted. ", socketstring); } else { printf("Error occurred: %s ", strerror(errno)); return 1; } } else { for( ; ; ) { if ( argc < 2 ) // No argument: Just listen { printf("Listening... "); if ( !receive() ) { printf("Error occurred: %s ", strerror(errno)); return 1; } return 0; } } } printf("Finished "); return 0; } //////////////// .h file is ///////////// //#define WIN32_LEAN_AND_MEAN// Exclude rarely-used stuff from Windows headers #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <net/if.h> #include <fcntl.h> #include <netdb.h> #include <signal.h> #include <sys/wait.h> #include <sys/ioctl.h> #define SubLen50 //#include <ifaddrs.h> #include <errno.h> char MYIP[20]; char BCASTADDRESS[20]; typedef struct { char s0[SubLen]; char s1[SubLen]; char s2[SubLen]; char s3[SubLen]; char s4[SubLen]; char s5[SubLen]; char s6[SubLen]; char s7[SubLen]; char s8[SubLen]; char s9[SubLen]; char s10[SubLen]; char s11[SubLen]; }msg_struct; msg_struct Sendmsg; msg_struct Tmeg; //Recivemsg; Boolean pri[6]; char socketstring[SubLen*12]; char Ressocketstring[SubLen*12]; int kBufferSize = (SubLen*12);
I try to import a key from a keyserver when I add a repository to software sources, it just tries forever and times out. For instance, following the instructions here: [URL]... to add the key "CE49EC21" for the ppa:mozillateam/firefox-stable. Whether I do it in the terminal:
Code: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CE49EC21 or by clicking the link on their page, I get nowhere. I've had this problem with other keys from keyserver.ubuntu.com too.
It suddenly occurred to me today that maybe my router is the problem. It has a draconian firewall built in. (For instance, it won't allow incoming bittorrent traffic without me explicitly opening ports.) So maybe, since I'm trying to receive a key, it's preventing the key from coming in? Does anyone know why I'm having this problem getting keys?
So I've created my pgp key and attempted to load it to the keyserver only to get the error as shown. This is the situation for 2 days now. Is there a workaround or fix?
It's been awhile since I posted anything which is a good sign my install has been working well and I have been able to handle most everything. However, I'm not able to handle this issue. I recently installed F11 and everything went well. But, when trying to see my other computers on the local network, I cannot. I receive this error message: Unable to mount location Failed to receive shared list from server. I understand the message as it is obvious, but do not know how to fix it.
Ubuntu's keyserver page just brings back a default it works page. Is there a way to manually search or enter keys here, since this page seems to not have been completed? Doesn't look like this page will be completed either last edit date on this page is Tue 06 Oct 2009 05:49:36 AM CDT
Is the ubuntu keyserver broken? I am trying to install a package and every time I try to install the key I get a time out error.
apt-update give me Code: W: GPG error: [URL karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 932062C9CD30EE56
Then if I try to install the key I get this? Code: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CD30EE56 Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-keys CD30EE56 gpg: requesting key CD30EE56 from hkp server keyserver.ubuntu.com gpg: keyserver timed out gpg: keyserver receive failed: keyserver error
Can I tell ubuntu not to bother with the key. I know the package is good and safe to install. I should be the one to judge if its ok to install not ubuntu.
on ubuntu 8.04 and evolution has stopped sending or receiving when click send/receive button. it flashes something but too fast to read. i have renamed mail folder but no go. i have checked settings but no go. i have reinstalled evoulution from synaptic but no go.
i think i have a corrupt file or something like that.
I have a printer/scanner/fax. I installed Ubuntu 10.04 and the drivers and scanner seems to be working (I haven't tried the fax yet and I am not planning to use the printer).
I need a software to be able to send and receive faxes easily (I want to receive the faxes and printed in pdf to avoid paper). Can someone recommend one?
I was running Ubuntu 9.04, no problems. I did a new installation of 10.04 and could not send or receive mail (Thunderbird). Both would time out. tried two other mail programs to see if Thunderbird was the problem, but they did the same.So I did dual boot installation, with 9.04 and 10.04. The same: mail OK in 9.04 but not in 0.04. So that seemed to eliminate everything as a problem outside of my computer.One night I remembered that ipv6 could be a cause, and toggled it in Thunderbird. It has been an "almost". I can now receive but not send.For example, the bottom bar will say: "Connecting to smtp.edicionescc.com" and after a while time out.I can ping smtp.edicionescc.com with no problem
When the RPM runs it come up with this error. How do I install the required dependencies? I have added more repositories, but still there are a few dependencies missing. Is there a zypper/sudo -get or something available? Opensuse 11.1 Gnome
How do I make Ubuntu 8.04 receive an IP address as the machine is booting up, so I can access the machine through SSH without having to log in on the X Session.
I'm having trouble to send and receive e-mail using Thunderbird 3. When I tried setting up new account using the automatic configuration method,the result of scanning pop. and smtp. server returned 'none' with this orange circle. I assume it's the same problem that occurred when I first tried to install Evolution. But oddly,I manage to access the web-mail account provided by the ISP using the same information used to set-up Evolution and Thunderbird 3. Precisely I'm from Malaysia and the ISP is Streamyx.com. PC run on Ubuntu 9.10.And I've heard that the ISP is non-friendly of non standard e-mail applications.
I want to create an encrypted directory using the cfs package. So far I've only been able to create the top directory. When I want to attach an encrypted directory using
Code: cattach directory1 directory2
get the following message in command line:
Code: RPC: unable to receive
When i look into my /crypt directory, nothing was added there. I have no idea what could be the problem. I use Ubuntu 10.04 LTS.
I have a desktop that has been running Ubuntu for years. Finally I convinced my wife to get rid of windows XP and move to Lucid. I did a clean install of Lucid on her system writing over windows. After the install I installed Thunderbird using Synaptic Version 3.0.6 was installed on her system. On my desktop I am also running Thunderbird 3.0.6 We have several domains and mail servers on those domains.
They all use SMTP First, I installed the ISP email and that works perfectly. She can send and receive using our ISP's mail server. I then set up an email account in Thunderbird using the SMTP email server form one of our domains. She used to be able to send and receive from for one of our domains. She can receive email from that email server, but can not send (I can send and receive from the same domain using Thunderbird) Her SMTP and mine are set up identically:
Server Name: mail.[domain] Port: 50 Username: [user]@[domain] Secure Authentication: No Connection Security: No
She is able to receive email but when she tries to send. the connection in Thunderbird either times out. or gives a password error. The password is correct, because we can use Firefox, and go to the pop and log in.Also, she can receive email direct on her computer and has to log in using her password. So I opened Terminal and tested using:
telnet mail.[domain] 50
I got
Trying [IP address] Connected to mail.[domain] Escape character is '^']'. 220 mail.[domain]
This leads me to believe something in Ubuntu is blocking her system from using Thunderbird to send emails through the email server. I've been at this for several days now. I did try totally un-installing Thunderbird using Synaptic. Then manually deleting the .Thunderbird file. Then doing a fresh install of Thunderbird using Synaptic. Still get the same results I am thinking that maybe App Armor is stopping this? Or perhaps some other security issue in Ubuntu like Linux Security Module? Otherwise the installation went flawlessly. We even got Skype working on the first try! Printers installed correctly and perfectly too.
When I log into my ubuntu 10.04 after booting my computer, I receive a 30-40 second lag before I can actually log in. During this lag, I can move the cursor and the login background is shown, but the computer seems to be doing nothing. It is as if there is a sleep command before I even log in. I am using a Sager 2096 computer but I got this computer for free and it did not come with the specs. I had installed a 64-bit version of Ubuntu because this computer has a 64-bit architecture. However, whenever I install software, it always has to install the x86 version because the x64 is "not supported." Perhaps I have a mix of 32 and 64 bit programs and that is what is screwing it up?
can't receive files via bluetooth whatever I do. When sending from mobile the file transfer dialog opens, but error pops up "Cannot connect to OBEX device". "Cannot copy file.. The remote system refused the network connection"I have
Code: $ sudo dpkg -l |grep blue ii blueman 1.21-2ubuntu1
Our main DNS resolves to a windows 2008 server box. What I want to do is have a secondary box with Ubuntu to receive sent emails (our@our.com). The problem my brain cannot get around is the DNS resolves to the windows server 2008 box(which host the website as well), how can we allow the email (ours@ours.com) to go to the Ubuntu email server even though the DNS name resolves to the windows server? We need the Windows Server but just Don't want it hosting our mail.
I can't seem to track down. In Evolution, I am unable to receive mail. I tried every configuration method I know and still no success. I'm even tried using a hotmail and verizon account settings with no luck.
Running Evolution 2.23.3.1 on a laptop with 8.04 installed. (Running 8.04 for good reasons - please don't query). I've been running perfectly for some time, but today when I booted up and opened Evolution to check my mail, the first sign of something odd was that it didn't ask me to unlock the keyring. Then I noticed that the send/receive was greyed out.
I rebooted several times with no change. I've clicked on Permissions in the File menu, but that doesn't then show any window, which is what I would expect, thinking that something has changed. Other than accepting all the usual update manager's recommended installs, nothing has changed on this laptop for several weeks.
Background: I want to send and receive emails from the command line. I'm an OS X immigrant and I don't know my way around a shell. I learned what sudo and man pages are last week. I'm hoping to learn more by doing more in the Terminal, and I check my emails a lot, so that would be a nice place to start. I've had a root around, but there doesn't seem to be much on the relevant fora or wikis to help me. The core of the problem: When I enter
Code: $ mail the shell returns Code: No mail for USER
I know that there's mail waiting for me. When I log into Gmail in my web browser, I can see it. So, I assume that the problem is that heirloom-mailx (the mail app I've installed) isn't connecting to my Gmail account for some reason. I originally also noticed that I couldn't send emails by typing
Code: $ mail name@address.tld but I found this post, and after following the steps it outlines, I have successfully composed and sent mail from the command line. I assume that I have just missed some fundamental final step in linking my Gmail account with mailx.
Do you know what I need to do to fix this? I'm really enjoying getting to grips with Linux, and I don't want to be stopped now by what seems to be such a piffling problem.
For the last couple of days, I've been unsuccesfully trying to receive multicast packets on Ubuntu Server 11.04, and seen some strange things along the way. The program i use to test this, is basically http://www.scribd.com/doc/38224328/mcreceive-c.Now the network has been configured to forward me the multicast packets, regardless of the joins. So tcpdump shows me:
Code: 15:16:11.308952 IP 10.164.130.2.61417 > 224.16.17.23.47806: UDP, length 1400 ...
I have tried setting up my hotmail account in evolution. I followed the steps from the following link: [URL] at the end it said click send receive, but the button is not enabled for me.
Just another newbie question here, I've recently changed my main OS to ubuntu 9.10 and everything is going swimmingly.Except a small problem with empathy IM. I have seen posts where people complain about it not being able to set its status to hidden for MSN, this is not what my problem is.My problem is as follows: when friends of mine who's status is set to hidden on MSN (them using windows and default MSN app) message me, I receive no such messages. They have to set the status to visable to be able to message me at all.
On XP I used Digsby, it could recieve such messages normally. So I am not sure if it is due to empathy being a 3rd party app.
I can send files to my bluetooth mobile phone, but when sending a file from the phone to the PC, the phone issues an error message "Sending failed", and I can not figure out, why. /var/log/messages does not contain any related entries. Do you have any idea where to look for the problem? I am using KDE. I found many complaints about the same problem, but they all date from 2007-2008, so I guess this is not the same problem.
I have USB modem huawei1550 and it work nice but I have one problem that I cant send or Receive messages because my pc dont recognize my usb as usb modem.
We have a sever on which we made an upgrade from Ubuntu 8.04 to Ubuntu 10.04
We use telnet to access from one local machine to another in our local LAN, but after the upgrade, when we try to connect to our server from a client on LAN we receive the following error:
Is there any known issue about problems in telnetd and Ubuntu 10.04?
My email server (Postfix + Courier + virtual dropboxes) can receive internal emails, but if the email is sent from the exterior (like Gmail or Hotmail) this email is returned to the 3?rovider (like Gmail):Delivery to the following recipient failed permanently:xxxx@xxxxxxx.xxxTechnical details of permanent failure:Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 550 550 sorry, no mailbox here by that name (#5.1.1) (state 14).
----- Original message -----MIME-Version: 1.0I've tried a lot of things, I've used this guide:http://flurdy.com/docs/postfix/My Ubuntu Server is 10.4 (Lucid), I had the same configuration with a previous Ubuntu version and everything was right.