Debian GNU/Linux Community's Journal|
[Most Recent Entries]
Below are the 20 most recent journal entries recorded in
Debian GNU/Linux Community's LiveJournal:
[ << Previous 20 ]
[ << Previous 20 ]
|Wednesday, October 24th, 2012|
X11 gui programming - suggestions please
I am working on a hobbyist project to generate a coded text file based on
I am using C++, and MVC design pattern(s). Have decided it will be licensed GPL v3.
For the GUI (view the user will interact with) I am researching gtk,
curses, and such, but never have used any of them before on a project.
Hoping my fellow Debian LJers (might x-post to the LJ linux grp, too) might have ideas/suggestions based on your
experience doing GUI programming.
I dont' think I will need to draw graphics or images. At this stage I
expect my GUI would just need to view/display/intake keyboard text.
Btw, I asked my SGVLUGers, and have the following as suggestions so far (in no particular order):
gtk + glade
Thanks Current Mood: geeky
|Saturday, April 21st, 2012|
Debian repos chocked - a half decent solution
It's been noticed by many complaining of the traffic being chocked that the perpetrators are testing shy, - whenever a testing program that is advertising it's presence is used - the chocking stops.
In the case of Debian Aptosid mirrors i am having problem with, i have bein pinging an unrelated site, just to keep the connection alive.
The last two days i did both updates and upgrades while pinging the actual hubs - the ones i could see through traceroute. What do you know - quite a success. The speed so far keeps quite constant and close to normal.
So, the moral, at this stage, until they scratch their buts again, is - if you notice throttling on file downloads (i can't say anything of uploads, and torrent therefore) - try pinging at the same time the hubs.
By the way, two days later, my post with documentation of the TCP disruptions in the debian community is being "moderated". Way to go. With all the activity on this bustling busy forum, it is akin to showing up with your chips and beer on your favorite abandoned playground to find all those guys (and gals) in nice uniforms wearing latex gloves, with metal detectors and anal probes at hand.
Spread them, now!
|Friday, April 20th, 2012|
Is Sid Debian?
I know Debian community is supposed to be moderated. I would assume for some sort of spam and indecent code monkeys. I have made four posts to Debian community. Every one of them posted immediately.
I am very curious what would make it necessary to moderate the post about an ISP preventing downloading upgrades for one particular Linux distribution. I have seen people posting trace logs before, and domain registration details. Of course i am wondering whether apto sid is so evil, that it has to be stopped by all means, and i am the only ignorant one here. You know, old people tend to worry about such things.
SO, please tell me whether i am using some evil Linux distribution and should stop immediately, before it is too late for me.
|Tuesday, April 17th, 2012|
Block Verizon Reset packets?
Well, it's official. Verizon DSL is blocking a normal use of all the Aptosid mirrors. In two seconds after connection (apt-get update, upgrade, or install) a flood of TCP RST breaks the connection. The only way i am getting (a very slow) upgrades is by running a continuous ping of some other site at the same time. This seems to reset the connection again and again.
It should be mentioned that i see no such blockage on Ubuntu, Debian or Arch mirrors.
I know that iptables –tcp-flags RST RST -j DROP Is one possible solution.
How can it be applied to apt-get use? Any ideas? I do use sudo for all apt-get commands.
I do hate them throttling videos that disagree with some "official" policies, but can live with that. However blocking a normal use of linux distribution feels like they are looking up my ars from the toilet bowl...
|Wednesday, March 21st, 2012|
Debian stable net install to a gateway mx6214
Was having trouble installing Debian stable into my wife's Gateway MX6214 laptop. It has a Fujitsu 80Gb harddrive.
Symptoms: would get part way through the 'installing packages' step, then system would go blank screen and seem to be locked up.
Tried many times.
Solution that worked for me:
Changed the default partitioning (suggested by the installer) from 3.3Gb swap and rest to '/', to make the '/' partition about 1/2Gb smaller than the default the installer was going to use, leaving a little free space on the harddrive.
Wrote the changed partition sizes to disk, then did the rest of the install in the normal (default) way.
Writing this post from the newly Debian laptop itself :)
To get wireless to work:
1. update /etc/apt/sources.list to include 'contrib':
squeeze main contrib
2. sudo aptitude install wireless-tools
3. sudo aptitude install firmware-b43-installer
Then I was able to add my WEP key to the network icon/applet in the upper right corner, and be connected to my home wireless network.
|Friday, February 17th, 2012|
Adobe Flash - Debian - Iceweasel - how to update
"Adobe has released updates for Flash Player closing seven holes in the application. Six of the holes can be exploited to allow an attacker to infect a PC using crafted web pages. The seventh is a cross site scripting hole that Adobe says is already being exploited in "active targeted attacks". The attacks, which are only aimed at Internet Explorer on Windows, try to trick the user into clicking on a malicious link. Adobe say the hole "could be used to take actions on a user's behalf on any website or webmail provider, if the user visits a malicious website".
Flash Player version 184.108.40.206 and earlier on Windows, Macintosh, Linux and Solaris, version 220.127.116.11 and earlier for Android 4.x, and version 18.104.22.168 and earlier for Android 3.x and 2.x are all affected. Desktop Flash users should update to 22.214.171.124 by downloading it from Adobe's site. Android 4.x users should update to 126.96.36.199 and Android 3.x and 2.x users should update to version 188.8.131.52 by browsing to the Android Market Place for an update."http://www.h-online.com/security/news/item/Flash-Player-update-plugs-exploited-hole-1435494.html
robert@pip:/tmp$ gunzip install_flash_player_11_linux.i386.tar.gzThen R-click on a flash movie, (a youtube music video, for example) and in the "About" section you'll see the version number. Confirm it is the latest version number f/t/Adobe site ;) Current Mood: geeky
robert@pip:/tmp$ tar -xvf install_flash_player_11_linux.i386.tar
robert@pip:/tmp$ locate libflashplayer.so
robert@pip:/tmp$ sudo rm /usr/lib/mozilla/plugins/libflashplayer.so
robert@pip:/tmp$ sudo cp ./libflashplayer.so /usr/lib/mozilla/plugins/.
|Thursday, February 2nd, 2012|
Aptosid, the way to go
The recent Ubuntu ground breaking improvements have left many scrambling to find a different reliable and not too "geeky" linux version, that would be more in touch with the modernity then stable Debian.
I have been happy with Aptosid for more then half a year. I think i been this happy only for a short time with the Ubuntu 10.10, until they went off the cliff.
Let me describe first what sort of use i have. It might be somewhat limited, but still.
The everyday laptop running two heads, a 23" monitor and the native 15.4" LCD.( Read more...Collapse )
|Wednesday, October 19th, 2011|
Sharing a system with Intel Z68 chipset / Smart Response Technology
I've just bought a new SSD to speed up my system, partly due to the fact that my recent motherboard (an Asus P8Z68-V) has built in support for using a solid state drive as a cache of a mechanical drive. I also have two 1TB Hitachi drives in my system. I have now got Windows 7 installed and have enabled the caching using 64GB of the new SSD.
I would now like to use the remaining space on the SSD for a Debian system partition, probably with partitions on the mechanical drives used for areas such as /srv and /home. However I'm getting nowhere getting this installed. I've previously been working on this motherboard with Squeeze with a backported 2.6.39 kernel, however this fails to install grub, complaining that it can't access /dev/md127. I've tried installing with a Testing disc, which has installed, however this is unable to see the space on the SSD (there is no device in /dev/sda1, despite it being shown as a partition with fdisk /dev/sda).
Does anyone have any experience with this feature of Intel's latest chipset? I'm keen to give my Linux install a performance boost with the new drive as well as the Windows system...
|Tuesday, October 18th, 2011|
sshd protection - advice desired
Following SGVLUG presentation on ssh tricks, I setup an sshd server instance Current Mood: geeky
on my debian workstation, using public key auth, and was able to be
I made sure to disable root login, and any password login attempts by
In the hour I was testing the new wonder, I was also tail-ing my auth log.
To my chagrin, in the two times I tested, I had many attempts to access my
Oct 18 01:59:55 pip sshd: Invalid user oracle from 184.108.40.206
Oct 18 02:00:02 pip sshd: Invalid user test from 220.127.116.11
Oct 18 02:08:34 pip sshd: Invalid user test from 18.104.22.168
Oct 18 02:08:42 pip sshd: Invalid user test from 22.214.171.124
Oct 18 03:12:02 pip sshd: Invalid user oracle from 126.96.36.199
Oct 18 03:12:09 pip sshd: Invalid user test from 188.8.131.52
Oct 18 10:48:01 pip sshd: Invalid user peter from 184.108.40.206
Oct 18 10:48:07 pip sshd: Invalid user peter from 220.127.116.11
Oct 18 10:48:13 pip sshd: Invalid user sergei from 18.104.22.168
Oct 18 10:48:19 pip sshd: User root from 22.214.171.124 not allowed
because not listed in AllowUsers
So, I am hoping I could get advice or suggestions on what further
protections I could add (if any).
- I don't think static firewall rules would help, as I am hoping to ssh
into my box from anywhere
- I am guessing there is a way to have automation block or slowdown
attempts if they begin to seem suspicious.
I am no sysadmin, but looks like I am gonna have to learn some sysadmin-ish stuff
if I want to prevent my system from getting compromised. That, or admit I am over my head, and abandon
trying to be able to ssh into my box and do stuff from the outside world.
|Wednesday, October 5th, 2011|
I've something of an idiot question - now that xorg.conf is depreciated, what is the "Debian way" of configuring the screen relationships / resolution? I'm far to used to the nVidia driver taking care of it, and I've upgraded to a motherboard with Intel graphics on board. After a bit of tweaking, I've got the two monitors I'm using configured, but I have to run xrandr --output HDMI1 --auto --right-of VGA1
every time I log in, which while not the end of the world is becoming irritating...
|Saturday, September 24th, 2011|
Fixing the login screen - gdm3 - setting default resolution
Ever since I installed the latest Debian stable (squeeze) I have had an annoyance:
Once the system had finished booting, and going to the login screen, the login screen was not a resolution my (graphics card + monitor) supported, and the screen would look 'diagonal'.
I would have to, manually, do ctrl+alt+'-' to lower the resolution by one setting, for the gdm3 login to then look correct.
My video card: voodoo3 3000
My monitor: ACER X183h
After researching via google, on and off for weeks now, I now have an nice one-line change to a gdm3 configuration file that works for me.
1. sudo vi /etc/gdm3/Init/Display
2. Find the location in the script where it has
3. Append directly under those two entries an xrandr command, using the resolution you want gdm3 to default to.
For me, this is what I added:
# added xrandr command to set the default resolution to 1280x720
xrandr --output default --mode 1280x720
Now my gdm3 login is the resolution I want :) Current Mood: geeky
|Wednesday, July 20th, 2011|
System fails to boot
I have an interesting problem. Since a recent reload, my Debian system has become highly unreliable at booting. The Grub menu appears, and if I select my Debian system, the messages from Grub appear briefly (to the affect of loading kernel, I'm afraid they're too brief to note properly). Then there is a blank screen before the following come up.
[7.2313] Not Responding
[14.3424] Not Responding
[20.4924] Not Responding
Then the system reboots. The numeric parts vary slightly each time (and appear to be the seconds since boot). I've tried removing all my external USB devices, however this makes no difference. The problem happens apparently randomly on warm or cold boot, sometimes it will boot first time, sometimes I give up after ten attempts. The Windows and Ubuntu installations work fine, though a copy of Linux Mint Debian Edition I tried suffered from the same problem. Once the bootup procedure starts successfully, there appear to be no other problems.
Any pointers would be appreciated. ( System InfoCollapse )( Update - ACPI problems?Collapse ) Current Mood: frustrated
|Sunday, May 1st, 2011|
|Friday, April 29th, 2011|
Debian Squeeze - net install from CD ISO - non-offical SUCCESS
I really want to install and run the latest Debian Stable, Squeeze.
My 1st try a while ago was using the official netinst CD image. Result was a FAIL due to my having an Intel EE Pro 100 Ethernet card, which apparently uses proprietary firmware no longer supported in the official netinst, due to proprietary == nonfree.
But but but... I really want to install and run the latest Debian Squeeze! (tearful sniff sniff)
Went back and re-visited the Debian Squeeze install URL:http://www.debian.org/releases/stable/debian-installer/
NOW I notice that they have added some instructions on how to try to install using an 'unofficial' netinst that contains the non-free stuff! ( http://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/6.0.1a/i386/iso-cd/firmware-6.0.1a-i386-netinst.iso
Downloading it now...
SO, on one had I feel a bit bad that I have to use such a workaround (curses to having a Ethernet card that requires non-free stuff!), but on the other hand, I really want to stay current with my Debian!
EDIT 2011-04-29 13pm
SUCCESS! USING THE NON-OFFICIAL NETINST CDROM IMA
GE (that contains the non-free stuff) WORKED. Current Mood: happy
|Tuesday, April 19th, 2011|
Two printers - fix?
So, I have two printers - a Minolta PagePro 1250W and a Canon S9000. The Minolta is capable of doing printing off of /dev/lp0, so that got plugged in using an old parallel cable I had laying around. As for the Canon, I used the USB cable off of that.
However, for the Canon printer, while it prints, it will print on 1/4 of the page. Note, there are no known drivers for the S9000 in openprinting - so I'm trying to find the closest match I have. Printing the test page on localhost:631 through the interface provided does not provide any results that are different. I extracted the driver file from Canon using wine, but could find no drivers in the bundle (I believe it was a PPD file I was looking for).
For the Minolta, it won't print. Jobs will queue, but they don't make it to the printer - so they're just spooling and waiting to go. Changing the location to /dev/parport0 seems to have done nothing.
In short, what am I doing wrong here, and are there suggestions on how to fix this?
EDIT, 22Apr2011@12:18PDT: Minolta solved. It was the cable. Occam's razor is not just for shaving your breakfast anymore! =D
|Sunday, February 6th, 2011|
|Thursday, January 27th, 2011|
Dual booting XP from a separate disk - possibly killed XP?
Situation is this: I have /dev/hda1 which contains /boot for my Linux volume, and /dev/hdc1 contains a Windows XP boot partition. After a handful of edits, Grub doesn't seem to want to load it, however, telling me that the partition type on (hd2,0) is unrecognized as 0x07.
Behind the cut is my menu.lst.( menu.lst is back hereCollapse )
Moreover, at this point, if I go through the BIOS boot menu and tell it to explicitly boot from /dev/hdc1 to load XP, owing to something I did that seems to have killed the Windows bootloader, it now simply responds by saying "GRUB " - which tells me that something is hosed.
So the questions:
1) How do I revert this back to where I was, so that I actually can boot XP when necessary?
2) What am I missing in the process of doing this?
|Thursday, October 28th, 2010|
Motion 1400 Ubuntu update.
A quick update on the Ubuntu possibility on the Motion Tablets (see http://community.livejournal.com/debian/346277.html?thread=2167461#t2167461
The M1400s IDE hard drive (a very old one) became testy, so I decided to make a fresh install on another HD (from the box full of IDEs..).
The results are: Ubuntu 10.04 (using mini image) has irreconcilable problems with xorg and video card drivers, so the sanity prevented me from keeping on playing with it.
Ubuntu 10.10 (mini image - 14.5 Mb one) installed well - actually the ability to connect the IDE frive through USB dongle and make the install on it, is a convenience of sorts,- you still need to disconnect the parent laptop hard drive, as Ubuntu insists on installing the grub on it.
After the minimal (without xorg) install, I transfered the hard drive into the tablet, removed persistent-70, got the network going and installed xorg.
A pleasant surprise was the working xorg and! working stylus-cursor. Sort of out of the box. The wireless also started up on its' own, of sorts.
I started installing the rest of the software, and here the oh, so familiar to me Ubuntu experience happened again,- a totally unexpected bug. With the hardware temperatures being somewhat higher then with debian (114 F vs 100 with debian Lenny) the damn thing started just shutting down. Entering 'acpi.power_nocheck=1' in grub did not help at all.
As far as i can see, the issue is related to the 10.04 video card driver, and while xorg actually comes up, the video card runs hot, heats up the memory and... voila... down we go. I had enough time to notice that xrandr refuses to work, no matter xorg.conf edits, so, no screen rotation.
But the danger of killing the video card stopped me rather cold.
Debian Lenny install on the same hard drive went without a hitch, and the tablet is purring along again.
There. 10.10 works, sort of.
I am not responsible for your dead video card...
|Saturday, October 2nd, 2010|
Debian Lenny and Eclipse v3.2 bugfix
Fired up eclipse v3.2 in Debian lenny stable, ...and received error messages! oh no!
searching for compatible vm...
testing /usr/lib/jvm/java-6-openjdk...not found
/usr/lib/jvm/java-gcj/bin/java: symbol lookup error: /home/robert/.eclipse/org.eclipse.platfo
o: undefined symbol: _ZN4nsID5ParseEPKc"
Okay, then did a quick google search on the phrase "libswt-mozilla-gtk-3236.so: undefined symbol"
Which led me to http://bugs.debian.org/cgi-bin/bugreport.c
and eclipse 3.2.2-6.1 should start under lenny."
So I then did robert@pip:~$ sudo aptitude install xulrunner-dev
Now eclipse v3.2 fires up fine in my Debian Lenny stable workstation. Current Mood: mellow
|Thursday, August 26th, 2010|
min12xxw on Lenny - print jobs sit on couch and drink all my beer
(note: crossposting to and .
Running current stable, just did update/upgrade. Running linux-image 2.6.26-2-686; debating the 2-6-32 bpo package. Running cups 1.3.8-1+lenny8 with foomatic
I recently obtained a Minolta 1250W laser printer, and hooked it up. Put the min12xxw package in place, no problem. Restarted cups, no problem. Except for one thing - jobs depart the spool to the printer if printed through Gnome, and I'm watching the printer happily chew on the print jobs. (The one symptom I have is that the printer's power light blinks on or off every second - but before this, it will blink at about the rate of a busy signal, as if processing the job. At the former point, if I print a test page, the printer will return error code 1027.)
All this in mind, anyone have suggestions?
The interesting thing is that I can go to the cups interface at http://localhost:631 and generate a perfectly good printer test page from that location. They don't printat all, though, if printing a test page through the printer interface available to me in Gnome.
To note, I have not rebooted the system since this installation, nor have I restarted the X server.