I posted this in Networks but have had little luck in that forum lately...I haven't been able to connect via ssh to my media server at home. It's running Karmic (non-server version) and has sshd installed. I generated a rsa and dsa key pair and added them to the server in .ssh/authorized_keys and .ssh/authorized_keys2 by use ofcat key >> .ssh/authorized_keys(2)Changed sshd_config to only accept Keys and kept port 22, since I will port forward through router and make firewall exception down the line.I made an account on the server with the same name as my laptop. Here's output from ssh -v daniel@10.0.0.10
PHP Code:
daniel@Geek:~/.ssh$ ssh -v daniel@10.0.0.10OpenSSH_5.1p1 Debian-6ubuntu2, OpenSSL 0.9.8g 19 Oct 2007debug1:Reading configuration data /etc/ssh/ssh_configdebug1: Applying o
I don't know if this is a configuration issue or a hardware issue, but I have a Kinesis Advantage USB keyboard and for some reason the F3-F5 keys aren't responding as they used to. They don't respond to anything and, when I tried using F5 on Emacs, it said <XF86AudioNext> is undefined, so I guess it's a weird mapping problem.
Any idea how I could remap them to the original meaning?
I'm running Debian (Squeeze) and I have a toshiba portege m700. It has five buttons on the front just under the screen, which are the only ones accessible when you flip the screen over into tablet mode. One of them is for rotating the screen, and another is for switching to external display. I want to remap the remaining three to control, alt and super so that I can use shortcuts with the stylusThe problem is, when I used showkey to find out the key codes, I found out that each button generates more than one key code:Button 1:
key 126 press >> super_r, although this is distinct from the actual super key (125) key 7 press >> 6 key 7 release key 126 release
I have just set my self up a new LAMP server running php and mysql. I get the following error when trying to acces mysql databases through php Code: Could not connect: Access denied for user 'danhorni'@'localhost' (using password: NO) I am using a password I can login fine through phpmyadmin
I have an issue with my wireless. I installed Ubuntu Karmic at the beginning of February and have had it connected via an Ethernet cable and everything worked. I am now trying to access the internet using the laptop's wireless the "Wireless Network Authentication Required" window appears where I add my password for the network, then another window appears called "Unlock Keyring" where it says that the network manager applet requires the default keyring.
I put in my Ubuntu password (login and sudo one) and nothing happens, the window just appears again.
Is my default keyring different from my password, and how do I find out what it is/change it
However I just built a 10.10 server, installed webmin, vmware, and the server is working perfectly. I configured my bind 9 server using the latest webmin and on the server everything resolves perfectly to both the internet and lan. I have it set to 127.0.0.1, the server ip address is 10.1.50.25. However, it will not accept dns client queries in which they cannot resolve to the lan or internet. I have the dhcp giving out the dns server 10.1.50.25. NSLOOKUPS from the client show query refused. I know there has to be some setting or config that will allow clients to query but I am not able to locate it, and I am not totally knowledgeable of named.conf and been all through the webmin module and configuration settings.
I have ssh installed and running on my laptop(Debian Sequeeze). I can run "ssh localhost" without any problem. But for some reason I cannot connect to it from other computers. They all give "connection timed out". I can connect to these computers`s ssh servers but for some reason my laptop with Debian is not accepting any connections.
I would like to know if a rule has been applied to the iptables.active file to accept direct connections on port 22 through an IP address, can I also add a mac address/addresses to the rules such that if I am not on the network with the accepting IP address, that my MAC address will still get me in?
I am running Ubuntu 9.10 on an Acer Aspire 5920 laptop. For the most part it works well, but it seems to occasionally become mostly unresponsive (~1 / 2days). I say mostly unresponsive because I can still move the mouse, but I do not seem to be able to click on anything (either to open or close programs or windows, or interact with menus). The keyboard is also partially responsive. When I use my keyboard shortcut to get access to the Applications menu, the menu highlights and depresses as though it is opening, but nothing appears on the screen. I can eventually press Ctrl+Alt+Del to start the shutdown procedure (and the shutdown screen pops up with the 60s countdown).
But I cannot use either the keyboard or the mouse to select another option (Restart, Suspend, Hibernate, or even Cancel), nor can I select the Shutdown option to cause it to shutdown right away - I just have to wait the sixty seconds for everything to turn off. This seems to happen no matter what I am doing with no warning - browsing the web, playing a game, or working on a document. The only consistent thing is it only seems to happen when I have more than one program open and I am trying to switch between open windows.
So on one of the Linux systems here (2.6 kernel if it matters), there's some weirdness regarding trying to ssh into the system. Basically, if you give it the wrong password on the first ssh attempt, it will give you two more attempts, but even if you give it the correct password, it still won't let you in on those subsequent attempts. (If you give the correct password on the first attempt, it will let you in.)
I have run a small webserver from my home computer and I can access it fine from computers on my local network, but cannot access it from other networks. I see in wireshark that the traffic is arriving at the computer and I have checked the firewall logs on my computer and nothing is being blocked(I use iptables as a firewall), and I can't see any reason why it shouldn't be working.
I have a samba server that I had setup using the default smbpasswd backend, and it worked fine. So long as I remembered to use smbpasswd/passwd to setup a user with a username and password matching the account name of a Windows 7 user, then that windows 7 user would be able to navigate the shares with their permissions correctly.I have switched over to using ldap, and: the console/ssh of the machine can correctly use any of the ldap logins getent passwd/group both show the complete listing my Windows 7 machines can all ping the samba server by its netbios name my Windows 7 machines all prompt for authentication if I type \MACHINENAME into explorerHowever, all attempts to access the shares now continually ask for you to enter your username/password, and then fails anyway.No errors appear to be generated on the server (unless I'm missing a log somewhere). Having hunted around on the web, I'm wondering if it has to do with generation of machine accounts (since it tries to access from MACHINENAMEUSER). Without ldap setup, I didn't need to worry about the machine name, but I'm thinking that maybe smbpasswd took care of this somehow.I use the smbldap-useradd tool to setup a user account, which appears to correctly setup the user in ldap, such as:
Code: dn: uid=sharer,ou=Users,dc=intbus,dc=net objectClass: top
I have installed talk on centos, turned it on by editing xinetd.d/talk and setting disable=no.I have restarted xinetd (service xinetd restart) and verified that talk is configured to start (chkconfig --status-all).what am i missing? shouldn't either port 517 or 518 respond to telnet? what else can i do to get talk running?
Slackware 10.2. My usb ports work fine when used directly. When I insert a USB hub to duplicate a port I get the message USB device not accepting new address=2 error=-71
I installed a new server running CentOS 5.2. I have iptables and SELinux off. The new server will not accept incoming mail. It will send out fine.Our mail server redirects mail for it.help to it.[url]...- [url]....is this server. Any messages sent to this address get stuck in a deferred queue. The error message on each one (from the mail server admin console) is "connection to[url]... [10.9.10.202] - connection refused". I can ping [url].... from the mail server.
This seems like a firewall issue, but it is off. Is there some configuration file I need to change to allow incoming mail? Or is there some test I can run on the new server to further troubleshoot what is going on
Having a problem with tftpd on CentOS 5.5. I am only able to download files from the localhost address.
I have checked iptables (by adding rules and by turning the firewall completely off -- nothing changes) and enabled tftpd logging (by adding -v to the server_args section in xinetd.d/tftp) and I DO see the request coming in, but no response from the daemon. I've also tried upping the verbosity by adding multiple -vs and/or --verbosity 10 to the mix, but all I ever see is the initial request come in, nothing more. I've even tried running the daemon in foreground mode with -L but I get no verbosity then.
I downloaded the puppy linux iso. I don't want to write that iso to any disk (because most of the linux disks are used just once and then the just acquire space in my cd bag). I tried to create its bootable pen drive by start-up disk creator. But start-up disk creator is not accepting the iso file for puppy. Can anyone please tell me how to make a bootable pen-drive of puppy linux
I'm having an issue with a Samba server running on an Ubuntu "server". Technically, it's not a server, it's just an old desktop with Ubuntu 10.04 running it..and I have a few server processes running (ProFTP, Samba, etc.)The Ubuntu server is where I store all of my important files that get backed up to a separate hard drive. I shared folders via Samba, and I use two computers to access the shares. I access the shares with an .sh file I created that uses the mount cifs command to mount to those shares.
It has been working flawlessly for a long long time, up until recently. For the past few days to a week, I will try to mount the shares with no result. In the terminal, the commands just freeze, as if the command is trying to execute, but having network issues.The only way I can get it to work is if I reboot the Ubuntu server, then it maps flawlessly. But a day later, it's back to hanging up when trying to mount.
I'm not sure if this belongs in the Server or Networking section of the forums. Anyway, last month I upgraded my server to Ubuntu 10.04 LTS. Since then, I've had a recurring problem wherein after a certain period of time, the server stops accepting network connections. Ubuntu 10 will continue to reject network connections until someone logs into the server locally, after which time network connectivity is restored and the cycle begins anew. Essentially, the server goes into a "half sleep mode". I say half because the computer is still on and the fans are running.
I've done some searching around various forms and initially figured this issue was related to problems with the Network Manager service (https://bugs.launchpad.net/ubuntu/lu...er/+bug/524454), so I removed the service altogether. However, this problem is still occurring.
I've poured over /var/log/messages and /var/log/syslog, but have noticed no irregular behavior. Has anyone else experienced this issues? I'd rather not resort to downgrading back to Gusty Gibbon if I can help it.
I am happy to provide more information if its needed
we have a Postfix mail relay server. Not to be an open relay we use check_sender_access restriction with allowed sender domains. Is there a way how to configure postfix to accept mails from any domain for a specified recipient? Something like
Code:
if (recipient_address==host@mydomain.com) accept; We have an admin mailbox and we need it to be accessible from everywhere.
I have QPopper and Sendmail setup on a Red Hat server, they both seem to be running ok and listening on usual pop and smtp ports 25 and 110.
QPopper is running through xinetd and the config file is as follows
Code: service pop3 { disable = no flags = REUSE socket_type = stream wait = no
[Code].....
The problem is I get an error in the maillogs when trying to send mail from a PC on our local domain about the canonical client name which is to do with reverse dns. I understand this can be turned off at runtime of qpopper but nowhere seems to detail how to do this, apart from -R flag at runtime but as it is running through Xinetd I am not sure where to put it.
A few more details on the problem, if I VPN onto our network from my home desktop I can send mail fine. Receiving mail is also no problem, it is just sending. I have setup only our local domain in the access file for sendmail.
Have tried to setup email aliases in sendmail so I can have multiple address pointing to one linux login. However none of the aliases seem to be accepting mail.
I get the following error message when trying to send to them.
I have tried restarting sendmail, have mapped the /etc/mail/virtusertable across to virtusertable.db with the following command.
Code:
Output of sendmail -bv is as follows and looks correct.
Code:
Have also added new domain into local-host-names file. I am stuck on what is left to check and why the messages are getting bounced back.
I did a clean install of OpenSuse 11.3 a couple of weekends back. Everything is working great except the SSH server.Once I installed ssh, it appears to accept my connection, allows me to log in, and then freezes Putty, not allowing me to type anything into the terminal.If I wait several minutes, I'll get a message saying that the connection was closed. After that, the server won't accept connections.Sometimes it'll start accepting connections again, but after a while, the connection will close on its own. Other times, I will be unable to get a connection until I restart the server.If you guys needs any more information, please let me know. What could be causing this odd behavior?
The two shell scripts (t1prog and t2prog) are given below they are working fine. The input for the first program is 't1.det' and for second program is 't1.rnaml'. These two input files are in 'dir1' folder. I am executing the shell like 'sh t1prog > t1out' and 'sh t2prog > t2out' from this directory only. Then I am executing a java program 'java RNA'; for this, t1out and t2out are input files used in the program and I am getting the final output on screen.
The input files 't1.det' and 't1.rnaml' are in different folders with same name and with different values. Each folder specifies one gene sequence input files.
In mfold directory there are 5 directors and each directory contains these input files as shown below cd mfold dir1 dir2 dir3 dir4 dir5 cd dir1 t1.det t1.rnaml
[Code].....
for inputs in different directories and executing these and redirecting the final ouput after executing 'java RNA' statement to a file is needed.
I have this treacherous program in C which uses external static libraries (extern etc), and want to do a coverage test of it. The libraries are written in fortran. I compile like this Code: gcc -fprofile-arcs -ftest-coverage -o main main.c library.o I run my nice program like that
Code: ./main Then I do the magic stuff Code: gcov main.c library.f
Ok 98% of the lines were used in main.c, and I get a file with line counts and all that. Great! But, I need to know the coverage in my library too! It says 0.0% and that's impossible. So what can I do? I can't run it like an executable because it's a library.
And why is the terminal not accepting my copy paste? I copy some lines from my IDE, then I want to paste it into the terminal (with ctrl-v of course, not some crazy local application non-standard counter-intuitive key combo made just to cause agony among honest users!), and that could've been the only problem here, but it isn't. I can't even paste with that right click menu. So, if I was crazy before, I went nuts after that. My great "solution" was to paste it into the firefox URL field (not the search field ) and then copy that and paste it into the terminal. Is that common practice for you all while dealing with that unburied DOS-window?