Ubuntu Networking :: Ssh Key Generation Command?
Jan 7, 2010
I want to run ssh-keygen -f [filename] but also specify no password. I know the -N option is used to specify the password but putting -N with nothing after it isn't permitted.
View 4 Replies
ADVERTISEMENT
Jul 14, 2011
I am learning about net filters and I am practicing some sample programs on it. I am very new to this and I have a general query. I got the packet to a desired function using PRE_ROUTING hook. Now how do I frame a packet from this point? I am just trying to simulate a echo client server program in the kernel level using these hooks. Any useful info on sockets in the kernel level?
View 1 Replies
View Related
Jun 16, 2010
My issue is with linux routing tables using iproute2, coupled with the iptables MARK target. When I create a rule to lookup a table with iproute2, and the routing table routes an address as type unreachable (or blackhole, or prohibit), if a higher priority rule does a lookup to another table that routes the address as type unicast but that higher priority rule also matches on a fwmark, the packet to that address is never generated locally to even go through iptables packet filtering/mangling in order to mark it, because the lower priority rule that doesn't match on a fwmark says it's unreachable. For example, I have 2 rules installed with ip:
Code:
10: from all fwmark 0x1000 lookup routeit
20: from all lookup unreach
ip route list table routeit
[code]....
Now, in the packet filter, I have an iptables rule to mark packets to destination 10.0.0.5 with 0x1000 in the mangle table and OUTPUT chain. When I generate a packet locally to 10.0.0.5, all programs get ENETUNREACH (tested with strace). However, if I take out the route entry that 10.0.0.0/8 is unreachable, it all works fine and the routes in the routeit table get applied to marked packets (I know because my default gateway would not be 1.2.3.4, but wireshark shows packets being sent to the MAC address of 1.2.3.4).
The best I can surmise is that when generating a packet locally, the kernel tests the routing tables in priority order but without any mark to see if it is unreachable/blackhole/prohibit, and doesn't even bother generating the packet and traversing iptables rules to see if it would eventually be marked and thus routed somewhere. Then I assume after that step, it traverses iptables rules, then traverses the routing tables again to find a route. So is there any way around this behavior besides adding fake routes to the routing table (e.g. routing 10.0.0.5 to dev lo in the unreach table in this example)?
View 2 Replies
View Related
Sep 24, 2009
Fedora 11 I have tried just about everything in webmin, the current one I am working with is openswan, and I get this error: ipsec newhostkey --configdir /etc/ipsec.d --output /etc/ipsec.secrets ipsec rsasigkey: key pair generation failed: "-8037"
My boss would like to have our employees connect to our linux server, then access their personal computers to work when they are unable to be in the office. Everyone else in the office uses winblows and they are unwilling to try anything else no matter what the benefit. The most important one is the CAD guy, we need him to work on drawings from school or his latest flings house and I am just running out of steam. how to fix this error or radically change my approach, I will try or do anything.
View 2 Replies
View Related
Apr 22, 2010
Generally on my system(Karmic x64), if I generate a pdf, any image included comes out distinctly blurry. I have googled and come across this [URL] which says when there is a pdf generation, everything is recompressed, hence the blurriness. How is there a way around this? What do I tweak to ensure pictures are left alone (I already ensure they are as small as possible) when I convert anything to pdf?
View 2 Replies
View Related
Oct 18, 2010
I am developing a customization of ubuntu for my company, as we mirror ubuntu repositories it would be great that the distro's sources.list be configured for using our repos instead of ubuntu's official on install, without the need of me going PC by PC making such configuration myself... How could this be achieved? Is there documentation about it? I have only managed to find data on how to configure the sources.list after installation.
View 3 Replies
View Related
Dec 2, 2010
My ipod shuffle (1st generation) will not mount in Ubuntu 10.10 64 bit when I plug it into my usb port. When I plug in the ipod I do not get an icon being created for it on the desktop. I have also checked nautilus and there is no storage device for the ipod showing when I click on computer in nautilus.I have also checked /media in nautilus and there in no listing for the ipod. The only way I can see the ipod in Ubuntu is if I open up a terminal window and use the command lsusb which then shows a listing for the ipod.
If I have the ipod plugged into my computer before I turn it on and then turn on the computer to boot with Ubuntu, Ubuntu does not boot in the normal graphics mode but boots in text mode where I have to type in my name and password on a black terminal screen. The ipod has the latest software on it as well as being reset back to original factory settings. I have no problems using the ipod if boot up on windows 7 and plug in the ipod.
View 6 Replies
View Related
May 1, 2011
I'm a satisfied user of ubuntu 11.04 64bit (installed on a laptop). Everything works fine (unity, sound etc) no problems at all except that when I shutdown my computer on of the services is marked as FAIL.
In a boot log I found:
* Stopping automatic crash report generation[74G[[31mfail[39;49m]
Ok updating, nothing serious, can be ignored or uninstalled.
View 9 Replies
View Related
Apr 30, 2010
I have tried almost all the music programs ie, banshee, rhythm player and I cannot figure out how to get it to work.
View 3 Replies
View Related
Jul 18, 2011
I have recently started PHP and mysql and so far I am loving it. I have read that the best way to learn any scripting/programming language is to read others code and get involve in a project. I am planning to develop a ticketing system for my intranet environment, meaning it will only be available to certain specific personnel to generate tickets, just like a helpdesk system. So a thought came in my mind, that, if a ticket is generated, a email should be sent to the relevant personnel pointing to that ticket. Now what I mean by this is, like if I have posted a query on LQ.org, a email notification is sent with a dynamic url pointing to my post if someone answers it. How its done? I mean is it done by PHP engine or apache?
View 2 Replies
View Related
Jul 21, 2011
Recently installed Ubuntu 10.04 (I think) on my laptop as a dual boot with windows. Now, whenever I start my computer, the grub menu boots and I choose to run the generic ubuntu.
However, I get the message:
Stopping Automatic Crash Report Generation [FAIL]
And the screen freezes at that. No further progress is made and I have to restart my computer. The only way I can run ubuntu is by running it in safe mode with low graphics.
View 5 Replies
View Related
Feb 20, 2010
I Have a system,on which I have dynamic internet, I want to generate a mail to my specific mail id as exp-123@yahoo.com. Like this,to give me the information about my dynamic IP Address. I also want that if my internet reconnects then the mail must be generated to give new IP address information.
View 3 Replies
View Related
Oct 14, 2010
I am running LogAnalyzer 3.0 on one of our servers, and I wanted to know if anyone knows of a way it can be configured to generate reports that can be exported and e-mailed to the System Administrator?
View 1 Replies
View Related
May 12, 2011
My project looks like this:
Home
The Team [no-page]
-X
-Y
-Z
Projects [no-page]
-Coding [no-page]
--A
--B
--C
-Desing [no-page]
--E
--F
-Security [no-page]
--G
--H
Note: the Code/Design/Security projects pages (A,B,C,D...) will be at start around 35 pages, and will grow. My index.php is something like this:
PHP Code: .....
What I would like to know is how to build the content (the home-main.php)? Do it dynamically based on a link something like this index.php?page=coding_b, and put in the index.php page a number of 35 if/else statements to cover all the project pages or ... static, creating every page for the projects menu when I create the menu? I check if a page 'pro-co-a.php' exists, if not I create it based on some template and do the query to get the content from db or? How to organize the pages, if using static page?
View 5 Replies
View Related
Jan 16, 2011
I've been trying to get an iPod nano 5th generation working with slackware-current, with no luck. Currently, I have upgraded to gtkpod 1.0.0 and libgpod 0.8.0. I've run iPod-read-sysinfo-extended successfully, which wrote the SysInfoExtended file in /<ipod_root>/iPod_Control/Device.
After those steps, gtkpod would copy the mp3's to the device, but would fail writing the database. So, I generated the HashInfo file from the firewire guid using the tool at [URL]. After that, gtkpod finishes writing the database to the device, and shows all the music which is present, but after ejecting the iPod, no music shows up.
View 8 Replies
View Related
Jun 25, 2010
I have a problem related with certificate generation. I had successfully installed openssl. After that I do these.
[root@localhost openssl-1.0.0a]# cd /usr/local/ssl/misc
[root@localhost misc]# ./CA.sh -newca
CA certificate filename (or enter to create)
Making CA certificate ...
Generating a 1024 bit RSA private key
.........++++++
..........++++++
writing new private key to './demoCA/private/./cakey.pem'
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank. For some fields there will be a default value,
If you enter '.', the field will be left blank.
Country Name (2 letter code) [GB]:IN
State or Province Name (full name) [Berkshire]:KERALA
Locality Name (eg, city) [Newbury]:KOCHI
Organization Name (eg, company) [My Company Ltd]:squad
Organizational Unit Name (eg, section) []:SUPPORT
Common Name (eg, your name or your server's hostname) []:localhost
Email Address []:jk.r@squadinfotech.com
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:mahhghh
An optional company name []:mca
Using configuration from /etc/pki/tls/openssl.cnf
Enter pass phrase for ./demoCA/private/./cakey.pem:
I am unable to access the ../../CA/newcerts directory
../../CA/newcerts: No such file or directory
Distro:Centos 5.3 kernel 2.6.18
View 1 Replies
View Related
Mar 27, 2009
What software can i use to compare its performance when it's compiled with GCC and when compiled with MSVC? I think it should be some mathematical software, so the performance would be very dependent on CPU- and memory-specific optimizations.
View 4 Replies
View Related
Oct 21, 2010
I own an ipod shuffle and in ubuntu 10.04 worked perfectly, but after upgrading (I did a fresh install) to ubuntu 10.10 rythmbox recognizes the ipod, but it can't list the items and if I try to reload the list, rhythmbox closes irremediably.
View 2 Replies
View Related
Apr 2, 2010
I am on a Fedora 12 box, and it's my job to do some custom configs to xorg.conf. To start this, I have to remove a bunch of devices' entries and modify others. We're using the proprietary Nvidia drivers, and they work fine except that something - perhaps the NVIDIA X Server Settings app - keeps modifying the xorg.conf. After I write a change to see if it will work or break the machine, I have to restart the entire computer, as restarting X by itself blanks out the monitor so that I can't even see a virtual console. After the restart, X starts just fine and goes into GNOME, but as soon as I look at the xorg.conf, everything I've removed or commented out from the original, auto-generated file has reappeared. How to stop this infuriating behavior so that I can rewrite xorg.conf and make the changes stick?
View 7 Replies
View Related
Jul 18, 2010
I did a fresh installation of centos 5.5. I installed KVM. And configured a eth1 for KVM host network and i configured eth0 to be bridged.
When i do service libvirtd reload i get: internal error Bridge generation exceeded max id 256
View 5 Replies
View Related
Apr 28, 2011
Today I upgraded my 10.10 to 11.04. Since the last step of upgrading, when it was restarted, I get stucked in consola where it is checking, and there is written fail at stopping automatic crash report generation. How can I repair it. I tried to do
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo reboot
but it doesn't do it properly.
View 8 Replies
View Related
May 10, 2011
command1:
ssh pt@192.168.1.101 ls
command2:
ssh pt@192.168.1.101 totem ~/t1
Cannot open display: Run 'totem --help' to see a full list of available command line options. command1 can run, command2 can not run,would you mind to tell me why?
View 2 Replies
View Related
Jul 17, 2010
I have two Roboards that need to communicate with one another. I have sucessfully installed Ubuntu 9.04 using the 386 kernel based on instructions found online.I can use the GUI to set up an Ad-Hoc network using one Roboard ("Create New Wireless Network"), call it Manet, and connect to "Manet" using the GUI on the other Roboard and ping/ssh between the boards. However, when I try to create the same wireless network using the command line using:
ifconfig wlan2 down
iwconfig wlan2 key off essid 'Manet' channel 5 ap any
ifconfig wlan2 up
I don't see any entry in iwconfig under "Cell". It keeps giving me "Not Associated"When I try to enter the same information on the other Roboard to try to connect to the network, it doesn't connect and under iwconfig, I don't even see any entry for ESSID. Could somebody please tell me why it works when I use the GUI and not the command line.
View 1 Replies
View Related
Jul 21, 2010
I have a LG S1 PRO, that to activate the wireless is necessary Fn + F6. How do I enable wireless on command? Since you can not activate in ubuntu with these keys.
View 9 Replies
View Related
Nov 8, 2010
I manage to get Ethernet over Firewire working between my Windows XP desktop and my Ubuntu 10.10 laptop.However, I am getting tired of having to manually issue the ifconfig command every time.How can I automate it so that the command is done at bootup?
View 1 Replies
View Related
Feb 20, 2010
I want to use a cron job to backup my files to my server. Now when I run the script manually, I get an error when backing up (something and sftp file being used or so). I only get this when I'm simultaneously connected to my server with sftp. So to be sure that this doesnt happen when I wont be there anymore to look at the log, I would like to know if there is a command to kill all sftp connections. I would put this command in the backup scrip cron uses.
View 4 Replies
View Related
Apr 8, 2010
If I type
Code:
$ ping [URL]
or even
Code:
$ ping google.com
should I receive a reply?
View 9 Replies
View Related
May 11, 2010
For reasons that are not terribly interesting I decided it would be a great idea to remove and re-install the xserver-xorg package. Which proved to be a much larger mistake than I imagined it would be. I purged the package, and then restarted.Naturally I need to have an internet connection to use apt-get to reinstall xserver-xorg, which is where my idea falls apart.I followed the directions in the How To: Manual Network Configuration. However, after I enter the command "sudo dhclient wlan1" I get the line "wmaster0: unknown hardware address type 801" twice prior to the output that the above link shows. Then I just get DHCPDISCOVER messages until I get a "No DHCPOFFERS received. No working leases in persistent database - sleeping."
I'm connecting with WEP to a router that I know works (because I'm using it to type this on my laptop right now) and I know that the wireless adapter(RTL8187) is installed properly because it automatically connected to my network when I had xserver-xorg still installed.I'm running ubuntu 9.04.I've searched for a few hours and I'm no closer to resolving the issue.
View 9 Replies
View Related
Jun 21, 2010
I have setup my wireless card via ndiswrapper and I can see that if I perform an iwconfig that the card is wlan0. I have attempted to connect with the router but I can't get any connection.I know the password is: ########## (10 digits long) but for the life of me I can't get it to work via command line.
View 2 Replies
View Related
Jun 26, 2010
I'm using a remote dedicated server running ubuntu server edition, and I have no idea what the upload/download speeds are.Is there a reliable method to test these speeds via the command line?
View 2 Replies
View Related