Re: sad but true, Linux sucks, a bit
On Fri, 17 Jan 2014 23:42:41 -0800 Chris Bannister wrote Just a bit of advice, if it's not NSFW why on earth do you think it's OK on this list? Do you say what ever you like to your mother or anyone you meet? Yeah, and that bitch (and the rest of them) don't much appreciate it. As terrible as it was it was as OT as anything in this insane conversation. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1441809428.191037.1390067738770.JavaMail.sas@[172.29.252.227]
Re: sad but true, Linux sucks, a bit
I'm not arguing one is better than the other, just in all situations neither is the best. You said in another reply that we haven't created a computer that can create as we do, What do yo mean we? Just because one person is a good musician doesn't mean we are. Just because one person is a great craftsman doesn't mean all people *can* be. Yes, I forgot to exclude from the discussion the untermenschen among us. be out-competed and certainly shortly become extinct. But I don't think human-like creativity is restricted humans. Any sufficiently advanced alien lifeform could reproduce such creativity. You're making that up! :) So you believe there us something special about human brains or the nerve cells they are composed of? Perhaps the untermenschen are composed of something other than what _we_ are, which explains their sloth and poor craftsmanship. All human knowledge has and still is leading to the conclusion there is nothing special about humans or our place in the universe. Exactly what factoid do you know that could possibly prevent computers as complex and powerful as a human brain, or sentient alien species not being as creative as humanity? Not likely to be the 100% the same due to the different substrate, culture and a myriad of differences, but to say such beings cannot be as creative as humans reminds me of europeans in the past claiming other races couldn't be as intelligent or civilized as they were because of some intrinsic flaw. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1006967586.227533.1390071831533.JavaMail.sas@[172.29.254.227]
grub install problem
I was given a machine with six scsi drives and I wanted to play around with RAID setups. The system as given to me was setup with 5 drives in a raid and one used as /boot. I wanted to use all of them for the raid, so I added a large ATA drive. On the new drive I made a /boot partition, a swap partition, a partition to use as a spare in the RAID and the rest of the space (90% of the drive) as /home. I setup the raid and everything else (with stable) and it seemed good, on reboot i discovered a problem: that nice new large drive was too large for the mainboard's BIOS to recognize and so the /boot partition could not boot! I thought positively, ooh a learning opportunity. I found a small drive the system could recognize and created a filesystem on it, copied over all the files from the unbootable /boot partition, using rescue mode. I assembled the RAID drive, and ran a shell on the resulting /dev/md0. Modified the /etc/fstab so /boot would have the correct blkid. I then ran grub-install on the small drive (/dev/sdg). During the grub-install it spewed 25 errors error: unknown LVM metadata header. But the command continued on and ended saying Installation finished. No Errors reported. After rebooting, it sees the small drive and grub is started, but it pauses a moment says Welcome to grub then just dumps me into a grub shell. Using the boot command I get error: no loadable kernel. Do I have the right idea on fixing this /boot problem in general? Or did I just fail to do some minor thing? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/558313664.275.1389966436314.JavaMail.sas1@[172.29.241.245]
Re: Connot load Wheezy in a virgin desktop -- FAILURE
On Fri, 17 Jan 2014 11:57:31 -0800 Ken Heardkensli...@teksavvy.com wrote When on 2013-12-28 Saturday I started to install Wheezy on my new desktop computer in Thailand the partitions I tried to install were the same ones I used with Squeeze in one of my computers in Canada -- RAID1 with two HDDs, two partitions, one with /boot only and the other a LVM with everything else. Swap and /tmp were encrypted with a random key; and /home with an assigned key. Attempting the same partition configuration with Wheezy over innumerable installation attemps produced various errors -- more about those later. Three essential points however were made by all those who responded to my original post. First, do not move too fast; start with the simple, e.g. BIOS instead of UEFI (I did find out that UEFI in Wheezy is not yet suitable for humanoid use.), no RAID, no LVM, no encryption, as few partitions as possible to start with. Then one by one add those complications as each one worked -- or not. Second, do not install the desktop environment until I had a working system without it. Third, use all the Wheezy defaults, e.g. ext4, not xfs. On many installations using various combinations of RAID1, LVM and encryption I was able to get a working command line only machine. The one constant error was inablility to accept in any partition configuration an encrypted /tmp partition. The message I received when I tried was error: couldn't mount because of unsupported optional features (240), and then on the next few lines mount: wrong fs type, bad option, bad superblock on /dev/mapper/TH-tmp_crypt, missing code page or other error. Otherwise from the command line I was able for example to install several utility packages, run my own script files for such things a file backups, using vim add entries to /etc/fstab, /etc/apt.sources.list, and on one occasion compile a package. Brian in his answer suggested that after I have a usable command line system in a tty I should install the metapackage xorg and a window manager too. So, as he suggested I did the following. apt-get install xorg fvwm and then 'startx'. Play about with what you have; reboot a few times to make sure everything (mouse, keyboard, display etc) works. At this point running startx -- I did so both as root and as my user in a separate tty-- caused the letters fvwm to appear briefly on the screen and then a blank screen with ideograms in the lower corners. I could move the mouse around but clicking on anything had no effect. Furthermore it was no longer possible to open any of the other tty terminals -- nor was it possible to return to either of the two terminals where i ran startx -- the machine seized up. The only recourse at this point was the off-on switch. Rebooting at this point produced tty1 where I was able to log in as root. You want something more complex to use with X ? Xfce? apt-get install xfce4 lightdm In view of the previous failures I logged in as root, installed xfce4 and lightdm and then rebooted. The login window appreared; I logged in as my user.It appears that xfce is usable. Shifting however to any one of tty1 through tty6 always produced a blank screen, and caused the machine to seize up. One thing I found strange was that just before the full size login screen opened there appeared very briefly ten miniature copies of the login screen in two rows of five each across the top half of the monitor and a nondescript pattern in the lower half. For some of the experimental partition configurations, after reaching tty1 I was able to do the usual things one can do from the command line, but as soon as I rebooted after installing xorg, xfce4 and lightdm the login screen would appear but would not accept my login. When I was experimenting with RAID1 in the partition mix I was also able to work in tty1, but when I rebooted after installing those three DE packages the boot scrollby produced the message RAID1 not okay with the same result previously described -- my user login was not accepted. In all cases where I was able on boot to go into the grub recovery mode and then run dmesg and cat syslog I could not find anything there that would give me any indication of what was wrong, but then I really would not know what to look for. In any event something is clearly remiss in either the software or the hardware -- possibly both -- to prevent the OS from working properly. I would consequently appreciate it very much if anyone could tell me whether there anything that can be done to make it work properly. Ken Heard For performance reasons I typically make a smallish, unencrypted root partition that only contains the OS. After installing everything, I then go back and create encrypted
Re: sad but true, Linux sucks, a bit
On Fri, 17 Jan 2014 12:43:10 -0800 Ralf Mardorfralf.mard...@alice-dsl.net wrote Why does a manually wound coil for guitars does sound better than a mechanically wounded coil does? The mechanically wound coil is more precise! Don't underestimate human touch. The human brain is a super-computer, no computer build by humans is able to compare with our brains. Our brains (and bodies) are the most shoddily constructed, corroded, inefficient, poorly maintained, infinite-monkeys sort of kajiggered engineering in the known universe. In my opinion, that we experience flaws and mistakes as better than exact reproduction and precise technique says more about how we are flawed and improvised than whether there is something intrinsically better about machine or manually wound coils. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1257539946.845.1389993305871.JavaMail.sas1@[172.29.241.245]
Re: sad but true, Linux sucks, a bit
On Fri, 17 Jan 2014 13:21:49 -0800 Ralf Mardorfralf.mard...@alice-dsl.net wrote Living beings are able to self-repair, to eat and to produce the needed energy for doing some work. You only need to interrupt electrical power given by humans, to kill a machine. I'm not arguing one is better than the other, just in all situations neither is the best. You said in another reply that we haven't created a computer that can create as we do, which is good otherwise we would be out-competed and certainly shortly become extinct. But I don't think human-like creativity is restricted humans. Any sufficiently advanced alien lifeform could reproduce such creativity. And I think there is no reason a sufficiently complex digital life-form could not do the same. Our best computers are at the level of complexity of a bug or small reptile. The best argument in favor of analog, human-created things is a blow job. Nothing beats a blow job, and no matter how many plastic tubes and lube have been sold, none can beat a warm, wet analog, human mouth. So until we are finally replaced, up with humanity! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/961042879.863.1389994800889.JavaMail.sas1@[172.29.241.245]
Re: sad but true, Linux sucks, a bit
On Fri, 17 Jan 2014 13:33:31 -0800 Jerry Stuckle wrote And the only complex machine that can be reproduced by unskilled labor! Jerry And not only that, it is in fact quite fun and enjoyable to make people. While I enjoy tinkering with my computers, it was more better making my children. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1630896868.877.1389995337102.JavaMail.sas1@[172.29.241.245]
Re: sad but true, Linux sucks, a bit
On Fri, 17 Jan 2014 13:53:20 -0800 Ralf Mardorfralf.mard...@alice-dsl.net wrote I agree, but they will kill you and now me too, because you mentioned that. Sexuality is a taboo! It's evil, it doesn't exist in the clean computer world! Any computer sufficiently complex to be considered sentient will have its own particular perversions, different due to the differing physical hardware, but still. Even the simplistic insect/bacteria computers we have now are far from clean: (Not safe for work:) http//www.iseekgirls.com/wp-content/uploads/2011/07/carly_moore_naked.jpg (hoipefully such links do not violate some rule, if so I apologize, but I couldn't help myself) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/152421747.75235.1390002994566.JavaMail.sas1@[172.29.252.227]
Re: battery
It's a feature of modern laptops. The idea is that the battery lasts longer if you avoid full charge/discharge cycles. Mine is on 80% too - it's normal. As for how you tell it to charge to 100% because you're planning a bus trip - anyone out there, please let me know. Regards, Philip Ashmore The cycle only does damage when the battery is discharged beyond 50-60%, which a li-on battery should not allow. It is not the charge that does the damage it is the discharge, so either this diagnosis is not correct or battery makers are morons. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/284161387.16808.1375986004867.JavaMail.sas2@[172.29.244.248]
Re: battery
http://www.samsung.com/us/article/tips--tricks-extending-notebook-battery-life it's called Smart charging, so I guess it should have a config option somewhere. Philip Thank god I never bought a samsung laptop. I am amazed that samsung has just recently discovered the amazing feature of not over-charging batteries. Are there any commands that manipulate battery/acpi info? I'm not sure what to even search for. From what does the battery indicator get its info? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/301141475.17367.1375986485544.JavaMail.sas2@[172.29.244.248]
Re: debian installation question
On Thu, 08 Aug 2013 11:15:44 -0700 François Pattefrancois.pa...@mi.parisdescartes.fr wrote -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bonjour, I would like to make a fresh install of debian and I want to keep my previous /home partition ie. forbid the installer to reformat this partition. I am sure that it is possible, but at the end of the partitionning step, how cna I check which partition will be formated and which won't. Thank you. - -- François Patte UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)1 8394 5849 http://www.math-info.univ-paris5.fr/~patte -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAlID4E8ACgkQdE6C2dhV2JVjvACePj1GZSE7elD5I7wgD6ehC2xL Hn4AoKd/q0kxBG3zui7CzeVfHBrP6Wnk =tZzb -END PGP SIGNATURE- If you go through manual partitioning (make sure your old home partiion is set to not being used, click on Done or finished (sorry I forget the exact verbage, but it is the last menu item in the manual partition screen) , before it changes anything it will list exactly which partitions it will touch, then you have the option to continue or not. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1904161724.1571.1375986836717.JavaMail.sas@[172.29.251.236]
battery
I'm using wheezy and in gnome 3, if I disconnect my laptop from its charger and then at some point suspend. After bringing the system back up and connect the charger the battery charge indicator in gnome shows incorrect info. I plug in the charger and the battery charges, but it never reaches 100%, it stops at around usually in the 80's or 90's. The indicator shows the battery is charging no matter how long it is plugged in, but once the percentage stops increasing it will never go higher. This inaccuracy usually persists across reboots. I can shutdown, disconnect the charger, and remove the battery. The inaccuracy remains. At least once this process lead to a correct reading, but it hasn't worked recently. I'm not sure if this has gone on since I first got it or if this is a new thing. I noticed it about 3 months ago. This laptop is less than 6 months old, when disconnected from the charger the battery holds a charge for the same length it always has. Is there some file I can erase or some other procedure to reset the the indicator? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/636494928.13843.1375931327221.JavaMail.sas@[172.29.251.236]
Re: About installation DVD's
There are 3 dvd's for wheezy: debian-7.0.0-amd64-DVD-1.iso 2013-05-04 17:14 3.7G debian-7.0.0-amd64-DVD-2.iso 2013-05-04 17:14 4.4G debian-7.0.0-amd64-DVD-3.iso 2013-05-04 17:14 4.4G So just add up the GB's and divide that by your internet connection speed. I would recommend bittorrent rather than jigdo unless you are very familiar with it. You could get 95% of the software a typical enduser needs from just the first DVD. If you were to download the first two CD iso's you'd have a goodly chunk of that important 95%. Anything else can be downloaded a part of the installation or later. You don't need all the disks to install. -- clet debian is my main squeeze On Mon, 13 May 2013 20:32:06 -0700 Rupesh Reddyrupeshforu3.li...@gmail.com wrote Sir I am living in a remote area so I have to buy finished dvd's. Vendors release full installation dvd's only when they are available for download through http,ftp or torrents. How many months it would take to download remaining seven iso's using http,ftp or torrents. Cheers, Rupesh. On May 11, 2013 8:19 AM, Hugo Vanwoerkom hvw59...@care2.com wrote: Rupesh Reddy wrote: Sir full installation dvd's(a set of 10) are not released yet so kindly specify when these are going to be released. Please do not respond negetively. http://cdimage.debian.org/debian-cd/7.0.0/amd64/jigdo-dvd/ Hugo -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/kmkbip$101$1...@ger.gmane.org -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1701733465.2998.1368504938825.JavaMail.sas@[172.29.251.230]
Weird Gnome 3 issue
I just installed newstable on my new laptop and am having a weird issue in gnome. Whenever I launch a small window, like a terminal, calculator or the file manager and if it appears in the left top corner I cannot grab it with my mouse pointer, I can't type into a terminal or gedit window. If I alt-tab a few times I can often type into such windows, but I can't move them or use any menus or buttons on them. I often have to close them after gesturing to the activities corner/hitting the linux button. If those same windows spawn outside the upper left they work normally. Some times Iif I have a maximized window bellow the small one, and I try to grab the small window to move it by clicking and holding on the title-bar, its like the small window doesn't exist and I am suddenly moving the maximized window around instead. I turned off all of the shell extensions that I had that involve the upper left corner, but it doesn't seem to help. -- clet -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1812959746.226.1368208261498.JavaMail.sas@[172.29.252.227]
Re: download old ISO
This gave me a raging vintage-debian-boner, and to get rid of it I am now installing debian 0.93RC6 on a vm. I started with debian 2.0, I bought a book with a 1.x version of debian, but I didn't yet own a computer and never so never actually used it. Boot and Root Disks! ... ... On Fri, 10 May 2013 14:47:22 -0700 Thoreth...@datensumpf.de wrote Am 10.05.2013 23:31, schrieb Muhammad Yousuf Khan: mspajzf-+zib+vb4...@mail.gmail.com type=cite sorry i think i asked a bit confusing question, i am an old user of dabian i have been using debian since debian 5.0, now i am using squeeze 6.0 however there are few software which i am working on. and they have got a limitation to run on squeeze only and they are not yet release for Wheeze so i have to continue installing Squeeze in other systems as well. so i needed the 6.0 ISO files which i was unable to found on debian main website due to 7.0 stable release. according to this http://archive.debian.org/README i am unable to find squeeze ISO in the archives. You're right, I was searching for them now, they aren't there / hidden well. Maybe thay are on the way to a new direction, anyone knows here? Regards mspajzf-+zib+vb4...@mail.gmail.com type=cite Thanks On Sat, May 11, 2013 at 1:31 AM, Thore th...@datensumpf.de wrote: Am 10.05.2013 22:04, schrieb Muhammad Yousuf Khan: how can i download old ISO of debian.and please tell me where should i point debian squeeze repository, i need the path. Thanks MYK I can't understand what you mean, older releases you find here: http://archive.debian.org/ arre you running debian at the moment? What do you want to do? wherefore you need the squeeze repository? Would you like to install Squeeze? Regards -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/518d593e.8010...@datensumpf.de -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/232078280.795.1368228378342.JavaMail.sas@[172.29.244.248]
Wheezy Sleezy Gnome
I recently bought a laptop, it came pre-installed with wheezy (because the nvidia driver needed a newer kernel). I really dislike the new version of gnome. I feel like my expensive laptop is hobbled. It feels like a slow $100 android tablet instead of a powerful computer. I can't customize anything about the desktop. Everything is buried under layers and layers of menus and all the apps are in jumbled lists. I installed several other desktops, icewm, lxde, kde, etc. I've never really liked KDE, but it seems to have decided to go in much of the same direction gnome has (and windows 8, so maybe just maybe someone at gnome should do some serious thinking about that, if you find you are doing the same thing microsoft is doing that should be a ). I like using LXDE and some of the other alternative on older, low-power machines, but most still have a hodge-podge look that screams windows 95. Icewm was my favorite in the early 0x, but they lost me when icepref disappeared. Anywhoo. xfce looks the best of the bunch to me. My old laptop (the one I'm writing this on) has squeeze with gnome 2.30.2. Is there anyway to get an actual gnome *desktop* on wheezy sans all this metro-esque crap? -- clet debian is my main squeeze -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/930399101.1490.1366769599964.JavaMail.sas@[172.29.252.227]
Gnome Clock
The gnome clock applet's weather fuction is currently showing the temperature in Orlando, FL (OIA) is 84F. Outside my house the thermometer says it is 60F. The weather channel is reporting 59F. The gnome weather applet is reporting 61F. -- clet debian is my main squeeze -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/699307818.20718.1365253862329.JavaMail.sas@[172.29.244.248]
RE: OpenVPN and IP Forwarding
I used dia to make a png file diagram of my network. I tried to make one with text, but I couldn't understand it and I made it. I assume the list won't forward attachments, so I posted it at: http://i1309.photobucket.com/albums/s629/CletusJenkins/network_zps9f815828.png This helped a lot. Now me, I have the VPN server running on the router machine and the client on the side of the end users. But if you are the only user then this should work too, it is just a bit confusing for me. [] Anyway, here is an of my openvpn config (domain names expunged): The openvpn server side config is important too, even more, but As you said, the OpenVPN tunnel is working so it is just a routing issue. The VPN Server is a black box to me unfortunately. It is in another country. I just rent the vpn service from its owners, perhaps they could give me their server config, or at least the bits relevant to my connection to them. I hadn't thought to ask them. Mainly because the VPN tunnel works great, as long as one is logged into my router machine or the wireless laptop I am writing this from. The VPN server is just one machine, yours, and not part of another local network right? We are trying to solve a routing problem from ONE machine, the VPN server, to the network on the private network other side of the VPN right? No, I'm pretty sure the problem is between my router and the other machines on my local lan. When I bring up the VPN on the router, the connection between the router and the private network gets weird (at least to me and my limited understanding of openvpn). On your VPN server, is there a routing table line that tells it what to do with a packet for 192.168.2.0/24? It should be a line like I have 172.16.0.0 172.16.1.133 255.255.0.0 UG 0 0 0 tun0 In this case I route the entire 172.16.0.0/16 network to the other side of the VPN tunnel which uses the 172.16.1.0/16 network in my case. You should have something like 192.168.2.0 10.10.0.xxx 255.255.255.0 UG 0 0 0 tun0 Before bringing up the VPN I have this routing table (not the real routable IPs): Destination Gateway Genmask Flags MSS Window irtt Iface 66.55.44.300.0.0.0 255.255.255.252 U 0 0 0 eth1 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 66.55.44.330.0.0.0 UG0 0 0 eth1 So the next to last line points back to my local lan. When I bring up the vpn the following is the route table: Destination Gateway Genmask Flags MSS Window irtt Iface 10.10.0.1 10.10.0.33 255.255.255.255 UGH 0 0 0 tun0 10.10.0.33 0.0.0.0 255.255.255.255 UH0 0 0 tun0 77.66.55.4466.55.44.33255.255.255.255 UGH 0 0 0 eth1 192.168.2.0 0.0.0.0 255.255.255.255 UH0 0 0 eth0 66.55.44.300.0.0.0 255.255.255.252 U 0 0 0 eth1 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 10.10.0.33 0.0.0.0 UG0 0 0 tun0 I still have the same route. Does the tun0 interface created by openvpn completely override the other interfaces on my router machine? My local lan is wired on a device I own, so I didn't feel a need to encrypt local traffic. Because you want to reach the 192.168.2.0 network on the other side of the tunnel, your routing table needs to know where to send those packets. This routing line can be created automatically via a push route line on the openvpn server but as you have server and client reversed have a look at an up script in your config. I have a script on one client machine that creates a few extra routing rules. In the config you need: up /etc/openvpn/dmz.up (or whatever script name you like) And the script looks like: #!/bin/sh route add -host media.tio.nl gw $5 #route add -host mailie.tio.nl gw $5 [] That way I can reach those machines via my vpn tunnel to do maintenance in stead of using the default route via the internet connection, where those ports are blocked of course. ;-) The router in your private network now needs to have similar lines to reach your client. If your machine at the other side is indeed just one machine it should use the 10.10.x.x ip-number associated with the tun interface to reach the private network. I noticed something odd after a reboot to clear any routing weirdness, I can't ping the systems on the private network from my router whether the vpn is up or not. Is this normal? Looking closer at my route table (before the vpn is started), it seem odd: Destination Gateway Genmask Flags MSS Window irtt Iface 66.55.44.300.0.0.0 255.255.255.252 U 0 0 0 eth1 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 66.55.44.330.0.0.0
Re: Download directly to outer media than local SSD
On Wed, 16 Jan 2013 09:25:01 -0800 Hormatzhan Yiltizhyil...@gmail.com wrote I'd like to download some big .iso files, and I use SSD drive.Some would recommend avoid writing big stuff (in this case, about 40G!) to SSD if possible. I have other removable hard disk(s), and if I simply choose the target directory to the removable hard disk, can I assure myself I am not writing download data (including the cache/buff* stuff) to my SSD? Does this differ when using wget and web-browser's download? I'm pretty sure wget will only write to the output directory you specify (or the $PWD), but not as sure when using a browser. But from my my experience, firefox at least, it downloads to the directory you specify (when choosing save link as) and not its web cache and then later just moves it over as a last step. As it downloads in firefox, you should see the filename created as a placeholder and the same filename with a .part extension in the location you specify. It writes the downloading data to the .part file then after it is completely downloaded it removes the extension. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1463360888.9225.1358359692258.JavaMail.sas1@[172.29.254.227]
OpenVPN and IP Forwarding
i have a machine with an internet connection, it acts as a router for other systems on a private network (192.168.2.0/8). I setup a VPN client with openvpn on this machine, the VPN works perfectly, but when connected to the VPN the machine does not route for the private network systems. I can ping the machine from the private network, but not the other way around. I don't understand why I lose this connection. I have a webserver running on the machine and I can view its websites from the private network when the VPN is running, but I can't seem to initiate a connection from the machine to the private network. Below is my routing table: (replaced the IP the VPN uses with 99.88.77.66 and the real IP of the system with 11.22.33.44 and its gateway with 11.22.33.40): Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 10.10.0.110.10.0.249 255.255.255.255 UGH 0 0 0 tun0 99.88.77.66 11.22.33.44255.255.255.255 UGH 0 0 0 eth1 192.168.2.0 0.0.0.0 255.255.255.255 UH0 0 0 eth0 10.10.0.249 0.0.0.0 255.255.255.255 UH0 0 0 tun0 11.22.33.40 0.0.0.0 255.255.255.252 U 0 0 0 eth1 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 10.10.0.249 0.0.0.0 UG0 0 0 tun0 I searched and found some instructions with iptables commands that would allow ip forwarding over the VPN, but it didn't seem to make any difference: iptables -A FORWARD -s 192.168.2.0/8 -o eth1 -j ACCEPT iptables -A FORWARD -s 192.168.2.0/8 -o eth1 -j ACCEPT iptables -t nat -A POSTROUTING -s 192.168.2.0/8 -o eth1 -j MASQUERADE eth0 is the private network interface and eth1 is the real IP. Thanks for any tips. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/653296968.3261.1358243191686.JavaMail.sas@[172.29.249.242]
RE: OpenVPN and IP Forwarding
On Tue, 15 Jan 2013 02:23:29 -0800 Bonno Bloksmab.blok...@tio.nl wrote Hi, I have a machine with an internet connection, it acts as a router for other systems on a private network (192.168.2.0/8). I setup a VPN client with openvpn on this machine, the VPN works perfectly, but when connected to the VPN the machine does not route for the private network systems. I can ping the machine from the private network, but not the other way around. I don't understand why I lose this connection. I have a webserver running on the machine and I can view its websites from the private network when the VPN is running, but I can't seem to initiate a connection from the machine to the private network. Look at the following: Do the clients connecting via the VPN know what the ip-numbers are on the other side? Do they know to send that traffic via the vpn tunnel and not to the default gateway on the cient? Does the webserver know what to do with the ip-numbers coming from the vpn tunnel? If it sends the answer to the default gateway does the answer end up on a machine that knows what to do with it? I have a route table entry to the private network, so after openvpn makes its tun0 interface the default gw, anything heading for 192.168.2.0/8 should work as before, but it doesn't quite work. Those are the most common problems with VPN traffic. Look at something like push route 192.168.2.0 255.255.255.0 in your cfg file on the server to tell the clients where to send traffic. I searched and found some instructions with iptables commands that would allow ip forwarding over the VPN, but it didn't seem to make any difference: iptables -A FORWARD -s 192.168.2.0/8 -o eth1 -j ACCEPT iptables -A FORWARD -s 192.168.2.0/8 -o eth1 -j ACCEPT iptables -t nat -A POSTROUTING -s 192.168.2.0/8 -o eth1 -j MASQUERADE Masquerading tricks on a VPN are usually only needed if the other side is ALSO using the same, in this case 192.168.2.0, network. Bonno Bloksma I could be misunderstanding both your suggestions and the situation I am trying to get working... so bear with me. The machines (on the private network) don't know anything about the VPN. My router, the box running openvpn, is just a VPN client to an external server. This external server provides me an encrypted tunnel and from there traffic reaches the internet. Before installing openvpn, the machines on the private network could reach the internet via my router. I am hoping for the same ip forwarding to work as before (without any configuration on those private machines) I just want their traffic to be forwarded through the VPN by my router. I thought if I just configured the VPN properly the traffic from the private network would just be forwarded (along with all other traffic) through the VPN tunnel. Is this a reasonable expectation? What really seems weird to me is when I bring up the VPN I can't get to the private network machines from my router, but the private machines can ping and use web and other services running on my router. Maybe I should try using the tun0 interface created by openvpn in those iptables commands rather than eth1. Thanks. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1602576786.2590.1358273391617.JavaMail.sas1@[172.29.252.227]
Re: Install from DVD set
cletusjenkins to Ralf Mardorf On Tue, 15 Jan 2013 08:22:08 -0800 Ralf Mardorfralf.mard...@alice-dsl.net wrote On Tue, 15 Jan 2013 16:10:45 +0100, berenger.mo...@neutralite.org wrote: Le 15.01.2013 15:12, Ralf Mardorf a écrit : If you now will install a package with dependencies, Synaptic will ask you to insert Disc x of y, IOW you now are a DJ ;). Maybe he can make some iso files from DVD, auto mount them at start-up, to avoid to become Charlie Chaplin of computers? :D http://www.cyberciti.biz/tips/how-to-mount-iso-image-under-linux.html I don't have synaptic at hand right now, I don't know if it's possible to add loop device or repositories on an internal hard disk to synaptic's/apt's repos. I found this old posting that describes using images of your disks with apt: http://lists.debian.org/debian-user/2002/07/msg05541.html here's the relevant text from it: if you have enough diskspace, just copy all the ISO images to your disk. 1. Edit your fstab to read... /cd-image-dir/disk1.iso /debian-disks/1 iso9660 defaults,ro,loop 0 0 /cd-image-dir/disk2.iso /debian-disks/2 iso9660 defaults,ro,loop 0 0 ... /cd-image-dir/diskXX.iso /debian-disks/XX iso9660 defaults,ro,loop 0 0 2. Edit your sources.list to read: deb file:/debian-disks/1/debian main sections that you want deb file:/debian-disks/2/debian main sections that you want ... deb file:/debian-disks/XX/debian main sections that you want 3. apt-get update Now you will be able to do everything without having to pop in your CDs everytime. HTH, -Suraj -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/200265951.2776.1358277510651.JavaMail.sas@[172.29.252.227]
Re: OpenVPN and IP Forwarding
This is a good clarification. But still confusing. I think you need to give us a block diagram or picture of things. Because in the above it reads like you have two machines in your path where most of us would have only one. Because you say that you vpn to a server and that server you vpn'd to provides you access to the internet. If you are not using the internet to get to that server then I can only assume that you have yet another private lan segment between. I used dia to make a png file diagram of my network. I tried to make one with text, but I couldn't understand it and I made it. I assume the list won't forward attachments, so I posted it at: http://i1309.photobucket.com/albums/s629/CletusJenkins/network_zps9f815828.png If there is a better way to share things like this to the list let me know. I only have one router. I buy a service from a company that gives me an encrypted tunnel to their site and access to the rest of the internet from there. I'd mentioned their name/wesbite since that would probably make it clearer, but I didn't want to do advertising for them here. The extra overhead is the point, everything is encrypted from me to them and their site is in a foreign jurisdiction and obfuscated by thousands of other user's traffic. This is a big brother''ll take my internet from my cold dead hands, kind of deal. Anyway, here is an of my openvpn config (domain names expunged): client dev tun proto tcp remote ca.vpn.namehidden.com 1194 resolv-retry infinite nobind persist-key persist-tun ca /etc/openvpn/namehidden.ca.crt verb 3 mute 3 auth-user-pass mute-replay-warnings float reneg-sec 0 auth-user-pass pass.word I connect to the internet via a DSL line, the private network machines reach it through the router machine. I just want the private machines traffic to pass through the VPN like traffic generated on my router machine itself. The thing I don't understand is when I bring up the VPN link, I lose the ability to ping or otherwise connect from my router machine to the local lan (192.168.2.0/8) machines. But the VPN works fine from the router machine, I can do everything I normally would do on the internet. From machines on that lan I can ping my router and use services running on it, but they cannot reach the internet when the VPN is connected (connected meaning openvpn is running on my router, not the other systems). In my mind (...heh...) traffic that comes in via ip forwarding should go out the default gateway whether that is a DSL connection or a VPN running over that DSL link. I have to think the loss of connectivity from my router back to the private network is the crux of the problem or at least a major symptom of it. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/44759037.5020.1358284495749.JavaMail.sas2@[172.29.254.227]
OpenVPN
I'm trying to connect to a VPN service via openVPN. When I try to connect (via network manager's gui) I get an error saying the openvpn service is not running. I do not see any errors in messages, syslog, daemon.log or dmesg about this. When I manually start the service it just says that it is starting, but nothing else. However running ps -ef shows no new processes. Stopping the openvpn service makes no difference in the process list either. I've restarted network-manager and even rebooted to ensure everything is loading properly, but to no avail. To get to my current state i installed: sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome I created the VPN connection with the instructions from the VPN service, but since I can't get the OpenVPN software to even run I don't know what help they can provide. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/532754373.125.1346317823183.JavaMail.sas@172.29.251.230
Re: OpenVPN
On Thu, Aug 30, 2012 at 02:06:17AM -0700, cletusjenkins wrote: I'm trying to connect to a VPN service via openVPN. When I try to connect (via network manager's gui) I get an error saying the openvpn service is not running. I do not see any errors in messages, syslog, daemon.log or dmesg about this. When I manually start the service it just says that it is starting, but nothing else. However running ps -ef shows no new processes. Stopping the openvpn service makes no difference in the process list either. I've restarted network-manager and even rebooted to ensure everything is loading properly, but to no avail. To get to my current state i installed: sudo apt-get install openvpn network-manager-openvpn network-manager-openvpn-gnome I created the VPN connection with the instructions from the VPN service, but since I can't get the OpenVPN software to even run I don't know what help they can provide. Try adding the following lines to your server's vpn *.conf file: verb 3 log-append /tmp/openvpn.log and restart the openvpn service. If the file doesn't appear then you may have a syntax error in your config. If the file does appear, check it for errors. I don't quite follow what you are advising me. I don't have any vpn *.conf file at least not in /etc/, I'm not running a vpn server, I'm just trying to connect to an existing vpn server outside of my control. When I try to connect to the VPN, it says the connection fails because the openvpn service isn't running. I've tried running a dpkg-reconfigure on openvpn, but it doesn't ask for any configuration options from me, so whatever it sets up must be vanilla default settings. From the error message I thought the openvpn service would need to be running to support my outward connection, but wouldn't need any local configuration (other than the VPN certificate and settings I got from the company I signed up, which I entered into the network-manager's VPN gui). (Oh, and BTW this is all on stable) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1421832127.847.1346334557006.JavaMail.sas@172.29.244.248
Re: OpenVPN
Whether you are acting as a server or a client you need to have a config file (.conf) in the /etc/openvpn directory (wich is the default location where the openvpn service will look for .conf files and will try to start those connections automatically when the service is started). Check if there is one. In case there is one, you can open a console and try to start the connection manually so you could see if it throws any errors with the following command: # openvpn /etc/openvpn/.conf If there is no .conf file, you need to set one up. Check for examples at the openvpn.net site (http://openvpn.net/index.php/open-source.html). Cheers! Fred. thanks for the reply. I've built a *.conf file, 99% of it is the example file for a client from the link, my changes were to make it: use tcp (told to by the VPN company) the hostname to connect and port (from the company) to use tun (when I tried it with tap it acted like it connected, but it totally shutdown my internet connectivity, can't find any advice on this from the company) then I appended the following: log-append /tmp/openvpn.log auth-user-pass ca /etc/openvpn/companyname.ca.crt The last line above is the ca the company told me to download and save. I can now start openvpn as you suggest, I can still browse, but I am not going through the VPN (sites that tell you your IP address, show my actual IP not the VPN's) Here is the output in the openvpn.log: Thu Aug 30 17:03:00 2012 OpenVPN 2.1.3 i486-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Feb 20 2012 Thu Aug 30 17:03:08 2012 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. Thu Aug 30 17:03:08 2012 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables Thu Aug 30 17:03:08 2012 LZO compression initialized Thu Aug 30 17:03:08 2012 Control Channel MTU parms [ L:1576 D:140 EF:40 EB:0 ET:0 EL:0 ] Thu Aug 30 17:03:08 2012 Socket Buffers: R=[87380-131072] S=[16384-131072] Thu Aug 30 17:03:09 2012 RESOLVE: NOTE: vpn.companyname.com resolves to 10 addresses Thu Aug 30 17:03:09 2012 Data Channel MTU parms [ L:1576 D:1450 EF:44 EB:135 ET:32 EL:0 AF:3/1 ] Thu Aug 30 17:03:09 2012 Local Options hash (VER=V4): '31fdf004' Thu Aug 30 17:03:09 2012 Expected Remote Options hash (VER=V4): '3e6d1056' Thu Aug 30 17:03:09 2012 Attempting to establish TCP connection with [AF_INET]95.211.149.152:1194 [nonblock] Thu Aug 30 17:03:10 2012 TCP connection established with [AF_INET]95.211.149.152:1194 Thu Aug 30 17:03:10 2012 TCPv4_CLIENT link local: [undef] Thu Aug 30 17:03:10 2012 TCPv4_CLIENT link remote: [AF_INET]95.211.149.152:1194 Thu Aug 30 17:03:10 2012 TLS: Initial packet from [AF_INET]95.211.149.152:1194, sid=9c3a1f31 9ecb2837 Thu Aug 30 17:03:10 2012 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this Thu Aug 30 17:03:12 2012 VERIFY OK: depth=1, /C=DE/ST=Hesse-Nassau/L=Frankfurt/O=BTGuard/CN=BTGuard_CA/emailAddress=supp...@btguard.com Thu Aug 30 17:03:12 2012 VERIFY OK: depth=0, /C=DE/ST=Hesse-Nassau/L=Frankfurt/O=BTGuard/CN=server/emailAddress=supp...@btguard.com Thu Aug 30 17:03:13 2012 WARNING: 'dev-type' is used inconsistently, local='dev-type tap', remote='dev-type tun' Thu Aug 30 17:03:13 2012 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1576', remote='link-mtu 1543' Thu Aug 30 17:03:13 2012 WARNING: 'tun-mtu' is used inconsistently, local='tun-mtu 1532', remote='tun-mtu 1500' Thu Aug 30 17:03:13 2012 WARNING: 'comp-lzo' is present in local config but missing in remote config, local='comp-lzo' Thu Aug 30 17:03:13 2012 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key Thu Aug 30 17:03:13 2012 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication Thu Aug 30 17:03:13 2012 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key Thu Aug 30 17:03:13 2012 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication Thu Aug 30 17:03:13 2012 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA Thu Aug 30 17:03:13 2012 [server] Peer Connection Initiated with [AF_INET]95.211.149.152:1194 Thu Aug 30 17:03:16 2012 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1) Thu Aug 30 17:03:16 2012 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 8.8.8.8,redirect-gateway,route 10.10.0.1,topology net30,ping 20,ping-restart 240,ifconfig 10.10.0.170 10.10.0.169' Thu Aug 30 17:03:16 2012 OPTIONS IMPORT: timers and/or timeouts modified Thu Aug 30 17:03:16 2012 OPTIONS IMPORT: --ifconfig/up options modified Thu Aug 30 17:03:16 2012 OPTIONS IMPORT: route options modified Thu Aug 30 17:03:16 2012 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified Thu Aug 30 17:03:16 2012 WARNING: Since you are using --dev tap, the second argument to --ifconfig must be a
Re: OpenVPN
-- clet debian is my main squeeze On Thu, 30 Aug 2012 12:42:15 -0700 Joej...@jretrading.com wrote On Thu, 30 Aug 2012 20:41:00 +0200 Registros Web registros@gmail.com wrote: Network Manager can handle most OpenVPN configuration options, and is a viable alternative to using a command-line invocation with a configuration file. As long as you don't get too exotic, and the server admin is aware of the NM plugin's current limitations. I use NM on Ubuntu 10 to connect to an OpenVPN server on Squeeze. Assuming the OP has been given the correct configuration details to be used with NM, I think this problem is likely to be caused by a network blockage of some kind, possibly a workstation firewall, or even a misspelled URL. As long as the client can see the server, which appears not to be the case here, some sort of useful error message should be produced, not just 'I can't see it'. -- Joe thanks for the reply. This is what I sort of assumed (sorry, I didn't really know anything about openvpn before trying to set this up), but the weird thing is when I try to connect to the VPN via the gui, immediately it comes back with a failure, complaining about the openvpn service not running. It doesn't take a second to grind on DNS or anything, just immediately it comes back with a failure message. When I tail the log file I setup, and start openvpn with the conf file, it takes a good 20-30 seconds to go through the process. One unusual thing I noticed is if I just do a generic /etc/init.d/openvpn start, the service now starts and keeps running (still not working, but it did ask for my vpn user and password), but if I start it by specifying the conf file directly with openvpn /etc/openvpn/company-name.conf it goes through the same motions, but then the service terminates right away. If I try to start the vpn settings in the network-manager gui after starting it via init.d I get zero error messages, but also doesn't work. Thanks. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/130581003.2342.1346362695949.JavaMail.sas2@172.29.254.227
Re: OpenVPN
On Thu, 30 Aug 2012 14:45:08 -0700 Joej...@jretrading.com wrote On Thu, 30 Aug 2012 14:16:07 -0700 cletusjenkins cletusjenk...@zoho.com wrote: Does using the gui normally work? Yes, as I posted earlier, I use Network Manager on a now somewhat old Ubuntu to connect to OpenVPN on squeeze. I mostly use it at free WiFi locations, to route traffic through my home server. But I did have the advantage of installing and configuring the server as well as the clients, and could connect them with Ethernet cables until all was well. OpenVPN is one of those things where a large number of ducks need to be carefully aligned before it works. After that, it Just Works forever, or at least until the certificates expire. -- Joe That sounds good, at least once I get it rolling, it should keep on keeping on. You can't beat that. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1751939068.829.1346364232097.JavaMail.sas@172.29.251.230
Re: Power Issue
On Fri, 24 Aug 2012 08:24:12 -0700 Camaleón wrote On Thu, 23 Aug 2012 22:47:24 -0700, cletusjenkins wrote: I have a problem with my laptop. When the battery runs down the system won't shut down automatically. I am running stable with gnome. hanks. Does it work if you manually configure an on lid close event → shutdown and then close the lid of your laptop or this fails in the same way? It can be some sort of bug from gnome-power-manager. Wow, there are indeed many bugs reported :-O http://bugs.debian.org/cgi-bin/pkgreport.cgi?package=gnome-power-manager I would take a carefully read on those that are related to your problem and see if there's any bypass that can work for you :-? Greetings, -- Camaleón I didn't think of that test. I tried it and it does indeed shutdown. I'll check out the bugs you mentioned. I don't see an option that lets you specify when to shutdown in the power manager gui, it just says critically low. Is there a file I can manually set it to shutdown sooner maybe my battery suddenly dies? I've watched it and it does not seem to even start shutting down before the power dies. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1812589135.3336.1345933772399.JavaMail.sas@172.29.252.227
Power Issue
I have a problem with my laptop. When the battery runs down the system won't shut down automatically. I am running stable with gnome. The power manager detects the battery and reports the charge level correctly. I have the options setup such that it should shutdown when battery is critically low (and have clicked to make that the default settings for the entire system). I have checked that the bios doesn't have any power options disabled, etc, but still it fails to shutdown. I've watched it just sit there and die once the spice stops flowing, so I know it isn't dying while a shutdown is in progress. (I am logged in as well). Thanks. -- clet debian is my main squeeze -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/239748760.1762.1345787545039.JavaMail.sas1@172.29.252.227
Re: default directory locations
Thanks so much, that was exactly what I was looking for. On Tue, 24 Jul 2012 01:43:09 -0700 Armin Haas wrote Take a look at xdg-user-dirs (and xdg-user-dirs-gtk if your DE is gtk-based). Cheers Armin -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1058555466.7354.1343147095907.JavaMail.sas1@172.29.254.227
default directory locations
This is a ridiculously simple question, but my searches are not turning up what I'm looking for. Where are the default folders the system puts in your home directory defined at? I don't mean the dot rc files, but Desktop, Documents, Downloads, Pictures, Templates, etc. I don't need most of them so I deleted them except for Download and Desktop. I do want them, but I also want to rename them. It seems most apps that allow you to download or save a file will automatically default to putting it in Downloads. So I don't want to go into the preferences of all my apps individually, is this set in the gnome, /etc/skel/, alternatives or somewhere else I could change it and have all apps know about the change? Thanks. -- clet debian is my main squeeze -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/665779022.9869.1343094317742.JavaMail.sas1@172.29.252.227
Re: drive labels
I add one line to /etc/fstab for each labeled usb external drive like the following: LABEL=gflx1 /media/gflx1ext3rw,user,noauto 0 0 And I create the named mount point in /media with: mkdir /media/gflx1 I have my own system of choosing label values mnemonic-letter-groupdigits, but you can create your own system. (gflx is a contraction of Seagate GoFlex) Don't try to use labels that are informative of the contents of the drive. You can easily maintian a text database of label contents. If you choose to have the label never change, then the extra work of adding a line to /etc/fstab is done only once when a new device is originally acquired and adds very little to the drill of writing and ext3 file system onto the partition Avoid giving two devices the same LABEL. The text database is a good aid in this. Its also a good idea to write the LABEL on a stickum label and place the stickum label on the device. HTH -- Paul E Condon pecon...@mesanetworks.net Thanks for your reply. I never thought of trying to specify these drives in the fstab file. I would have thought that doing so would hose-up the auto-mounter. But I'll give it a try. These are little 1TB drives that get their power via the USB cable, so the first thing I do when I get one is slap an old VHS label (the one for the top of the tape not the long one for the edge) on the back of the drive to catalog what it is for. I haven't bought a VHS tape in at least 9 years, but like a mental patient I've kept every single extra label I ever bought for every single type of media I've used. I even have extra labels for the 8 floppies I used with a mini-computer my school had. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1027613247.39640.1341641018914.JavaMail.sas1@172.29.244.248
Re: getting gnome 3
You'll have to use Gnome3. You can use it in Gnome Classic mode (fallback) for now, but it has been strongly hinted that that option won't be available for much longer. I've switched to XFCE, as Gnome3 was too much of a PITA to try and use on my laptop (I used pinning to keep Gnome2 as long as possible, but was missing out on important updates). XFCE is sufficiently Gnome2 like for me, once I'd tweaked a few things. -- Dom Yes, it seems both Gnome and KDE want to become eye-candy, touchscreen shells to launch apps instead of a fully functional desktop for a graphical workstation. I lost faith in gnome when they rolled out gdm3. They removed a shit-ton of nice features and customizability to make a dumbed-down, microsoft-esque blandness for what seems to me no good reason. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1719029773.1409.1341642341675.JavaMail.sas2@172.29.244.248
Re: drive labels
These symptoms match exactly to Tixy's suggestion, could you please at least show us your /etc/fstab? Kind regards, Andrei Ah, you are right, I completely misunderstood what Tixy was saying! I went to try what Paul Condon suggested I saw the line specifying /media/usb0 as the mount point. I've looked at the fstab several times but never noticed it. DOH! Thanks everyone. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/862742497.13100.1341715175668.JavaMail.sas@172.29.252.227
drive labels
I have several USB external drives. I have them formatted as ext3 and have assigned them labels (via tune2fs -L). All of my labels are made up of letters no numbers, spaces or other special characters. When I connect a drive, it's label is displayed correctly in gnome (on the desktop and when browsing in nautilus), but the devices is mounted as /media/usb0. If I connect another, it will show up in the GUI correctly and it actually gets mounted using the label name (/media/filebackup). Is there a way to get my system to mount the drive with the label instead of usb0? -- clet debian is my main squeeze -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1072733254.1958.1341597467185.JavaMail.sas2@172.29.254.227
Re: drive labels
I often see this when I install Debian on a PC using a USB stick. The installer seems to put an entry in /etc/fstab to mount /dev/sdb at /media/usb0. I just delete this line. -- Tixy Thanks for your reply. I'm not sure if that is the problem I am having, I installed from a CD to an SATA harddrive. The USB drives I have are just for files I can't fit on the internal HD that I boot from. What my issue boils down to is whenever I plug in one of these drives, the automounter ignores the label on the first drive I attach, any subsequent drives work as I expect them to (using the label as a mount point). It doesn't matter which drive I attach, it always just uses /media/usb0 for the first. If I dismount it and then attach another, the 2nd drive gets the /media/usb0 mount point. If I then reattach the first drive, it gets mounted using the label. The automounter just acts weird with the first device I attach. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2253221.28033.1341639949497.JavaMail.sas1@172.29.254.227
Logging question
I have a machine that is locking up every few days. It doesn't seem to be doing much when it happens, nor do I see anything in the syslog or messages files. Is there any way to enable extra logging to try to catch what is going wrong? Thanks. -- clet debian is my main squeeze -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/86376538.854.1335481850857.JavaMail.sas1@172.29.249.242
scsi Install problem
I am trying to reinstall an older machine with an Advansys SCSI host adapter and not having much luck. I have two of the same model adapters and both have the same issues. When I boot without either in the machine, it gets well past my error/stopping point. I'm booting off of the CD 1, I downloaded it 2 days ago, its worked with another box I reinstalled yesterday (replacing a sarge install, cleaning out the basement). I've tried different options expert install and rescue, etc and they all seem to go awry just after the kernel boots, it recognizes all the hardware including the scsi adapter. But at some point there is a scsi bus reset warning then it never seems to complete, it just keeps resetting and failing. The errors messages cycle and repeat: scsi host0: error: init_state 0x1f, warn 0xfffe, error 0x0 firmware: requisting advansys/mcode.bin Failed to load image advansys/mcode.bin err -2 scsi 0:0:0:0: SCSI bus reset started... The internet seems to say this is a firmware issue, and suggests obtaining mcode.bin and place it where debian expects it to be, but I don't know where that is (on my laptop I assume /lib/modules/2.6.32-5-686/kernel/drivers/scsi/), but it would be a little hard to place it since this is the install CD and not an existing system. Can I mount the CD image and just add the file and burn it to disk? Would I put the file in a directory or would the installer expect it to be bundled in a deb/udeb file? Even so the internet also seems skeptical that this will actually work, but I couldn't find any reason why that is. Thanks for any pointers. I'm hoping to build a box with every type of scsi interface from ultra2 LVD down to this advansys with an internal 50-pin connector and external 25 pin D-sub connector. I can finally go through all my old scsi hard drives and then actually throw something away! -- clet debian is my main squeeze -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1367df6e203.6760854228242017363.-7788772350289868...@zoho.com
oggenc question
Sorry for this not truly being a debian question, but after googling and duckduckgoing I didn't find a good solution and thought I would ask here. I'm trying to embed an image in my existing sound (ogg vorbis) files. I did find a script that makes it a little easier, but no info on how to encode the image file in the right format. In case anyone wants the script here it is (oggart): Thanks. #!/bin/sh # how to run: oggart /path/to/music_file.ogg /path/to/image_file # add an -e to end of command line to use easytag's older way to embed FILE1=`basename \$1\` EXT1=${FILE1##*.} EXTTYPE1=`echo $EXT1 | tr '[:upper:]' '[:lower:]'` FILE2=`basename \$2\` EXT2=${FILE2##*.} EXTTYPE2=`echo $EXT2 | tr '[:upper:]' '[:lower:]'` OGG= if [ $EXTTYPE1 = ogg ]; then OGG=$1 elif [ $EXTTYPE2 = ogg ]; then OGG=$2 fi if [ $OGG = ]; then echo no ogg file selected exit 0 fi PIC= array=(jpeg jpg png) for item in ${array[*]} do if [ $item = $EXTTYPE1 ]; then PIC=$1 elif [ $item = $EXTTYPE2 ]; then PIC=$2 fi done if [ $PIC = ]; then echo no jpg or png file selected exit 0 fi if [ $3 = -e ]; then EASYTAG=Y else EASYTAG=N fi DESC=`basename $PIC` APIC=`base64 --wrap=0 $PIC` if [ `which exiv2` != ]; then MIME=`exiv2 $PIC | grep 'MIME type ' | sed 's/: /|/' | cut -f 2 -d '|' | tail -n 1` fi if [ $MIME = ]; then MIME=image/jpeg fi vorbiscomment -l $OGG | grep -v '^COVERART=' | grep -v '^COVERARTDESCRIPTION=' | grep -v '^COVERARTMIME=' | grep -v 'METADATA_BLOCK_PICTURE=' $OGG.tags if [ $EASYTAG = N ]; then echo METADATA_BLOCK_PICTURE=$APIC $OGG.tags2 else echo COVERART=$APIC $OGG.tags2 fi vorbiscomment -w -R -c $OGG.tags2 $OGG vorbiscomment -a -R -t COVERARTDESCRIPTION=$DESC $OGG vorbiscomment -a -R -t COVERARTMIME=$MIME $OGG vorbiscomment -a -R -c $OGG.tags $OGG rm -f $OGG.tags rm -f $OGG.tags2 -- clet debian is my main squeeze -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/13628d89f83.-7717398486233116943.7449711853116396...@zoho.com
transmission
Is there any problems in general with bittorrent lately? I tried to launch transmission yesterday and this evening and had issues. I see no traffic up or down, and when it starts up all my torrents are paused, even the ones I'm just seeding. I start them and I check later and they are all paused again. transmission, et al are fully updated squeeze. -- clet debian is my main squeeze -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1354b0eaff4.3435447142479107910.9177867902510523...@zoho.com
Re: Two CD-DVD writers and Debian Lenny
It can be just the drive went bad :-? I have an old cd-drive disk cleaner with a brush that knocks any dust from the laser emitter. If you don't have one perhaps a blast from a compressed gas canister could do the trick. Or just simply bend over and try it manually. I'd double check that no one nearby is holding a cellphone camera just before hand though. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1353a8b430e.6220668078156282626.-1385113404624593...@zoho.com
Re: Python
Also be sure to check out this web framework too, one of the best I've ever worked with: https://www.djangoproject.com/. Cheers, Sylvain Thanks everyone, I will begin reading the suggested links and docs this weekend. Let hope I don't end up adding any root-able holes to the server when I start generating code. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1353a96c39f.-8437673420845885967.-3476221048232366...@zoho.com
Re: VNC into a Debian Machine
On Tue, 31 Jan 2012 11:16:46 -0800 James Allsoppjamesaalls...@googlemail.com wrote Hello, I really want to be able to use VNC to be able to view the full Gnome desktop on my laptop. I've been able to view a grey screen and a terminal, using vnc4server and tigervnc or vinagre, but what I'd like to be able to do is just view a whole screen as if I was actually there. I'd like avoid xdmcp if possible, as it would be great to use it from anywhere, rather than just locally, Any suggestions, pointers to good tutorials welcome! Thanks James Have you tried installing the vino package? It seems to do exactly what you are wanting. It looks like when you start vncserver the .xsession file for it doesn't have a window manager setup to start or perhaps it has a really basic one like tab. I haven't used vncserver in a few years, so I forget how you define its equivalent of .xsession, sorry. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/13535b230c0.-5878904669844352650.4142003242856692...@zoho.com
Python
Hello, I am interested to learn how to program in Python. What debian packages would I need to start coding some basic cgi in apache? Thanks.
Re: Wireless connection not working
On Tue, 31 Jan 2012 14:11:23 -0800 Gustavo J Mata wrote This is the info for the card: Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05) I installed the ipw2200 driver. Have you installed firmware-linux-nonfree package? Mine is also an intel chipset, but a different model. Mine wouldn't work without the non-free firmware. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/13535d60013.-3205698684762772075.-261960046096463...@zoho.com
Re: Python
Excellent, I'll check them out. Not to start a flame-war between python 2 and 3 supporters, or even get too much into python-specifics on a debian list but should I go with version 2 or just jump into 3? Does it matter? On Tue, 31 Jan 2012 14:56:27 -0800 Wayne Topa wrote On 01/31/2012 04:24 PM, cletusjenkins wrote: Hello, I am interested to learn how to program in Python. What debian packages would I need to start coding some basic cgi in apache? Thanks. There are 2 python book packages: diveintopython which covers Python 2 and diveintopython3 which covers Python 3 Use apt-cache search to see there description like this apt-cache show diveintopython HTH WT -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4f28719b.4080...@gmail.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1353642fd1f.-2961075132616431621.-4620949629938089...@zoho.com